常用字体映射字典

表格形式

英文字体名称中文字体名称
SimSun宋体
SimHei黑体
KaiTi楷体
FangSong仿宋
YouYuan幼圆
LiSu隶书
NSimSun新宋体
SimSun-ExtB宋体-ExtB
FangSong_GB2312仿宋_GB2312
KaiTi_GB2312楷体_GB2312
Microsoft YaHei微软雅黑
Microsoft JhengHei微软正黑体
STXihei华文细黑
STKaiti华文楷体
STSong华文宋体
STFangsong华文仿宋
STZhongsong华文中宋
STCaiyun华文彩云
STHupo华文琥珀
STLiti华文隶书
STXingkai华文行楷
STXinwei华文新魏
PingFang SC苹方
PingFang TC苹方 繁体
Hiragino Sans GB冬青黑体简体中文
Hiragino Sans冬青黑体
Hiragino Kaku Gothic Pro冬青角黑体
Hiragino Mincho Pro冬青明朝体
Yu Gothic游ゴシック
Yu Mincho游明朝体
Meiryoメイリオ
MS GothicMS ゴシック
MS MinchoMS 明朝
MS PGothicMS Pゴシック
MS PMinchoMS P明朝
Noto Sans SC思源黑体 简体
Noto Serif SC思源宋体 简体
Noto Sans TC思源黑体 繁体
Noto Serif TC思源宋体 繁体
Noto Sans JP思源黑体 日文
Noto Serif JP思源宋体 日文
Noto Sans KR思源黑体 韩文
Noto Serif KR思源宋体 韩文
Noto Sans HK思源黑体 香港
Noto Serif HK思源宋体 香港
FZY3JW--GB1-0方正硬笔行书
AdobeHeitiStd-RegularAdobe 黑体 Std Regular
LILINgete立林哥特体
FZZZHUNHJW--GB1-0方正准黑简体
CTBiaoSongSJ微软简标宋
......

比较全的在下面的pyhton数组中

| 英文字体名称                | 中文字体名称       |
|----------------------------|------------------|
| SimSun                     | 宋体              |
| SimHei                     | 黑体              |
| KaiTi                      | 楷体              |
| FangSong                   | 仿宋              |
| YouYuan                    | 幼圆              |
| LiSu                       | 隶书              |
| NSimSun                    | 新宋体            |
| SimSun-ExtB                | 宋体-ExtB         |
| FangSong_GB2312            | 仿宋_GB2312       |
| KaiTi_GB2312               | 楷体_GB2312       |
| Microsoft YaHei           | 微软雅黑          |
| Microsoft JhengHei        | 微软正黑体        |
| STXihei                    | 华文细黑         |
| STKaiti                    | 华文楷体         |
| STSong                     | 华文宋体          |
| STFangsong                 | 华文仿宋          |
| STZhongsong               | 华文中宋          |
| STCaiyun                   | 华文彩云          |
| STHupo                     | 华文琥珀          |
| STLiti                     | 华文隶书          |
| STXingkai                  | 华文行楷          |
| STXinwei                   | 华文新魏          |
| PingFang SC                | 苹方             |
| PingFang TC                | 苹方 繁体        |
| Hiragino Sans GB           | 冬青黑体简体中文  |
| Hiragino Sans              | 冬青黑体         |
| Hiragino Kaku Gothic Pro    | 冬青角黑体        |
| Hiragino Mincho Pro        | 冬青明朝体        |
| Yu Gothic                  | 游ゴシック        |
| Yu Mincho                  | 游明朝体          |
| Meiryo                      | メイリオ          |
| MS Gothic                  | MS ゴシック      |
| MS Mincho                  | MS 明朝          |
| MS PGothic                 | MS Pゴシック     |
| MS PMincho                 | MS P明朝         |
| Noto Sans SC               | 思源黑体 简体     |
| Noto Serif SC              | 思源宋体 简体      |
| Noto Sans TC               | 思源黑体 繁体     |
| Noto Serif TC              | 思源宋体 繁体      |
| Noto Sans JP               | 思源黑体 日文     |
| Noto Serif JP              | 思源宋体 日文      |
| Noto Sans KR               | 思源黑体 韩文     |
| Noto Serif KR              | 思源宋体 韩文      |
| Noto Sans HK               | 思源黑体 香港     |
| Noto Serif HK              | 思源宋体 香港      |
| FZY3JW--GB1-0             | 方正硬笔行书       |
| AdobeHeitiStd-Regular      | Adobe 黑体 Std Regular |
| LILINgete                  | 立林哥特体        |
| FZZZHUNHJW--GB1-0         | 方正准黑简体       |
| CTBiaoSongSJ              | 微软简标宋        |
| Helvetica                  | Helvetica         |
| Cooper Black               | Cooper Black      |
| American Typewriter       | American Typewriter |
| Bauhaus 93                 | Bauhaus 93        |
| Brush Script               | Brush Script      |
| Edwardian Script ITC       | Edwardian Script ITC |
| Phosphate                  | Phosphate         |
| Braggadocio                | Braggadocio       |
| Neue Haas Grotesk         | Neue Haas Grotesk |
| Proxima Nova               | Proxima Nova      |
| Roboto                     | Roboto            |
| Viktor Script              | Viktor Script     |
| Questa Grande             | Questa Grande    |
| Ofelia Text                | Ofelia Text       |
| Sylfaen                    | Sylfaen           |
| Courier New                | Courier New       |
| qtquickcontrols           | qtquickcontrols   |
| Microsoft Yi Baiti         | Microsoft Yi Baiti|
| FZYaoTi                    | FZYaoTi           |
| Myanmar Text               | Myanmar Text     |
| Leelawadee UI              | Leelawadee UI     |
| Sitka Small                | Sitka Small       |
| Segoe UI                   | Segoe UI          |
| Nirmala UI                 | Nirmala UI        |
| Candara                    | Candara           |
| Corbel                     | Corbel            |
| Microsoft PhagsPa          | Microsoft PhagsPa  |
| elusiveicons              | elusiveicons      |
| Constantia                 | Constantia         |
| Malgun Gothic              | Malgun Gothic     |
| Microsoft NeoGothic        | Microsoft NeoGothic|
| Cambria                    | Cambria           |
| Century                    | Century           |
| Bahnschrift                | Bahnschrift       |
| Segoe UI Symbol            | Segoe UI Symbol   |
| Verdana                    | Verdana           |
| Phosphor                   | Phosphor          |
| Palatino Linotype         | Palatino Linotype |
| Lucida Console             | Lucida Console    |
| Material Design Icons 5.9.55| Material Design Icons 5.9.55 |
| Trebuchet MS               | Trebuchet MS      |
| Leelawadee                 | Leelawadee        |
| Microsoft Sans Serif       | Microsoft Sans Serif |
| Material Design Icons      | Material Design Icons |
| Gadugi                     | Gadugi            |
| Gabriola                   | Gabriola          |
| Microsoft New Tai Lue      | Microsoft New Tai Lue |
| HoloLens MDL2 Assets       | HoloLens MDL2 Assets |
| Microsoft Uighur           | Microsoft Uighur   |
| FZShuTi                    | FZShuTi           |
| Times New Roman            | Times New Roman   |
| SketchFlow Print           | SketchFlow Print  |
| Consolas                   | Consolas          |
| Comic Sans MS              | Comic Sans MS     |
| Segoe WP                   | Segoe WP          |
| Arial                      | Arial             |
| Franklin Gothic Medium     | Franklin Gothic Medium |
| Symbol                     | Symbol            |
| Source Han Serif SC        | Source Han Serif SC |
| remixicon                  | remixicon         |
| Microsoft Tai Le           | Microsoft Tai Le  |
| DengXian                   | DengXian          |
| Segoe MDL2 Assets          | Segoe MDL2 Assets |
| Microsoft MHei            | Microsoft MHei    |
| Calibri                    | Calibri           |
| Wingdings 3                | Wingdings 3       |
| Buxton Sketch              | Buxton Sketch     |
| Lucida Sans Unicode        | Lucida Sans Unicode |
| Font Awesome 5 Brands      | Font Awesome 5 Brands |
| Segoe Script               | Segoe Script      |
| Ebrima                     | Ebrima            |
| Georgia                    | Georgia           |
| DejaVu Math TeX Gyre       | DejaVu Math TeX Gyre |
| Tahoma                     | Tahoma            |
| Segoe UI Emoji             | Segoe UI Emoji    |
| Ink Free                   | Ink Free          |
| Segoe Marker               | Segoe Marker      |
| MingLiU-ExtB               | MingLiU-ExtB      |
| codicon                    | codicon           |
| Mongolian Baiti            | Mongolian Baiti   |
| Wingdings                  | Wingdings        |
| Impact                     | Impact            |
| Wingdings 2                | Wingdings 2       |
| Segoe Print                | Segoe Print       |
| MV Boli                    | MV Boli           |
| Segoe UI Historic          | Segoe UI Historic |
| Font Awesome 5 Free Solid   | Font Awesome 5 Free Solid |
| Webdings                   | Webdings          |
| FontAwesome                | FontAwesome       |
| Microsoft Himalaya         | Microsoft Himalaya|
| Font Awesome 5 Free Regular| Font Awesome 5 Free Regular |
| Javanese Text              | Javanese Text     |
| CTWeiBeiSJ                | 微软简魏碑       |
| FZXKJW--GB1-0             | 方正行楷简体      |

适合python 数组的字体印射字典


# 字体映射字典,将英文字体名称映射到中文字体名称
font_name_mapping = {
    'SimSun': '宋体',
    'SimHei': '黑体',
    'KaiTi': '楷体',
    'FangSong': '仿宋',
    'YouYuan': '幼圆',
    'LiSu': '隶书',
    'NSimSun': '新宋体',
    'SimSun-ExtB': '宋体-ExtB',
    'FangSong_GB2312': '仿宋_GB2312',
    'KaiTi_GB2312': '楷体_GB2312',
    'Microsoft YaHei': '微软雅黑',
    'Microsoft JhengHei': '微软正黑体',
    'STXihei': '华文细黑',
    'STKaiti': '华文楷体',
    'STSong': '华文宋体',
    'STFangsong': '华文仿宋',
    'STZhongsong': '华文中宋',
    'STCaiyun': '华文彩云',
    'STHupo': '华文琥珀',
    'STLiti': '华文隶书',
    'STXingkai': '华文行楷',
    'STXinwei': '华文新魏',
    'PingFang SC': '苹方',
    'PingFang TC': '苹方 繁体',
    'Hiragino Sans GB': '冬青黑体简体中文',
    'Hiragino Sans': '冬青黑体',
    'Hiragino Kaku Gothic Pro': '冬青角黑体',
    'Hiragino Mincho Pro': '冬青明朝体',
    'Yu Gothic': '游ゴシック',
    'Yu Mincho': '游明朝体',
    'Meiryo': 'メイリオ',
    'MS Gothic': 'MS ゴシック',
    'MS Mincho': 'MS 明朝',
    'MS PGothic': 'MS Pゴシック',
    'MS PMincho': 'MS P明朝',
    'Noto Sans SC': '思源黑体 简体',
    'Noto Serif SC': '思源宋体 简体',
    'Noto Sans TC': '思源黑体 繁体',
    'Noto Serif TC': '思源宋体 繁体',
    'Noto Sans JP': '思源黑体 日文',
    'Noto Serif JP': '思源宋体 日文',
    'Noto Sans KR': '思源黑体 韩文',
    'Noto Serif KR': '思源宋体 韩文',
    'Noto Sans HK': '思源黑体 香港',
    'Noto Serif HK': '思源宋体 香港',
    'FZY3JW--GB1-0': '方正硬笔行书',
    'AdobeHeitiStd-Regular': 'Adobe 黑体 Std Regular',
    'LILINgete': '立林哥特体',
    'FZZZHUNHJW--GB1-0': '方正准黑简体',
    'CTBiaoSongSJ': '微软简标宋',
    'Helvetica': 'Helvetica',
    'Cooper Black': 'Cooper Black',
    'American Typewriter': 'American Typewriter',
    'Bauhaus 93': 'Bauhaus 93',
    'Brush Script': 'Brush Script',
    'Edwardian Script ITC': 'Edwardian Script ITC',
    'Phosphate': 'Phosphate',
    'Braggadocio': 'Braggadocio',
    'Neue Haas Grotesk': 'Neue Haas Grotesk',
    'Proxima Nova': 'Proxima Nova',
    'Roboto': 'Roboto',
    'Viktor Script': 'Viktor Script',
    'Questa Grande': 'Questa Grande',
    'Ofelia Text': 'Ofelia Text',
    'Sylfaen': 'Sylfaen',
    'Courier New': 'Courier New',
    'qtquickcontrols': 'qtquickcontrols',
    'Microsoft Yi Baiti': 'Microsoft Yi Baiti',
    'FZYaoTi': 'FZYaoTi',
    'Myanmar Text': 'Myanmar Text',
    'Leelawadee UI': 'Leelawadee UI',
    'Sitka Small': 'Sitka Small',
    'Segoe UI': 'Segoe UI',
    'Nirmala UI': 'Nirmala UI',
    'Candara': 'Candara',
    'Corbel': 'Corbel',
    'Microsoft PhagsPa': 'Microsoft PhagsPa',
    'elusiveicons': 'elusiveicons',
    'Constantia': 'Constantia',
    'Malgun Gothic': 'Malgun Gothic',
    'Microsoft NeoGothic': 'Microsoft NeoGothic',
    'Cambria': 'Cambria',
    'Century': 'Century',
    'Bahnschrift': 'Bahnschrift',
    'Segoe UI Symbol': 'Segoe UI Symbol',
    'Verdana': 'Verdana',
    'Phosphor': 'Phosphor',
    'Palatino Linotype': 'Palatino Linotype',
    'Lucida Console': 'Lucida Console',
    'Material Design Icons 5.9.55': 'Material Design Icons 5.9.55',
    'Trebuchet MS': 'Trebuchet MS',
    'Leelawadee': 'Leelawadee',
    'Microsoft Sans Serif': 'Microsoft Sans Serif',
    'Material Design Icons': 'Material Design Icons',
    'Gadugi': 'Gadugi',
    'Gabriola': 'Gabriola',
    'Microsoft New Tai Lue': 'Microsoft New Tai Lue',
    'HoloLens MDL2 Assets': 'HoloLens MDL2 Assets',
    'Microsoft Uighur': 'Microsoft Uighur',
    'FZShuTi': 'FZShuTi',
    'Times New Roman': 'Times New Roman',
    'SketchFlow Print': 'SketchFlow Print',
    'Consolas': 'Consolas',
    'Comic Sans MS': 'Comic Sans MS',
    'Segoe WP': 'Segoe WP',
    'Arial': 'Arial',
    'Franklin Gothic Medium': 'Franklin Gothic Medium',
    'Symbol': 'Symbol',
    'Source Han Serif SC': 'Source Han Serif SC',
    'remixicon': 'remixicon',
    'Microsoft Tai Le': 'Microsoft Tai Le',
    'DengXian': 'DengXian',
    'Segoe MDL2 Assets': 'Segoe MDL2 Assets',
    'Microsoft MHei': 'Microsoft MHei',
    'Calibri': 'Calibri',
    'Wingdings 3': 'Wingdings 3',
    'Buxton Sketch': 'Buxton Sketch',
    'Lucida Sans Unicode': 'Lucida Sans Unicode',
    'Font Awesome 5 Brands': 'Font Awesome 5 Brands',
    'Segoe Script': 'Segoe Script',
    'Ebrima': 'Ebrima',
    'Georgia': 'Georgia',
    'DejaVu Math TeX Gyre': 'DejaVu Math TeX Gyre',
    'Tahoma': 'Tahoma',
    'Segoe UI Emoji': 'Segoe UI Emoji',
    'Ink Free': 'Ink Free',
    'Segoe Marker': 'Segoe Marker',
    'MingLiU-ExtB': 'MingLiU-ExtB',
    'codicon': 'codicon',
    'Mongolian Baiti': 'Mongolian Baiti',
    'Wingdings': 'Wingdings',
    'Impact': 'Impact',
    'Wingdings 2': 'Wingdings 2',
    'Segoe Print': 'Segoe Print',
    'MV Boli': 'MV Boli',
    'Segoe UI Historic': 'Segoe UI Historic',
    'Font Awesome 5 Free Solid': 'Font Awesome 5 Free Solid',
    'Webdings': 'Webdings',
    'FontAwesome': 'FontAwesome',
    'Microsoft Himalaya': 'Microsoft Himalaya',
    'Font Awesome 5 Free Regular': 'Font Awesome 5 Free Regular',
    'Javanese Text': 'Javanese Text',
    'CTWeiBeiSJ': '微软简魏碑',
    'FZXKJW--GB1-0': '方正行楷简体',
}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值