diff options
author | Luigi Scarso <luigi.scarso@gmail.com> | 2019-03-06 13:23:58 +0000 |
---|---|---|
committer | Luigi Scarso <luigi.scarso@gmail.com> | 2019-03-06 13:23:58 +0000 |
commit | c4f771a2be42ef7a46974bea88d0a71987280e77 (patch) | |
tree | f67fd4f9e693c9779d61a34dabbca0788cfa9c2b /Build/source/texk/web2c/luatexdir/pdf | |
parent | 5c369e9c0320131c484974d5aa932fe7d80cb7f4 (diff) |
Sync with luatex revision 7102.
git-svn-id: svn://tug.org/texlive/trunk@50260 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/pdf')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/pdf/pdfgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/pdf/pdfgen.c b/Build/source/texk/web2c/luatexdir/pdf/pdfgen.c index 78ce165957f..0bd5a3a7b12 100644 --- a/Build/source/texk/web2c/luatexdir/pdf/pdfgen.c +++ b/Build/source/texk/web2c/luatexdir/pdf/pdfgen.c @@ -947,7 +947,7 @@ static void init_pdf_outputparameters(PDF pdf) pdf->inclusion_copy_font = fix_int(pdf_inclusion_copy_font, 0, 1); pdf->pk_resolution = fix_int(pdf_pk_resolution, 72, 8000); pdf->pk_fixed_dpi = fix_int(pdf_pk_fixed_dpi, 0, 1); - if ((pdf->minor_version >= 5) && (pdf->objcompresslevel > 0)) { + if (((pdf->major_version > 1) || (pdf->minor_version >= 5)) && (pdf->objcompresslevel > 0)) { pdf->os_enable = true; } else { if (pdf->objcompresslevel > 0) { @@ -2483,7 +2483,7 @@ void scan_pdfcatalog(PDF pdf) appendix C.1 of the \PDF\ standard. The maximum value of ints is |+2^32|, the maximum value of reals is |+2^15| and the smallest values of reals is |1/(2^16)|. We are quite large on precision, because it could happen that a - pdf file imported as figure has real numbers with an unusual (and possibly useless) + pdf file imported as figure has real numbers with an unusual (and possibly useless) high precision. Later the formatter will write the numbers in the correct format. */ |