-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Fix incorrect calc width in WrapTextSegment #997
base: dev
Are you sure you want to change the base?
Conversation
Could you please share some more comparison screenshots of other wrapped text in Blish HUD (and perhaps in a module or two)? I want to make sure this doesn't look weird with anything existing. |
While this seems to fix the issue well enough, I think it does make sense to implement a custom
|
MeasureString incorrectly calculates space width.
GameService.Content.DefaultFont16.MeasureString(" ").Width
= 3there's no problem with
GameService.Content.DefaultFont16.MeasureString("_").Width
= 21Discussion Reference
No
Is this a breaking change?
No