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.
Created attachment 338051 [details] [diff] [review] skip empty glyphs This simplifies some APIs, making things easier for bug 385263.
Comment on attachment 338051 [details] [diff] [review] skip empty glyphs Nice. Could we have a simple reftest for these characters?
(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