I'm trying to compile a module (VideoCapture.py) that uses a PIL font, and after compiling (both with PY2EXE and Pyinstaller) I get an error "cannot find font file".

The offending line is:

self.normalfont = ImageFont.load_path('helvetica-10.pil')       
self.boldfont = ImageFont.load_path('helvB08.pil')

I've confirmed that both fonts exist, and the script works fine when uncompiled.

I tried putting the font files in the same directory as the compiled EXE, but no improvement.

Any help humungously appreciated.



_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to