aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-font.h
diff options
context:
space:
mode:
authorLauris Kaplinski <lauris@src.gnome.org>2000-08-20 11:02:05 +0800
committerLauris Kaplinski <lauris@src.gnome.org>2000-08-20 11:02:05 +0800
commitc63ea33628b237a5ff6a44545522145f4a12b1c7 (patch)
tree9eb58132eef85cd6381025b6f149c505db4ba730 /e-util/e-font.h
parent9a88f3d4d6efd4a7bdff4981537596aabc4d0433 (diff)
downloadgsoc2013-evolution-c63ea33628b237a5ff6a44545522145f4a12b1c7.tar
gsoc2013-evolution-c63ea33628b237a5ff6a44545522145f4a12b1c7.tar.gz
gsoc2013-evolution-c63ea33628b237a5ff6a44545522145f4a12b1c7.tar.bz2
gsoc2013-evolution-c63ea33628b237a5ff6a44545522145f4a12b1c7.tar.lz
gsoc2013-evolution-c63ea33628b237a5ff6a44545522145f4a12b1c7.tar.xz
gsoc2013-evolution-c63ea33628b237a5ff6a44545522145f4a12b1c7.tar.zst
gsoc2013-evolution-c63ea33628b237a5ff6a44545522145f4a12b1c7.zip
Moved e-text to UTF-8
svn path=/trunk/; revision=4886
Diffstat (limited to 'e-util/e-font.h')
-rw-r--r--e-util/e-font.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/e-util/e-font.h b/e-util/e-font.h
index 74c91aace5..74ebea2592 100644
--- a/e-util/e-font.h
+++ b/e-util/e-font.h
@@ -39,6 +39,8 @@ void e_font_unref (EFont *font);
gint e_font_ascent (EFont * font);
gint e_font_descent (EFont * font);
+#define e_font_height(f) (e_font_ascent (f) + e_font_descent (f))
+
/*
* NB! UTF-8 text widths are given in chars, not bytes
*/