View Single Post
Old 05-03-2018, 03:29 PM   #209
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,030
Karma: 169810634
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by mayrain View Post
This has actually happened as well couple of times when transferring multiple books to the reader as you described.

Interesting result on the memory leak. Indeed it also seems that the books I'm reading are done using Adobe Illustrator based on some XML parameter values in the EPUB and have 7 different custom embedded and obfuscated fonts included.

However, when I get the book open on some attempts, changing the font does not have effect. :/ I removed the custom font files and also deleted references to them and defined another font that is included in the reader itself to the CSS file. This seemed to fix the issue, albeit that the beautiful titles, quotes, etc. took a bit of a visual hit.
I would suspect that when the epub is opened, the font files are being cached in memory (RMSDK is fond of caching font files in all 4 variants) and that may be why you have to remove the fonts not just change the default font. It gets worse when the embedded fonts are not subsetted.

I was also noticing that if the CSS specifies fonts with a list of fonts ending in serif or sans-serif, this seems to default to the publisher default font if none of the named fonts exist on your ereader.
DNSB is offline   Reply With Quote