Sigil-Ebook / flightcrew

Automatically exported from code.google.com/p/flightcrew
GNU General Public License v3.0
34 stars 11 forks source link

Font declaration works in epubCheck 1.2 but not FlightCrew #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have an ePub that fully validates using ePubCheck 1.2. FlightCrew doesn't 
like it.

FlightCrew is telling me that my font declaration is incorrect when FlightCrew 
says it's fine.

The <item> element's "media-type" attribute has value "font/opentype", but the 
file's media type is "application/vnd.ms-opentype".

That is what FlightCrew says is incorrect when it's actually correct.

Original issue reported on code.google.com by jsw...@gmail.com on 28 Jul 2011 at 2:41

GoogleCodeExporter commented 9 years ago
According to http://idpf.org/epub/20/spec/OPS_2.0.1_draft.htm#Section3.4 an 
opentype font must be declared with the type "application/vnd.ms-opentype". If 
you're using "font/opentype" this is incorrect. My assumption is ePubCheck 
isn't checking for this discrepancy.

As of now it appears to me that the EPUB in question is not confirming to the 
spec. If you can find supporting documentation that "font/opentype" is valid 
and useable in place of "application/vnd.ms-opentype" I will be more than happy 
to modify FlightCrew to comply.

Original comment by john@nachtimwald.com on 28 Jul 2011 at 11:54