[pygtk] Font problem again
Tom Cato Amundsen
tca at gnu.org
Thu Apr 6 05:45:49 WST 2006
I have attached a 40 line example that show a problem I'm experiencing,
and a work-around that make my code work.
Download the font http:/tcamundsen.net/feta18.ttf and place it in ~/.fonts
I didn't include it in this email because of its size.
Run the script, and see an empty 200x200 px window. Add the --workaround
command option and see a G-clef in the window.
It seems that I have to create a label and set it's font to "feta18" to
make the feta18 font usable in the cairo context.
Does anyone have an idea what the problem is?
--
Tom Cato Amundsen <tca at gnu.org> http://www.solfege.org/
GNU Solfege - free ear training http://www.gnu.org/software/solfege/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.py
Type: text/x-python
Size: 1141 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20060405/6fc37b34/a.py
More information about the pygtk
mailing list