Skip to content

Conversation

cockroach
Copy link

Currently math challenges look a bit weird because the math operators are smaller than the numbers and everything is aligned at the top of the image.

This change moves all characters to the vertical center, making math challenges a bit nicer to look at.

Before:
before

After:
after

Currently math challenges look a bit weird because the math operators
are smaller than the numbers and everything is aligned at the top of the
image.

This change moves all characters to the vertical center, making math
challenges a bit nicer to look at.
@mbi
Copy link
Owner

mbi commented Sep 21, 2024

Well, one could argue that having a slightly unaligned vertical offset would make OCRing the generated image a bit harder and thus the CAPTCHA more effective, don't you think? I.e. the goal is not to have a pleasing outcome.

@cockroach
Copy link
Author

Hmm yes, I can see that. Feel free to close/ignore this then.

@mbi
Copy link
Owner

mbi commented Oct 18, 2024

Closing, thank you for the PR though!

@mbi mbi closed this Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants