pdftex[882]
commits+thanh at tug.org
commits+thanh at tug.org
Mon May 23 08:06:56 CEST 2022
Revision: 882
http://tug.org/svn/pdftex?view=revision&revision=882
Author: thanh
Date: 2022-05-23 08:06:56 +0200 (Mon, 23 May 2022)
Log Message:
-----------
change error to warning when detected unsupported version of OS/2 table in ttf fonts
Modified Paths:
--------------
branches/stable/source/src/texk/web2c/pdftexdir/writettf.c
Modified: branches/stable/source/src/texk/web2c/pdftexdir/writettf.c
===================================================================
--- branches/stable/source/src/texk/web2c/pdftexdir/writettf.c 2022-05-22 08:36:57 UTC (rev 881)
+++ branches/stable/source/src/texk/web2c/pdftexdir/writettf.c 2022-05-23 06:06:56 UTC (rev 882)
@@ -1217,7 +1217,7 @@
ttf_reset_chksm(tab);
version = get_ushort();
if (version > 5)
- pdftex_fail("unknown version of OS/2 table (%.4X)", version);
+ pdftex_warn("unknown version of OS/2 table (%.4X)", version);
(void) put_ushort(0x0001); /* fix version to 1 */
ttf_ncopy(2 * TTF_USHORT_SIZE + 13 * TTF_SHORT_SIZE + 10 * TTF_BYTE_SIZE);
ttf_skip(4 * TTF_ULONG_SIZE); /* ulUnicodeRange 1--4 */
More information about the pdftex-commits
mailing list.