-
Notifications
You must be signed in to change notification settings - Fork 218
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
Strange behavior of CalculateTextDimensions with trailing spaces #151
Comments
Example PDF: test-spaces.pdf Trailing spaces are clearly missing.
|
This is still an issue (with trailing and with leading blanks), as it seems. I'm using a mono font here and release 4.5.6 (as by the release notes there are no relevant changes up to the most recent release).
The output is produced by the line
(with boost_logs mgmt data removed manually). It shows that blanks within the string take the same room as other characters, but leading or trailing blanks being handled differently. Is there a solution or a work-around to get correct numbers? |
test.cpp
result:
The text was updated successfully, but these errors were encountered: