This silences warnings when a Unicode bidirectional character is found
in an input file, or any other zero-width character (for example, U+200D
zero-width joiner).
PangoGlyph pg = pgi->glyph;
PangoGlyphGeometry ggeo = pgi->geometry;
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)
{
glyph_name[0] = '\0';
if (has_glyph_names)
{