pango r2613 - in trunk: . pango
- From: behdad svn gnome org
- To: svn-commits-list gnome org
- Subject: pango r2613 - in trunk: . pango
- Date: Thu, 24 Apr 2008 06:28:35 +0100 (BST)
Author: behdad
Date: Thu Apr 24 05:28:35 2008
New Revision: 2613
URL: http://svn.gnome.org/viewvc/pango?rev=2613&view=rev
Log:
2008-04-24 Behdad Esfahbod <behdad gnome org>
* pango/break.c (pango_default_break): Allow line break at the end of
string. UAX#14 rule LB3 says "Always break at the end of text."
With this test, Pango passes the LineBreakTest.txt, sans the bug in
the test file that I've already reported to unicoRe.
Modified:
trunk/ChangeLog
trunk/pango/break.c
Modified: trunk/pango/break.c
==============================================================================
--- trunk/pango/break.c (original)
+++ trunk/pango/break.c Thu Apr 24 05:28:35 2008
@@ -743,7 +743,7 @@
g_assert (prev_break_type != G_UNICODE_BREAK_SPACE);
- attrs[i].is_line_break = FALSE;
+ attrs[i].is_line_break = done; /* XXX ugly */
attrs[i].is_mandatory_break = FALSE;
if (attrs[i].is_cursor_position) /* If it's not a grapheme boundary,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]