Skip to content

Commit

Permalink
Fixed: euske#84 (fontname was in unicode)
Browse files Browse the repository at this point in the history
  • Loading branch information
euske committed Apr 5, 2015
1 parent 0112112 commit 14fd0fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdfminer/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def put_text(self, text, fontname, fontsize):
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
Expand Down

0 comments on commit 14fd0fd

Please sign in to comment.