X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Ffont.h;h=19417db2c1118e92c14da9a5229f715330b99537;hb=c234ed9ecd9d5228744aae018768ff0c04f2d217;hp=1ddeb0475c8e7c584a75969415e7a2bbffda624b;hpb=e7d1ba6ae343ae3e3f2d97a1fc853422c5b8c3e5;p=chaz%2Fopenbox diff --git a/render/font.h b/render/font.h index 1ddeb047..19417db2 100644 --- a/render/font.h +++ b/render/font.h @@ -23,18 +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; -#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);