diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-01-04 21:49:08 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-01-04 21:49:08 +0000 |
commit | 8780973d8990a937b7225dad3fb8c91717aaf20a (patch) | |
tree | 3fb2aafd4ecfb22cce093d6e23c823dea098ce44 | |
parent | 143def0d70b166251c5971eabb61c901343502c9 (diff) | |
download | pango-8780973d8990a937b7225dad3fb8c91717aaf20a.tar.gz |
Improve docs, and mention g_unichar_iszerowidth().
2007-01-04 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-utils.c: Improve docs, and mention
g_unichar_iszerowidth().
svn path=/trunk/; revision=2127
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | pango/pango-utils.c | 7 |
2 files changed, 10 insertions, 2 deletions
@@ -1,5 +1,10 @@ 2007-01-04 Behdad Esfahbod <behdad@gnome.org> + * pango/pango-utils.c: Improve docs, and mention + g_unichar_iszerowidth(). + +2007-01-04 Behdad Esfahbod <behdad@gnome.org> + Part of Bug 332266 – gdk_draw_layout fails for coordinates >= 2^21 * pango/pango-types.h: 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 * |