[Image-SIG] compile problem
by Alec Bennett other posts by this author
Mar 30 2006 1:27PM messages near this date
[Image-SIG] Installing PIL into windows ZOPE
|
[Image-SIG] Image averaging
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.
|