Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Center characters vertically #234

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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.

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