Fixed: #84 (fontname was in unicode)
parent
0112112458
commit
14fd0fd2d6
|
@ -315,7 +315,7 @@ class HTMLConverter(PDFConverter):
|
|||
if self._font is not None:
|
||||
self.write('</span>')
|
||||
self.write('<span style="font-family: %s; font-size:%dpx">' %
|
||||
(fontname, fontsize * self.scale * self.fontscale))
|
||||
(enc(fontname), fontsize * self.scale * self.fontscale))
|
||||
self._font = font
|
||||
self.write_text(text)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue