v6.2.2 letterSpacing is broken with chrome 99.0.48
See original GitHub issueExpected Behavior
letterSpacing works in chrome
Current Behavior
letterSpacing has no effect at all
Possible Solution
Steps to Reproduce
See here: https://www.pixiplayground.com/#/edit/19vqJzdGI3_aKknD2P1d1
Environment
pixi.js
version: 6.2.2- Browser & Version: Chrome 99.048
- OS & Version: MacOS 12.2.1
- Running Example: https://www.pixiplayground.com/#/edit/19vqJzdGI3_aKknD2P1d1
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Change drawLetterSpacing function in @pixi/text module From:
to
seems fix the issue.
Looking at this link in the comments in the drawLetterSpacing method, it seems like the trial for Canvas2D API ended the 22nd of February 2022.
Setting the
supportLetterSpacing
tofalse
(and let the manual way handles it) fixes it in our project. Should we just bin this condition in drawLetterSpacing and use:instead?