summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/image/writejbig2.w
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/image/writejbig2.w')
-rw-r--r--Build/source/texk/web2c/luatexdir/image/writejbig2.w2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/image/writejbig2.w b/Build/source/texk/web2c/luatexdir/image/writejbig2.w
index d1ed0a408d4..a58313ce8d8 100644
--- a/Build/source/texk/web2c/luatexdir/image/writejbig2.w
+++ b/Build/source/texk/web2c/luatexdir/image/writejbig2.w
@@ -762,7 +762,7 @@ static void wr_jbig2(PDF pdf, image_dict * idict, FILEINFO * fip,
@ @c
boolean supported_jbig2(image_dict * idict)
{
- if (img_pdfminorversion(idict) < 4) {
+ if (img_pdfmajorversion(idict) < 2 && img_pdfminorversion(idict) < 4) {
normal_error("readjbig2","you need to generate at least PDF 1.4");
return false;
} else {