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
Phaser sizing issue #610
Comments
@Yazir there isn't an update at present, I can reproduce the issue mentioned, I'm not sure if there is an immediate mitigation here. I can see that phaser use MeasureText code which produces an image like: The algorithm we currently use discards blank pixels but they're using red. I need to think of a way to ignore all contiguous background colours like this without reintroducing memory / performance problems like #574 |
I see. I'd like to request a whitelist for my app then if that's a possibility (automeme.yazaa.zone) . For phaser users stumbling upon this issue: I have asked Phaser author about the issue and one workaround is to generate TextMetrics outside of canvas and use that for texts so positioning comes predefined, but it is a hassle to do for every text. Especially that it's to workaround issue coming from a single browser extension.
|
Add automeme.yazaa.zone to canvas list, see: duckduckgo/duckduckgo-privacy-extension#610
Add yazaa.zone to canvas list, see: duckduckgo/duckduckgo-privacy-extension#610
I added the site to the override list: duckduckgo/content-blocking-lists#18 for now.
@Yazir for reference it's also the same for Brave and Tor users too: brave/brave-browser#15326 |
Fixes #610 Co-authored-by: Jonathan Kingston <jkingston@duckduckgo.com>
Fixes #610 Co-authored-by: Jonathan Kingston <jkingston@duckduckgo.com>
Phaser uses canvas to detect text sizing, which with the fingerprint protection enabled returns the wrong results: phaserjs/phaser#5625
...I get reports of text on my phaser app (automeme.yazaa.zone) being misaligned.
Originally posted by @Yazir in #574 (comment)
Also: phaserjs/phaser#5625
Related: #585
The text was updated successfully, but these errors were encountered: