From bd9f3f5a375d6bf7cdab7ecfdde0e8e2a0ca9e69 Mon Sep 17 00:00:00 2001 From: Luigi Scarso Date: Tue, 16 Mar 2021 21:21:41 +0000 Subject: quick fix when fo->fd->builtin_glyph_names == NULL git-svn-id: svn://tug.org/texlive/trunk@58430 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/luatexdir/font/writefont.c | 3 +++ Build/source/texk/web2c/luatexdir/luatex_svnversion.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'Build/source') diff --git a/Build/source/texk/web2c/luatexdir/font/writefont.c b/Build/source/texk/web2c/luatexdir/font/writefont.c index 13fa8b7543d..d858086b285 100644 --- a/Build/source/texk/web2c/luatexdir/font/writefont.c +++ b/Build/source/texk/web2c/luatexdir/font/writefont.c @@ -634,6 +634,9 @@ static void write_fontdictionary(PDF pdf, fo_entry * fo) 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); } } diff --git a/Build/source/texk/web2c/luatexdir/luatex_svnversion.h b/Build/source/texk/web2c/luatexdir/luatex_svnversion.h index fa113b9034a..221a98b0b4e 100644 --- a/Build/source/texk/web2c/luatexdir/luatex_svnversion.h +++ b/Build/source/texk/web2c/luatexdir/luatex_svnversion.h @@ -1 +1 @@ -#define luatex_svn_revision 7416 +#define luatex_svn_revision 7418 -- cgit v1.2.3