Font Installation
Herbert Voss
Herbert.Voss at fu-berlin.de
Fri Sep 15 19:07:25 CEST 2023
Am 15.09.23 um 17:33 schrieb Walter Burkhard via texhax:
> I have just purchased a new font OTF file.
>
> How do I create the tfm and the pfb files. I used to do all of
> this but
> times have changed.
It makes more sense to switch to lualatex. Then you can simply
use the fonts without the additional vf|tfm files.
For example: Instead of loading fontspec and fontencoding use
\usepackage{fontspec}
\setmainfont{Baskervaldx-Reg.otf}
\setsansfont{FiraSans-Regular.otf}
There are optional arguments possible for scaling, ligatures,
scripts, ... if needed
Herbert
More information about the texhax
mailing list.