1、安装otf2ttfpip3 install otf2ttf2、开始转换字体sudo /Users/sxin/Library/Python/3.9/bin/otf2ttf xxx.otfxxx.otf是要转换的otf字体路径