]> git.donarmstrong.com Git - lilypond.git/commitdiff
Revert "Pango: Skip glyph lookups for zero-width characters."
authorPatrick McCarty <pnorcks@gmail.com>
Mon, 14 Dec 2009 20:18:42 +0000 (12:18 -0800)
committerPatrick McCarty <pnorcks@gmail.com>
Mon, 14 Dec 2009 20:19:48 +0000 (12:19 -0800)
This breaks combining characters, so another solution needs to be found.

This reverts commit b57e13f59b787c0e870bf2148fcf22d6ee044df4.

lily/pango-font.cc

index 2e7ea0a6bbd56524199d71b0f34a564ebcacfb05..f4a4922f240d7e98c224d31e5eb4979430cc85e1 100644 (file)
@@ -172,10 +172,6 @@ Pango_font::pango_item_string_stencil (PangoGlyphItem const *glyph_item,
       PangoGlyph pg = pgi->glyph;
       PangoGlyphGeometry ggeo = pgi->geometry;
 
-      /* For zero-width characters, do not perform a glyph lookup */
-      if (!ggeo.width)
-       continue;
-
       glyph_name[0] = '\0';
       if (has_glyph_names)
        {