Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed text wrap obtaining the incorrect glyph width #5620

Open
wants to merge 3 commits into
base: upcoming
Choose a base branch
from

Conversation

AsparagusEduardo
Copy link
Collaborator

@AsparagusEduardo AsparagusEduardo commented Oct 30, 2024

Description

Due to an implementation error, every glyph was considered of width 3.
Also, changed the widths of CHAR_PROMPT_CLEAR to 8 to account for the down arrow sprite and removed a DebugPrintf left in the code.

Images

Before vs after
image image

Differences in widths of glyphs
image

Issue(s) that this PR fixes

Fixes #5616

People who collaborated with me in this PR

@AlexOn1ine for their help verifying that the fix works with one of his custom strings.

Discord contact info

AsparagusEduardo

@AsparagusEduardo AsparagusEduardo added this to the 1.10 milestone Oct 30, 2024
@AsparagusEduardo AsparagusEduardo added the bugfix Bugfixes label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Bugfixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant