[luatex] fontspec: finding fonts in "."

Herbert Voss Herbert.Voss at FU-Berlin.DE
Mon Sep 10 17:21:55 CEST 2012


Am 10.09.2012 16:48, schrieb Martin Schröder:
> 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.

use \setmainfont{Book Antiqua}
 and it should work ...
lso with \setmainfont{BookAntiqua}

Herbert



More information about the luatex mailing list