diff options
Diffstat (limited to 'modules/indic/indic-fc.c')
-rw-r--r-- | modules/indic/indic-fc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/indic/indic-fc.c b/modules/indic/indic-fc.c index 3e3ec23e..187067cb 100644 --- a/modules/indic/indic-fc.c +++ b/modules/indic/indic-fc.c @@ -272,12 +272,12 @@ set_glyphs (PangoFont *font, if (pango_is_zero_width (wcs[i]) && (!process_zwj || wcs[i] != 0x200D)) - glyph = 0; + glyph = PANGO_GLYPH_NULL; else { glyph = pango_fc_font_get_glyph (fc_font, wcs[i]); - if (!glyph) + if (glyph == PANGO_GLYPH_NULL) glyph = pango_fc_font_get_unknown_glyph (fc_font, wcs[i]); pango_ot_buffer_add_glyph (buffer, glyph, tags[i], i); |