Raku / doc-website

Tooling to build/run the documentation website
Artistic License 2.0
7 stars 10 forks source link

Unicode glyphs not showing in Firefox #333

Closed finanalyst closed 7 months ago

finanalyst commented 8 months ago

I am having a problem getting Firefox to display some Unicode glyphs, in particular U+2A75 (eg numerical equality )

The problem is not related to fonts available to the OS, because the char can be seen in a terminal, nor is it confined to docs.raku.org. Here is a screen shot of a web site dedicated to Unicode in Firefox and in Chromium: Searching for U+2A75

I have tried a number of config options, and trying to get the font-family changed, but nothing yet is successful. I have submitted a help ticket to Mozilla/Firefox.

The issue here is that perhaps in one of the pages we could indicate that when difficulties are encountered with Unicode glyphs, a user should try another browser.

finanalyst commented 8 months ago

tl;dr There's a config flag in Firefox to disable some code points. Set to False, and the glyph will be shown properly.

Mozilla came back to me with a reply about disfunctions with Unicode glyphs in some ranges. After Firefox 119, a new privacy key privacy.fingerprintingProtection was added. Setting this to True prevents some Unicode ranges to be shown. So setting to False allows the glyph to be seen. However, the key was introduced as a security measure, so setting to False is something to make an informed choice about: I'll not explain here as it's off topic.

finanalyst commented 7 months ago

closing as documented the workaround in unicode.rakudoc