Virtual TrueType Font ???
Mariano Di Felice
mariano.difelice at gmail.com
Wed May 2 09:35:24 PDT 2007
Hi!!
For drawing text into images, I use the aggdraw module, with python 2.3
and wxPython2.6.
If we consider, for example, the Garamond TTF file on windows, we could
find 3 files: normal, italic and general.
And if I open wx.FontDialog from python shell, I can write text also in
Garamond Bold Italic style.
Now, the aggdraw module take the TrueType Font file path for load TTF
Font file, and if this file doesn't exists, I have an IOException.
How can wxFontDialog ( or Microsoft Word, or Adobe Photoshop, etc )
write text in a style which doesn't exists on system??
Moreover, I do this test: from c:\windows\fonts I've uninstalled all
Garamond TTF files, but Italic.
If I open Microsoft Word, I will see that I can choose Garamond font,
but it writes italic on default!!!
Can someone help me?? please???
Thank's!!!
--
/\/\ariano Di Felice
Java PHP Python Ruby programmer
with MySQL, PostgreSql, SQLite and Oracle support
Linux Platform Developer
mariano.difelice at gmail.com
Tel. 0735 703735
Cell +39 339 6407211
More information about the wxpython-users
mailing list