Re: How to get PangoFontFamily?
- From: Enrico TrÃger <enrico troeger uvena de>
- To: Behdad Esfahbod <behdad behdad org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How to get PangoFontFamily?
- Date: Thu, 15 Nov 2007 15:59:06 +0100
On Tue, 13 Nov 2007 18:31:21 -0500, Behdad Esfahbod <behdad behdad org>
wrote:
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
Thanks.
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.key
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]