FosterFramework / Foster

A small C# game framework
MIT License
422 stars 37 forks source link

Vertical text alignment is slightly off #94

Closed tapir2342 closed 1 month ago

tapir2342 commented 1 month ago

Hi again,

I found the vertical text alignment to be slightly off when rendering text using RenderText with a maxLineWidth. This is also a TODO in the code. I have created PR#93 for this, but still wanted to create an issue.

Before the PR:

Screenshot 2024-06-29 at 17 56 26

After the PR:

Screenshot 2024-06-29 at 17 57 56

I have not checked / used justify as of yet.

NoelFB commented 1 month ago

fixed in #93