1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-03-30 00:33:32 +02:00

Enable docx write support

This commit is contained in:
2020-04-13 16:35:28 +02:00
parent a4533957f7
commit d3369d55bc
27 changed files with 103 additions and 131 deletions

View File

@@ -10,12 +10,12 @@ import codecs, zlib, numbers
from io import BytesIO
from datetime import datetime
from calibre.constants import plugins, ispy3
from calibre.utils.logging import default_log
from polyglot.builtins import iteritems, unicode_type, codepoint_to_chr
from polyglot.binary import as_hex_bytes
from ebook_converter.constants import ispy3
from ebook_converter.utils.logging import default_log
from ebook_converter.polyglot.builtins import iteritems, unicode_type, codepoint_to_chr
from ebook_converter.polyglot.binary import as_hex_bytes
pdf_float = plugins['speedup'][0].pdf_float
pdf_float = lambda x: f"{x:.1f}"
EOL = b'\n'