mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-03-24 11:23:34 +01:00
Convert calibre modules to ebook_converter.
Here is the first batch of modules, which are needed for converting several formats to LRF. Some of the logic has been change, more cleanups will follow.
This commit is contained in:
@@ -10,8 +10,8 @@ from io import BytesIO
|
||||
from struct import calcsize, unpack, unpack_from
|
||||
from collections import namedtuple
|
||||
|
||||
from calibre.utils.fonts.utils import get_font_names2, get_font_characteristics
|
||||
from polyglot.builtins import range, unicode_type
|
||||
from ebook_converter.utils.fonts.utils import get_font_names2, get_font_characteristics
|
||||
from ebook_converter.polyglot.builtins import range, unicode_type
|
||||
|
||||
|
||||
class UnsupportedFont(ValueError):
|
||||
|
||||
Reference in New Issue
Block a user