Using a truetype font in a lualatex

Zdenek Wagner zdenek.wagner at gmail.com
Mon Jul 11 09:20:05 CEST 2022


Hi,

the font name need not be the same as the file name, I have a few
houndred fonts where the font name differs from the file name. Are you
sure that the font name is really CM_Dunhill? Underscores are quite
rare in the font names.

Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml

ne 10. 7. 2022 v 21:30 odesílatel Herbert Voss
<Herbert.Voss at fu-berlin.de> napsal:
>
>
>
> Am 10.07.22 um 19:53 schrieb Haines Brown:
> > I'm a long time user of latex and need to construct a docuemnt with
> > lualatex. However I'm having a problem using a true type font.
>
> use the already installed open type version of the LM fonts:
>
> \documentclass[12pt]{article}
> \usepackage{libertinus}
> \newfontface\Dunhill{latinmodernromandunhill}[
>      BoldFont           = lmromandunh10-regular.otf,
>      BoldFeatures       = {FakeBold=3},
>      ItalicFont         = lmromandunh10-oblique.otf,
>      BoldItalicFont     = lmromandunh10-oblique.otf,
>      BoldItalicFeatures = {FakeBold=3}
> ]
> \begin{document}
>
> Libertinus
>
> \Dunhill Dunhill
> \bfseries Dunhill
> \mdseries
> \itshape Dunhill
> \bfseries Dunhill
>
> \end{document}
>
>
> Herbert



More information about the tex-live mailing list.