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 147607 - Cursive joining and ellipsization
Cursive joining and ellipsization
Status: RESOLVED NOTABUG
Product: pango
Classification: Platform
Component: general
1.5.x
Other Linux
: Normal normal
: Medium API
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2004-07-14 22:06 UTC by Owen Taylor
Modified: 2009-01-03 00:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Owen Taylor 2004-07-14 22:06:38 UTC
Currently, ellipsization just occurs at any grapheme boundary (cursor
position). This looks distinctly ugly for Arabic - there are some
examples at:

 http://bugzilla.gnome.org/show_bug.cgi?id=59071

We probably should only break at positions where there is no
cursive joining going on. This would be done by adding another
flag to PangoGlyphVisAttr and setting it in the Arabic/Syriac
shaper.
Comment 1 Owen Taylor 2004-07-14 22:07:11 UTC
That link was meant to be:

 http://people.redhat.com/otaylor/pango/ellipsizing.html
Comment 2 Behdad Esfahbod 2005-09-26 13:02:33 UTC
I don't quite agree.  In fact, one side of me prefers ellipsizing at joining.  I
have more than once found myself wondering what that word means in the window
list title of an application, just to figure out it's truncated and ellipsized.
 With break at joining, it's more obvious that a mid-word break has happened...

BTW, technology-wise, we need that flag for Arabic/Syriac h&j too.  We will
decide then.
Comment 3 Behdad Esfahbod 2009-01-03 00:06:35 UTC
I think the current ellispizing behaviour is correct for Arabic.  Closing.