Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 04-10-2020, 01:36 AM   #1
sinbadalexandros
Junior Member
sinbadalexandros began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Apr 2020
Device: ipad 2 air MH332LL/A
Conversion problem Docx to epub font failure

Input file is my book of poetry a docx
output is epub version I want to sell (iPad 3) (Nook)

Conversion problem from Docx to epub

it only works with defaults settings. If I change anything it fails

Only thing I change was trying to get a smaller font as the one when you don't change anything is too large. so I changed base to 10.0pt

I changed the base font and tried to use various parameters for other stuff in the tab and no matter what I put it fails.
Spoiler:

calibre, version 4.13.0 (win32, embedded-python: True)
Conversion error: Failed: Convert book 1 of 1 (I Hide Among the Words)

Convert book 1 of 1 (I Hide Among the Words)
Conversion options changed from defaults:
minimum_line_height: 150.0
output_profile: u'ipad3'
embed_all_fonts: True
cover: u'C:\\Users\\William\\AppData\\Local\\Temp\\calibr e_ajprlk\\o4dsfk.jpeg'
embed_font_family: u'Arial'
read_metadata_from_opf: u'C:\\Users\\William\\AppData\\Local\\Temp\\calibr e_ajprlk\\toqmex.opf'
margin_top: 2.0
margin_bottom: 2.0
subset_embedded_fonts: True
margin_left: 2.0
font_size_mapping: u'5.0, 7.0, 8.0, 10.0, 14.0, 18.0, 24.0'
margin_right: 2.0
verbose: 2
base_font_size: 10.0
Resolved conversion options
calibre version: 4.13.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 10.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\\William\\AppData\\Local\\Temp\\calibr e_ajprlk\\o4dsfk.jpeg',
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'docx_inline_subsup': False,
'docx_no_cover': False,
'docx_no_pagebreaks_between_notes': False,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': True,
'embed_font_family': u'Arial',
'enable_heuristics': False,
'epub_flatten': False,
'epub_inline_toc': False,
'epub_toc_at_end': False,
'epub_version': u'2',
'expand_css': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': u'5.0, 7.0, 8.0, 10.0, 14.0, 18.0, 24.0',
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x053826F0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 2.0,
'margin_left': 2.0,
'margin_right': 2.0,
'margin_top': 2.0,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 150.0,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.iPad3Output object at 0x053829B0>,
'page_breaks_before': u'/',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\William\\AppData\\Local\\Temp\\calibr e_ajprlk\\toqmex.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': u'',
'search_replace': '[]',
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_reading_at': None,
'subset_embedded_fonts': True,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_css_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: DOCX Input running
on C:\Users\William\AppData\Local\Temp\calibre_ajprlk \ts7h3j.docx
Converting Word markup to HTML
Hyperlink with unknown target (rid=None, anchor=_hauxdgrxrvqa), ignoring
Hyperlink with unknown target (rid=None, anchor=_hauxdgrxrvqa), ignoring
Hyperlink with unknown target (rid=None, anchor=_hauxdgrxrvqa), ignoring
Hyperlink with unknown target (rid=None, anchor=_i4sa6ms0hpzg), ignoring
Hyperlink with unknown target (rid=None, anchor=_tepk9a9nqyqb), ignoring
Hyperlink with unknown target (rid=None, anchor=_hauxdgrxrvqa), ignoring
Hyperlink with unknown target (rid=None, anchor=_hauxdgrxrvqa), ignoring
Hyperlink with unknown target (rid=None, anchor=_tepk9a9nqyqb), ignoring
Hyperlink with unknown target (rid=None, anchor=_tepk9a9nqyqb), ignoring
Hyperlink with unknown target (rid=None, anchor=_tepk9a9nqyqb), ignoring
Hyperlink with unknown target (rid=None, anchor=_ue7i4golyur6), ignoring
Hyperlink with unknown target (rid=None, anchor=_tepk9a9nqyqb), ignoring
Hyperlink with unknown target (rid=None, anchor=_tepk9a9nqyqb), ignoring
Hyperlink with unknown target (rid=None, anchor=_hauxdgrxrvqa), ignoring
Hyperlink field with unknown anchor: _tepk9a9nqyqb
Converting styles to CSS
Cleaning up redundant markup generated by Word
Found Word Table of Contents, using it to generate the Table of Contents
Parsing all content...
Parsing docx.css ...
Parsing index.html ...
Initial parse failed, using more forgiving parsers
Parsing index.html as HTML
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Detected chapter: Chapter 1
Detected chapter: Chapter 2
Detected chapter: Chapter 2.5
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
Flattening CSS and remapping font sizes...
Embedding font: Arial
Property: Unknown Property name. [1:61: panose-1]
Property: Unknown Property name. [1:66: panose-1]
Property: Unknown Property name. [1:68: panose-1]
Property: Unknown Property name. [1:92: panose-1]
Source base font size is 10.00000pt
Removing fake margins...
Found 14 items of level: div_2
Found 22 items of level: div_1
Found 8217 items of level: p_1
div_2 left margin stats: Counter()
div_2 right margin stats: Counter()
div_1 left margin stats: Counter({u'0': 1})
div_1 right margin stats: Counter({u'0': 1})
Negative text indent detected at level p_1, ignoring this level
Embedding font Lucida Bright from c:\windows\fonts\lbrite.ttf
Embedding font Duchess from c:\windows\fonts\mlsig.ttf
Embedding font Times New Roman from c:\windows\fonts\times.ttf
Embedding font Georgia from c:\windows\fonts\georgia.ttf
The font fonts/Georgia.ttf is unused. Removing it.
Decreased the font fonts/Lucida-Bright.ttf to 39.2% of its original size
Decreased the font fonts/Arial-Bold-Italic.ttf to 35.5% of its original size
Decreased the font fonts/Duchess.ttf to 11.6% of its original size
Decreased the font fonts/Arial-Italic.ttf to 35.6% of its original size
Decreased the font fonts/Times-New-Roman.ttf to 31.9% of its original size
Decreased the font fonts/Arial-Bold.ttf to 37.5% of its original size
Python function terminated unexpectedly
U_INVALID_CHAR_FOUND (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\calibre\utils\ipc\worker.py", line 209, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 43, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 28, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1249, in run
File "site-packages\calibre\ebooks\oeb\transforms\subset.py", line 160, in __call__
File "site-packages\calibre\utils\fonts\sfnt\subset.py", line 118, in subset
File "site-packages\calibre\utils\fonts\sfnt\subset.py", line 112, in safe_ord
ValueError: U_INVALID_CHAR_FOUND

Last edited by theducks; 04-10-2020 at 05:14 AM. Reason: SPOILER tagged
sinbadalexandros is offline   Reply With Quote
Old 04-10-2020, 03:17 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,018
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Turn off th eoption to subset fonts. Your document has some invalid unicode text that is causing subsetting to fail.
kovidgoyal is offline   Reply With Quote
Advert
Reply

Tags
conversion, docx, epub, error, font


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Heading style problem at docx to mobi conversion resolfe Conversion 2 04-18-2019 10:38 AM
MOBI to EPUB Conversion Failure jhanlon Conversion 3 12-04-2015 08:50 AM
DOCX conversion failure ljgrinnell Conversion 3 05-21-2015 01:54 AM
Epub to Docx conversion? Hattie Conversion 14 09-13-2014 04:12 AM
Kindle font problem with EPUB to mobi conversion djstormer ePub 1 10-11-2012 12:08 PM


All times are GMT -4. The time now is 02:52 AM.


MobileRead.com is a privately owned, operated and funded community.