fix cross-device link error
[PyX.git] / examples / text / encoding.py
blob33d8ab882c36b2b03179a1b8849b29bb9a19c9b4
1 from pyx import *
3 text.set(cls=text.LatexRunner, texenc='utf-8')
4 text.preamble(r'\usepackage[utf8]{inputenc}')
6 c = canvas.canvas()
7 c.text(0, 0, r'Héllò, wørłd!')
8 c.writeEPSfile()
9 c.writePDFfile()
10 c.writeSVGfile()