wxPython获取系统字体代码
代码:
import wx from wx import FontEnumerator aaa =wx.App(False) e = wx.FontEnumerator() fontList = e.GetFacenames() for i in fontList: print(i)
打印结果:
System
@System
Terminal
@Terminal
Fixedsys
@Fixedsys
Modern
Roman
Script
Courier
MS Serif
MS Sans Serif
Small Fonts
ADMUI3Lg
ADMUI3Sm
Axure Handwriting
Marlett
Arial
Arial Black
Calibri
Calibri Light
Cambria
Cambria Math
Candara
Comic Sans MS
Consolas
Constantia
Corbel
Courier New
Ebrima
Franklin Gothic Medium
Gabriola
Gadugi
Georgia
Impact
Javanese Text
Leelawadee UI
Leelawadee UI Semilight
Lucida Console
Lucida Sans Unicode
Malgun Gothic
@Malgun Gothic
Malgun Gothic Semilight
@Malgun Gothic Semilight
Microsoft Himalaya
Microsoft JhengHei
@Microsoft JhengHei
Microsoft JhengHei UI
@Microsoft JhengHei UI
Microsoft JhengHei Light
@Microsoft JhengHei Light
Microsoft JhengHei UI Light
@Microsoft JhengHei UI Light
Microsoft New Tai Lue
Microsoft PhagsPa
Microsoft Sans Serif
Microsoft Tai Le
微软雅黑
@微软雅黑
Microsoft YaHei UI
@Microsoft YaHei UI
微软雅黑 Light
@微软雅黑 Light
Microsoft YaHei UI Light
@Microsoft YaHei UI Light
Microsoft Yi Baiti
MingLiU-ExtB
@MingLiU-ExtB
PMingLiU-ExtB
@PMingLiU-ExtB
MingLiU_HKSCS-ExtB
@MingLiU_HKSCS-ExtB
*n Baiti
MS Gothic
@MS Gothic
MS UI Gothic
@MS UI Gothic
MS PGothic
@MS PGothic
MV Boli
Myanmar Text
Nirmala UI
Nirmala UI Semilight
Palatino Linotype
Segoe MDL2 Assets
Segoe Print
Segoe Script
Segoe UI
Segoe UI Black
Segoe UI Emoji
Segoe UI Historic
Segoe UI Light
Segoe UI Semibold
Segoe UI Semilight
Segoe UI Symbol
宋体
@宋体
新宋体
@新宋体
SimSun-ExtB
@SimSun-ExtB
Sitka Small
Sitka Text
Sitka Subheading
Sitka Heading
Sitka Display
Sitka Banner
Sylfaen
Symbol
Tahoma
Times New Roman
Trebuchet MS
Verdana
Webdings
Wingdings
Yu Gothic
@Yu Gothic
Yu Gothic UI
@Yu Gothic UI
Yu Gothic UI Semibold
@Yu Gothic UI Semibold
Yu Gothic Light
@Yu Gothic Light
Yu Gothic UI Light
@Yu Gothic UI Light
Yu Gothic Medium
@Yu Gothic Medium
Yu Gothic UI Semilight
@Yu Gothic UI Semilight
等线
@等线
等线 Light
@等线 Light
仿宋
@仿宋
楷体
@楷体
黑体
@黑体
HoloLens MDL2 Assets
Agency FB
Algerian
Arial Narrow
Arial Rounded MT Bold
Baskerville Old Face
Bauhaus 93
Bell MT
Berlin Sans FB
Berlin Sans FB Demi
Bernard MT Condensed
Blackadder ITC
Bodoni MT
Bodoni MT Black
Bodoni MT Condensed
Bodoni MT Poster Compressed
Book Antiqua
Bookman Old Style
Bookshelf Symbol 7
Bradley Hand ITC
Britannic Bold
Broadway
Brush Script MT
Californian FB
Calisto MT
Castellar
Centaur
Century
Century Gothic
Century Schoolbook
Chiller
Colonna MT
Cooper Black
Copperplate Gothic Bold
Copperplate Gothic Light
Curlz MT
Edwardian Script ITC
Elephant
Engravers MT
Eras Bold ITC
Eras Demi ITC
Eras Light ITC
Eras Medium ITC
Felix Titling
Footlight MT Light
Forte
Franklin Gothic Book
Franklin Gothic Demi
Franklin Gothic Demi Cond
Franklin Gothic Heavy
Franklin Gothic Medium Cond
Freestyle Script
French Script MT
Garamond
Gigi
Gill Sans MT
Gill Sans MT Condensed
Gill Sans MT Ext Condensed Bold
Gill Sans Ultra Bold
Gill Sans Ultra Bold Condensed
Gloucester MT Extra Condensed
Goudy Old Style
Goudy Stout
Haettenschweiler
Harlow Solid Italic
Harrington
High Tower Text
Imprint MT Shadow
Informal Roman
Jokerman
Juice ITC
Kristen ITC
Kunstler Script
Lucida Bright
Lucida Calligraphy
Lucida Fax
Lucida Handwriting
Lucida Sans
Lucida Sans Typewriter
Magneto
Maiandra GD
Matura MT Script Capitals
Mistral
Modern No. 20
Monotype Corsiva
MS Outlook
MS Reference Sans Serif
MS Reference Specialty
Niagara Engraved
Niagara Solid
OCR A Extended
Old English Text MT
Onyx
Palace Script MT
Papyrus
Parchment
Perpetua
Perpetua Titling MT
Playbill
Poor Richard
Pristina
Rage Italic
Ravie
Rockwell
Rockwell Condensed
Rockwell Extra Bold
Script MT Bold
Showcard Gothic
Snap ITC
Stencil
Tempus Sans ITC
Tw Cen MT
Tw Cen MT Condensed
Tw Cen MT Condensed Extra Bold
Viner Hand ITC
Vivaldi
Vladimir Script
Wide Latin
Wingdings 2
Wingdings 3
华文中宋
@华文中宋
华文仿宋
@华文仿宋
华文宋体
@华文宋体
华文彩云
@华文彩云
华文新魏
@华文新魏
华文楷体
@华文楷体
华文琥珀
@华文琥珀
华文细黑
@华文细黑
华文行楷
@华文行楷
华文隶书
@华文隶书
幼圆
@幼圆
方正姚体
@方正姚体
方正舒体
@方正舒体
隶书
@隶书
MT Extra
Nina
Segoe Condensed
Arvo
Droid Serif
Indie Flower
Lobster
Open Sans
Poiret One
Raleway
Roboto
Roboto Condensed
Roboto Slab
方正兰亭超细黑简体
@方正兰亭超细黑简体
FTEasci1
FTEasci2
FTEbaudo
FTEebcd1
FTEebcd2
FTEspec
FTEasci1-f
FTEasci2-f
FTEbaudo-f
FTEebcd1-f
FTEebcd2-f
FTEspec-f
上一篇: 你连微商都“打”不过 还想创业?
下一篇: html编程开发中模板编译实例