05-04-2016, 03:11 AM | #1 |
Wizard
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
epub to azw conversion is adding line heights ?
epub to azw3 is adding line height declarations to CSS - is this a bug & can this be disabled ?
I do not recall seeing this in the past, so maybe it did not happen in older versions of calibre. My sideloaded azw books look awful after such conversion - lines are far too close together, and the device options do not expand them. ( I tried disable font scaling in conversion preferences - that had no effect ) I removed all line heights from each class of the epub css before converting it e.g. .calibre { adobe-hyphenate: none; display: block; font-size: 1.1em; margin-bottom: 0; margin-left: 5pt; margin-right: 5pt; margin-top: 0; orphans: 1; padding-left: 0; padding-right: 0; text-align: justify; widows: 1 } but in every class in the AZW css, there is now an added line-height delcaration ( I have marked it in bold below) e.g. .calibre { adobe-hyphenate: none; display: block; font-size: 1.1em; line-height: 1.2; margin-bottom: 0; margin-left: 5pt; margin-right: 5pt; margin-top: 0; orphans: 1; PS a conversion from epub to mobi looks equally bad. it is not an issue with the specific book, I converted another chosen at random eub with same outcome. PPS I stumbled across another bug ? or install error? I went to preferences to inspect all the conversion options, but when I click on output options I get ImportError: No module named output_config - here is the detail: calibre 2.56 [64bit] embedded-python: True is64bit: True Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE') ('Windows', '8', '6.2.9200') Python 2.7.9 Windows: ('8', '6.2.9200', '', 'Multiprocessor Free') Successfully initialized third party plugins: DeDRM && K4PC, K4Mac, Kindle Mobi and Topaz DeDRM && Inept PDF DeDRM && Inept Epub DeDRM && Count Pages && Copy Cover To Device && Quality Check && Modify ePub && Open With && Overdrive Link && Resize Cover && View Manager && Open EPUB In Editor && Overdrive Link Traceback (most recent call last): File "site-packages\calibre\gui2\preferences\main.py", line 292, in show_plugin File "site-packages\calibre\customize\__init__.py", line 663, in create_widget File "importlib\__init__.py", line 37, in import_module ImportError: No module named output_config Last edited by stumped; 05-04-2016 at 03:42 AM. |
05-04-2016, 03:47 AM | #2 | |
Grand Sorcerer
Posts: 6,216
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
In your conversion settings have look at Look&Feel - Fonts tab: Minimum line height. It may be set to the default of 1.2%. I have mine disabled, i.e. set to 0.0%. This is the explanatory ToolTip:
Quote:
|
|
Advert | |
|
05-04-2016, 06:47 AM | #3 |
Wizard
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
that was it, thanks
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Missing and scrambled text in azw to epub conversion | maxbookworm | Conversion | 5 | 02-11-2014 10:11 PM |
Conversion from azw (Kindle) to epub (Kobo) format with Calibre garbages symbols | myildi | Conversion | 2 | 09-13-2013 03:19 AM |
azw to epub conversion failure | imageraw | Conversion | 5 | 09-01-2013 02:15 AM |
Garbled azw -> epub conversion | pouzzler | Conversion | 3 | 11-28-2012 09:17 AM |
AZW to EPUB conversion - overlapping letters | suecsi | Calibre | 4 | 10-16-2010 11:53 PM |