From f51f887183961203eee8bdd7e23a2ab9e34e6ccf Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Tue, 30 Jul 2013 09:42:30 +0000 Subject: 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 --- Build/source/texk/web2c/luatexdir/font/writettf.w | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Build/source/texk/web2c/luatexdir/font/writettf.w') 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); } } -- cgit v1.2.3