[pygtk] Cairo font seletion

2006-04-03 Thread Tom Cato Amundsen
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

Re: [pygtk] Cairo font seletion

2006-04-03 Thread Tom Cato Amundsen
Sorry for the noice. I figured this out myself. It was so easy that I'm a little embarrased... I just store the fonts in for example ~/.fonts, as explained in http://www.gimp.org/unix/fonts.html Now I have to figure out how to display the correct glyphs from the font, since it is not in a