Quote:
Originally Posted by DairyKnight
Inspired by thawk from hi-pda forum, I found we could actually link *any* font from an epub file.
Just put the following script:
@font-face {
font-family: "Freestyle Script";
src:url(res:///Data/FONT/FREESCPT.TTF);
}
in the CSS and put your font at FONT/FREESCPT.TTF of internal storage.
And actually it supports *any* unicode locale. (Fonts on MS is also possible.)
So no more font embedding. There's no 'Formatting' for ePub and it turns much faster than PDFs.
|
Thinking about it, you could just have all your books refer to //Data/FONT/default.ttf, can then you could easily change the font globally without any concern about replacing the builtin fonts.