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 633097 - Word boundaries not correctly detected with some symbols
Word boundaries not correctly detected with some symbols
Status: RESOLVED DUPLICATE of bug 97545
Product: pango
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2010-10-25 11:47 UTC by Carlos Garcia Campos
Modified: 2010-10-25 18:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test case containing some unicode symbols (67 bytes, text/plain)
2010-10-25 11:47 UTC, Carlos Garcia Campos
Details
Output of dump-boundaries with the given test case (8.72 KB, application/octet-stream)
2010-10-25 11:49 UTC, Carlos Garcia Campos
Details

Description Carlos Garcia Campos 2010-10-25 11:47:52 UTC
Created attachment 173168 [details]
Test case containing some unicode symbols

pango_get_log_attrs() doesn't detect word boundaries with some characters even if they are between spaces, see this example from dump-boundaries:


0x0020 ( ):	 line_break = 0 mandatory_break = 0 char_break = 0
     		 white = 1 cursor_position = 1
     		 word_start = 0 word_end = 0
     		 sentence_boundary = 0 sentence_start = 0 sentence_end = 0
0x20aa (?):	 line_break = 1 mandatory_break = 0 char_break = 1
     		 white = 0 cursor_position = 1
     		 word_start = 0 word_end = 0
     		 sentence_boundary = 0 sentence_start = 0 sentence_end = 0
0x0020 ( ):	 line_break = 0 mandatory_break = 0 char_break = 0
     		 white = 1 cursor_position = 1
     		 word_start = 0 word_end = 0
     		 sentence_boundary = 0 sentence_start = 0 sentence_end = 0
Comment 1 Carlos Garcia Campos 2010-10-25 11:49:58 UTC
Created attachment 173169 [details]
Output of dump-boundaries with the given test case

This is the output of dump-boundaries program with the test case attached. It can be reproduced also opening the test case in gedit and trying to select a word with double click
Comment 2 Behdad Esfahbod 2010-10-25 18:53:02 UTC

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