From: Jason Rumney Date: Wed, 30 Jul 2008 13:17:43 +0000 (+0000) Subject: (uniscribe_encode_char): Fix glyph buffer size. X-Git-Tag: emacs-pretest-23.0.90~3796 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0c34f98ec7899feb04247029379792c72c3a75ad;p=emacs.git (uniscribe_encode_char): Fix glyph buffer size. --- diff --git a/src/ChangeLog b/src/ChangeLog index a0ba987005e..b4eea07733f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2008-07-30 Jason Rumney + + * w32uniscribe.c (uniscribe_encode_char): Fix glyph buffer size. + 2008-07-29 Jason Rumney * w32uniscribe.c (uniscribe_shape): Avoid using context if cache diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c index 42047c3d3c7..da49036d010 100644 --- a/src/w32uniscribe.c +++ b/src/w32uniscribe.c @@ -487,7 +487,7 @@ uniscribe_encode_char (font, c) int nglyphs; result = ScriptShape (context, &(uniscribe_font->cache), - ch, len, 20, &(items[0].a), + ch, len, 1, &(items[0].a), glyphs, clusters, attrs, &nglyphs); if (result == E_PENDING)