Re: Font name inside GdkFont



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]