texlive[58430] Build/source/texk/web2c/luatexdir: quick fix when

commits+lscarso at tug.org commits+lscarso at tug.org
Tue Mar 16 22:21:41 CET 2021


Revision: 58430
          http://tug.org/svn/texlive?view=revision&revision=58430
Author:   lscarso
Date:     2021-03-16 22:21:41 +0100 (Tue, 16 Mar 2021)
Log Message:
-----------
quick fix when fo->fd->builtin_glyph_names == NULL

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/luatexdir/font/writefont.c
    trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h

Modified: trunk/Build/source/texk/web2c/luatexdir/font/writefont.c
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/font/writefont.c	2021-03-16 21:19:25 UTC (rev 58429)
+++ trunk/Build/source/texk/web2c/luatexdir/font/writefont.c	2021-03-16 21:21:41 UTC (rev 58430)
@@ -634,6 +634,9 @@
         if (fo->fe != NULL) {
             fo->tounicode_objnum = write_tounicode(pdf, fo->fe->glyph_names, fo->fe->name);
         } else if (is_type1(fo->fm)) {
+            if (fo->fd->builtin_glyph_names==NULL) {
+              normal_error("font", "builtin glyph names is empty");
+            }
             fo->tounicode_objnum = write_tounicode(pdf, fo->fd->builtin_glyph_names, fo->fm->tfm_name);
         }
     }

Modified: trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h	2021-03-16 21:19:25 UTC (rev 58429)
+++ trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h	2021-03-16 21:21:41 UTC (rev 58430)
@@ -1 +1 @@
-#define luatex_svn_revision 7416
+#define luatex_svn_revision 7418



More information about the tex-live-commits mailing list.