After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 751125 - PangoLogAttrs's is_sentence_boundary does not follow Unicode TR #29
PangoLogAttrs's is_sentence_boundary does not follow Unicode TR #29
Status: RESOLVED DUPLICATE of bug 97545
Product: pango
Classification: Platform
Component: general
1.37.x
Other Linux
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2015-06-17 18:03 UTC by sclark0322
Modified: 2015-06-22 12:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
illustrates incorrect behavior of is_sentence_boundary (1.30 KB, text/x-c++src)
2015-06-17 18:03 UTC, sclark0322
Details

Description sclark0322 2015-06-17 18:03:44 UTC
Created attachment 305499 [details]
illustrates incorrect behavior of is_sentence_boundary

Based on http://www.unicode.org/reports/tr29/ PangoLogAttrs's is_sentence_boundary attribute is incorrect. Using http://unicode.org/cldr/utility/breaks.jsp as a visual reference we can see where the boundaries should be, but using the attached program we see that this is not the case.

Example 1:
  John said, "Sentence boundaries are broken."  Marie was not amused.

Expected:
  Sentence 1: John said, "Sentence boundaries are broken."
  Sentence 2: Marie was not amused.
Actual:
  Sentence 1: John said, "Sentence boundaries are broken."  Marie was not amused.


Example 2:
  风向转变时,有人筑墙,有人造风车。師傅領進門,修行在個人。

Expected:
  Sentence 1: 风向转变时,有人筑墙,有人造风车。
  Sentence 2: 師傅領進門,修行在個人。
Actual:
  Sentence 1: 风向转变时,有人筑墙,有人造风车。師傅領進門,修行在個人。
Comment 1 Matthias Clasen 2015-06-22 12:03:42 UTC
thanks for the examples. Look at bug 97545 for prior efforts towards implmementing tr29

*** This bug has been marked as a duplicate of bug 97545 ***