You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We'll want to look at SVG text settings, notably the SVG attributes 'textLength', 'lengthAdjust' and 'text-rendering'. To start, see how http://phetsims.github.io/scenery/tests/text-quality-test.html looks across browsers (it starts on medium unanimated). There are specific qualities that we want on each browser:
SVG text length should precisely match DOM/Canvas text length (see where the black square is in relation to the letters)
SVG text should not flicker while moving (kerning changes)
SVG text should be crisp
SVG text should look properly kerned (letter spacing is consistent and good looking)
SVG text should look consistent between low/high scales
SVG text should show smooth changes while scaling (use low 6, low 6.5 and low 6 close to see slight differences)
For each supported browser we should have information about what settings have the highest quality. I believe we are using geometricPrecision with a length override using spacingAndGlyphs (so we can match Canvas/DOM size on all browsers), but we may need different settings on different browsers.
Feel free to add/remove settings from text-quality-test.html to investigate, and let me know about any questions.
Thanks!
The text was updated successfully, but these errors were encountered:
Additionally please see phetsims/joist#143 (comment) and see if text bounds vertically are changed by textLength/lengthAdjust with Safari or other browsers.
Related issues:
We'll want to look at SVG text settings, notably the SVG attributes 'textLength', 'lengthAdjust' and 'text-rendering'. To start, see how http://phetsims.github.io/scenery/tests/text-quality-test.html looks across browsers (it starts on medium unanimated). There are specific qualities that we want on each browser:
For each supported browser we should have information about what settings have the highest quality. I believe we are using geometricPrecision with a length override using spacingAndGlyphs (so we can match Canvas/DOM size on all browsers), but we may need different settings on different browsers.
Feel free to add/remove settings from text-quality-test.html to investigate, and let me know about any questions.
Thanks!
The text was updated successfully, but these errors were encountered: