diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-07-30 09:42:30 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-07-30 09:42:30 +0000 |
commit | f51f887183961203eee8bdd7e23a2ab9e34e6ccf (patch) | |
tree | 678c12fa695f69b63f1f1171132d589e9c8a0b2a /Build/source/texk/web2c/luatexdir/font/writettf.w | |
parent | 530a776434a9382be152b86662236604f5d65b84 (diff) |
luaTeX, pdfTeX: treat unknown 'post' table versions as Version 3.0, i.e., without Glyph names
git-svn-id: svn://tug.org/texlive/trunk@31313 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/font/writettf.w')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/font/writettf.w | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/luatexdir/font/writettf.w b/Build/source/texk/web2c/luatexdir/font/writettf.w index 60f581ff34c..f20792de7cc 100644 --- a/Build/source/texk/web2c/luatexdir/font/writettf.w +++ b/Build/source/texk/web2c/luatexdir/font/writettf.w @@ -816,14 +816,13 @@ void ttf_read_post(void) } } break; + default: + pdftex_warn("unsupported format (%.8X) of `post' table, assuming 3.0", + (unsigned int) post_format); case 0x00030000: for (glyph = glyph_tab; glyph - glyph_tab < NMACGLYPHS; glyph++) { glyph->name_index = (TTF_USHORT) (glyph - glyph_tab); } - break; - default: - pdftex_fail("unsupported format (%.8X) of `post' table", - (unsigned int) post_format); } } |