diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2020-08-21 20:00:56 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2020-08-21 20:00:56 +0100 |
commit | 83d5cac696a42cc110be8ad0cca71774a049bb3e (patch) | |
tree | 5a0a17bc36177041014ebf419870d88738f2eb76 | |
parent | d38296d6f0c1f56c5271d7d2a0e0e9dcce0f5471 (diff) | |
download | ghostpdl-9.53.0-test-base-0b.tar.gz |
-rw-r--r-- | base/gsptype1.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/gsptype1.c b/base/gsptype1.c index 3a4d248d7..cfbd50944 100644 --- a/base/gsptype1.c +++ b/base/gsptype1.c @@ -212,11 +212,12 @@ gs_pattern1_make_pattern(gs_client_color * pcc, if (ADJUST_SCALE_BY_GS_TRADITION) { inst.size.x = (int)(bbw + 0.8); /* 0.8 is arbitrary */ inst.size.y = (int)(bbh + 0.8); - } else if (inst.templat.TilingType == 2) { + } else {//if (inst.templat.TilingType == 2) { /* Always round up for TilingType 2, as we don't want any * content to be lost. */ inst.size.x = (int)ceil(bbw); inst.size.y = (int)ceil(bbh); +#if 0 } else { /* For TilingType's other than 2 allow us to round up or down * to whatever is nearer. The scale we do later prevents us @@ -228,6 +229,7 @@ gs_pattern1_make_pattern(gs_client_color * pcc, inst.size.x = 1; if (bbh > 0 && inst.size.y == 0) inst.size.y = 1; +#endif } /* After compute_inst_matrix above, we are guaranteed that |