Skip to content

Commit baad858

Browse files
committed
pdf_io: fix initialization of the default PDF minor version
1 parent 73e3d71 commit baad858

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/pdf_io/pdf_io/dpx-pdfobj.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ init_pdf_out_struct (pdf_out *p)
258258
memset(p->id2, 0, 16);
259259

260260
p->version.major = 1;
261-
p->version.minor = PDF_VERSION_DEFAULT;
261+
p->version.minor = PDF_VERSION_DEFAULT % 10; /* Tectonic: fix this setting */
262262

263263
p->options.compression.level = 9;
264264
p->options.compression.use_predictor = 1;

0 commit comments

Comments
 (0)