View Single Post
Old 04-01-2010, 08:21 AM   #4
Godzil
a pthread?? where? where?
Godzil can even cheer up an android equipped with a defective Genuine Personality Prototype.Godzil can even cheer up an android equipped with a defective Genuine Personality Prototype.Godzil can even cheer up an android equipped with a defective Genuine Personality Prototype.Godzil can even cheer up an android equipped with a defective Genuine Personality Prototype.Godzil can even cheer up an android equipped with a defective Genuine Personality Prototype.Godzil can even cheer up an android equipped with a defective Genuine Personality Prototype.Godzil can even cheer up an android equipped with a defective Genuine Personality Prototype.Godzil can even cheer up an android equipped with a defective Genuine Personality Prototype.Godzil can even cheer up an android equipped with a defective Genuine Personality Prototype.Godzil can even cheer up an android equipped with a defective Genuine Personality Prototype.Godzil can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
Godzil's Avatar
 
Posts: 1,763
Karma: 30462
Join Date: Mar 2009
Location: Somewhere in EU
Device: Newton MessagePad 2100, and only this
Quote:
Originally Posted by cruzes View Post
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
Godzil is offline   Reply With Quote