[pango] Bug 646213 - Hangul Jamo render as U+00xx boxes and produce valgrind errors



commit 6b1910adacb133e229acde532a5a43d588d12faa
Author: Behdad Esfahbod <behdad behdad org>
Date:   Wed Apr 6 16:04:15 2011 -0400

    Bug 646213 - Hangul Jamo render as U+00xx boxes and produce valgrind errors

 modules/hangul/hangul-fc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/hangul/hangul-fc.c b/modules/hangul/hangul-fc.c
index 7692a84..b9ffa9b 100644
--- a/modules/hangul/hangul-fc.c
+++ b/modules/hangul/hangul-fc.c
@@ -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;
 	    }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]