Quote:
Originally Posted by cruzes
Hello,
I was using the "External CSS field" option to include fonts that are installed in the cybook on my epub documents. This is explained in this thread
https://www.mobileread.com/forums/showthread.php?t=61587
This is the kind of entry I include on my documents:
@font-face {
font-style: normal;
font-family: 'Liberation', serif, sans-serif;
font-weight: bold;
src: url(res:///mnt/fat/Fonts/LiberationSerif-Bold.ttf);
}
Just recently I decided to update the firmware to 2.0, and now the correct fonts are no longer displayed. This has rendered some of my documents confusing (I am lucky to only need western fonts, but I am using different fonts to distinguish notes from the main text).
Does anyone have any idea why this has stopped working? I wanted to avoid using embedded fonts on my documents because it increases the size of the file significantly (and is also a lot of work to start embedding fonts in all my books...).
I checked that in the file system/.fonts.cache-1 and the fonts seem to be still on the same directory: /mnt/fat/Fonts/, just like stated in the css entry. So this is quite mysterious.
Thanks for any feedback,
C. Martins
|
Using unofficial, and unsupported method to force USER to put font in his device, will one day or another broke without explaination.
The Cybook will search for a font within the embedded fonts and the user font folder. If you want to use one of them, just ask for the font name, not the font path.
Using path to the font will never be an official way, and could broke anytime. (and is by the way the ugliest method I ever seen. Font should be embedded not externalisez if you want to force one) or use standard CSS way to ask for a font:
font-family