Re: How to get PangoFontFamily?
- From: Behdad Esfahbod <behdad behdad org>
- To: Enrico Tröger <enrico troeger uvena de>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How to get PangoFontFamily?
- Date: Tue, 13 Nov 2007 18:31:21 -0500
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]