summaryrefslogtreecommitdiff
path: root/render/font.h
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2005-07-16 00:56:45 +0000
committerMikael Magnusson <mikachu@comhem.se>2005-07-16 00:56:45 +0000
commita5100fe6770d5b223cf444eda5629c2b2208cb29 (patch)
tree4d5836318361f06d403d530061bef80150bd8f0f /render/font.h
parent8f9aae0cc29d91dd9b4e3d3639ed3d58a7aa923b (diff)
make the pango rendering code really complicated because that is the only way to make it draw correctly
Diffstat (limited to 'render/font.h')
-rw-r--r--render/font.h9
1 files changed, 5 insertions, 4 deletions
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);