]> git.eshelyaron.com Git - emacs.git/commitdiff
(uniscribe_encode_char): Fix glyph buffer size.
authorJason Rumney <jasonr@gnu.org>
Wed, 30 Jul 2008 13:17:43 +0000 (13:17 +0000)
committerJason Rumney <jasonr@gnu.org>
Wed, 30 Jul 2008 13:17:43 +0000 (13:17 +0000)
src/ChangeLog
src/w32uniscribe.c

index a0ba987005ead27443c758d3c15b19f6a84242ba..b4eea07733fc8ee73dc8a6d022de529c3478df00 100644 (file)
@@ -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
index 42047c3d3c7712f4bfdd4a1ba1f27c8903164890..da49036d010351f3b0586cf43caf306a01128e9f 100644 (file)
@@ -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)