easyofd icon indicating copy to clipboard operation
easyofd copied to clipboard

m1中无找到找楷体及宋体!

Open xuanyimin opened this issue 1 year ago • 0 comments

在Macm1中demo无法找到楷体及宋体! gpt给了个办法: from reportlab.pdfbase import pdfmetrics from reportlab.pdfbase.ttfonts import TTFont

pdfmetrics.registerFont(TTFont('楷体', '楷体.ttf')) pdfmetrics.registerFont(TTFont('宋体', '宋体.ttc'))

xuanyimin avatar Feb 24 '24 12:02 xuanyimin