View Single Post
Old 11-07-2011, 08:56 AM   #48
Insalata
Zealot
Insalata knows what time it isInsalata knows what time it isInsalata knows what time it isInsalata knows what time it isInsalata knows what time it isInsalata knows what time it isInsalata knows what time it isInsalata knows what time it isInsalata knows what time it isInsalata knows what time it isInsalata knows what time it is
 
Posts: 100
Karma: 2092
Join Date: Sep 2011
Location: UK
Device: Kobo Sage, iPad
I'm still struggling with embedding fonts - at the moment I'm concentrating on the basic characters, not refinements like small caps.

I followed the instructions in the help file, and the fonts are included in my resources folder, but it seems to be pretty hit and miss whether they show up in the document or not. Typically, they'll show if I view the file in calibre, Jutoh or Sigil, but not Sony Reader, Adobe Reader or on my Sony PRS-T1. Some fonts, but not all seem to show OK on Bluefire or iBooks on my iPhone.

The health check in Jutoh doesn't show any problem, but when I open the file in Sigil, the validation has error messages like:
Quote:
The <item> element's "media-type" attribute has value "font/truetype", but the file's media type is "application/x-font-ttf".
(Or .otf, or whatever.) I can change the value in Jutoh to match what the Sigil checker expects, and that stops the error messages, but it doesn't seem to change the behaviour.

I suspect there's something in the css that isn't exactly right, and that some of the readers are more forgiving than others. I think too, that I haven't yet seen a font work on a device where it wasn't already installed - for instance, I experimented with Zapfino, because you don't need to look very hard to see if it's worked or not. That worked on my iPhone readers, but Zapfino is an iOS system font. Linotype Didot didn't work on the phone apps.

I might be able to wade through the css and sort it out, but if I end up having to do that manually, there isn't much point in using a nice front end like Jutoh.

I'm using a Mac, if that makes any difference.
Insalata is offline   Reply With Quote