Skip to content

Conversation

@oznogon
Copy link
Contributor

@oznogon oznogon commented Dec 27, 2025

Adds the offset parameter to styles to define a float value used to offset font rendering via SeriousProton's setBaselineOffset() function.

Requires daid/SeriousProton#287.

Adds the `offset` parameter to styles to define a float value used
to offset font rendering via SeriousProton's setBaselineOffset()
function.
@oznogon oznogon force-pushed the implement-font-offset branch from 31058d1 to 132b929 Compare December 27, 2025 11:10
font: gui/fonts/BigShouldersDisplay-SemiBold.ttf

# Positive offset moves the font down, negative moves it up.
offset: 0.0
Copy link
Owner

Choose a reason for hiding this comment

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

I think font_offset might be a better name then offset as now it isn't clear that it refers to the font

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