projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86e5dd3
)
Fix Uniscribe clusters with multiple items
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 9 May 2012 17:10:07 +0000
(19:10 +0200)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 9 May 2012 17:10:07 +0000
(19:10 +0200)
src/hb-uniscribe.cc
patch
|
blob
|
history
diff --git
a/src/hb-uniscribe.cc
b/src/hb-uniscribe.cc
index
41ce5e6
..
584d641
100644
(file)
--- a/
src/hb-uniscribe.cc
+++ b/
src/hb-uniscribe.cc
@@
-359,6
+359,9
@@
retry:
glyph_props + glyphs_offset,
(int *) &glyphs_len);
+ for (unsigned int j = chars_offset; j < chars_offset + item_chars_len; j++)
+ log_clusters[j] += glyphs_offset;
+
if (unlikely (items[i].a.fNoGlyphIndex))
FAIL ("ScriptShapeOpenType() set fNoGlyphIndex");
if (unlikely (hr == E_OUTOFMEMORY))