Using a truetype font in a lualatex

Haines Brown haines at histomat.net
Mon Jul 11 20:16:27 CEST 2022


On Mon, Jul 11, 2022 at 05:05:07PM +0200, Herbert Voss wrote:
> 
> 
> Am 11.07.22 um 13:55 schrieb Herbert Voss:
> > 
> > 
> sorry, just realized that there must be something wrong with
> your copy and paste of my example.
> 
> You have a lot of unwanted spaces in your code

Herbert, I have reduced the code as much as possible:

  \documentclass[letterpaper,12pt]{letter}
  \usepackage[T1]{fontenc} % optional but needed
  \usepackage{libertinus}[  
    BoldFont           = lmromandunh10-regular.otf,
    BoldFeatures       = {FakeBold=3}
  ]
  \begin{document}
    \begin{letter}
    \newfontface\Dunhill{latinmodernromandunhill}
      {\large \bfseries{\Dunhill Dunhill}}
    \end{letter}
  \end{document}

As the code hints, I'm trying to make the Dunhill string apear bolder 
and larger. 

Haines



More information about the tex-live mailing list.