Hi,
Kindlegen generated mobis have two headers and two EXTH sections, not just one. Have you tried setting the fontsignature payload to 0x2a in both mobi header exth regions to see if that impacts the problem?
I don't think mobi2mobi prperly deals with both headers in kindlegen generated mobis so you will have to use a hex editor to change both. You might want to check out Mobi_Unpack to see how to find both headers.
Please let us know what you find out.
Thanks,
Kevin
Quote:
Originally Posted by pirl8
I build a simple book with nothing else but a content page, a font, a cover image and a stylesheet. There are many differences between KindleGen and Calibre generated file, but most are different offsets.
The most noticeable ones are the " KF8 resources (images/fonts) count (125)" EXTH header which is 0 for KindleGen and 4 for Calibre and a couple of fields which are present in the KindleGen EXTH header and absent in Calibre:
Code:
fontsignature (300): '\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbb\xfd\xe9\xe6'
KF8 cover URI (129): 'kindle:embed:0001'
In the KindleGen file I've set all the payload bytes in the "fontsignature" header to "0x2A": it still displayed the font.
I've also unsuccesfully tried to manually add the header to the Calibre generated file (changed EXTH header length, file count and padding but obviously I'm missing something).
:-(
|