PIL 1.0 on win32?

Arpad Kiss sekter at mail.matav.hu
Mon Nov 15 09:51:35 EST 1999


Hi,
I've got some new font files and with them it works.
And when I commented out the text drawing part of my code I left some text
related line in it, that causes the mirrored image(i think).
Thanks a lot,
Arpad Kiss

----- Original Message -----
From: Arpad Kiss <sekter at mail.matav.hu>
To: Fredrik Lundh <fredrik at pythonware.com>
Cc: <python-list at python.org>
Sent: Monday, November 15, 1999 2:10 PM
Subject: Re: PIL 1.0 on win32?


>
> Fredrik Lundh wrote:
> > Arpad Kiss wrote:
> > > I have a PIL based Zope product I have been developing on a Linux box.
I
> > > just wanted to test it on a Windows NT(sp5), but it doesn't work.:-(
> > > At first it didn't recognize my fonts, because the readline method on
> win32
> > > returns 10+13 at the end of the lines and in ImageFont.py only \n is
> > > checked.
> >
> > PIL opens the font files in binary mode, so this
> > shouldn't be a problem.  you probably messed
> > something up when you transferred the font
> > files to the PC...
>
> I have created a .tar.gz then extracted it with WinZip.
>
> >
> > > After I  solved it I got an error message(memory error in line 151 of
> > > ImageDraw.py) when I wanted to draw some text.
> > > When I commented out the text drawing code in my program, then I got
> back a
> > > picture, but it is mirrored!
> >
> > this sounds really weird -- but at least the
> > memory error might be due to bogus font data...
>
> Ok. I will try to replace my fonts.
>
> >
> > what win32 build do you use?  can you post some
> > code?
>
> Python1.5.2 and pil-win32-991101.zip
> I will write a minimal example.
>
> >
> > > Of course on linux box my program works fine.
> > > I just want know who else use PIL 1.0 on win32 and what experiences
they
> > > have. Should this text drawing function work? Is it my fault?
> >
> > fwiw, PIL is being developed on win32...
>
> Maybe a minimal example(without Zope) can help me, if cannot then I'll
post
> it.
> Thanks,
> Arpad
>
>
>
> --
> http://www.python.org/mailman/listinfo/python-list
>





More information about the Python-list mailing list