Re: Font name inside GdkFont



Darin Adler <darin bentspoon com> writes:
> Nautilus and Eel currently rely on getting the name of a GdkFont, using the
> GdkFontPrivateX structure. This is the basis of the functions in
> eel-gdk-font-extensions.[ch]. With the recent changes to the gdk library,
> GdkFontPrivateX is now so private that Eel can't get at it.
> 
> For the first stage of the gnome 2 port, I was hoping to keep the functions
> that depend on this working. I assume that in a later stage I will be able
> to convert everything to use Pango and not use the deprecated GdkFont at
> all. But I'm a little worried about what to do in the mean time.
> 
> Your thoughts?
> 

Maybe an Extra Bad Hack - copy the GdkFontPrivateX structure into Eel
;-)

gdk_font_get_name() is the non-bad-hack option of course.

Havoc





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]