X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Ffont.h;h=f299763946fa89ab7ff6cbc2d2666d1f03188b82;hb=a5100fe6770d5b223cf444eda5629c2b2208cb29;hp=8f0d4e6ffa176ae1e998b5fa78fd22169a541619;hpb=8f9aae0cc29d91dd9b4e3d3639ed3d58a7aa923b;p=chaz%2Fopenbox 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);