Thread: Font embedding
View Single Post
Old 03-28-2012, 03:46 AM   #27
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by sachin View Post
I just added the following attachment to the epub to make it work on iPad Hitch.
Yes, but did it? My impression is that it did not.

This is a very minor thing, but every engine is slightly different; I noted that in your CSS sheets, in the font-face declarations, in the src url, you did not have the entire url between single quotes, e.g.:

Code:
@font-face { font-family: IMFePIit28P; src: url('../Fonts/IMFePIit28P.ttf'); }
What you have is:

Code:
src: url(../Fonts/Malige-n.ttf);
}
...and the same for Kedage. You might want to try putting the single-quote marks around the font urls as shown in my example. It seems to work on my iPad when it's entered correctly in the CSS. (And, of course, using the xml file). Naturally, I can't read this, so...at least some of it renders correctly; it looks like it's only taking one of the two fonts, but--hopefully, this will get you on your way.

HTH,
Hitch
Hitch is offline   Reply With Quote