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

Added spacing adjustments to highlighting vertical text #1

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

Conversation

sun-dazer
Copy link
Owner

Fixes Issue pwmt#670

This pull request addresses an issue with the vertical text selection highlight where an extra character of vertical space appears at the top of the text, causing the highlight to be slightly misaligned. The text is also slightly shifted right.

Changes Made:
Adjusted the dimensions of the rectangles that envelop vertical text to eliminate the extra vertical space at the top and the rightward bias.
Aligned the highlight more closely with the text to ensure proper visual representation when selecting vertical blocks of text.

Testing:
Verified the fix in various scenarios with vertical, non-English text to confirm that the highlight now aligns correctly without extra spacing.

@Pikrass
Copy link

Pikrass commented Oct 4, 2024

I believe you're thinking of pwmt#669 instead of pwmt#670

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