This may just show my lack of knowledge/understanding but here goes anyway... My GFontBrowser application seems to work (more or less) as desired if I don't use a non-standard FontConfig set up. However, that does little more that the Gnome font select tool. The whole point of the browser is to be able to work outside the extant set up -- in particular to work with directories not specified in ~/.fonts.conf but on the command line and to show all instances of fonts not just the first best match. And, of course, to render test in the font as an exemplar. GTKmm provides access to Pango but not to FontConfig (as far as I can see) but rather than work in C, I am just using the FontConfig calls from C++ -- this all seems to work fine. Sort of. My problem is with CellRendererTexts in TreeViews. I need to be able to control the font selection used by the CellRendererText. Currently it seems to use only the fonts found using the standard search mechanism, i.e. the standard search path plus any added in ~/.fonts.conf. I want to not have those fonts used but to have only the fonts in the FcFontSet I have created used. I am guessing this will involve Pango::FontMap in some way. The question is how to specify the fonts available to the CellRendererText. Thanks. -- Russel. ==================================================== Dr Russel Winder +44 20 7585 2200 41 Buckmaster Road +44 7770 465 077 London SW11 1EN, UK russel russel org uk
Attachment:
signature.asc
Description: This is a digitally signed message part