Remove duplicated import

This commit is contained in:
Kovid Goyal 2019-01-17 20:13:10 +05:30
parent 49ee941c6d
commit e4b3f75c27
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -188,7 +188,6 @@ class Font(object):
try:
name = self.metrics.postscript_name
except KeyError:
from calibre.utils.short_uuid import uuid4
name = uuid4()
cmap = CMap(name, self.metrics.glyph_map, compress=self.compress)
self.font_dict['ToUnicode'] = objects.add(cmap)