diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-03-01 17:11:57 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-03-01 17:11:57 +0000 |
commit | 3cf7524de67c850997bb2d56fb2a4871caac0d8a (patch) | |
tree | 4cc92e512ef4494af4f297d6a842ffef4cc0bf3e | |
parent | dbc4039c4f467497e6a9c1364fff857e82d675e7 (diff) | |
download | mupdf-3cf7524de67c850997bb2d56fb2a4871caac0d8a.tar.xz |
Fix bug in pcl page size finding code.
Don't bale on the first 'large enough' match.
-rw-r--r-- | source/fitz/output-pcl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/fitz/output-pcl.c b/source/fitz/output-pcl.c index a62141ed..5a5ba996 100644 --- a/source/fitz/output-pcl.c +++ b/source/fitz/output-pcl.c @@ -562,14 +562,12 @@ static void guess_paper_size(fz_pcl_options *pcl, int w, int h, int xres, int yr best_waste = waste; rotated = 0; size = i; - break; } if ((pcl->features & PCL_HAS_ORIENTATION) && w <= papersizes[i].height && h <= papersizes[i].width) { best_waste = waste; rotated = 1; size = i; - break; } } } |