[lucida] need to manually specify bold/italic fonts with current fontspec
Herbert Voss
Herbert.Voss at fu-berlin.de
Mon Jan 21 08:56:56 CET 2019
Am 20.01.19 um 23:59 schrieb Calum Mackay:
> The document lucidaot.pdf says:
>
>> In older versions of fontspec, when specifying OpenType fonts by filename
>> (though not with system font lookups), it was necessary to explicitly
>> specify the italic, bold, and bold italic file names [with arguments
>> to \setmainfont]. It should no longer be
>> necessary […]
From current fontspec documentation:
"Fonts selected by filename must include bold and italic variants
explicitly."
However, using the symbolic name
\setmainfont[Scale=0.92]{Lucida Bright OT}
should work.
Herbert
>
> then I don't get bold or italic type.
>
> Instead, I have to:
>
> \setmainfont[% main font
> Scale=0.92,
> ItalicFont=LucidaBrightOT-Italic.otf,
> BoldFont=LucidaBrightOT-Demi.otf,
> BoldItalicFont=LucidaBrightOT-DemiItalic.otf,
> ]{LucidaBrightOT.otf}
>
> and all is well.
>
> Yet my fontspec appears to be current:
>
> Package: fontspec 2019/01/18 v2.6l Font selection for XeLaTeX and LuaLaTeX
>
>
> Is this expected? Is the doc over-optmistic here?
>
>
> thanks very much indeed,
> calum.
> --
> http://tug.org/lucida/
> http://tug.org/mailman/listinfo/lucida
More information about the lucida
mailing list