summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-03-19 13:53:45 +0100
committerThomas Deutschmann <whissi@gentoo.org>2020-08-13 11:28:25 +0200
commitdc2ba49207af71193f1390d84bba4e15aeea0ce0 (patch)
tree79c2a51cb5fa2b87800b1113e0015a7108cd2eb3 /base/gxhintn.c
parentImport Ghostscript 9.50 (diff)
downloadghostscript-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.c5
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 : */