View Full Version : Styles not showing in ePub.


Vijay
11-19-2010, 07:50 AM
i have created an ePub file from PDF, the fonts from CSS not showing in the ADE and Sony viewer too.
i validated the file through ePub validator (http://threepress.org/document/epub-validate/) but no errors.

Can any one guess what might be the problem?

pholy
11-19-2010, 10:30 AM
There are lots of errors that don't show up in the validators. If fonts are not showing up, there is probably a problem with the @font-face definitions.

That's my guess. Care to give any hints? Show us the css file, at least?

charleski
11-19-2010, 09:30 PM
This is almost always caused by an error in your css.

Run the css through the W3 validator (http://jigsaw.w3.org/css-validator/) to find the error.

eping
11-19-2010, 10:20 PM
Did you embed your fonts in ePub?
iPad can show all fonts without embedding, but ADE and devices based on Adobe SDK won't.
I ever asked a question about this,
Does ADE suport only one font without embedding?
http://www.mobileread.com/forums/showthread.php?t=95008 (http://www.mobileread.com/forums/showthread.php?t=95008)

Vijay
11-19-2010, 10:35 PM
Cool, the problem is with CSS. I vaidated with the w3 validator and problem solved.
Thanks for the validator link...

Vijay
11-19-2010, 10:43 PM
Did you embed your fonts in ePub?
iPad can show all fonts without embedding, but ADE and devices based on Adobe SDK won't.
I ever asked a question about this,
Does ADE suport only one font without embedding?
http://www.mobileread.com/forums/showthread.php?t=95008 (http://www.mobileread.com/forums/showthread.php?t=95008)

No, i didnt embedded any fonts in ePub.