From 50163d8198f9cdb0308a4643a6afa1d6ed053ce1 Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Mon, 14 Dec 2009 12:18:42 -0800 Subject: [PATCH] Revert "Pango: Skip glyph lookups for zero-width characters." This breaks combining characters, so another solution needs to be found. This reverts commit b57e13f59b787c0e870bf2148fcf22d6ee044df4. --- lily/pango-font.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lily/pango-font.cc b/lily/pango-font.cc index 2e7ea0a6bb..f4a4922f24 100644 --- a/lily/pango-font.cc +++ b/lily/pango-font.cc @@ -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) { -- 2.39.5