oh-my-ocr / text_renderer

https://oh-my-ocr.github.io/text_renderer/README.html
MIT License
789 stars 161 forks source link

Can not filter wrong chars in Chinese font file. Please help. #24

Closed yueshiyi closed 3 years ago

yueshiyi commented 3 years ago

000000003 Label for the above image is “000000003.jpg 马来见 12 12 107 60”, but there are two wrong characters in generated image。Please help.

Sanster commented 3 years ago

Please upload the font file to help locate the problem

yueshiyi commented 3 years ago

font file: https://pan.baidu.com/s/1gPUaTmhJM4wCLFgyDdXCPA
code: 9y9v Thx.

Sanster commented 3 years ago

There are something wrong with your font file. You can use fonteditor to check

image

方正仿宋.ttf image

yueshiyi commented 3 years ago

Thanks. That helps a lot.