diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-02-17 08:41:35 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-02-17 08:41:35 +0000 |
commit | 77cea4c016ed732551b4b94fc5c452180a894123 (patch) | |
tree | 73c4ebafd79c155c763829277f5255212c36f6d1 /Build/source/texk/dvipdfm-x/pdfencoding.c | |
parent | 9c6def6021823454892b24da379284c7487992d9 (diff) |
dvipdfm-x version 20180217: Accept PDF version tag 2.0. (S. Hirata)
git-svn-id: svn://tug.org/texlive/trunk@46658 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/pdfencoding.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/pdfencoding.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/dvipdfm-x/pdfencoding.c b/Build/source/texk/dvipdfm-x/pdfencoding.c index ca8b4c6feff..1d2a5812f90 100644 --- a/Build/source/texk/dvipdfm-x/pdfencoding.c +++ b/Build/source/texk/dvipdfm-x/pdfencoding.c @@ -1,6 +1,6 @@ /* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks. - Copyright (C) 2008-2016 by Jin-Hwan Cho, Matthias Franz, and Shunsaku Hirata, + Copyright (C) 2008-2018 by Jin-Hwan Cho, Matthias Franz, and Shunsaku Hirata, the dvipdfmx project team. Copyright (C) 1998, 1999 by Mark A. Wicks <mwicks@kettering.edu> @@ -470,7 +470,7 @@ void pdf_encoding_complete (void) * we do use a base encodings for PDF versions >= 1.3. */ int with_base = !(encoding->flags & FLAG_USED_BY_TYPE3) - || pdf_get_version() >= 4; + || pdf_check_version(1, 4) >= 0; ASSERT(!encoding->resource); encoding->resource = create_encoding_resource(encoding, with_base ? encoding->baseenc : NULL); @@ -676,7 +676,7 @@ pdf_create_ToUnicode_CMap (const char *enc_name, /* Adobe glyph naming conventions are not used by viewers, * hence even ligatures (e.g, "f_i") must be explicitly defined */ - if (pdf_get_version() < 5 || !agln || !agln->is_predef) { + if (pdf_check_version(1, 5) < 0 || !agln || !agln->is_predef) { wbuf[0] = (code & 0xff); p = wbuf + 1; endptr = wbuf + WBUF_SIZE; |