2020-09-26 一些字体

常用字体:

黑体 SimHei 微软雅黑 Microsoft YaHei

微软正黑体 Microsoft JhengHei 新宋体 NSimSun

新细明体 PMingLiU 细明体 MingLiU

标楷体 DFKai-SB 仿宋 FangSong

楷体 KaiTi 仿宋_GB2312 FangSong_GB2312

楷体_GB2312 KaiTi_GB2312
----------------------------------------------------------------------------
在matplotlib中使用ttf字体文件
from pathlib import Path

import matplotlib as mpl
from matplotlib import font_manager as fm
import matplotlib.pyplot as plt

fig, ax = plt.subplots()

fpath = Path(mpl.get_data_path(), “fonts/ttf/cmr10.ttf”)
prop = fm.FontProperties(fname=fpath)
ax.set_title(f’This is a special font: {fpath.name}', fontproperties=prop)
ax.set_xlabel(‘This is the default font’)

plt.show()

Notepad是一款非常好用的代码编辑器,您可以根据自己的习惯对字体进行一些设置。具体来说,您可以设置字体的颜色和大小等方面。这样可以使您的代码更加易读和美观。 另外,Notepad还具有同步功能,在最新的版本中,您可以根据需要进行一些配置,比如可配置的字体大小和记事本尺寸等。同时,最新版本修复了一些同步问题,提供了更大的输入区域。 总之,Notepad是一个简单但功能强大的记事本,您可以根据自己的需求进行字体设置,以便更好地编辑和浏览代码。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [Notepad++如何设置字体格式 Notepad++字体设置方法](https://blog.csdn.net/zyj66666/article/details/74170959)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *3* [Notepad-crx插件](https://download.csdn.net/download/weixin_38602982/16351575)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值