[pygtk] Cairo font seletion

Tom Cato Amundsen tca at gnu.org
Tue Apr 4 00:35:15 WST 2006


Hello
I want to include a music font with the GNU Solfege program, with is
written using pygtk. I want to display glyphs from this on on a
CairoContext.

Is is possible to select the font in a file
/usr/share/myapplication/fonts/filename, without installing it with
fontconfig?

I'm asking partly because I still haven't figured out how to do this with
fontconfig, but also because I need a solution that works on MS Windows
too.

Can anyone on this list give me a hint about how to do this, or urls to
useful docs?
-- 
Tom Cato Amundsen <tca at gnu.org>                 http://www.solfege.org/
GNU Solfege - free ear training    http://www.gnu.org/software/solfege/


More information about the pygtk mailing list