Skip to content

fix: dynamic character width - #177

Closed
flashrun24 wants to merge 1 commit into
hyprwm:mainfrom
flashrun24:fix-character-sizing
Closed

flashrun24 wants to merge 1 commit into
hyprwm:mainfrom
flashrun24:fix-character-sizing

Conversation

@flashrun24

Copy link
Copy Markdown
Contributor

This should fix #176 , previously the character width was hardcoded to 11.0 which I guess works for most monospace fonts, however it seems that Martian Mono Regular has a different character width(>11.0). As such, the text would go outside of the box. This change makes it so that the character width is obtained after the font is set instead of hardcoding 11.

@github-actions

Copy link
Copy Markdown

Hi @flashrun24,

Thanks for your contribution! Unfortunately, Hyprland and hypr* no longer
accept contributions from unvouched contributors.

To get vouched, please see our contributing guide at wiki.hypr.land/Contributing-and-Debugging

This PR has been closed automatically and will not be re-opened.

@github-actions github-actions Bot closed this Oct 20, 2026
@flashrun24 flashrun24 mentioned this pull request Oct 22, 2026
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.

Text previewing the colour string overflows the box

1 participant