mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 03:23:47 +02:00
Fix #871388 (Conversion: add support for <font face>)
This commit is contained in:
parent
af3d7c4a9c
commit
f2248830df
1 changed files with 1 additions and 0 deletions
|
|
@ -246,6 +246,7 @@ def force_int(raw):
|
|||
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…
Reference in a new issue