aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
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
parent9a88f3d4d6efd4a7bdff4981537596aabc4d0433 (diff)
downloadgsoc2013-evolution-c63ea33628b237a5ff6a44545522145f4a12b1c7.tar.gz
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')
-rw-r--r--e-util/ChangeLog4
-rw-r--r--e-util/e-font.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 105ae15f2a..9cf8b1f7b4 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,5 +1,9 @@
2000-08-19 Lauris Kaplinski lauris@helixcode.com
+ * e-font.h: #define e_font_height(f) to save some space
+
+2000-08-19 Lauris Kaplinski lauris@helixcode.com
+
* e-font.h:
* e-font.c: Thin wrapper around GdkFont to deal with UTF-8 directly
Also handles bold/italic styling
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
*/