Re: Font name inside GdkFont
- From: Havoc Pennington <hp redhat com>
- To: Darin Adler <darin bentspoon com>
- Cc: Owen Taylor <otaylor redhat com>, Gtk Developers <gtk-devel-list gnome org>
- Subject: Re: Font name inside GdkFont
- Date: 07 Sep 2001 21:34:59 -0400
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]