Quote:
Originally Posted by jackie_w
Jim, Assuming you haven't lost the will to live ...
<snip>
The red part needs to either be removed or to match what you have in your Extra CSS body{...} statement. Otherwise the "Times New Roman" defined for p.MsoNormal will be used to override its parent body element in your Extra CSS (standard rules of CSS). Since your reader doesn't know where to find "Times New Roman" it uses its default serif font instead.
|
jackie_w,
in the epub file that MSJim attached a few posts above the paragraphs rendered in fonts other than Times New Roman font had the text inside them placed in a span and the associated span class was set to use the correct font in the calibre-generated stylesheet, so in this particular case the MsoNormal overrides body and then gets overridden itself.
Quote:
Originally Posted by MSJim
Thanks guys. The font extensions were the problem, or at least the last of several that were preventing the display of Georgia fonts on my reader. Both jackie_w's file and mine are now displaying correctly.
I appreciate the guidance too. I can see I've got a lot of testing to find my path of least hassel for cleaning up the files I have already converted.
|
Glad to hear it's all working now!
Quote:
Originally Posted by FizzyWater
A question for the gurus:
Is it necessary to save the font files in a directory on the device itself, or can they be saved in the SD or memory stick card, along with the books?
|
Not necessary, you just need to know what the URI is for a file saved to the memory stick or an SD card as seen by the reader. If you look at all the @font-face declarations discussed here they're pointing to a font file under /Data which refers to internal memory; you'd need to change /Data to whatever mount point for the card is.