import(tk)
import(freetype)
import(zipfile)

I(filename:string) = path.join(path.dirname(sys.executable),
									'sample', 'resource', filename)

img = image(`rgb, 160, 120, `black)

face = freetype.open(I('zippedfont.zip/Kaufmann Bold BT.ttf')).setheight(32).setcolor(`white)
img.drawtext(face, 0, face.height, 'Hello world')

face = freetype.open(I('Kaufmann Bold BT.ttf')).setheight(32).setcolor(`white)
img.drawtext(face, 0, face.height * 2, 'Hello world')

img.show()
