diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-03-19 13:53:45 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-08-13 11:28:25 +0200 |
commit | dc2ba49207af71193f1390d84bba4e15aeea0ce0 (patch) | |
tree | 79c2a51cb5fa2b87800b1113e0015a7108cd2eb3 /base/gxhintn.c | |
parent | Import Ghostscript 9.50 (diff) | |
download | ghostscript-gpl-patches-dc2ba49207af71193f1390d84bba4e15aeea0ce0.tar.gz ghostscript-gpl-patches-dc2ba49207af71193f1390d84bba4e15aeea0ce0.tar.bz2 ghostscript-gpl-patches-dc2ba49207af71193f1390d84bba4e15aeea0ce0.zip |
Import Ghostscript 9.52ghostscript-9.52
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'base/gxhintn.c')
-rw-r--r-- | base/gxhintn.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/base/gxhintn.c b/base/gxhintn.c index 1e3e429f..dc28c00d 100644 --- a/base/gxhintn.c +++ b/base/gxhintn.c @@ -467,8 +467,9 @@ static void t1_hinter__compute_rat_transform_coef(t1_hinter * self) } static inline void t1_hinter__adjust_matrix_precision(t1_hinter * self, fixed xx, fixed yy) -{ fixed x = any_abs(xx), y = any_abs(yy); - fixed c = (x > y ? x : y); +{ + ufixed x = any_abs(xx), y = any_abs(yy); + ufixed c = (x > y ? x : y); while (c >= self->max_import_coord) { /* Reduce the precision of ctmf to allow products to fit into 32 bits : */ |