Closed newmangreen closed 6 months ago
Hi,
The reason for this problem is that some fonts on your system are not supported. Try using a different font for the solution. https://github.com/mewebstudio/java-captcha-generator?tab=readme-ov-file#how-to-use
Thank you but I fixed the problem at my local copy by checking render support of font.
font.canDisplay(ch)
If you want to include it to your repo, I attached my fix. I checked display capability of system fonts and 56 of total 617 can't display 'a' character. Using system fonts provide much more variability to the captcha image.
Captcha.java.txt
@newmangreen Thanks, I will consider it for the next version.
Hi,
Sometimes captcha generator produces rectangle for some characters. It is not specific with a character, it changes and other character is painted like rectangle.
I captured 2 capcthas with problematic images; UFA74 (First character)
wmqyE (Second and third character)