diff options
Diffstat (limited to 'base/gsptype1.c')
-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 |