Re: Font name inside GdkFont
- From: Darin Adler <darin bentspoon com>
- To: Owen Taylor <otaylor redhat com>
- Cc: Gtk Developers <gtk-devel-list gnome org>
- Subject: Re: Font name inside GdkFont
- Date: Fri, 07 Sep 2001 19:16:22 -0700
on 9/7/01 6:41 PM, Owen Taylor at otaylor redhat com wrote:
> One possibility would be to add something like
> the following patch. The other possibility would be to the
> technique gal uses .. extract the XFontStruct or XFontSet
> using gdk_x11_font_get_xfont() then use Xlib to turn that
> into a name.
>
> I haven't really experimented with the gal approach myself,
> but I think it should work. On the other hand, providing
> an accessor is certainly simpler.
Copying the code from gal sounds fine to me.
If you decide to add the accessor, I'll use it instead.
-- Darin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]