Bug 646213 - Hangul Jamo render as U+00xx boxes and produce valgrind errors
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 6 Apr 2011 20:04:15 +0000 (16:04 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 6 Apr 2011 20:04:15 +0000 (16:04 -0400)
modules/hangul/hangul-fc.c

index 7692a84..b9ffa9b 100644 (file)
@@ -346,7 +346,7 @@ render_syllable (PangoFont *font, const char *str, int length,
              *n_glyphs = oldlen;
              pango_glyph_string_set_size (glyphs, *n_glyphs + 1);
              set_glyph (font, glyphs, *n_glyphs, cluster_offset,
-                        PANGO_GET_UNKNOWN_GLYPH (text[i]));
+                        PANGO_GET_UNKNOWN_GLYPH (wc));
              (*n_glyphs)++;
              break;
            }