[Image-SIG] PIL method for loading TrueType/OpenType fonts from font names?
Pascal Charbonneau
r.charbonneau4 at sympatico.ca
Wed Aug 24 14:36:05 CEST 2005
One thing that is definately missing from the PIL ImageFont module is a
way to load fonts by font names. I have not found any easy way to
associate the file name (needed to load a TrueType font in PIL) with the
actual font typeface name.
i.e "Times New Roman Bold (TrueType)" = "TIMESDB.TTF"
Every standard "font" dialog lets the user choose a Typeface, Point
Size, etc and associating them to be used with PIL seems to be an issue.
Unless I am being dumb and havent found the obvious easy solution :)
Anyone has encountered this issue and can suggest a solution?
Thanks in advance
Pascal
More information about the Image-SIG
mailing list