mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +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-sans}
|
||||
\TestPackage{plex-mono}
|
||||
\TestPackage{sourceserifpro}
|
||||
\TestPackage{sourcesanspro}
|
||||
\TestPackage{sourcecodepro}
|
||||
\TestFont[zgmr8r]{garamondx-fonts}
|
||||
\TestPackage{iwona}
|
||||
\TestPackage{kurier}
|
||||
|
@ -199,6 +199,12 @@ Font IBMPlexSerifSemibold
|
||||
PackageOption semibold
|
||||
EndFont
|
||||
|
||||
Font ADOBESourceSerifPro
|
||||
GuiName "Adobe Source Serif Pro"
|
||||
Family rm
|
||||
Package sourceserifpro
|
||||
EndFont
|
||||
|
||||
Font garamondx
|
||||
GuiName "URW Garamond"
|
||||
Family rm
|
||||
@ -635,6 +641,14 @@ Font IBMPlexSansSemibold
|
||||
ScaleOption scale=$$val
|
||||
EndFont
|
||||
|
||||
Font ADOBESourceSansPro
|
||||
GuiName "Adobe Source Sans Pro"
|
||||
Family sf
|
||||
Package sourcesanspro
|
||||
PackageOption osf
|
||||
ScaleOption scaled=$$val
|
||||
EndFont
|
||||
|
||||
Font helvet
|
||||
GuiName "Helvetica"
|
||||
Family sf
|
||||
@ -819,6 +833,13 @@ Font IBMPlexMonoSemibold
|
||||
PackageOption semibold
|
||||
EndFont
|
||||
|
||||
Font ADOBESourceCodePro
|
||||
GuiName "Adobe Source Code Pro"
|
||||
Family tt
|
||||
Package sourcecodepro
|
||||
ScaleOption scaled=$$val
|
||||
EndFont
|
||||
|
||||
Font libertine-mono
|
||||
GuiName "Libertine Mono"
|
||||
Family tt
|
||||
|
@ -151,6 +151,9 @@ def createFontMapping():
|
||||
'IBMPlexMonoExtraLight,extralight', 'IBMPlexMonoLight,light',
|
||||
'IBMPlexMonoSemibold,semibold'],
|
||||
"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
|
||||
|
||||
def convert_fonts(document, fm):
|
||||
|
Loading…
Reference in New Issue
Block a user