Fix corelation between text setOutlineThickness() and getLocalBounds()#2132
Conversation
5f9546b to
50da655
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## 2.6.x #2132 +/- ##
========================================
Coverage ? 13.90%
========================================
Files ? 189
Lines ? 15810
Branches ? 4169
========================================
Hits ? 2199
Misses ? 13457
Partials ? 154 Continue to review full report at Codecov.
|
vittorioromeo
left a comment
There was a problem hiding this comment.
Seems reasonable, would like to see a before/after picture in a noticeable case with a large outline. Also, would we need to do the same for shapes?
I'm not sure what you mean. You have to run the example code provided to understand what it's about. The screenshots won't tell you the story I'm afraid, as they will look the same with, or without random 1 pixel X offset. |
|
I think the example is okay to demonstrate the issue + fix. For me the main question is, whether there's something that speaks against including it, just so we don't "fix" something that was intentionally designed that way. But if nobody knows about it, then it should be fine for me as well. |
50da655 to
4a317fe
Compare
4a317fe to
b400d16
Compare
|
Do you just want to fix this on master or also for 2.6.x? |
|
Yes, also on 2.6.x please. |
|
Do you want to retarget it or shall I? 😄 |
|
Please do. I'm not going to be in front of my PC today. |
This fixes text crawling explained in issue SFML#2129
b400d16 to
5d6e323
Compare
|
Thanks for the fix! 🥳 |
This fixes text crawling explained in issue #2129
Thanks a lot for making a contribution to SFML! 🙂
Before you create the pull request, we ask you to check the follow boxes. (For small changes not everything needs to ticked, but the more the better!)
Description
Please describe your pull request.
This PR is related to the issue #2129
Tasks
How to test this PR?
Example code provided in the issue linked above