use of pango in main window
Robert Hart <[email protected]>
| Newsgroups | gmane.comp.audio.zinf.devel |
|---|---|
| Organization | University of Nottingham |
| Message-ID | <1060694387.1033.73.camel@euclid> |
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 -- +-------------------------------------+ | "It's only a trap if you don't take | | a ladder with you to get out of it" | | -S Ring, Bath Uni | | | | [email protected] | | http://www.nott.ac.uk/~enxrah | +-------------------------------------+ ------------------------------------------------------- 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