mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Added Adobe Source Pro fonts to lyx-GUI
This commit is contained in:
parent
4eb5ac9a2c
commit
6d0f7fc98d
@ -461,6 +461,9 @@
|
|||||||
\TestPackage{plex-serif}
|
\TestPackage{plex-serif}
|
||||||
\TestPackage{plex-sans}
|
\TestPackage{plex-sans}
|
||||||
\TestPackage{plex-mono}
|
\TestPackage{plex-mono}
|
||||||
|
\TestPackage{sourceserifpro}
|
||||||
|
\TestPackage{sourcesanspro}
|
||||||
|
\TestPackage{sourcecodepro}
|
||||||
\TestFont[zgmr8r]{garamondx-fonts}
|
\TestFont[zgmr8r]{garamondx-fonts}
|
||||||
\TestPackage{iwona}
|
\TestPackage{iwona}
|
||||||
\TestPackage{kurier}
|
\TestPackage{kurier}
|
||||||
|
@ -199,6 +199,12 @@ Font IBMPlexSerifSemibold
|
|||||||
PackageOption semibold
|
PackageOption semibold
|
||||||
EndFont
|
EndFont
|
||||||
|
|
||||||
|
Font ADOBESourceSerifPro
|
||||||
|
GuiName "Adobe Source Serif Pro"
|
||||||
|
Family rm
|
||||||
|
Package sourceserifpro
|
||||||
|
EndFont
|
||||||
|
|
||||||
Font garamondx
|
Font garamondx
|
||||||
GuiName "URW Garamond"
|
GuiName "URW Garamond"
|
||||||
Family rm
|
Family rm
|
||||||
@ -635,6 +641,14 @@ Font IBMPlexSansSemibold
|
|||||||
ScaleOption scale=$$val
|
ScaleOption scale=$$val
|
||||||
EndFont
|
EndFont
|
||||||
|
|
||||||
|
Font ADOBESourceSansPro
|
||||||
|
GuiName "Adobe Source Sans Pro"
|
||||||
|
Family sf
|
||||||
|
Package sourcesanspro
|
||||||
|
PackageOption osf
|
||||||
|
ScaleOption scaled=$$val
|
||||||
|
EndFont
|
||||||
|
|
||||||
Font helvet
|
Font helvet
|
||||||
GuiName "Helvetica"
|
GuiName "Helvetica"
|
||||||
Family sf
|
Family sf
|
||||||
@ -819,6 +833,13 @@ Font IBMPlexMonoSemibold
|
|||||||
PackageOption semibold
|
PackageOption semibold
|
||||||
EndFont
|
EndFont
|
||||||
|
|
||||||
|
Font ADOBESourceCodePro
|
||||||
|
GuiName "Adobe Source Code Pro"
|
||||||
|
Family tt
|
||||||
|
Package sourcecodepro
|
||||||
|
ScaleOption scaled=$$val
|
||||||
|
EndFont
|
||||||
|
|
||||||
Font libertine-mono
|
Font libertine-mono
|
||||||
GuiName "Libertine Mono"
|
GuiName "Libertine Mono"
|
||||||
Family tt
|
Family tt
|
||||||
|
@ -151,6 +151,9 @@ def createFontMapping():
|
|||||||
'IBMPlexMonoExtraLight,extralight', 'IBMPlexMonoLight,light',
|
'IBMPlexMonoExtraLight,extralight', 'IBMPlexMonoLight,light',
|
||||||
'IBMPlexMonoSemibold,semibold'],
|
'IBMPlexMonoSemibold,semibold'],
|
||||||
"typewriter", "tt", "plex-mono", "scale")
|
"typewriter", "tt", "plex-mono", "scale")
|
||||||
|
fm.expandFontMapping(['ADOBESourceSerifPro'], "roman", None, "sourceserifpro")
|
||||||
|
fm.expandFontMapping(['ADOBESourceSansPro'], "sans", "sf", "sourcesanspro", "scaled")
|
||||||
|
fm.expandFontMapping(['ADOBESourceCodePro'], "typewriter", "tt", "sourcecodepro", "scaled")
|
||||||
return fm
|
return fm
|
||||||
|
|
||||||
def convert_fonts(document, fm):
|
def convert_fonts(document, fm):
|
||||||
|
Loading…
Reference in New Issue
Block a user