[Image-SIG] Re: Fonts that draw before the cursor

Fredrik Lundh fredrik at pythonware.com
Wed Dec 15 20:45:48 CET 2004

Kris Kowal wrote:

>I made a foray with PIL a couple days ago to determine the feasibility
> of generating graphics with arbitrary "Elvish" text, with a web
> interface, on demand.  I used the definitive true type font to
> generate a graphic of the word "ainalda", with some success.  However,
> it didn't print the diacritics.
> The Elvish fonts contain characters that print text before the cursor.
> In Elvish, you type out a consonant character, then you can apply
> modifier glyphs to the previous character, like two dots on bottom, a
> bar on top, or a hook attached to the end.  This works fine in most
> applications, including web browsers.  For some reason, PIL interprets
> these modifier characters as a blank space.

probably a bug in the freetype driver for PIL. is the font available?  if so,
a pointer to the font and a code sample and a "expected output" screenshot
(from a program where the font works as expected) would be helpful.


More information about the Image-SIG mailing list