PDF Conversion and Unicode Error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello. I have the following error converting to PDF. I have no idea how to solve it and I can't find any other way to convert EPUB or MOBI files to PDF which is what led me to download Calibre. Thanks in advance for any help provided.
I'm using Calibre Portable, version 4.11.2 (2020 - 03 - 05) on Windows 7 Ultimate 64-bit.
Core i3 Processor. 16GB RAM. Lots of free disk space.
Converting from EPUB to PDF triggers the error, something about Unicode. Description below.
Converting from MOBI to PDF also triggers the same error.
Converting from EPUB to DOCX or TXT does not trigger the error. Conversion is successful.
Converting from MOBI to DOCX or TXT does not trigger the error. Conversion is successful.
Error seems to be connected with PDF Format and Unicode.
I have Adobe Acrobat Professional 9 installed on my computer but not running at the moment of the conversion. Could it have any influence on triggering this error?
Error:
calibre, version 4.11.2 (win32, embedded-python: True)
Conversion error: Failed: Convert book 1 of 1 (The Everything Golf Instruction Book: From Teeing Off to Sinking the Putt, All You Need to Play the Game)
Convert book 1 of 1 (The Everything Golf Instruction Book: From Teeing Off to Sinking the Putt, All You Need to Play the Game)
C:\Users\
Conversion options changed from defaults:
pdf_serif_family: u'MS Shell Dlg 2'
read_
output_profile: u'ipad3'
verbose: 2
cover: u'C:\\Users\
Resolved conversion options
calibre version: 4.11.2
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\
'custom_size': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_
'disable_
'duplicate_
'embed_all_fonts': False,
'embed_
'enable_
'expand_css': False,
'extra_css': None,
'filter_css': u'',
'fix_indents': True,
'font_
'format_
'html_
'input_encoding': None,
'input_profile': <calibre.
'insert_
'insert_
'insert_metadata': False,
'isbn': None,
'italicize_
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'markup_
'max_toc_links': 50,
'minimum_
'no_chapters_
'no_inline_
'output_profile': <calibre.
'page_
'paper_size': u'letter',
'pdf_add_toc': False,
'pdf_default_
'pdf_footer_
'pdf_header_
'pdf_hyphenate': False,
'pdf_mark_links': False,
'pdf_mono_family': u'Courier',
'pdf_mono_
'pdf_odd_
'pdf_page_
'pdf_page_
'pdf_page_
'pdf_page_
'pdf_page_
'pdf_page_
'pdf_sans_family': u'Helvetica',
'pdf_serif_
'pdf_standard_
'pdf_use_
'prefer_
'preserve_
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_
'remove_
'remove_
'remove_
'remove_
'renumber_
'replace_
'search_replace': '[]',
'series': None,
'series_index': None,
'smarten_
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_
'subset_
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_
'uncompressed_
'unit': u'inch',
'unsmarten_
'unwrap_lines': True,
'use_auto_toc': False,
'use_profile_
'verbose': 2}
InputFormatPlugin: EPUB Input running
on C:\Users\
Found HTML cover OEBPS/978158062
Parsing all content...
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Parsing OEBPS/978158062
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Detected chapter: Chapter 1
Detected chapter: Chapter 2
Detected chapter: Chapter 3
Detected chapter: Chapter 4
Detected chapter: Chapter 5
Detected chapter: Chapter 6
Detected chapter: Chapter 7
Detected chapter: Chapter 8
Detected chapter: Chapter 9
Detected chapter: Chapter 10
Detected chapter: Chapter 11
Detected chapter: Chapter 12
Detected chapter: Chapter 13
Detected chapter: Chapter 14
Detected chapter: Chapter 15
Detected chapter: Chapter 16
Detected chapter: Chapter 17
Detected chapter: Chapter 18
Detected chapter: Chapter 19
Detected chapter: Chapter 20
Detected chapter: Appendices
Detected chapter: Appendix AResources
Detected chapter: Appendix BGlossary
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 523 items of level: p_2
Found 174 items of level: div_1
Found 57 items of level: p_3
Found 1097 items of level: p_1
Negative text indent detected at level p_2, ignoring this level
div_1 left margin stats: Counter({u'': 3})
div_1 right margin stats: Counter({u'': 3})
p_3 left margin stats: Counter({u'0': 57})
p_3 right margin stats: Counter({u'0': 57})
p_1 left margin stats: Counter({u'0': 1097})
p_1 right margin stats: Counter({u'0': 1097})
Removing page margins specified in the Adobe page template
Cleaning up manifest...
Trimming unused files from manifest...
Trimming u'OEBPS/
Creating PDF Output...
Converting input as a text based book...
Python function terminated unexpectedly
Size mismatch for glyph id: 0 prev_sz: 42 sz: 108 (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 114, in main
File "site.py", line 88, in run_entry_point
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
File "site-packages\
GlyphSizeMismatch: Size mismatch for glyph id: 0 prev_sz: 42 sz: 108
Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.
status fixreleased