projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bb795f
)
(ft_check_otf): Fix arg to OTF_check_features.
author
handa
<handa>
Mon, 12 Nov 2007 12:31:44 +0000
(12:31 +0000)
committer
handa
<handa>
Mon, 12 Nov 2007 12:31:44 +0000
(12:31 +0000)
src/font-ft.c
patch
|
blob
|
history
diff --git
a/src/font-ft.c
b/src/font-ft.c
index
6452b49
..
1c59534
100644
(file)
--- a/
src/font-ft.c
+++ b/
src/font-ft.c
@@
-2181,8
+2181,9
@@
ft_check_otf (MFLTFont *font, MFLTOtfSpec *spec)
else
tags[n] = spec->features[i][n];
}
- if (OTF_check_features (otf, i, spec->script, spec->langsys,
- tags, n - negative) != 1)
+ if (n - negative > 0
+ && OTF_check_features (otf, i == 0, spec->script, spec->langsys,
+ tags, n - negative) != 1)
return 0;
}
return 1;