[IMAGE-SIG] Are there any font rasterizers supported by PIL?

Hannu Krosing hannu@trust.ee
Wed, 15 Oct 1997 21:43:54 +0300

Fred L. Drake wrote:

> Hannu Krosing writes:
>  > Are there any font rasterizers supported by PIL?
>  >
>  > I mean either Type1 (which could be lifted from the XFree font server)
>  > or TrueType (using the freetype library)?
> Hannu,
>   There's a new TrueType rasterizer from the freetype project;
> information is available at
> http://www.physiol.med.tu-muenchen.de/~robert/freetype.html.  The
> current state is labelled "beta", and I've not had a chance to look at
> it.  It might be usable.

It is the one that inspired my question. Seems to very neat rasterizing,can
also do antialiased text (only diagonals, leaving horisontals and verticals

>   There's a Type1 rasterizer calle T1Lib based in part on the X11 Type1
> rasterizer, which is currently at "0.3-beta".  (Only a little farther
> along than PIL itself, if version numbers mean anything. ;)  It looks
> pretty cool; I was just planning to work up a quick Python extension
> for it while my wife & kids are visiting her parents.  We'll see if I
> actually get to it.  Once done, I'll announce it to the Image-SIG for
> preliminary testing.  Since it supports antialiased text, it might be
> good to have as a Canvas item type as well; maybe it should be a
> Tk-level extension?

I don't have enough time presently to promise to try the same with freetype,
even tho I'm eager to try. When and if I will try it, I will check your
status to
syncronize the efforts.

Anyhow I advise you to take a look at the freetype API to make sure that
the implementations of both rasterizers should look alike from the users
of view.


IMAGE-SIG - SIG on Image Processing with Python

send messages to: image-sig@python.org
administrivia to: image-sig-request@python.org