On Tue, 2007-11-13 at 18:51 +0100, Enrico Tröger wrote: 
> Hi,
> 
> I have a PangoFontDescription, created from a font string. Now I would
> like to use pango_font_family_is_monospace() to know whether it is a
> monospaced font or not. But I don't find a way to get a PangoFontFamily
> object at all.
> 
> Any ideas?

A PangoFontDescription is just that: a description.  It doesn't identify
any specific font on your system just yet.  You need a PangoFont first.

Unfortunately the current Pango API is lacking any way to connect a
PangoFont to a PangoFontFamily.  So, right now, you can't do that.  I've
opened a but about it:

  http://bugzilla.gnome.org/show_bug.cgi?id=496545

> Regards,
> Enrico
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759



_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to