Calibre 使用教程之为电子书添加更换字体 – 书伴

您所在的位置:网站首页 epub目录修改 Calibre 使用教程之为电子书添加更换字体 – 书伴

Calibre 使用教程之为电子书添加更换字体 – 书伴

2024-07-06 05:14| 来源: 网络整理| 查看: 265

最近嵌入字体总是出错,不知道为何emm calibre, version 4.15.0 (win32, embedded-python: True) 转换错误: 失败: 转换书籍 第 1 本,共 1 本 (《—-》2020年1期)

转换书籍 第 1 本,共 1 本 (《—–》2020年1期) C:\Program Files\Calibre2\\app\pylib.zip\dateutil\parser\_parser.py:1177: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode – interpreting them as being unequal Conversion options changed from defaults: insert_blank_line: True remove_paragraph_spacing: True cover: u’C:\\Users\\DELL\\AppData\\Local\\Temp\\calibre_yul8op\\qep5wu.jpeg’ read_metadata_from_opf: u’C:\\Users\\DELL\\AppData\\Local\\Temp\\calibre_yul8op\\nynn8i.opf’ verbose: 2 output_profile: u’kindle_pw3′ filter_css: u’,font-family’ embed_font_family: u’TsangerJinKai01-27533 W05′ Resolved conversion options calibre version: 4.15.0 {‘asciiize’: False, ‘author_sort’: None, ‘authors’: None, ‘base_font_size’: 0.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|prologue|epilogue)(\\s+|$))’, ‘i’)) or @class = ‘chapter’]”, ‘chapter_mark’: u’pagebreak’, ‘comments’: None, ‘cover’: u’C:\\Users\\DELL\\AppData\\Local\\Temp\\calibre_yul8op\\qep5wu.jpeg’, ‘debug_pipeline’: None, ‘dehyphenate’: True, ‘delete_blank_paragraphs’: True, ‘disable_font_rescaling’: False, ‘dont_compress’: False, ‘duplicate_links_in_toc’: False, ’embed_all_fonts’: False, ’embed_font_family’: u’TsangerJinKai01-27533 W05′, ‘enable_heuristics’: False, ‘expand_css’: False, ‘extra_css’: None, ‘extract_to’: None, ‘filter_css’: u’,font-family’, ‘fix_indents’: True, ‘font_size_mapping’: None, ‘format_scene_breaks’: True, ‘html_unwrap_factor’: 0.4, ‘input_encoding’: None, ‘input_profile’: , ‘insert_blank_line’: True, ‘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’: 5.0, ‘margin_left’: 5.0, ‘margin_right’: 5.0, ‘margin_top’: 5.0, ‘markup_chapter_headings’: True, ‘max_toc_links’: 50, ‘minimum_line_height’: 120.0, ‘mobi_toc_at_start’: False, ‘no_chapters_in_toc’: False, ‘no_inline_navbars’: False, ‘no_inline_toc’: False, ‘output_profile’: , ‘page_breaks_before’: u”//*[name()=’h1′ or name()=’h2′]”, ‘prefer_author_sort’: False, ‘prefer_metadata_cover’: False, ‘pretty_print’: False, ‘pubdate’: None, ‘publisher’: None, ‘rating’: None, ‘read_metadata_from_opf’: u’C:\\Users\\DELL\\AppData\\Local\\Temp\\calibre_yul8op\\nynn8i.opf’, ‘remove_fake_margins’: True, ‘remove_first_image’: False, ‘remove_paragraph_spacing’: True, ‘remove_paragraph_spacing_indent_size’: 1.5, ‘renumber_headings’: True, ‘replace_scene_breaks’: u”, ‘search_replace’: ‘[]’, ‘series’: None, ‘series_index’: None, ‘share_not_sync’: False, ‘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’: False, ‘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: MOBI Input running on C:\Users\DELL\AppData\Local\Temp\calibre_yul8op\fgrhpv.mobi Found KF8 MOBI of type u’standalone’ Extracting text… Parsing all content… Parsing text/part0014.html … Parsing text/part0008.html … Parsing text/part0002.html … Parsing text/part0020.html … Parsing text/part0017.html … Parsing text/part0005.html … Parsing text/part0012.html … Parsing text/part0000.html … Parsing text/part0003.html … Parsing text/part0011.html … Parsing text/part0001.html … Parsing styles/0001.css … Parsing text/part0018.html … Parsing text/part0015.html … Parsing text/part0004.html … Parsing text/part0016.html … Parsing text/part0009.html … Parsing text/part0019.html … Parsing text/part0013.html … Parsing text/part0007.html … Parsing styles/0002.css … Parsing text/part0010.html … Parsing text/part0006.html … Reading TOC from NCX… Merging user specified metadata… Detecting structure… Flattening CSS and remapping font sizes… Filtering CSS properties: , font-family Python function terminated unexpectedly ‘NoneType’ object has no attribute ‘decode’ (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 1232, in run File “site-packages\calibre\ebooks\oeb\transforms\flatcss.py”, line 196, in __call__ File “site-packages\calibre\ebooks\oeb\transforms\flatcss.py”, line 246, in get_embed_font_info File “site-packages\calibre\utils\filenames.py”, line 37, in ascii_filename File “site-packages\calibre\utils\filenames.py”, line 28, in ascii_text AttributeError: ‘NoneType’ object has no attribute ‘decode’



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3