Skip to content

SpriteFont updated with option to force pixel alignment#392

Merged
walbourn merged 1 commit intomainfrom
fontalignment
Mar 31, 2026
Merged

SpriteFont updated with option to force pixel alignment#392
walbourn merged 1 commit intomainfrom
fontalignment

Conversation

@walbourn
Copy link
Copy Markdown
Member

This adds a option to SpriteFont which enables forcing the render of the font be aligned to a pixel boundary as some fonts look blurry otherwise.

void SetPixelAlignment(bool enable);

Defaults to off.

@walbourn
Copy link
Copy Markdown
Member Author

@walbourn walbourn merged commit c9ab626 into main Mar 31, 2026
125 checks passed
@walbourn walbourn deleted the fontalignment branch March 31, 2026 19:15
@github-project-automation github-project-automation bot moved this from In progress to Done in DirectXTK12 2026 Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants