diff options
author | Jjgod Jiang <gzjjgod@gmail.com> | 2015-04-28 17:33:30 +0000 |
---|---|---|
committer | Jjgod Jiang <gzjjgod@gmail.com> | 2015-04-28 17:33:30 +0000 |
commit | 415f06c694c7336e71d118955926bdc49439db06 (patch) | |
tree | 4b00a29c6d8514955031e199c8b5830186ca5a89 | |
parent | d75e093e68fe674b696ed4920a214d0036261539 (diff) |
Fix TTC support for Type 1 Composite and Type 0 fonts
Fonts like Kohinoor Devanagari Light and HanziPen TC should work now.
git-svn-id: svn://tug.org/texlive/trunk@37097 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/dvipdfm-x/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/cidtype0.c | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index 2daed04ff11..ef7308c474b 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -1,5 +1,9 @@ 2015-04-27 Jiang Jiang <gzjjgod@gmail.com> + * cidtype0.c: Fix TTC support for Type 1 Composite and Type 0 fonts. + +2015-04-27 Jiang Jiang <gzjjgod@gmail.com> + * dpxfile.c: Ignore empty file in filetype checking. 2015-04-26 Jiang Jiang <gzjjgod@gmail.com> diff --git a/Build/source/texk/dvipdfm-x/cidtype0.c b/Build/source/texk/dvipdfm-x/cidtype0.c index f7e6b441a40..b4e19a7f845 100644 --- a/Build/source/texk/dvipdfm-x/cidtype0.c +++ b/Build/source/texk/dvipdfm-x/cidtype0.c @@ -529,7 +529,7 @@ CIDFont_type0_dofont (CIDFont *font) if (offset == 0) ERROR("Not a CFF/OpenType font (2)?"); - cffont = cff_open(fp, offset, font->options->index); + cffont = cff_open(fp, offset, 0); if (!cffont) ERROR("Could not open CFF font."); if (!(cffont->flag & FONTTYPE_CIDFONT)) @@ -755,7 +755,7 @@ CIDFont_type0_open (CIDFont *font, const char *name, return -1; } - cffont = cff_open(sfont->stream, offset, opt->index); + cffont = cff_open(sfont->stream, offset, 0); if (!cffont) { ERROR("Cannot read CFF font data"); } @@ -934,7 +934,7 @@ CIDFont_type0_t1cdofont (CIDFont *font) if (offset == 0) ERROR("Not a CFF/OpenType font (6)?"); - cffont = cff_open(fp, offset, font->options->index); + cffont = cff_open(fp, offset, 0); if (!cffont) ERROR("Could not open CFF font."); if (cffont->flag & FONTTYPE_CIDFONT) @@ -1190,7 +1190,7 @@ CIDFont_type0_t1copen (CIDFont *font, const char *name, return -1; } - cffont = cff_open(fp, offset, opt->index); + cffont = cff_open(fp, offset, 0); if (!cffont) { ERROR("Cannot read CFF font data"); } |