From 8780973d8990a937b7225dad3fb8c91717aaf20a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 4 Jan 2007 21:49:08 +0000 Subject: Improve docs, and mention g_unichar_iszerowidth(). 2007-01-04 Behdad Esfahbod * pango/pango-utils.c: Improve docs, and mention g_unichar_iszerowidth(). svn path=/trunk/; revision=2127 --- ChangeLog | 5 +++++ pango/pango-utils.c | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index afb5c969..85aa8d5a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-01-04 Behdad Esfahbod + + * pango/pango-utils.c: Improve docs, and mention + g_unichar_iszerowidth(). + 2007-01-04 Behdad Esfahbod Part of Bug 332266 – gdk_draw_layout fails for coordinates >= 2^21 diff --git a/pango/pango-utils.c b/pango/pango-utils.c index ec1ba168..c39a9cd9 100644 --- a/pango/pango-utils.c +++ b/pango/pango-utils.c @@ -1748,8 +1748,11 @@ pango_find_base_dir (const gchar *text, * pango_is_zero_width: * @ch: a Unicode character * - * Checks @ch to see if it is a zero-width character that should not be - * normally rendered on the screen. + * Checks @ch to see if it is a character that should not be + * normally rendered on the screen. This includes all Unicode characters + * with "ZERO WIDTH" in their name, as well as bidi formatting characters, and + * a few other ones. This is totally different from g_unichar_iszerowidth() + * and is at best misnamed. * * Return value: %TRUE if @ch is a zero-width character, %FALSE otherwise * -- cgit v1.2.1