wxPython获取系统字体代码
wxPython获取系统字体代码。
importwx
fromwximportFontEnumerator
aaa=wx.App(False)
e=wx.FontEnumerator()
fontList=e.GetFacenames()
foriinfontList:
print(i)
打印结果:
System
@System
Terminal
@Terminal
Fixedsys
@Fixedsys
Modern
Roman
Script
Courier
MSSerif
MSSansSerif
SmallFonts
ADMUI3Lg
ADMUI3Sm
AxureHandwriting
Marlett
Arial
ArialBlack
Calibri
CalibriLight
Cambria
CambriaMath
Candara
ComicSansMS
Consolas
Constantia
Corbel
CourierNew
Ebrima
FranklinGothicMedium
Gabriola
Gadugi
Georgia
Impact
JavaneseText
LeelawadeeUI
LeelawadeeUISemilight
LucidaConsole
LucidaSansUnicode
MalgunGothic
@MalgunGothic
MalgunGothicSemilight
@MalgunGothicSemilight
MicrosoftHimalaya
MicrosoftJhengHei
@MicrosoftJhengHei
MicrosoftJhengHeiUI
@MicrosoftJhengHeiUI
MicrosoftJhengHeiLight
@MicrosoftJhengHeiLight
MicrosoftJhengHeiUILight
@MicrosoftJhengHeiUILight
MicrosoftNewTaiLue
MicrosoftPhagsPa
MicrosoftSansSerif
MicrosoftTaiLe
微软雅黑
@微软雅黑
MicrosoftYaHeiUI
@MicrosoftYaHeiUI
微软雅黑Light
@微软雅黑Light
MicrosoftYaHeiUILight
@MicrosoftYaHeiUILight
MicrosoftYiBaiti
MingLiU-ExtB
@MingLiU-ExtB
PMingLiU-ExtB
@PMingLiU-ExtB
MingLiU_HKSCS-ExtB
@MingLiU_HKSCS-ExtB
MongolianBaiti
MSGothic
@MSGothic
MSUIGothic
@MSUIGothic
MSPGothic
@MSPGothic
MVBoli
MyanmarText
NirmalaUI
NirmalaUISemilight
PalatinoLinotype
SegoeMDL2Assets
SegoePrint
SegoeScript
SegoeUI
SegoeUIBlack
SegoeUIEmoji
SegoeUIHistoric
SegoeUILight
SegoeUISemibold
SegoeUISemilight
SegoeUISymbol
宋体
@宋体
新宋体
@新宋体
SimSun-ExtB
@SimSun-ExtB
SitkaSmall
SitkaText
SitkaSubheading
SitkaHeading
SitkaDisplay
SitkaBanner
Sylfaen
Symbol
Tahoma
TimesNewRoman
TrebuchetMS
Verdana
Webdings
Wingdings
YuGothic
@YuGothic
YuGothicUI
@YuGothicUI
YuGothicUISemibold
@YuGothicUISemibold
YuGothicLight
@YuGothicLight
YuGothicUILight
@YuGothicUILight
YuGothicMedium
@YuGothicMedium
YuGothicUISemilight
@YuGothicUISemilight
等线
@等线
等线Light
@等线Light
仿宋
@仿宋
楷体
@楷体
黑体
@黑体
HoloLensMDL2Assets
AgencyFB
Algerian
ArialNarrow
ArialRoundedMTBold
BaskervilleOldFace
Bauhaus93
BellMT
BerlinSansFB
BerlinSansFBDemi
BernardMTCondensed
BlackadderITC
BodoniMT
BodoniMTBlack
BodoniMTCondensed
BodoniMTPosterCompressed
BookAntiqua
BookmanOldStyle
BookshelfSymbol7
BradleyHandITC
BritannicBold
Broadway
BrushScriptMT
CalifornianFB
CalistoMT
Castellar
Centaur
Century
CenturyGothic
CenturySchoolbook
Chiller
ColonnaMT
CooperBlack
CopperplateGothicBold
CopperplateGothicLight
CurlzMT
EdwardianScriptITC
Elephant
EngraversMT
ErasBoldITC
ErasDemiITC
ErasLightITC
ErasMediumITC
FelixTitling
FootlightMTLight
Forte
FranklinGothicBook
FranklinGothicDemi
FranklinGothicDemiCond
FranklinGothicHeavy
FranklinGothicMediumCond
FreestyleScript
FrenchScriptMT
Garamond
Gigi
GillSansMT
GillSansMTCondensed
GillSansMTExtCondensedBold
GillSansUltraBold
GillSansUltraBoldCondensed
GloucesterMTExtraCondensed
GoudyOldStyle
GoudyStout
Haettenschweiler
HarlowSolidItalic
Harrington
HighTowerText
ImprintMTShadow
InformalRoman
Jokerman
JuiceITC
KristenITC
KunstlerScript
LucidaBright
LucidaCalligraphy
LucidaFax
LucidaHandwriting
LucidaSans
LucidaSansTypewriter
Magneto
MaiandraGD
MaturaMTScriptCapitals
Mistral
ModernNo.20
MonotypeCorsiva
MSOutlook
MSReferenceSansSerif
MSReferenceSpecialty
NiagaraEngraved
NiagaraSolid
OCRAExtended
OldEnglishTextMT
Onyx
PalaceScriptMT
Papyrus
Parchment
Perpetua
PerpetuaTitlingMT
Playbill
PoorRichard
Pristina
RageItalic
Ravie
Rockwell
RockwellCondensed
RockwellExtraBold
ScriptMTBold
ShowcardGothic
SnapITC
Stencil
TempusSansITC
TwCenMT
TwCenMTCondensed
TwCenMTCondensedExtraBold
VinerHandITC
Vivaldi
VladimirScript
WideLatin
Wingdings2
Wingdings3
华文中宋
@华文中宋
华文仿宋
@华文仿宋
华文宋体
@华文宋体
华文彩云
@华文彩云
华文新魏
@华文新魏
华文楷体
@华文楷体
华文琥珀
@华文琥珀
华文细黑
@华文细黑
华文行楷
@华文行楷
华文隶书
@华文隶书
幼圆
@幼圆
方正姚体
@方正姚体
方正舒体
@方正舒体
隶书
@隶书
MTExtra
Nina
SegoeCondensed
Arvo
DroidSerif
IndieFlower
Lobster
OpenSans
PoiretOne
Raleway
Roboto
RobotoCondensed
RobotoSlab
方正兰亭超细黑简体
@方正兰亭超细黑简体
FTEasci1
FTEasci2
FTEbaudo
FTEebcd1
FTEebcd2
FTEspec
FTEasci1-f
FTEasci2-f
FTEbaudo-f
FTEebcd1-f
FTEebcd2-f
FTEspec-f
Python培训、Python培训班、Python培训机构,就选光环大数据!
大数据培训、人工智能培训、Python培训、大数据培训机构、大数据培训班、数据分析培训、大数据可视化培训,就选光环大数据!光环大数据,聘请专业的大数据领域知名讲师,确保教学的整体质量与教学水准。讲师团及时掌握时代潮流技术,将前沿技能融入教学中,确保学生所学知识顺应时代所需。通过深入浅出、通俗易懂的教学方式,指导学生更快的掌握技能知识,成就上万个高薪就业学子。 更多问题咨询,欢迎点击------>>>>在线客服!