diff options
| author | Jason Rumney | 2008-07-30 13:17:43 +0000 |
|---|---|---|
| committer | Jason Rumney | 2008-07-30 13:17:43 +0000 |
| commit | 0c34f98ec7899feb04247029379792c72c3a75ad (patch) | |
| tree | 1be86bc6ad4679046d378817f2f5f752bf7d2c0e /src | |
| parent | 6d5e9854a781b843bf9e06f6c5fa944b3bb129a3 (diff) | |
| download | emacs-0c34f98ec7899feb04247029379792c72c3a75ad.tar.gz emacs-0c34f98ec7899feb04247029379792c72c3a75ad.zip | |
(uniscribe_encode_char): Fix glyph buffer size.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/w32uniscribe.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a0ba987005e..b4eea07733f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-07-30 Jason Rumney <jasonr@gnu.org> | ||
| 2 | |||
| 3 | * w32uniscribe.c (uniscribe_encode_char): Fix glyph buffer size. | ||
| 4 | |||
| 1 | 2008-07-29 Jason Rumney <jasonr@gnu.org> | 5 | 2008-07-29 Jason Rumney <jasonr@gnu.org> |
| 2 | 6 | ||
| 3 | * w32uniscribe.c (uniscribe_shape): Avoid using context if cache | 7 | * 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) | |||
| 487 | int nglyphs; | 487 | int nglyphs; |
| 488 | 488 | ||
| 489 | result = ScriptShape (context, &(uniscribe_font->cache), | 489 | result = ScriptShape (context, &(uniscribe_font->cache), |
| 490 | ch, len, 20, &(items[0].a), | 490 | ch, len, 1, &(items[0].a), |
| 491 | glyphs, clusters, attrs, &nglyphs); | 491 | glyphs, clusters, attrs, &nglyphs); |
| 492 | 492 | ||
| 493 | if (result == E_PENDING) | 493 | if (result == E_PENDING) |