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 357256 - Displaying zero-width characters
Displaying zero-width characters
Status: RESOLVED OBSOLETE
Product: pango
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
: 107560 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-09-22 22:25 UTC by Behdad Esfahbod
Modified: 2018-05-22 12:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Behdad Esfahbod 2006-09-22 22:25:21 UTC
Current we filter these zero-width characters out and insert an empty glyph for them:

/* Zero Width characters:
 *
 *  00AD  SOFT HYPHEN
 *  034F  COMBINING GRAPHEME JOINER
 *
 *  200B  ZERO WIDTH SPACE
 *  200C  ZERO WIDTH NON-JOINER
 *  200D  ZERO WIDTH JOINER
 *  200E  LEFT-TO-RIGHT MARK
 *  200F  RIGHT-TO-LEFT MARK
 *
 *  2028  LINE SEPARATOR
 *
 *  202A  LEFT-TO-RIGHT EMBEDDING
 *  202B  RIGHT-TO-LEFT EMBEDDING
 *  202C  POP DIRECTIONAL FORMATTING
 *  202D  LEFT-TO-RIGHT OVERRIDE
 *  202E  RIGHT-TO-LEFT OVERRIDE
 *
 *  2060  WORD JOINER
 *  2061  FUNCTION APPLICATION
 *  2062  INVISIBLE TIMES
 *  2063  INVISIBLE SEPARATOR
 *
 *  FEFF  ZERO WIDTH NO-BREAK SPACE
 */

We should have an option to not delete them and let them produce whatever glyph they have in the font, or a hexbox.  It's a bit complicated though, as some fonts like Scheherezade from SIL "removes" some of these characters, ZWNJ specifically IIRC.
Comment 1 Behdad Esfahbod 2009-04-06 23:19:14 UTC
*** Bug 107560 has been marked as a duplicate of this bug. ***
Comment 2 GNOME Infrastructure Team 2018-05-22 12:22:16 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pango/issues/58.