From a5100fe6770d5b223cf444eda5629c2b2208cb29 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sat, 16 Jul 2005 00:56:45 +0000 Subject: make the pango rendering code really complicated because that is the only way to make it draw correctly --- render/font.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'render/font.h') diff --git a/render/font.h b/render/font.h index 8f0d4e6f..f2997639 100644 --- a/render/font.h +++ b/render/font.h @@ -27,15 +27,16 @@ struct _RrFont { const RrInstance *inst; -#ifdef USE_PANGO - PangoFontDescription *pango_font_description; - PangoFontMetrics *pango_font_metrics; -#endif /* USE_PANGO */ XftFont *xftfont; gint elipses_length; gint shadow; gchar tint; gint offset; +#ifdef USE_PANGO + PangoFontDescription *pango_font_description; + gint pango_ascent; + gint pango_descent; +#endif /* USE_PANGO */ }; RrFont *RrFontOpen(const RrInstance *inst, gchar *fontstring); -- cgit v1.2.3