Add support for Libertinus Math

This commit is contained in:
Juergen Spitzmueller 2020-07-09 18:59:54 +02:00
parent 2c0b650aa6
commit 667a9ad0ce
4 changed files with 75 additions and 0 deletions

View File

@ -520,6 +520,7 @@
\TestPackage{libertineMono}
\TestPackage{libertineRoman}
\TestPackage{libertinus}
\TestPackage{libertinust1math}
\TestPackage{lmodern}
\TestPackage{luximono}
\TestPackage{mathdesign}% for Roman fonts

View File

@ -1256,6 +1256,72 @@ Biolinum
family of fonts with dome extra features
\change_unchanged
.
\change_inserted -712698321 1594313728
\end_layout
\begin_layout Subsection
Libertinus
\change_inserted -712698321 1594313793
T1Math
\change_unchanged
\end_layout
\begin_layout Description
Found:
\begin_inset Info
type "package"
arg "libertinust1math"
\end_inset
\end_layout
\begin_layout Description
CTAN:
\family typewriter
fonts/libertinus
\change_inserted -712698321 1594313783
t1math
\change_unchanged
/
\end_layout
\begin_layout Description
Notes: The
\family sans
libertinus
\change_inserted -712698321 1594313750
t1math
\change_unchanged
\family default
package provides support for the
\emph on
Libertinus
\change_inserted -712698321 1594313754
Math
\change_unchanged
\emph default
\change_deleted -712698321 1594313759
family of
\change_unchanged
font
\change_deleted -712698321 1594313767
s, a derivate of the
\emph on
Libertine
\emph default
and
\emph on
Biolinum
\emph default
family of fonts with dome extra features
\change_unchanged
.
\end_layout
\begin_layout Subsection

View File

@ -1289,6 +1289,13 @@ Font libertine-ntxm
Provides amssymb,amsfonts
EndFont
Font libertinusmath
GuiName "Libertinus Math"
Family math
Package libertinust1math
Provides amssymb,amsfonts
EndFont
Font minion-ntxm
GuiName "Minion Pro (New TX)"
Family math

View File

@ -196,6 +196,7 @@ def createFontMapping(fontlist):
fm.expandFontMapping(['FiraMono'], "typewriter", "tt", "FiraMono", "scaled", "lf", "true")
elif font == 'libertinus':
fm.expandFontMapping(['libertinus,serif'], "roman", None, "libertinus", None, "osf")
fm.expandFontMapping(['libertinusmath'], "math", None, "libertinust1math", None, None)
return fm
def convert_fonts(document, fm, osfoption = "osf"):