TextRecognitionDataGenerator icon indicating copy to clipboard operation
TextRecognitionDataGenerator copied to clipboard

What should I do if I have more than one font in fonts folder?

Open xxxpsyduck opened this issue 6 years ago • 6 comments

xxxpsyduck avatar Oct 23 '19 07:10 xxxpsyduck

To be clear, you have multiple custom fonts that you want to use when generating?

Belval avatar Oct 23 '19 12:10 Belval

Yes. Particularly I'm working with Japanese text and I have a problem with other tools that sometimes the text is not rendered right because of the font does not support all the characters. Do you have a solution for that?

xxxpsyduck avatar Oct 24 '19 02:10 xxxpsyduck

@boy977 maybe your fonts not be support for all words. I met the same problem but when I change my fonts, it was worked for me. :)

Cabbagehust2507 avatar Nov 05 '19 09:11 Cabbagehust2507

@Cabbagehust2507 But I want to use all the fonts to render. They are 10 fonts that support Japanese in linux but some of them do not support all the characters. So if the tool can provide a way to check if a character is rendered wrong and remove it

xxxpsyduck avatar Nov 06 '19 02:11 xxxpsyduck

That's the part I didn't understand from your initial issue.

I can confirm that there is no support for that right now, but it's a feature that I wanted to include for a long time.

If you want to work on it, I would be willing to merge a PR for it. If not, I can have a look in the coming week.

Belval avatar Nov 06 '19 02:11 Belval

No promise but I will try to work on it

xxxpsyduck avatar Nov 06 '19 02:11 xxxpsyduck