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:
b069c3c
)
Fix Uniscribe clusters with direction-overriden Arabic
author
Behdad Esfahbod
<behdad@behdad.org>
Fri, 8 Jun 2012 14:22:06 +0000
(10:22 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Fri, 8 Jun 2012 14:22:06 +0000
(10:22 -0400)
src/hb-uniscribe.cc
patch
|
blob
|
history
diff --git
a/src/hb-uniscribe.cc
b/src/hb-uniscribe.cc
index
ce34f77
..
9d121aa
100644
(file)
--- a/
src/hb-uniscribe.cc
+++ b/
src/hb-uniscribe.cc
@@
-429,11
+429,11
@@
retry:
}
if (!backward) {
for (unsigned int i = 1; i < glyphs_len; i++)
- if (
!glyph_props[i].sva.fClusterStart
)
+ if (
vis_clusters[i] == -1
)
vis_clusters[i] = vis_clusters[i - 1];
} else {
for (int i = glyphs_len - 2; i >= 0; i--)
- if (
!glyph_props[i].sva.fClusterStart
)
+ if (
vis_clusters[i] == -1
)
vis_clusters[i] = vis_clusters[i + 1];
}