Re: use of pango in main window
"Kristian G. Kvilekval" <[email protected]>
| Newsgroups | gmane.comp.audio.zinf.devel |
|---|---|
| Message-ID | <1060710494.3985.85.camel@merrimack> |
On Tue, 2003-08-12 at 08:03, Robert Hart wrote: > and now the patch... > > > On Tue, 2003-08-12 at 14:19, Robert Hart wrote: > > Ok, here's a patch to use pango to render fonts in the main window, so > > we get back much of the functionality of FreeType in much less code. > > > > At the moment, this code makes no attempt to load anything from a > > specified .ttf file, so the appearance will depend on what fonts you > > have installed on your system. > > I'm not quite sure what's going on with the destructor for GTKFont, > > because it seems to be called many more times than I'd expect. I'm also > > not sure I am doing the right thing with regards to unreffing things. > > > > Rob I take it from the patch that you are removing the dependency on freetype. Yeah! I've applied your patch at it looks good on my system. As you mentioned, there is a segfault when switching themes. (maybe multiple destructor calls). -- email:[email protected] office:(805)893-4276 http://www.cs.ucsb.edu/~kris ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01