changeset 97112:25e89f1f3bf6

(uniscribe_encode_char): Fix glyph buffer size.
author Jason Rumney <jasonr@gnu.org>
date Wed, 30 Jul 2008 13:17:43 +0000
parents 1996433c42e6
children ec3dfb53a046
files src/ChangeLog src/w32uniscribe.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Jul 30 09:44:53 2008 +0000
+++ b/src/ChangeLog	Wed Jul 30 13:17:43 2008 +0000
@@ -1,3 +1,7 @@
+2008-07-30  Jason Rumney  <jasonr@gnu.org>
+
+        * w32uniscribe.c (uniscribe_encode_char): Fix glyph buffer size.
+
 2008-07-29  Jason Rumney  <jasonr@gnu.org>
 
         * w32uniscribe.c (uniscribe_shape): Avoid using context if cache
--- a/src/w32uniscribe.c	Wed Jul 30 09:44:53 2008 +0000
+++ b/src/w32uniscribe.c	Wed Jul 30 13:17:43 2008 +0000
@@ -487,7 +487,7 @@
           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)