News for hackers. Stuff that matters.
Re:Web fonts, boy, I don't know by elcapitan on Thursday November 03, 2016 @02:55PM (#12866861)
Are there actually font blockers like ad blockers? That would solve the problem pretty easily for everybody who's annoyed. Although they probably won't be available for mobile browsers, where it's the most painful.
Re:Web fonts, boy, I don't know by strainer on Thursday November 03, 2016 @03:40PM (#12867258)
In Firefox, >Options >Content >Fonts >Advanced Unchecking "Allow pages to choose their own fonts..", blocks Webfonts and System fonts which configured User fonts have the necessary characters to render. In about:config gfx.downloadable_fonts.enable > false ,will block all webfonts, but this breaks many sites like imgur & g̶i̶t̶h̶u̶b̶ which use webfonts to display navigation icons.
Re:Web fonts, boy, I don't know by mlinksva on Thursday November 03, 2016 @04:19PM (#12867567)
Re:Web fonts, boy, I don't know by strainer on Thursday November 03, 2016 @04:52PM (#12867831)
I hadn't noticed github switched, I thought svg might be a bit heavier but they say pageload time hasnt suffered and rendering 'jank' improved.

Github were using correct ranges for their octicons at least. iirc there is a common software named 'fontawesome' which has caused trouble by creating custom webfonts with incorrect character ranges.

Re:Web fonts, boy, I don't know by extra88 on Thursday November 03, 2016 @05:22PM (#12868081)
Font Awesome [0] is more of a service than software. Yes, if a site is using icon fonts, more likely than not they're using Font Awesome's (telltale "fa-" names in the source). They're adding a "pro" level that offers SVG as an option.

[0] http://fontawesome.io

Re:Web fonts, boy, I don't know by oftenwrong on Thursday November 03, 2016 @03:46PM (#12867303)
I use NoScript for Firefox, which can block fonts for untrusted sites. There is also a setting, in the browser itself, to universally prevent sites from from using their own font specification, so your font choices are the only ones used everywhere. I used to use that, but some sites use icon fonts (e.g. Github), so I prefer being able to whitelist specific sites with NoScript. I also set a minimum font size to maintain comfortable reading across all sites.
Re:Web fonts, boy, I don't know by detaro on Thursday November 03, 2016 @02:58PM (#12866889)
uBlock Origin has a switch to block "remote fonts". Should work in Firefox on Android as well.
Re:Web fonts, boy, I don't know by dragonne on Thursday November 03, 2016 @06:48PM (#12868769)
Firefox on Android has a switch for this. Menu -> Settings -> Advanced -> Show web fonts. The mobile web is remarkably faster to load with it off, even on wifi.
Re:Web fonts, boy, I don't know by jlarocco on Thursday November 03, 2016 @03:38PM (#12867236)
It's an option in uBlock, and it works great:

https://github.com/gorhill/uBlock/wiki/Per-site-switches#no-...

Re:Web fonts, boy, I don't know by JeremyNT on Thursday November 03, 2016 @04:42PM (#12867754)
I use this option. It's nice, but beware that your system fonts may not provide all of the unicode characters some pages expect, which can sometimes greatly hinder usability for sites that use such characters (and nothing else) in UI elements.
Re:Web fonts, boy, I don't know by thebouv on Thursday November 03, 2016 @02:57PM (#12866881)
On my iPhone I use Fusion by Firefox as an app that gives me the option to block ads AND web fonts. Love it.
Re:Web fonts, boy, I don't know by hypertexthero on Thursday November 03, 2016 @03:20PM (#12867091)
Re:Web fonts, boy, I don't know by thebouv on Monday November 07, 2016 @02:03PM (#12893847)
Ah, yep, my bad. I'm evaluating some other software called Fusion (completely non-related) and I guess it was just stuck in my brain.

Focus is awesome.

Interesting side-effect, it MAY be breaking Google AMP pages for me. I haven't really dug in to find out, but don't think a single AMP page has loaded for me on my phone.

Re:Web fonts, boy, I don't know by gcb0 on Thursday November 03, 2016 @03:29PM (#12867167)
about:config

search for webfonts.enabled. change to false.

alternatively, install noscript extension to have a UI with whitelist.

if you are not using Firefox, then i have no sympaty. wait until google cares about you.

Re:Web fonts, boy, I don't know by leephillips on Thursday November 03, 2016 @03:39PM (#12867245)
Also, in preferences, you can uncheck the box that allows sites to choose fonts. After I saw your comment I fired up Chrome to check and was surprised that there seems to be no option for this.
Re:Web fonts, boy, I don't know by gcb0 on Sunday November 06, 2016 @08:49PM (#12888254)
Reason there is no option on chrome: google serves 99.9% of the fonts online for "free".

That means every site with a custom font from google now leaks the page and time you are accessing to them.

Same reason they forbid disabling 3rd party referrer on chrome.

Re:Web fonts, boy, I don't know by Anthony-G on Monday November 07, 2016 @05:52PM (#12895990)
With Firefox 49, it seems that the relevant configuration option is named gfx.downloadable_fonts.enabled.
Re:Web fonts, boy, I don't know by metafunctor on Thursday November 03, 2016 @03:09PM (#12866997)
What about sites that use fonts for icons only?
Re:Web fonts, boy, I don't know by hawkice on Thursday November 03, 2016 @03:13PM (#12867022)
Welcome them to the wonderful world of unicode! I flipped over all my icons to emoji, they're reasonably comprehensive, albeit less standardized (if you have really persnickity designers that might bother them).
Re:Web fonts, boy, I don't know by strainer on Thursday November 03, 2016 @03:50PM (#12867334)
Firefoxes 'user font' facility tries to accomodate them by fallback to Webfont if the glyphs are not included the user fonts unicode ranges. This works with sites that use icon or expansion unicode ranges to display icons, but some eg. imgur assign icons in the range for common characters, so they look dumb, but at least something gets displayed.
Re:Web fonts, boy, I don't know by swiley on Thursday November 03, 2016 @05:58PM (#12868375)
You can disable custom fonts in most browsers. I've had them disabled for years in firefox. My only complaint is that occasionally some sites use custom fonts as icons (why!?) for buttons. (microsoft in particular loves this)
Re:Web fonts, boy, I don't know by lucb1e on Friday November 04, 2016 @02:54AM (#12870808)
In your hosts file or with PrivacyBadger, kill (iirc) fonts.gstatic.com