View Single Post
Old 06-14-2009, 12:21 PM   #38
Ankh
Guru
Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.
 
Ankh's Avatar
 
Posts: 714
Karma: 2003751
Join Date: Oct 2008
Location: Ottawa, ON
Device: Kobo Glo HD
Quote:
Originally Posted by JSWolf View Post
Actually, when I embed the fonts into the ePub file itself, I don't have to change the OPF file at all. All I modify is the CSS and add the font directory at the same level as the CSS. It works fine. So no need to go messing with the .opf file at all to embed fonts. That just complicates matters.
Well, that might work on ADE, but it is not "kosher" way of doing things.

Acording to the spec:

Quote:
1.4.1.2: Publication Conformance

A collection of files is a conforming OPS Publication if and only if:

1. it includes a single OPF Package Document that obeys the Package Conformance Requirements listed above; and
2. the OPF Package Document includes one and only one manifest entry corresponding to each other file in the OPS Publication excluding the file or files that make up the OPF Package Document itself;
So, if you do not declare fonts in the OPF and have a manifest entry for each of them, that is not conforming publication. Hence, it might not work on all ePub readers.

Your call.
Ankh is offline   Reply With Quote