X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Ffont.h;h=19417db2c1118e92c14da9a5229f715330b99537;hb=c234ed9ecd9d5228744aae018768ff0c04f2d217;hp=8f0d4e6ffa176ae1e998b5fa78fd22169a541619;hpb=8f9aae0cc29d91dd9b4e3d3639ed3d58a7aa923b;p=chaz%2Fopenbox diff --git a/render/font.h b/render/font.h index 8f0d4e6f..19417db2 100644 --- a/render/font.h +++ b/render/font.h @@ -23,19 +23,21 @@ #include "geom.h" #ifdef USE_PANGO #include +#include #endif /* USE_PANGO */ 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);