Skip to content

Commit

Permalink
Fix fonts with ReportLab 3.1.44
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemacfarlane committed Jan 28, 2015
1 parent 1485d4f commit 9532d72
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/z3c/rml/document.py
Expand Up @@ -133,7 +133,6 @@ class RegisterTTFont(directive.RMLDirective):

def process(self):
args = self.getAttributeValues(valuesOnly=True)
args[0] = args[0].encode('utf-8')
font = ttfonts.TTFont(*args)
pdfmetrics.registerFont(font)

Expand Down

0 comments on commit 9532d72

Please sign in to comment.