Skip to content

misc text rendering fixes#247

Merged
LPGhatguy merged 3 commits intoSecondHalfGames:mainfrom
msparkles:fix/text-fixes
Oct 10, 2025
Merged

misc text rendering fixes#247
LPGhatguy merged 3 commits intoSecondHalfGames:mainfrom
msparkles:fix/text-fixes

Conversation

@msparkles
Copy link
Copy Markdown
Contributor

  • enabled clipping for texts, not sure if it breaks anything but the lack of clipping broke the tooltip example in rework how clipping rects are calculated. fixes #149 #233 at least
  • removed rounding of the x size of texts (this will break tests), this broke subpixel rendering and made texts jumble around at individual glyphs when on a subpixel position / in HiDPI
  • rounding the y size twice stops it from jumbling around with unorthodox (i.e. not in intervals of 25%) scale factors

@LPGhatguy LPGhatguy merged commit ab8700c into SecondHalfGames:main Oct 10, 2025
2 checks passed
@msparkles msparkles deleted the fix/text-fixes branch December 28, 2025 00:19
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