Hi Peter,
There is no need to pass it through kindlegen again after unpacking unless you want to make quick changes based on what was unpacked versus the original source.
The reason you saw a difference was that your fonts were actually included properly and we had never tested a case with both HD Image unpacking and embedded Fonts!
So the problem was entirely ours. Since the Fonts are stored before the Images, we were trying to unpack the HDImages over the lower res versions but grabbed the wrong image name since the addition of fonts changed our count.
With the new changes in place, you can safely use the -i switch to unpack things. The fix touched a number of files because it changed our thinking about what things actually mean inside the .mobi. I will post a KindleUnpack_v077.zip version shortly that should take care of things.
Thank you so much for submitting your bug report and test case as it helps us to better understand the inner workings of the mobi format!
Take care,
KevinH
Last edited by KevinH; 10-17-2014 at 03:13 PM.
|