From 1499029a9695e26beaf72e11287be60ad9e40cfe Mon Sep 17 00:00:00 2001 From: Michiharu Ariza Date: Tue, 11 Sep 2018 13:56:52 -0700 Subject: [PATCH] fixed a bug --- src/hb-cff-interp-dict-common.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-cff-interp-dict-common.hh b/src/hb-cff-interp-dict-common.hh index 731edc69..e589e9fe 100644 --- a/src/hb-cff-interp-dict-common.hh +++ b/src/hb-cff-interp-dict-common.hh @@ -185,7 +185,7 @@ struct DictOpSet : OpSet return false; case END: - value = (double)int_part; + value = (double)(neg? -int_part: int_part); if (frac_count > 0) value += (frac_part / pow (10.0, (double)frac_count)); if (exp_part != 0) -- GitLab