[HarfBuzz] harfbuzz: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Sat Dec 1 05:04:42 UTC 2018
src/hb-ot-layout-gsub-table.hh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit be45677ab605efc711a433323d66e4051c289252
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Sat Dec 1 00:04:29 2018 -0500
Minor
diff --git a/src/hb-ot-layout-gsub-table.hh b/src/hb-ot-layout-gsub-table.hh
index 6acdcf2f..73a852f0 100644
--- a/src/hb-ot-layout-gsub-table.hh
+++ b/src/hb-ot-layout-gsub-table.hh
@@ -270,7 +270,7 @@ struct SingleSubst
/* TODO(serialize) check for wrap-around */
delta = substitutes[0] - glyphs[0];
for (unsigned int i = 1; i < num_glyphs; i++)
- if (delta != substitutes[i] - glyphs[i]) {
+ if (delta != (int) (substitutes[i] - glyphs[i])) {
format = 2;
break;
}
More information about the HarfBuzz
mailing list