[luatex] fontspec: finding fonts in "."

Khaled Hosny khaledhosny at eglug.org
Mon Sep 10 20:22:05 CEST 2012

On Mon, Sep 10, 2012 at 04:48:49PM +0200, Martin Schröder wrote:
> Hi,
> I have this font file:
> C:\Users\ms\tmp\comettex>otfinfo --info bkant.ttf
> Family:              Book Antiqua
> Subfamily:           Regular
> Full name:           Book Antiqua
> PostScript name:     BookAntiqua
> Version:             Version 2.35
> Unique ID:           Book Antiqua Regular : 1991
> However, if I have this file in the current dir,
> neither \fontspec{Book Antiqua} nor
> \fontspec{BookAntiqua} work; only \fontspec{bkant.ttf}
> works.
> But if I move the file into a texmf tree and run
> texhash and mkluatexfontdb, I can load the font by name.
> Is this intended or can is there a workaround?

Long long ago I added support to luaotfload to index fonts on the
current directory so that they can be loaded by name, but I don't think
it was enabled by default nor do I remember how to enable it.


More information about the luatex mailing list