常用字体映射字典

表格形式

英文字体名称 中文字体名称
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 微软简标宋
... ...

比较全的在下面的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': '方正行楷简体',
}
相关推荐
孤水寒月3 分钟前
基于HTML的悬窗可拖动记事本
前端·css·html
祝余呀12 分钟前
html初学者第一天
前端·html
耶啵奶膘3 小时前
uniapp+firstUI——上传视频组件fui-upload-video
前端·javascript·uni-app
视频砖家3 小时前
移动端Html5播放器按钮变小的问题解决方法
前端·javascript·viewport功能
lyj1689974 小时前
vue-i18n+vscode+vue 多语言使用
前端·vue.js·vscode
小白变怪兽5 小时前
一、react18+项目初始化(vite)
前端·react.js
ai小鬼头5 小时前
AIStarter如何快速部署Stable Diffusion?**新手也能轻松上手的AI绘图
前端·后端·github
墨菲安全6 小时前
NPM组件 betsson 等窃取主机敏感信息
前端·npm·node.js·软件供应链安全·主机信息窃取·npm组件投毒
GISer_Jing6 小时前
Monorepo+Pnpm+Turborepo
前端·javascript·ecmascript
天涯学馆6 小时前
前端开发也能用 WebAssembly?这些场景超实用!
前端·javascript·面试