Jump to content

[Feature] Word-Wrapping


Recommended Posts

  • 2 weeks later...

Hello!

I think there is a problem in the work function.

gdispGDrawStringBox() and gdispGFillStringBox () calculating the vertical position before determining the number of lines used.

(y + = (1 + cy - font-> height) / 2)

If you get a few lines, then they are shifted downward in relation to the rectangle.

Perhaps it is necessary to add the vertical alignment flags. Or something like that.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...