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

Do not crop underflow glyphs if they fit in cell size height #1716

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

Yaraslaut
Copy link
Member

Closes #1603
Some fonts position characters to underflow, for example char p so we should not crop such characters as long as they are not exceeding cell size

@Yaraslaut Yaraslaut removed the request for review from christianparpart January 26, 2025 21:57
@github-actions github-actions bot added the VT: rasterizer Rendering of the terminal into a pixmap using `terminal_renderer` library label Jan 26, 2025
@Yaraslaut Yaraslaut force-pushed the fix/hard_underflow_font_crop branch from 4a92031 to 1d3657d Compare January 26, 2025 21:57
Copy link
Member

@christianparpart christianparpart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

interesting. thanks.

@Yaraslaut Yaraslaut merged commit fdf03a3 into master Jan 31, 2025
33 checks passed
@Yaraslaut Yaraslaut deleted the fix/hard_underflow_font_crop branch January 31, 2025 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
VT: rasterizer Rendering of the terminal into a pixmap using `terminal_renderer` library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Long character and underscore is cut off when font size is set to 12
2 participants