From: fredrik at pythonware.com (Fredrik Lundh)
Date: Thu, 15 Apr 1999 13:31:35 GMT
Subject: PIL fonts - Where are you?
References: <7jbR2.3071$YU1.5576@newsr2.twcny.rr.com> <Pine.SOL2.3.96.SK.990415111822.21830B-100000@sun.med.ru> <AilR2.3119$YU1.5686@newsr2.twcny.rr.com>
Message-ID: <002c01be8744$4a7af2d0$f29b12c2@pythonware.com>
Content-Length: 1173
X-UID: 1210                                                  

Kevin K. Ehmka wrote:
> >> Does anybody have some ready made fonts in PIL format they want to share?

we'll post pilfont versions of the fonts in the X11 release within a
near future.  These fonts are fully redistributable, but the current
version of pilfont doesn't copy the copyright text from the source
files.  That should be fixed first.

> I'm using the compiled binaries of PIL (from Starship) and fail to get
> pilfont to work on several BDF fonts. I even used a font maker program and I
> get different errors. Using 1.0b I get encoder errors. Using 0.3 PIL I get
> array bounds errors.

pilfont has been tested with all files from the standard distribution,
but the version shipped with 1.0b1 fails on fonts generated by some
other tools.  most notable, it assumes that the FONT field is a full
X11 font specifier, e.g:

FONT -Adobe-Times-Medium-R-Normal--11-80-100-100-P-54-ISO8859-1

some tools use values like "font1" or "generated" etc.  you could
try editing the files by hand, changing the value of FONT to some-
thing (anything) with an appropriate number of hyphens in it...

this will be fixed (together with some other problems) in 1.0 final.

</F>





