Web font icons don't always show
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Web font icons don't always show
When deselecting "Allow pages to choose their own fonts, instead of my selections above" some pages don't show all the icon fonts. For example https://www.washingtonpost.com, there should be a magnifying glass instead of "fl"
You do not have the required permissions to view the files attached to this post.
-
- Pale Moon guru
- Posts: 35650
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Web font icons don't always show
That *is* the result of not allowing web pages to choose their own fonts (or disabling downloadable fonts).
You get what you ask for. Icon fonts are determined by the web site, and you have to allow the fonts determined by the website to get them.
You get what you ask for. Icon fonts are determined by the web site, and you have to allow the fonts determined by the website to get them.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Web font icons don't always show
I fixed my own problem using Guerilla Script. End result is all non icon fonts will be replaced with Arial
Code: Select all
// ==UserScript==
// @name Arial Forced
// @namespace https://arial.forced.com
// @version 1.0.0
// @description Change all fonts to Arial and keep web fonts
// @include *//*
// @grant none
// ==/UserScript==
(function()
{
var all = document.all;
for (var i=0; i<all.length; i++)
{
var font = 'Arial';
var fonts = window.getComputedStyle(all[i]).getPropertyValue('font-family');
var cl = all[i].getAttribute("class");
// Prevent some stuff from being replaced
if (
/fa-search/.test(cl) == false
&& /monospace/.test(fonts) == false
)
{
all[i].style.fontFamily = '"' + font + '", ' + fonts;
}
}
})();
Re: Web font icons don't always show
Not really fixing anything.. More of a workaround for a poor decision. But hey, good for you dude.
Re: Web font icons don't always show
Thanks for your useless comment which provides 0% value for anyone except wasting their time reading it. FYI, not everyone likes anti aliased fonts. But you're probably a millennial that grew up sucking on an iphone instead of a pacifier so you wouldn't know that there was a time before anti aliased fonts and people that actually grew up during that time might want their fonts that way when browsing the web.
Re: Web font icons don't always show
Font anti-aliasing has nothing to do with disallowing web pages to choose their own fonts.
-
- Pale Moon guru
- Posts: 35650
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Web font icons don't always show
Antialiasing of fonts has absolutely nothing to do with this issue. You can have aliased fonts if you insist while still allowing the page to determine what fonts to use.
Off-topic:
Also, your venomous response has netted you a one-and-only warning.
Also, your venomous response has netted you a one-and-only warning.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Web font icons don't always show
Heh, he doesn't know me very well does he?
Re: Web font icons don't always show
Unfortunately, "disallowing web pages to choose their own fonts" does not always work. Easy test: First disallow web pages to choose their own fonts and then go to the pale moon road map https://www.palemoon.org/roadmap.shtml . It still chooses it's own font
-
- Pale Moon guru
- Posts: 35650
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Web font icons don't always show
I most definitely works. Observe the display in Times, the default serif font, instead of Museo, the house style's font, after deselecting the relevant option in preferences -> contentgnomiik wrote: ↑2019-07-24, 09:34Unfortunately, "disallowing web pages to choose their own fonts" does not always work. Easy test: First disallow web pages to choose their own fonts and then go to the pale moon road map https://www.palemoon.org/roadmap.shtml . It still chooses it's own font
You do not have the required permissions to view the files attached to this post.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Web font icons don't always show
So, Uncheck "Allow pages to choose their own fonts, instead of my selections above", and choose Arial. Then go to the Pale Moon Roadmap and you will see it is not Arial.
You do not have the required permissions to view the files attached to this post.
-
- Pale Moon guru
- Posts: 35650
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Web font icons don't always show
It behaves exactly as it should
I'll explain:
You've changed the settings for Latin. That would work fine for pages with Latin character encoding like ISO-8859-1.
The Pale Moon website however does not use a Latin character set. It uses UTF-8. UTF-8 is a Universal character encoding, not a Latin one. So if you want to determine the fonts for it, you will have to set the fonts for "Other writing systems".
I'll explain:
You've changed the settings for Latin. That would work fine for pages with Latin character encoding like ISO-8859-1.
The Pale Moon website however does not use a Latin character set. It uses UTF-8. UTF-8 is a Universal character encoding, not a Latin one. So if you want to determine the fonts for it, you will have to set the fonts for "Other writing systems".
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Web font icons don't always show
Thank you! Did not know about the "Other writing systems"