Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/pango/ChangeLog,v
retrieving revision 1.1620
diff -u -p -r1.1620 ChangeLog
--- ChangeLog	21 Dec 2006 00:34:18 -0000	1.1620
+++ ChangeLog	22 Dec 2006 15:08:33 -0000
@@ -1,3 +1,10 @@
+2006-12-23  Changwoo Ryu  <cwryu@debian.org>
+
+	Bug 388581 - Every last Hangul syllable is decomposed to jamos.
+
+	* modules/hangul/hangul-fc.c (hangul_engine_shape): Check if the
+	remaining string is a syllable.
+
 2006-12-20  Behdad Esfahbod  <behdad@gnome.org>
 
 	* === Released 1.15.2 ===
Index: modules/hangul/hangul-fc.c
===================================================================
RCS file: /cvs/gnome/pango/modules/hangul/hangul-fc.c,v
retrieving revision 1.27
diff -u -p -r1.27 hangul-fc.c
--- modules/hangul/hangul-fc.c	19 Dec 2006 18:05:05 -0000	1.27
+++ modules/hangul/hangul-fc.c	22 Dec 2006 15:08:33 -0000
@@ -445,7 +445,9 @@ hangul_engine_shape (PangoEngineShape *e
       p = g_utf8_next_char (p);
     }
 
-  if (n_jamos > 0)
+  if (n_jamos == 1 && IS_S (prev))
+    render_basic (font, prev, glyphs, &n_glyphs, start - text);
+  else if (n_jamos > 0)
     render_syllable (font, start, n_jamos, glyphs, &n_glyphs,
 		     start - text);
 }
