27 #if !defined(GDK_DISABLE_DEPRECATED) || defined(GDK_COMPILATION)
29 #ifndef __GDK_FONT_H__
30 #define __GDK_FONT_H__
33 #include <pango/pango.h>
37 #define GDK_TYPE_FONT gdk_font_get_type ()
65 const gchar *font_name);
67 const gchar *fontset_name);
69 PangoFontDescription *font_desc);
71 #ifndef GDK_DISABLE_DEPRECATED
73 #ifndef GDK_MULTIHEAD_SAFE
GdkDisplay * gdk_font_get_display(GdkFont *font)
void gdk_font_unref(GdkFont *font)
gint gdk_text_width(GdkFont *font, const gchar *text, gint text_length)
void gdk_text_extents_wc(GdkFont *font, const GdkWChar *text, gint text_length, gint *lbearing, gint *rbearing, gint *width, gint *ascent, gint *descent)
void gdk_text_extents(GdkFont *font, const gchar *text, gint text_length, gint *lbearing, gint *rbearing, gint *width, gint *ascent, gint *descent)
GdkFont * gdk_font_from_description(PangoFontDescription *font_desc)
gint gdk_text_height(GdkFont *font, const gchar *text, gint text_length)
GdkFont * gdk_font_load_for_display(GdkDisplay *display, const gchar *font_name)
gint gdk_string_width(GdkFont *font, const gchar *string)
gint gdk_string_measure(GdkFont *font, const gchar *string)
GdkFont * gdk_fontset_load_for_display(GdkDisplay *display, const gchar *fontset_name)
GdkFont * gdk_fontset_load(const gchar *fontset_name)
gint gdk_font_id(const GdkFont *font)
void gdk_string_extents(GdkFont *font, const gchar *string, gint *lbearing, gint *rbearing, gint *width, gint *ascent, gint *descent)
gboolean gdk_font_equal(const GdkFont *fonta, const GdkFont *fontb)
gint gdk_char_width_wc(GdkFont *font, GdkWChar character)
gint gdk_string_height(GdkFont *font, const gchar *string)
gint gdk_text_width_wc(GdkFont *font, const GdkWChar *text, gint text_length)
GdkFont * gdk_font_from_description_for_display(GdkDisplay *display, PangoFontDescription *font_desc)
gint gdk_char_width(GdkFont *font, gchar character)
gint gdk_char_measure(GdkFont *font, gchar character)
gint gdk_text_measure(GdkFont *font, const gchar *text, gint text_length)
GdkFont * gdk_font_ref(GdkFont *font)
gint gdk_char_height(GdkFont *font, gchar character)
GdkFont * gdk_font_load(const gchar *font_name)
GType gdk_font_get_type(void) G_GNUC_CONST