Skip to content

Fix default bitmap font measurements - #18

Open
aardvarkk wants to merge 1 commit into
cgorringe:masterfrom
aardvarkk:fix-default-text-size
Open

Fix default bitmap font measurements#18
aardvarkk wants to merge 1 commit into
cgorringe:masterfrom
aardvarkk:fix-default-text-size

Conversation

@aardvarkk

@aardvarkk aardvarkk commented Aug 16, 2026

Copy link
Copy Markdown

Note: This change was AI-assisted!

Summary

I ran into issues when looking at some of the RIP renderings from LORD. Many buttons were correct, but a bunch had uncentered text. The fix here is to initialize BGI text at the RIPscrip normal default size of 1 (instead of the current value of 0) so bitmap text is measured at the same scale it is drawn. Add a visual button fixture and expected rendering covering implicit versus explicit size-one text.

Before

image

After

image

Initialize BGI text at the RIPscrip normal default size so bitmap text is measured at the same scale it is drawn. Add a visual button fixture and expected rendering covering implicit versus explicit size-one text.
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.

1 participant