Open StanyslasBouchon opened 10 months ago
We appreciate your report but custom prefs and changes made to the default settings are not a compatibility issue, for this project we try to focus our efforts on layouts and content that works as expected on a browser but not on the other.
Please file a bug report on https://bugzilla.mozilla.org/enter_bug.cgi
Closing this as Non-compat.
[qa_36/2023]
I do not change any preferences. Normally, what I did is compatible on every OS. So FaceFont.check() should return a correct answer.
But only on Linux system (Ubuntu and Android), without any changes, just by downloading Firefox and loading the page, the bug appears.
For some reason, Face font.check() returns a false positive.
Maybe I did not correctly understand your answer and I apologize, and maybe you could tell me an easier way what you said 😅
Thank you !
Are you reffering that the font is different on Firefox when compared to Chrome?
[inv_36/2023]
Yes, exactly. This is only because FontFaceSet.check function does not return a correct value.
Fonts are loaded whenever they're not found on the user's system for better optimisation.
Regarding to the actual site state, this does not seem to be useful, but it'll be.
Moving this to needsdiagnosis based on the above.
[inv_36/2023]
URL: http://dibi-leksiro.fr
Browser / Version: Firefox 117.0 Operating System: Ubuntu 23.04 x56_64 Tested Another Browser: Yes Chrome
Problem type: Something else Description: False positive Steps to Reproduce: I want to load fonts dynamically, but FontFace.check() returns false positives.
So, whenever I want to load Gill Sans Nova's font if it does not exist on the user system, I do: document.fonts.check("1em Gill Sans Nova").
If the font do not exist, I get
true
. But, on a Windows and/or on another navigator, I get false.On Windows Firefox, I get false too, which is the right answer because the font is not found on the user's system.
Browser Configuration
From webcompat.com with ❤️