-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Graphic glitch when displaying text containing non-breaking spaces #2985
Comments
Since you didn't mention it explicitly, I assume the "glitch" is the dot at the bottom of Is the question mark not showing with the first font also a glitch or just a difference in the run code? Potential candidates for the origin of the regression: |
Hi, allow me to answer. Yes the glitch is the "dot" between the e of créature and the question mark. The #1452 looks to be a good candidate for the regression, if I find time I'll try to build some binaries without this commit and see. (This candidate might also explain why sometimes smooth gets randomly enabled.) |
Hello @eXpl0it3r! 😄 |
Hello! This test was also successful on SFML 3.0.0, though another unrelated issue arose where the tutty font caused the drawing to stop at the first occurrence of a non-breaking space (which didn’t happen with another font). As it’s unrelated, I can open an issue for this if you think it’s necessary. |
Prerequisite Checklist
Describe your issue here
We're using SFML with an open-source community to manage the display of our games.
We were previously on version 2.5.0, and since we've upgraded to 2.6.1, we've noticed a graphical issue when displaying text with non-breaking spaces. This is problematic for some languages like French, which uses them to manage word spacing.
We've tested several fonts, and the same issue persists in 2.5.1 and 2.6.1, but not in 2.5.0. It seems that the transition from 2.5.0 to 2.5.1 introduced this problem.
I'm attaching a screenshot:
And a version with the window enlarged for better observation of the issue:
And a version with another font:
Your Environment
Steps to reproduce
resources/
folderExpected behavior
Non-breaking spaces should be properly displayed.
Actual behavior
Seems like a graphic glitch is displayed. If we resize the window it seems like this is a pixel, maybe due to the glyph?
The text was updated successfully, but these errors were encountered: