Pango shapers return PANGO_GLYPH_EMPTY glyphs for characters "that should not be normally rendered on the screen". Currently we render these with the space glyph. A better approach is to not render them at all.
This simplifies some APIs, making things easier for bug 385263.
Attachment #338051 - Flags: review?(roc)
Comment on attachment 338051 [details] [diff] [review] skip empty glyphs Nice. Could we have a simple reftest for these characters?
Attachment #338051 - Flags: review?(roc) → review+
(In reply to comment #2) > Could we have a simple reftest for these characters? The single-empty-glyph-cluster case is tested by ZWNJ in bugs/421234-1.html and text/zwnj-01.html. I added a test that the combining grapheme joiner U+034F is not visible and has no format effect, to test a multiglyph cluster. http://hg.mozilla.org/mozilla-central/rev/c8269b148c83
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.