Open ashit12 opened 4 years ago
Hi!
This is caused by the rupee symbol not being part of most fonts. I would suggest building your own set of fonts and using the --font_dir
option.
Hopefully that helps.
in the TRDG directory, as a test, I selected Aller_Bd.ttf font and generated images having the rupee symbol. How is it that for the same font, three different outcomes are seen? Should it not be the same for all cases? I am attaching the images I generated.
This is not the same font, can you paste the command you used to generate these?
Thank you.
This is the command I used - python3 run.py -c 100 -i price_inp -fd fonts/latin -ft Aller_Bd.ttf -f 60 -na 2 --output_dir sk
The -fd
parameter overrides the -ft
one so you want either:
-ft fonts/latin/Aller_Bd.ttf
OR
-fd fonts/your_directory
where your_directory contains only the fonts you know support the rupee symbol.
i was trying to generate images that have the rupee symbol(₹) in them. However, the symbol does not appear properly in the images. Sometimes the symbol is there, sometimes there is a box, and other times there is nothing.