Loading

生成点位字

每5帧获取一张图片
ffmpeg -i ikun.mov -r 5 %d.jpg

ttf转bdf
otf2bdf -o Mplus2-wght-12pt.bdf Mplus2wght.ttf -p 12pt -r 75dpi 

相关代码生成
tinyfontgen --package font --fontname ChillYunmoGothicRegular12pt ChillYunmoGothicRegular12pt.bdf --output ./font/chillyunmogothicregular12pt.go --verbose --string "你好万强" --ascii=false
posted @ 2023-11-29 22:31  老卫同学  阅读(34)  评论(0)    收藏  举报