View Single Post
Old 02-05-2012, 05:54 PM   #1
Elfwreck
Grand Sorcerer
Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.Elfwreck ought to be getting tired of karma fortunes by now.
 
Elfwreck's Avatar
 
Posts: 5,187
Karma: 25133758
Join Date: Nov 2008
Location: SF Bay Area, California, USA
Device: Pocketbook Touch HD3 (Past: Kobo Mini, PEZ, PRS-505, Clié)
Font embed: works on computer, not on device

I'm using Sigil to make an epub with embedded fonts (embedded font, really, except there's a regular & bold version & I'm using both of those), and it shows up fine on my computer, both in Sigil and in ePubreader-for-Firefox. But when I load it on a portable device, I get the default serif font only.

This happens on three different devices (two e-ink and one tablet), so it's not any particular device settings. It doesn't show up on ADE on a different computer, so I think my copy is checking my Windows fonts rather than the ones in the ePub. What am I doing wrong with the font embedding?

CSS snippet--
Code:
p.body {

     font-family: WellrockSlab, serif;
src:url("../Fonts/WellrockSlab.ttf");
text-indent: 2em;
text-align: justified;
margin: 0em .5em 0em;
  }
The font's in the Fonts folder in the ePub.
Elfwreck is offline   Reply With Quote