Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. class TTFont:
  2. # ...
  3. def splitString(self, text, doc, encoding='utf-8'):
  4. # ...
  5. cur.append(n & 0xFF) # <-- here is the problem!
  6. # ...
  7.  
  8. my_doctemplate.build([Paragraph(bulletText = None, encoding = 'utf8',
  9. caseSensitive = 1, debug = 0,
  10. text = 'xd8xa3xd8xa8xd8xb1xd8xa7xd8xac',
  11. frags = [ParaFrag(fontName = 'DejaVuSansMono-BoldOblique',
  12. text = 'xd8xa3xd8xa8xd8xb1xd8xa7xd8xac',
  13. sub = 0, rise = 0, greek = 0, link = None, italic = 0, strike = 0,
  14. fontSize = 12.0, textColor = Color(0,0,0), super = 0, underline = 0,
  15. bold = 0)])])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement