Closed Nancy-Salpepi closed 2 years ago
This is with the locale Marathi:
In Safari, artifacts are seen with 17 different locales. The * indicates the artifacts are severe.
magyar Georgian Marathi Oriya Slovenščina Turkmen Urdu Yoruba Bosnian Dansk *Gujarati Hausa hrvatski Igbo
This problem is likely due to incorrect font bounds, @jonathanolson can you please advise? @kathy-phet can you please help prioritize?
Curious if @jonathanolson feels like it is addressable, easily or not.
@Nancy-Salpepi - Does it occur when you launch the current published version in that same language? That is, is this issue unique to this new feature or just more discoverable by QA now? Thx.
@kathy-phet this does occur in the current published version as well. I tried 4 from the list and they all showed the issue.
We can experiment with anti-artifact rectangles over in https://github.com/phetsims/gravity-and-orbits/blob/a1ec2c39eb3a29df12465fc5a085e2e7ee70ecde/js/common/view/BodyNode.ts#L182-L184
perhaps with a bigger dilate?
@samreid was definitely feeling like it would be good if @jonathanolson could mention if there was a better, less work-aroundy solution here, even if we can't get to it for this release.
I believe those anti-artifact rectangles are probably the best approach we have to trick browsers into handling these cases correctly.
I was able to reproduce the problem, and added an anti-artifact rectangle around the text to correct it. It seems OK locally. @Nancy-Salpepi can you please test on phettest?
@samreid things look good on master as well!
Thanks, I think this issue can be closed.
Test device MacBook Air m1 chip
Operating System macOS 12.5.1
Browser Safari 15.6.1
Problem description For https://github.com/phetsims/qa/issues/830, with some locales artifacts can be seen as the text moves around the screen. This occurs in all scenes, but only on the right side of the orbit.
This was not reproducible with Chrome.
Steps to reproduce
Visuals