diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-04-12 13:30:04 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-04-12 13:30:04 +0000 |
commit | 71f42391beb675e61c1760a652d172c20513cffb (patch) | |
tree | d2daa5d3758cede55955f2d72d09e12de58b4a58 /Build/source/texk/dvipdfm-x/pdfcolor.c | |
parent | d984cfa161205fb12b161143bc2ad34fab8f62e7 (diff) |
dvipdfm-x: Fixes by S. Hirata.
git-svn-id: svn://tug.org/texlive/trunk@36782 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/pdfcolor.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/pdfcolor.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Build/source/texk/dvipdfm-x/pdfcolor.c b/Build/source/texk/dvipdfm-x/pdfcolor.c index eea24abf57b..ee6dac5490d 100644 --- a/Build/source/texk/dvipdfm-x/pdfcolor.c +++ b/Build/source/texk/dvipdfm-x/pdfcolor.c @@ -599,7 +599,9 @@ static struct {0, 0}, /* PDF-1.2, we don't support them */ {0x02, 0x10}, /* PDF-1.3 */ {0x02, 0x20}, /* PDF-1.4 */ - {0x04, 0x00} /* PDF-1.5 */ + {0x04, 0x00}, /* PDF-1.5 */ + {0x04, 0x00}, /* PDF-1.6 */ + {0x04, 0x20}, /* PDF-1.7 */ }; static int @@ -608,11 +610,11 @@ iccp_version_supported (int major, int minor) int pdf_ver; pdf_ver = pdf_get_version(); - if (pdf_ver < 6) { + if (pdf_ver < 8) { if (icc_versions[pdf_ver].major < major) return 0; else if (icc_versions[pdf_ver].major == major && - icc_versions[pdf_ver].minor < minor) + icc_versions[pdf_ver].minor < minor) return 0; else { return 1; |