You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using horizontalAdvance on every codepoint in the text. This doesn't always return the actual advancement in the word, because a character can have left/rightBearing.
My "(more) correct" version is from Nerixyz@1ead4bb where I used the private API to do the advancing. There might be a way of doing this through left/rightBearing.
Screenshots
No response
OS and Chatterino Version
Chatterino 2.5.2 DEBUG (commit 1ead4bb modified) built with Qt 6.9.0, MSVC 194234436 Running on Windows 11 Version 24H2, kernel: 10.0.26100
The text was updated successfully, but these errors were encountered:
pajlada
added
bug
Something isn't working as intended, or works in a confusing/unintuitive way for the user
and removed
issue-report
An issue reported by a user.
labels
Feb 10, 2025
Checklist
Describe your issue
On some fonts, we don't do word wrapping correctly when a single word needs to be split. Consider the following example:
Arial
We're using
horizontalAdvance
on every codepoint in the text. This doesn't always return the actual advancement in the word, because a character can haveleft/rightBearing
.My "(more) correct" version is from Nerixyz@1ead4bb where I used the private API to do the advancing. There might be a way of doing this through
left/rightBearing
.Screenshots
No response
OS and Chatterino Version
Chatterino 2.5.2 DEBUG (commit 1ead4bb modified) built with Qt 6.9.0, MSVC 194234436 Running on Windows 11 Version 24H2, kernel: 10.0.26100
The text was updated successfully, but these errors were encountered: