mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #871388 (Conversion: add support for <font face>)
This commit is contained in:
parent
af3d7c4a9c
commit
f2248830df
@ -246,6 +246,7 @@ class CSSFlattener(object):
|
||||
cssdict['font-size'] = '%.1fpt'%font_size
|
||||
del node.attrib['size']
|
||||
if 'face' in node.attrib:
|
||||
cssdict['font-family'] = node.attrib['face']
|
||||
del node.attrib['face']
|
||||
if 'color' in node.attrib:
|
||||
cssdict['color'] = node.attrib['color']
|
||||
|
Loading…
x
Reference in New Issue
Block a user