-
Notifications
You must be signed in to change notification settings - Fork 328
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
dashboard icons: browser.display.use_document_fonts & material design icons #46
Comments
I'm sorry for my negligence. The icon is google/material-design-icons |
ON the material design icons github page they say
I see the icons are local under The problem is caused by
I could probably live with the icons displaying text (a lot of them are truncated), and that is what I will have to do because I cannot allow documents fonts - doing so destroys my font fingerprinting defense and causes very high entropy, Other extensions load various icon fonts just fine. I am not a developer, so please excuse my ignorance on this, but there must be a way for this to work with @gorhill Sorry for taking up your time, but uBo and uM use icon fonts no problems. Could you please have a quick look at this, or explain in tech terms how you implement it. For all I know its not the implementation but how Firefox determines that Material design is not a glyph. It's beyond my knowledge, so would appreciate some help |
@Thorin-Oakenpants Looks to me you are afflicted by something similar to gorhill/uBlock#2878. My understanding: However, somehow, your system font contains glyphs for code points which are used by the font-based icons -- hence the browser ends up using a glyph from your system font rather than the one from the icon font. |
@gorhill - nope, I am getting NO icons, not even So it's something else, either:
1 https://en.wikipedia.org/wiki/Tofu_(disambiguation)
PS: my three allowed fonts are very stock standard for windows. this is something different AFAICT |
I'm also affected by this issue. |
Ok, I had to dig and today-I-learned about ligatures. Excerpt from the Material Fonts documentation:
So no code point is used in the HTML source, but rather a symbol name, and from this symbol name the browser is able to fetch the proper icon in the font. I suppose if the browser can't find the icon from its name, it just does not render anything -- as opposed when a code point is declared, the browser will use tofu if no glyph exists for that code point. |
I found a solution. If you set |
thanks @gorhill for the digging (now I know about ligatures as well) and @sylingd for the workaround For the record: when you set/change Here's hoping the fix works universally :) |
Yup, I noticed: got this repo starred. Just been waiting for AMO to update to a new release when you're ready :) |
Just updated to 3.0.3 and can confirm on WIndows with |
@sylingd I think you have a typo: not worth a new issue
|
@Thorin-Oakenpants BTW what that option does? |
@fancytenseletters - that is the pref behind:
0=unchecked (so you limit fonts to the three families specified above) This is for some font fingerprinting mitigation |
@Thorin-Oakenpants |
@fancytenseletters Don't like Google Photos, some online photo albums (e.g. Baidu, NetEase) don't allow users upload photos to it and using this photo in other websites(for example, someone's personal blog) because this will consume their bandwidth. It called "anti-thief-link". |
^^ oh, so "hot-linking" then: https://en.wikipedia.org/wiki/Hot_linking . I wondered what it meant as well. The checkbox is just to add a menu item AFAIK, so I didn't bother to dig any further :) |
Oh I didn't know it called "hot-linking", I will correct it |
That's just what I've always known it as - because... search google images for "hotlinking" or "hot linking" and you'll see some of the images sites use to serve up in lieu of ... back in the good old days of slow and costly bandwidth The wiki link is an alias - the actual technical term according to them is "Inline Linking", but I don't think it's a very catchy name :) |
@sylingd after 4.0.0 release this prob;em is back. |
@Maryse47 Yes, I use a lot of new components and I am thinking about how to solve this problem. |
I have the utmost confidence that sylingd will provide a fix/workaround, same as last time 💋 |
Because of the many new components used, the old fix methods are no longer valid. I have some new ideas, but they are more complicated, so the time to fix this problem may be longer. |
4.0.2 (or I assume more specifically, 22f1780) fixed it for me 💋 |
Exploer
=>Export
What icon font are you using, I seem to have some broken glyphs in 3.0.1 - I'm not even getting the usual tofu/hexidecimal-rectangular icon when a PUA is not mapped
This would be the first extension that has ever done this to me
The text was updated successfully, but these errors were encountered: