diff options
author | Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> | 2012-03-07 16:55:31 +0000 |
---|---|---|
committer | Asbjørn Sloth Tønnesen <asbjorn@asbjorn.biz> | 2012-03-07 16:55:31 +0000 |
commit | 7a198c587000c0e3d405707c670798e5eb376f3e (patch) | |
tree | 35fd525a1033ee24afb7c8cddf48e0701a4102e4 /python/dveth_62mm.py | |
parent | f923f9b006081cd14346f811e9cacb9ab5966a38 (diff) | |
download | ql570-7a198c587000c0e3d405707c670798e5eb376f3e.tar.gz ql570-7a198c587000c0e3d405707c670798e5eb376f3e.tar.xz ql570-7a198c587000c0e3d405707c670798e5eb376f3e.zip |
simple label coding in python
Diffstat (limited to 'python/dveth_62mm.py')
-rw-r--r-- | python/dveth_62mm.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/python/dveth_62mm.py b/python/dveth_62mm.py new file mode 100644 index 0000000..548ba28 --- /dev/null +++ b/python/dveth_62mm.py @@ -0,0 +1,8 @@ +from label import label + +l = label(2425, width=720) +l.set_font('/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf'); +l.set_fontsize(150) +for i in range(0,15): + l.text((7, 10+i*160), "dveth%02d" % (i)) +l.save('dveth_62mm.png') |