Releases: rupor-github/fb2mobi
Python 3.6
Switching to Python 3.6.0, updating pillow, lxml and cx_Freeze to latest versions.
Changed page generation algorithm to allow multiple pages per paragraph.
Support for pages in Kindle books
When preparing epub content (for conversion) fb2mobi now generates page-map information. After kindlegen phase this information could be used to produce APNX file (controlled by command line or configuration profile) with list of pages to be used by reader device. The result was verified on Kindle eInk device with firmware 5.8 (apnx file should be in .sbr subdirectory) and with Kindle for PC 1.17 (apnx file should reside side by side with mobi or azw3 file). Number of uncompressed text characters per page is controlled by profile and by default is equal (approximately) to 2300 characters.
Bug fixes
- When converting fb2 file make sure that book-title is never empty (otherwise kindlegen fails silently without explanation). If necessary try to derive book title from file name.
- Make sure epub conversion does not fail when hyphenation is enabled
Dictionaries path handling
Correcting Unicode path name handling in pyhyphen module (https://github.com/rupor-github/pyhyphen) - Windows only.
Covers and thumbs
Changing how synccover extracts thumbnails from book file - if one of thumbnail dimensions is smaller than "standard" 330x470 - try to create thumb from cover image instead.
Handling PNG transparency
New option to remove PNG transparency - useful on Kindle devices (ghostly images).
Console output and Unicode on Windows
- adding console output (--console-level or <consoleLevel>) (gmk57) in addition to file logging
- switching windows console to Unicode mode - always
A couple of fixes
- more html escaping to avoid invalid html generation (gmk57)
- Prevent program from accessing dictionaries when no hyphenation is specified
Maintenance
Latest python and modules. Cleaning up configuration - no debug log out of the box.
Word separators
Sometimes there is a phrase where word separated by unusual symbols - prevent hyphenation from breaking