Libertinus fonts is a fork of the Linux Libertine and Linux Biolinum fonts that started as an OpenType math companion of the Libertine font family. It has grown to a full fork to address some of the bugs in the fonts. Thanks to Frédéric Wang for coming up with the name Libertinus.
Libertinus was forked from the 5.3.0 (2012-07-02) release of Linux Libertine fonts.
The family consists of:
- Libertinus Serif: forked from Linux Libertine.
- Libertinus Sans: forked from Linux Biolinum.
- Libertinus Mono: forked from Linux Libertine Mono.
- Libertinus Math: an OpenType math font for use in OpenType math-capable applications (like LuaTeX, XeTeX or MS Word 2007+).
Libertinus fonts are available under the terms of the Open Font License version 1.1.
A zip file containing the font files can be downloaded from the “Releases” page of the project on GitHub.
To build the fonts, you need GNU Make, FontForge with Python support, and
FontTools. The latest versions of FontForge and FontTools are preferred.
To load and compare GSUB features you also need the preprocess python module,
which can be installed by following the instructions on the web page or, if your
system has pip
, with the commands:
pip install https://github.com/doconce/preprocess/archive/master.zip
(The version of preprocess registered with PyPi
is out of date.)
To build the fonts:
make
To build the PDF samples you need fntsample, and then:
make doc
The source files are under the sources
subdirectory. The .sfd
files are
FontForge source font format and should be edited with FontForge. The .fea
files are Adobe feature files and should be edited by a plain text editor.
After modifying the SFD files, they should be normalized with:
make normalize
(Make sure to save a copy of the SFD files before running this tool. The
simplest way is to commit the SFD files, normalize, check the diffs and verify
they are OK, then git commit --amend
the changes).
We keep the generated fonts under version control, so the last step is to run
make
and commit the modified sources and the generated fonts.
Generating the fonts for each commit is preferred, but not absolutely required.