Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
fix for pdf 2 and compression (HH) -- trunk
Browse files Browse the repository at this point in the history
git-svn-id: https://serveur-svn.lri.fr/svn/modhel/luatex/trunk@7094 0b2b3880-5936-4365-a048-eb17d2e5a6bf
  • Loading branch information
luigiScarso committed Mar 4, 2019
1 parent 6a7726a commit b968f8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/texk/web2c/luatexdir/luatex_svnversion.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define luatex_svn_revision 7090
#define luatex_svn_revision 7092
4 changes: 2 additions & 2 deletions source/texk/web2c/luatexdir/pdf/pdfgen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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.
*/
Expand Down

0 comments on commit b968f8a

Please sign in to comment.