环境:mac os 14.2.1 系统自带python3
步骤1:通过一下命令安装otf2ttf组件
pip3 install otf2ttf
步骤2: 通过cd命令打开到otf字体文件所在文件夹,然后通过一下命令进行转换
~/Library/Python/3.9/bin/otf2ttf xxx-font.otf
环境:mac os 14.2.1 系统自带python3
步骤1:通过一下命令安装otf2ttf组件
pip3 install otf2ttf
步骤2: 通过cd命令打开到otf字体文件所在文件夹,然后通过一下命令进行转换
~/Library/Python/3.9/bin/otf2ttf xxx-font.otf