projects
/
profile
/
ivi
/
org.tizen.video-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e04685e
)
Fix global feature handling
author
Behdad Esfahbod
<behdad@behdad.org>
Sat, 29 May 2010 00:41:20 +0000
(20:41 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Sat, 29 May 2010 00:41:20 +0000
(20:41 -0400)
src/hb-ot-shape.cc
patch
|
blob
|
history
diff --git
a/src/hb-ot-shape.cc
b/src/hb-ot-shape.cc
index
a3cb89b
..
87cdf47
100644
(file)
--- a/
src/hb-ot-shape.cc
+++ b/
src/hb-ot-shape.cc
@@
-168,8
+168,12
@@
struct hb_mask_allocator_t {
if (infos[i].tag != infos[j].tag)
infos[++j] = infos[i];
else {
- if (!infos[j].global)
+ if (infos[i].global)
+ infos[j] = infos[i];
+ else {
+ infos[j].global = infos[j].global && (infos[j].value == infos[i].value);
infos[j].value = MAX (infos[j].value, infos[i].value);
+ }
}
count = j + 1;