View Single Post
Old 04-18-2012, 07:10 PM   #9
PatNY
Zennist
PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.PatNY ought to be getting tired of karma fortunes by now.
 
PatNY's Avatar
 
Posts: 1,022
Karma: 47809468
Join Date: Jul 2010
Device: iPod Touch, Sony PRS-350, Nook HD+ & HD
Quote:
Originally Posted by jackie_w View Post
I'm grasping at straws, but is there a special named font in the epub's css, i.e. font-family:"special name";
rather than a more generic font-family:serif or font-family:sans-serif?

Is it possible you have the named font on the reader but not the PC?
Yay, success! Thanks, Jackie ... The CSS sheet was calling for AGaramond, serif. I used tweak epub to edit out all references to the font family, and now the accented characters show up just fine.

I was also having this same problem with another book but it was with fractional numbers (ie, 1/2, 1/4 ... it is a cookbook!) not appearing and instead only a tilde showed up. The CSS in that epub was calling for Charis. On this book I just did an epub-to-epub conversion and simply filtered out all font-family references by using the option under the "Look and Feel" tab. Fractions now show up fine in Calibre's reader.

Note that I don't have the named fonts on either my Windows operating system or in Stanza on the Touch. The reason the accented characters show up on Stanza is because the app is designed to purposely ignore all font-families called for in a CSS and just use whatever font family you specify in Stanza's own settings instead. I'm not sure what Adobe Digital Editions does but I suspect it is essentially doing the same thing as Stanza.

So here's a question I have for the developers of Calibre: If a font family is specified in an epub's CSS, but the font files themselves are not in the epub, why won't the Calibre reader default to the font specified in the reader's settings? I have no idea what font it's using now in these instances, but it's not the one I chose in the settings for Calibre's reader. For example, I set it to "Georgia" for both serif and non-serif fonts, and chose "serif" to be the Standard font. But the books with this issue will show all non-serif fonts. It looks like some sort of basic Windows default font, which I'm guessing is why special characters such as fractions and accents won't display. Can this behavior be changed?
PatNY is offline   Reply With Quote