mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-03-31 01:13:32 +02:00
Removed polyglot codepoint_to_chr
This commit is contained in:
@@ -6,7 +6,7 @@ from ebook_converter.utils.filenames import ascii_filename
|
||||
from ebook_converter.utils.fonts.scanner import font_scanner, NoFonts
|
||||
from ebook_converter.utils.fonts.utils import panose_to_css_generic_family, is_truetype_font
|
||||
from ebook_converter.utils.icu import ord_string
|
||||
from ebook_converter.polyglot.builtins import codepoint_to_chr, iteritems
|
||||
from ebook_converter.polyglot.builtins import iteritems
|
||||
|
||||
|
||||
__license__ = 'GPL v3'
|
||||
@@ -121,7 +121,7 @@ def do_map(m, points):
|
||||
if base < p < limit:
|
||||
yield m[p - base]
|
||||
else:
|
||||
yield codepoint_to_chr(p)
|
||||
yield chr(p)
|
||||
|
||||
|
||||
def map_symbol_text(text, font):
|
||||
|
||||
Reference in New Issue
Block a user