Closed Qifan94 closed 6 years ago
If I want to use OS to run the codes, the font address is not correct anymore.
font = FontProperties(fname=r"c:\windows\fonts\simsun.ttc", size=14) # 解决windows环境下画图汉字乱码问题
What should I do with this?
Solved it.
font = FontProperties(fname=r"System/Library/Fonts/PingFang.ttc", size=14) # 解决windows环境下画图汉字乱码问题
If I want to use OS to run the codes, the font address is not correct anymore.
font = FontProperties(fname=r"c:\windows\fonts\simsun.ttc", size=14) # 解决windows环境下画图汉字乱码问题
What should I do with this?