# HG changeset patch # User Kenichi Handa # Date 1219996663 0 # Node ID e33a2e6c1dab967047a021584df03d51abc8fae6 # Parent cdeb60ce9393f290a2dcfa7294de44c69e1b3c38 (struct uniscribe_font_info): Include composite.h. (uniscribe_shape): Use LGSTRING_GLYPH_LEN, not LGSTRING_LENGTH. diff -r cdeb60ce9393 -r e33a2e6c1dab src/w32uniscribe.c --- a/src/w32uniscribe.c Fri Aug 29 07:57:31 2008 +0000 +++ b/src/w32uniscribe.c Fri Aug 29 07:57:43 2008 +0000 @@ -34,6 +34,7 @@ #include "dispextern.h" #include "character.h" #include "charset.h" +#include "composite.h" #include "fontset.h" #include "font.h" #include "w32font.h" @@ -223,7 +224,7 @@ uniscribe_font = (struct uniscribe_font_info *) font; /* Get the chars from lgstring in a form we can use with uniscribe. */ - max_glyphs = nchars = LGSTRING_LENGTH (lgstring); + max_glyphs = nchars = LGSTRING_GLYPH_LEN (lgstring); done_glyphs = 0; chars = (wchar_t *) alloca (nchars * sizeof (wchar_t)); for (i = 0; i < nchars; i++)