[luatex] luaotfload-tool

Philipp Gesang Philipp.Gesang at alumni.uni-heidelberg.de
Mon Aug 5 12:11:58 CEST 2013


···<date: 2013-08-04, Sunday>···<from: Herbert Voss>···

> If a font isn't found it shouldn't end with an lua error:
> 
> voss at shania:~> luaotfload-tool --find "MyriadPro-Regular"
> luaotfload | resolve : Font "MyriadPro-Regular" found!
> luaotfload | resolve : Resolved file name "MyriadPro-Regular.otf"
> 
> 
> voss at shania:~> luaotfload-tool --find "MyriadPro"
> ...texmf-dist/tex/luatex/luaotfload/luaotfload-database.lua:890:
> attempt to perform arithmetic on field '?' (a nil value)

Do you have Myriad with and without optical sizes? Hard to
reproduce but I’ll attach a patch, let me know if it works.

Best,
Philipp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: luaotfload-database.lua.patch
Type: text/x-diff
Size: 625 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20130805/111068f8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20130805/111068f8/attachment-0001.bin>


More information about the luatex mailing list