[luatex] luaotfload-tool

Philipp Gesang Philipp.Gesang at alumni.uni-heidelberg.de
Sat Aug 24 13:20:33 CEST 2013


···<date: 2013-08-23, Friday>···<from: stefano franchi>···

> On Mon, Aug 5, 2013 at 5:11 AM, Philipp Gesang <
> Philipp.Gesang at alumni.uni-heidelberg.de> wrote:
> 
> > ···<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.
> >
> >
> Hi Philipp,
> 
> I have the same problem (and same error message) as Herbert's: luaotfload
> crashes on Myriad (which I have installed and used to work fine with
> TL2012).
> Could you tell me where should I apply the patch you posted?

Against the file luaotfload-database.lua which can be found in
the directory texmf-dist/tex/luatex/luaotfload/ of tex live. Here
is a version of the file with the patch applied:

  https://gist.github.com/phi-gamma/6327566  

Best,
Philipp
-------------- 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/20130824/963fbda2/attachment.bin>


More information about the luatex mailing list