View Single Post
Old 11-08-2012, 03:29 PM   #1012
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,254
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Blossom View Post
You have to specify the font though correct? It like linking to it instead of embedding?
Yes, in summary, you have to:
  1. Copy the 4 font files in the family to a dir on the android device - once.
  2. Create a simple bit of css, with @font-faces pointing at the font files (plus other stuff if you want) as a separate css file. Then copy it to the android device - once.
  3. Add a 1-line @import statement as the first line of the epub's css file which points at the css file from 2 - unfortunately you have to add it to every epub.
The nice thing is that if you want to change your fonts at some point, all you have to do is replace the single css file in 2. All the epubs can stay the same.
jackie_w is offline   Reply With Quote