Am Freitag, den 03.07.2020, 16:53 +0200 schrieb Jürgen Spitzmüller:
> That's not possible. So we cannot support these fonts currently.

We could support them without scale feature like in the attached.

Jürgen
diff --git a/lib/chkconfig.ltx b/lib/chkconfig.ltx
index 9a15abc3ce..307e04aea8 100644
--- a/lib/chkconfig.ltx
+++ b/lib/chkconfig.ltx
@@ -531,6 +531,7 @@
 \TestPackage{libertineMono-type1}
 \TestPackage{libertineMono}
 \TestPackage{libertineRoman}
+\TestPackage{libertinus}
 \TestPackage{lmodern}
 \TestPackage{luximono}
 \TestPackage{mathdesign}% for Roman fonts
diff --git a/lib/latexfonts b/lib/latexfonts
index 784ed3378f..15c7c9aa05 100644
--- a/lib/latexfonts
+++ b/lib/latexfonts
@@ -312,6 +312,25 @@ AltFont libertine-legacy
 	Package          libertine
 EndFont
 
+Font libertinus
+	GuiName          "Libertinus"
+	Family           rm
+	OsfOption        osf
+	Package          libertinus
+	PackageOptions   serif
+	CompleteFont     libertinus-full
+	MoreOptions      1
+
+EndFont
+
+AltFont libertinus-full
+	GuiName          "Libertine"
+	Family           rm
+	OsfOption        osf
+	Package          libertinus
+	MoreOptions      1
+EndFont
+
 Font lmodern
 	GuiName          "Latin Modern Roman"
 	Family           rm
@@ -933,6 +952,21 @@ Font kurierlc
 	SwitchDefault   1
 EndFont
 
+Font LibertinusSans-LF
+	GuiName          "Libertinus Sans"
+	Family           sf
+	Requires         libertinus
+	SwitchDefault    1
+	OsfFont          LibertinusSans-OsF
+EndFont
+
+AltFont LibertinusSans-OsF
+	GuiName          "Libertinus Sans"
+	Family           sf
+	Requires         libertinus
+	SwitchDefault    1
+EndFont
+
 Font lmss
 	GuiName          "Latin Modern Sans"
 	Family           sf
@@ -1131,6 +1165,13 @@ AltFont libertine-mono-type1
 	Package          libertineMono-type1
 EndFont
 
+Font LibertinusMono-TLF
+	GuiName          "Libertinus Mono"
+	Family           tt
+	Requires         libertinus
+	SwitchDefault    1
+EndFont
+
 Font lmtt
 	GuiName          "Latin Modern Typewriter"
 	Family           tt

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
lyx-devel mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to