News for hackers. Stuff that matters.
Re:Web fonts, boy, I don't know by mouzogu on Thursday November 03, 2016 @02:24PM (#12866540)
I have had the exact experience in the last month. Being on a slow connection, I've come to loath web fonts. There is nothing wrong with them in general but it's just that they've come to symbolise over-indulgence and a myopia towards the users actual task-focused needs as opposed to aesthetics.

Part of the issue is dealing with progressive enhancement as far as slow internet connections go. How do you solve that problem? There is no native browser API to my knowledge that does not depend on using JS which isn't ideal imo.

Would love an attribute on script and link tags that could be conditional based on connection speeds.

P.S Would also encourage those who have the choice to use system fonts (https://medium.design/system-shock-6b1dc6d6596f) instead of web fonts. Seems more in-line with the spirit of the web and these fonts are very well tested in general.

Re:Web fonts, boy, I don't know by Declanomous on Thursday November 03, 2016 @02:56PM (#12866871)
As much as I believe font matters, I really think people should just use system fonts in general. No content is definitely more annoying than ugly content, but I have a seething hatred for webpages who jump around as content loads. "Let's click on this link... ah, not that link, let's go back. Yes, this link... NO! STOP MOVING!"

Besides, I'm used to my fonts. I know your fonts are a deliberate design choice, but I'm here for content. Maybe I'm just a neophyte, because I think a smaller cleaner website is better than a reactive design that has to constantly change to cram everything in. I don't care though, it's stupid when I have to wait 10 seconds for a page to load on my home connection because you've got so much crap going on, and all the while the content is jumping around like a frog with it's butt on fire.

If your site sucks, I'm not going to whine about it on twitter, I'm just going to stop visiting.

Re:Web fonts, boy, I don't know by cperciva on Thursday November 03, 2016 @03:16PM (#12867057)
"Let's click on this link... ah, not that link, let's go back. Yes, this link... NO! STOP MOVING!"

This is my #1 complaint about reddit. Not due to fonts; but rather when I load reddit on my phone, a "get the reddit app" banner appears... timed perfectly so that my attempt to view my messages sends me off to the app store.

Re:Web fonts, boy, I don't know by Mahn on Thursday November 03, 2016 @03:31PM (#12867184)
Heck, this is my #1 complaint of almost anything on a mobile browser. It's easily the worst offender when it comes to mobile in general; I wish browser vendors put a bigger focus on fixing this, somehow.
Re:Web fonts, boy, I don't know by at-fates-hands on Thursday November 03, 2016 @04:47PM (#12867796)
Didn't this start on the desktop and now because companies think it was successful on desktops, they need to extend it to mobile since they think everyone has 4G service?

I remember when your mobile experience was supposed to be a stripped down faster version of your desktop version. Now, they're both insanely hard to navigate and use.

So much for we dev progression, huh?

Re:Web fonts, boy, I don't know by planteen on Friday November 04, 2016 @12:17AM (#12870339)
I used to get the mobile versions of pages on the desktop. Not because I was on a slow connection, just because the text is the meat for most things on the Internet. Now there's less of a point in doing that.
Re:Web fonts, boy, I don't know by theandrewbailey on Thursday November 03, 2016 @03:48PM (#12867318)
Google is fixing it, but it's punishing them in search, not Chrome.

http://arstechnica.com/business/2016/08/google-to-punish-sit...

Re:Web fonts, boy, I don't know by ZeroGravitas on Thursday November 03, 2016 @05:41PM (#12868252)
Google also has tech to show these banners but only if you've visited the same site a few times already, and then not every time. (This link talks about web app installs first, then native app installs later)

https://developers.google.com/web/updates/2015/03/increasing...

"The user has visited your site twice over two separate days during the course of two weeks."

Re:Web fonts, boy, I don't know by eterm on Thursday November 03, 2016 @04:19PM (#12867564)
Which will lead to the same hack as paywalled news sites, the ads won't load when referred from google meanwhile the rest will suffer.
Re:Web fonts, boy, I don't know by marblar on Thursday November 03, 2016 @04:26PM (#12867621)
So users reaching a site through google have a better experience than users accessing it through some other method? This seems like a pretty good thing from Google's perspective...
Re:Web fonts, boy, I don't know by eterm on Thursday November 03, 2016 @04:28PM (#12867642)
Absolutely, and further extends their embrace over the web.

I suspect google are probably wary about moves that push themselves much further right now, the last thing they want to do is look like a monopoly.

Re:Web fonts, boy, I don't know by DeadBabyOrgasm on Saturday November 05, 2016 @12:15AM (#12878136)
Sounds like a good reason to build a plugin to always sets the http referrer header to google.com on certain news sites.
Re:Web fonts, boy, I don't know by colejohnson66 on Sunday November 06, 2016 @01:10AM (#12883639)
Is there any good reason for having the "Referer:" tag at all?
Re:Web fonts, boy, I don't know by petre on Friday November 04, 2016 @03:47AM (#12870955)
Google itself displays an anoying translate this page popup that obscures content, especially when you are browsing in incognito mode.
Re:Web fonts, boy, I don't know by wruza on Thursday November 03, 2016 @03:39PM (#12867241)
Browser vendors against adclicks, mice against cheese, bees against honey, what you gonna do now?
Re:Web fonts, boy, I don't know by paublyrne on Thursday November 03, 2016 @05:08PM (#12867973)
Mice aren't really interested in cheese.
Re:Web fonts, boy, I don't know by DeadBabyOrgasm on Saturday November 05, 2016 @12:17AM (#12878147)
Exactly. They're masters of subtlety, manipulating our species to evolve in just the right way, learn just the right things. We don't experiment on them so much as they experiment on us.

Masters of subtlety...

Re:Web fonts, boy, I don't know by lisivka on Friday November 04, 2016 @04:18AM (#12871067)
Mice likes cheese, but only if cheese is good. Most of current cheeses are made from fresh milk, which is not fermented enough to be edible.
Re:Web fonts, boy, I don't know by haimez on Thursday November 03, 2016 @06:45PM (#12868752)
Please, describe how this "mouse" consumes anything other than "cheese" for sustenance.
Re:Web fonts, boy, I don't know by saghm on Friday November 04, 2016 @12:07AM (#12870300)
Re:Web fonts, boy, I don't know by wruza on Friday November 04, 2016 @10:41AM (#12872894)
What a great example of really bad webfont. That page almost broke my eyes, when saving island of bold fb comments came to the rescue. People lost in thin-line madness.
Re:Web fonts, boy, I don't know by saghm on Friday November 04, 2016 @11:32AM (#12873360)
I guess my link was more relevant than I thought!
Re:Web fonts, boy, I don't know by losteric on Thursday November 03, 2016 @03:45PM (#12867298)
I'm starting to suspect that behavior is intentional. I see this all the time with mobile ads... a site slowly loads as I read content, then an ad pops up right when I try to navigate. Incredibly frustrating.

It's like advertisers want me to install adblock... so I will, I'll root my device and adblock all their bullshit forever.

Re:Web fonts, boy, I don't know by truth_sentinell on Thursday November 03, 2016 @04:17PM (#12867554)
That's so annoying. Worst thing is that adblocks are not as easily available as in desktops. I'm on windows phone 10, my only browser is Edge, so I'm really fucked.
Re:Web fonts, boy, I don't know by luxpir on Thursday November 03, 2016 @04:29PM (#12867651)
Set up pihole or similar at home and none of your devices will see ads. It's great fun and makes a nice difference on mobile.
Re:Web fonts, boy, I don't know by truth_sentinell on Thursday November 03, 2016 @06:09PM (#12868456)
Thanks for the suggestion, but it doesn't seem good for me. Blocking things at DNS level, can be counterproductive. Maybe there's a false positive that's been blocked and it will probably a headache to find it.
Re:Web fonts, boy, I don't know by michaelmior on Thursday November 03, 2016 @11:30PM (#12870147)
I don't think I've ever experienced this. Perhaps the lists I was using were just particularly conservative.
Re:Web fonts, boy, I don't know by luxpir on Friday November 04, 2016 @10:46AM (#12872947)
It's pretty easy to whitelist a whole domain... the domains on the lists are pretty comprehensively ad-related. Your call, but it certainly is one solution.
Re:Web fonts, boy, I don't know by alanh on Thursday November 03, 2016 @07:09PM (#12868916)
This makes it all the more regrettable that Microsoft buried the competition and you are stuck with Windows forever: http://developers-club.com/posts/104034/
Re:Web fonts, boy, I don't know by dredmorbius on Thursday November 03, 2016 @10:30PM (#12869924)
Best suggestion I've seen on this: click events apply to whatever had been in the location ~300ms BEFORE you selected it. Turns out humans can't respond much more quickly than that.

I wish I could credit the source but I don't recall -- HN or Reddit probably.

I'm also still not sure this solves the full problem. On mobile, there's generally the problem that a touch and a drag are two different actions, but they're not clearly distinguished. There's a tremendous amount of ambiguity over just where you can or cannot touch on a given web page to accomplish a click, and increasingly pages have very few "safe" whitespace zones.

Examples coming to mind: Chrome/Android history -- the delete-item 'x' will also open the link in the current browser tab. I've found clearing history to be tedious (there's no way to select multiple items, or a date range, say -- you can only delete items one-at-a-time, and not too fast...). On YouTube/Mobile, the entire panel of a search result is a clickable zone, making scrolling the page without inadvertently opening a video you're not interested in all but impossible.

It's abysmally poor UI/UX in both cases.

Re:Web fonts, boy, I don't know by nwatson on Thursday November 03, 2016 @03:44PM (#12867286)
I'm convinced this page-jumps-as-you're-about-to-touch is a dark pattern to some clickbait time-waster sites use to get more mobile ad clicks. Just when I'm about to click 'Next' to see the 7th-of-53 stoopid-photos-taken-at-Walmart an ad link jumps to be right under my finger.
Re:Web fonts, boy, I don't know by Practicality on Thursday November 03, 2016 @03:55PM (#12867382)
You gotta stop going to those sites. :)
Re:Web fonts, boy, I don't know by dredmorbius on Thursday November 03, 2016 @10:22PM (#12869884)
Firewall them -- on the device or router. It's what all the cool kids are doing these days.
Re:Web fonts, boy, I don't know by skykooler on Thursday November 03, 2016 @03:59PM (#12867408)
This even happens on Youtube, on a 200 mbit+ connection - I go to a page, and just as I reach over to click a link some stylesheet finally shows up and everything moves up by twenty pixels.
Re:Web fonts, boy, I don't know by wfunction on Thursday November 03, 2016 @05:28PM (#12868130)
Same thing with the Facebook app; whenever you're searching for something, it shows the result you want, but then like 0.5-1 second later it pops up a different result above it so you tap the wrong thing. Drives me insane.
Re:Web fonts, boy, I don't know by godshatter on Thursday November 03, 2016 @07:29PM (#12869055)
I get around this by not going to Facebook except when a relative or friend dies or the zombie apocalypse starts.
Re:Web fonts, boy, I don't know by ovao on Thursday November 03, 2016 @07:08PM (#12868910)
Ugh, I feel you. I've trained myself not to tap on a result unless I've waited several seconds. Life improved immeasurably.
Re:Web fonts, boy, I don't know by ge96 on Thursday November 03, 2016 @05:51PM (#12868337)
Member when YouTube used to do that with search results except it was an ad
Re:Web fonts, boy, I don't know by odbol_ on Thursday November 03, 2016 @06:27PM (#12868593)
Why aren't you using Reddit Sync yet? Who uses the mobile site these days anyway?
Re:Web fonts, boy, I don't know by ENGNR on Thursday November 03, 2016 @07:55PM (#12869236)
For me it's about tabs. Can't stand when an app opens a URL in a mini browser inside itself. If it's a web link just open it in the damn browser!
Re:Web fonts, boy, I don't know by tdkl on Friday November 04, 2016 @05:40AM (#12871317)
There's an option to open the website in external browser, chrome tab or internal browser. Not only in Reddit Sync (which is great), but in every other Reddit app as well.

Btw, opening the website in the Chrome tab is basically the same (session state, cookies are same) as opening it in Chrome, it's just way faster - specially on RAM challenged devices.

Re:Web fonts, boy, I don't know by fontsthrowawya on Thursday November 03, 2016 @04:29PM (#12867649)
I always set

    browser.display.use_document_fonts = 0
in Firefox.

Surfing the web is a more pleasant experience without WebFonts.

Re:Web fonts, boy, I don't know by simooooo on Sunday November 06, 2016 @12:58PM (#12886220)
What about icon sets? Never find empty buttons?
Re:Web fonts, boy, I don't know by ChuckMcM on Thursday November 03, 2016 @04:21PM (#12867583)
My experience has been web designers are strongly in either the "system fonts are an abomination before God" camp, or the "the user picked the system fonts, lets use those." camp. Oddly pulling them from one camp into the other seems very very difficult.
Re:Web fonts, boy, I don't know by tracker1 on Sunday November 06, 2016 @05:36AM (#12884478)
I generally prefer a specific font, but will fallback to sans-serif, serif or monospace depending on what I'm styling... I also tend not to have a bunch of fallthrough fonts... ex: specifying helvetica and/or arial should be an offense punishable by a mild beating.

Another thing I hate is when people don't specify the weight for black/bold fonts... which makes the fallback even more hideous.

Re:Web fonts, boy, I don't know by zanny on Thursday November 03, 2016 @06:04PM (#12868415)
What happens when a user makes their system font esoteric-new-age-web-sans-font-#523626263278 and your page and the system itself are using the same font?
Re:Web fonts, boy, I don't know by GrinningFool on Friday November 04, 2016 @12:57AM (#12870484)
Then your page looks like crap - but since it's a guest on the user's system, that's entirely up to them.
Re:Web fonts, boy, I don't know by shakna on Thursday November 03, 2016 @10:03PM (#12869820)
Its clearly what they want to use. And with em and rem, vw and vh, a change in font doesn't have to screw up the entire page.

What I used to see in some early 90s sites, and would love to see again, is customisations.

You use the system fonts, your own stylesheets, but have a button that loads and activates a WebFont, changes display colours and the like.

It also means that when JS is disabled, or unavailable for some other reason, you can gracefully fallback to a useable site.

Re:Web fonts, boy, I don't know by bandrami on Friday November 04, 2016 @11:08AM (#12873142)
Then the user gets the font she has instructed her system to use, and why the @(*# do you think you know better than her?
Re:Web fonts, boy, I don't know by beefsack on Thursday November 03, 2016 @06:26PM (#12868577)
Using system fonts becomes a minefield once you realise they tend to be unique to each platform.
Re:Web fonts, boy, I don't know by HelloNurse on Friday November 04, 2016 @04:57AM (#12871177)
Typical users vomit and faint when they see text set in Tahoma that was clearly meant for Helvetica, or when a paragraph is one line taller or shorter than the one and only official layout.

Telepathic sensitivity to designer intent is extremely common! Don't let elastic, robust CSS layout techniques mess with your pixel-perfect templates!

Re:Web fonts, boy, I don't know by nikanj on Thursday November 03, 2016 @08:51PM (#12869530)
Depends on whether you want to display information or show off design.
Re:Web fonts, boy, I don't know by smacktoward on Thursday November 03, 2016 @03:16PM (#12867056)
> I know your fonts are a deliberate design choice, but I'm here for content.

Categorizing type as "a design choice" dismisses it as fashion rather than function, which I don't think is the case. Type can put fashion over function, but it can also enhance function by making text more readable, or perform a mix of both functions by expressing a point visually that reinforces the point the page is making textually. It is possible to remove meaning from a document by stripping away design.

> Maybe I'm just a neophyte, because I think a smaller cleaner website is better than a reactive design that has to constantly change to cram everything in

Responsive design and web fonts are different issues; you can use Web fonts on a page without any responsive design elements, and vice versa.

> I don't care though, it's stupid when I have to wait 10 seconds for a page to load on my home connection because you've got so much crap going on, and all the while the content is jumping around like a frog with it's butt on fire.

This is a real problem, but it has much less to do with either responsive design or Web fonts than with the absolute crap-ton of JavaScript sites lard themselves down with these days to do things like load ads (which is what causes all that jumping around, as slow-loading ad units pop into place and the document has to re-flow everything else to accommodate them). Try turning JavaScript off in your browser some time and you will see this immediately.

Here's an example: I was just on Rotten Tomatoes (which uses Web fonts), and was getting annoyed by precisely the kind of spastic layout you rightly decry. As an experiment, I tried loading the home page from a cold cache with JavaScript on, and then again with it off. With scripts on, it took more than 12 seconds for the page to finish loading. Without scripts: under 1 second.

Re:Web fonts, boy, I don't know by lomnakkus on Thursday November 03, 2016 @03:32PM (#12867200)
> Categorizing type as "a design choice" dismisses it as fashion rather than function, which I don't think is the case.

I think it's a question of how often it's one vs. the other. There are precious few good examples of web font usage -- so few, in fact, that I can't even think of one off the top of my head.

> Type can put fashion over function, but it can also enhance function by making text more readable,

How so? I mean, I've literally chosen my system fonts based on readability (to me, on my screen, with my eyesight, with my lighting conditions, etc!). I'm also used to those fonts.

> [...] by expressing a point visually that reinforces the point the page is making textually

Do you have any good examples of this? I don't think I've ever seen it "in the wild", so to speak.

Disclosure: I'm so annoyed by web fonts that I use a browser plugin which actually overrides fonts chosen by web pages, so I may not have been experiencing a representative sample of "what's out there". I had to have a quick-toggle for that plugin because suddenly it became fashionable to use goddamn fonts for icons. Ugh. Don't get me started :).

Re:Web fonts, boy, I don't know by Nadya on Thursday November 03, 2016 @04:58PM (#12867895)
You aren't alone and some go even further!

I make my own "enhancement suite" for any website I frequent. I blacklist all Javascript by default and whitelist only Javascript necessary for things to function. I use Greasemonkey to add my own functionality to a page, sometimes blacklisting the "default" functionality and rolling my own code to replace it in a more "me-friendly" way. And finally, Stylish, so that I can completely nuke the site's CSS and roll out my own.

But most users won't go through that. They'll use the default browser font and never change it.

Corporate doesn't want to use Arial on the site, so we have a problem with the browser default. Luckily the designer has threatened to quit before they use Comic Sans. At best, they'll pick a nice legible font and at worst they'll pick something "aesthetic" that may be a pain in the ass to read. Usually you get somewhere in the middle or a (sans-)serif font from Google Fonts.

Once upon a time I could trick corporate into using Helvetica, but it seems to have "fallen out of fashion". They don't actually look at the font, they just know what they "don't want" and what they "don't want" is Arial.

Re:Web fonts, boy, I don't know by scholia on Thursday November 03, 2016 @05:42PM (#12868261)
Would it be feasible to have an "enhancement pack" website where less talented people (ie me) could get fixes like this.

I remember doing stuff like this with Proxomitron in the good old days....

Re:Web fonts, boy, I don't know by Nadya on Thursday November 03, 2016 @06:00PM (#12868388)
>Would it be feasible to have an "enhancement pack" website where less talented people (ie me) could get fixes like this.

Sort of? At least if I'm understanding you properly. :)

It used to be that userscripts.org was a thing. Now I think you need to use a mirror [0]. There is also a subreddit for them [1]. Stylish should have a similar site for themes - although not all userscripts will work properly with Stylish (styles may break functionality that relies on styles being a certain way).

For a few sites, I think people have made "generators" for stylesheets to make it user-friendly to generate your own userstyle. I'm not aware of any offhand though.

It would be nice to have a more "curated" or organized Userscripts site, since not all of them are site-specific.

The two most popular "enhancement suites" are the Youtube Enhancement Suite and the Reddit Enhancement Suite, both of which do countless things and are extremely "heavyweight" in functionality/features. My personal "enhancement suites" are a lot smaller in scale and public usability. :)

[0] https://userscripts-mirror.org/

[1] https://www.reddit.com/r/userscripts/

Re:Web fonts, boy, I don't know by jccalhoun on Thursday November 03, 2016 @07:18PM (#12868977)
Greasyfork is the replacement for userscripts https://greasyfork.org/en
Re:Web fonts, boy, I don't know by scholia on Sunday November 06, 2016 @10:44AM (#12885543)
Many thanks. Some good pointers there....
Re:Web fonts, boy, I don't know by dredmorbius on Friday November 04, 2016 @06:40AM (#12871569)
What happened to userscripts.org?
Re:Web fonts, boy, I don't know by dredmorbius on Friday November 04, 2016 @06:39AM (#12871566)
I pretty much taught myself CSS fixing fucked-up shit I didn't like on sites I was visiting, through Stylebot and (now) Stylish.

Stylebot is slightly easier to get started with, but Stylish is a better and more powerful tool, also available for Firefox.

I haven't got into JS yet.

Otherwise, installing GS scripts or Stylish themes works.

Re:Web fonts, boy, I don't know by hlandau on Thursday November 03, 2016 @11:22PM (#12870107)
I'm fond of Verdana, which is what this site is using. Also Trebuchet MS, which has a slightly quirky feel.
Re:Web fonts, boy, I don't know by dom0 on Thursday November 03, 2016 @05:38PM (#12868224)
For some sites I use a lot I do this as well. Mostly CSS fixes, for example widening GitHub's layout to some 1300px. But also removing annoying "design-crap", substituting fonts etc.
Re:Web fonts, boy, I don't know by matt4077 on Thursday November 03, 2016 @04:48PM (#12867807)
https://www.wired.com is excellent in how they use fonts to subtly indicate importance/recency/category.

Many newspapers use fonts very consciously, which usually has the effect that it doesn't enter the reader's consciousness. It's a subtle cue indicating the brand and the image it wants to project. oCmpare the NYT and the Economist – they aim to reach almost identical populations, but the NYT uses serifs (tradition, dependence, gravity) vs. the Econmist's sans (modern, fast, business).

Re:Web fonts, boy, I don't know by wott on Thursday November 03, 2016 @06:32PM (#12868650)
> https://www.wired.com is excellent in how they use fonts to subtly indicate importance/recency/category.

You call that "subtle"??? There are like 10 different fonts/boldnesses jumping at me at first sight.

Re:Web fonts, boy, I don't know by callalex on Thursday November 03, 2016 @05:14PM (#12868004)
What you just described is called fashion.
Re:Web fonts, boy, I don't know by phkahler on Thursday November 03, 2016 @04:35PM (#12867696)
>> > Type can put fashion over function, but it can also enhance function by making text more readable,

How so? I mean, I've literally chosen my system fonts based on readability (to me, on my screen, with my eyesight, with my lighting conditions, etc!). I'm also used to those fonts.

Oh come on, the "designer" knows what's best for you. ;-) I was going to make a similar response, but you beat me so sarcasm.

Re:Web fonts, boy, I don't know by mbrock on Friday November 04, 2016 @02:46AM (#12870791)
Designers don't typically design for people who change their default fonts because most people don't know how and on some platforms it's not even possible.
Re:Web fonts, boy, I don't know by tracker1 on Sunday November 06, 2016 @05:39AM (#12884485)
Most people don't adjust their system fonts.. then again, most defaults are reasonable.

And to anyone who reads this, for the love of $deity, stop specifying Arial or Helvetica before sans-serif. It's one thing if you want a specific default, but the fallback should be whatever system's sane choice.

Re:Web fonts, boy, I don't know by greenshackle2 on Thursday November 03, 2016 @04:09PM (#12867491)
> Type can put fashion over function, but it can also enhance function by making text more readable

I'm sympathetic to that, but is there really no system font that is sufficiently readable?

Re:Web fonts, boy, I don't know by jimmaswell on Thursday November 03, 2016 @06:10PM (#12868474)
The default system fonts are more than good enough for just about any webpage. If Aerial were the only font web browsers were allowed to display, the world would go on just as productively, aside from some designers who conditioned themselves to believe they don't like looking at it getting upset.
Re:Web fonts, boy, I don't know by angry-hacker on Thursday November 03, 2016 @05:14PM (#12868007)
You can async your fonts and fallback. The jumping issue still remains. You can have similar line height and font word / letter width to jump less.

Mozilla has something called font height (?) that should help too. But it's Mozilla only.

The jumping task is for browser vendors to fix. Chrome already has an experimental flag to remember position.

Re:Web fonts, boy, I don't know by esonderegger on Thursday November 03, 2016 @04:04PM (#12867438)
Have none of you ever worked for a designer or marketing person who was unwilling to accept that a bit of text might wrap on Windows (Arial), but fit on one line on a Mac (Helvetica)?

Until we can get the major operating systems to include some of the most popular open-source fonts, we're stuck with web fonts.

If macOS, Windows, Debian, iOS, and Android all came with Roboto, Source Sans, Lato, Merriweather, Raleway, etc. pre-installed, then we could make the case that if we used those fonts instead of non-free ones we would have consistency across all platforms and better performance for our users.

Since I doubt that day will ever come, we instead need to weigh an inconsistent appearance against a poor experience for those on slow connections. Different organizations will choose to prioritize different things, and that's ok.

A significant portion of marketers and designers will always demand pixel perfection for their websites. I'm just glad we're not putting text inside of images any more.

Re:Web fonts, boy, I don't know by erikpukinskis on Thursday November 03, 2016 @05:32PM (#12868166)
This is because a vanishingly small percentage of designers have truly, in their heart, accepted the web as a medium.

They'll sit lovingly with a bunch of dinged up old lead typesetting tools, positively jizz over imperfections in ink distribution, but try to talk to them about system fonts, box models, or free phones and their eyes glaze over and they drift off into their color calibrated RAW dreamland.

In schools they teach people to embrace media but that only applies to fetishized antique media.

They'll use half of the GPU to render CRT glow too, with 8-bit graphics, gush about material metaphors in their visual design, but they won't consider the material properties of the actual distribution medium for their work.

We still haven't seen a true modernist design movement in the digital age. Maybe very briefly for a year or two in the nineties when browsers were good enough to be interesting but not good enough to do anyrhing. It'll come eventually, but it's taking its sweet time.

Re:Web fonts, boy, I don't know by TheOtherHobbes on Thursday November 03, 2016 @06:40PM (#12868713)
This is a completely unrealistic view of how designers work.

I've yet to meet a web designer who would have the first clue what to do with hot metal. There are some old guys who remember physical typesetting for print, but design has been primarily electronic for around twenty years now.

The history of the web started after most print had already moved to digital fonts and layout with Pagemaker, then Quark Xpress.

It's one of the tragedies of browser development that it took the web 15 years to start to catch up with industry standard page layout possibilities, and another 5 years to start dealing with fonts intelligently.

And the web - frankly - still sucks for this kind of work. It's not that responsive design is harder than print, it's more that from a designer's POV CSS has been a train wreck for most of its history.

I understand some people here want their own font stylings, and that's fine. But designers use fonts for a reason, and "Not invented here because I don't like this" isn't a good enough reason to make it impossible for them to do that.

Re:Web fonts, boy, I don't know by erikpukinskis on Thursday November 03, 2016 @08:11PM (#12869339)
That's exactly my point. You are unwilling to accept the properties of your medium. You just say "it sucks" and fight with it. You're like an acrylic painter who complains that oil dries slowly and keeps designing for acrylics, and everything comes out smudgy.
Re:Web fonts, boy, I don't know by mbrock on Friday November 04, 2016 @02:52AM (#12870803)
Web fonts are a part of the web, so it kind of sounds like you're the one refusing to accept the properties of the medium.
Re:Web fonts, boy, I don't know by cbr on Friday November 04, 2016 @08:50AM (#12872130)
Web fonts are a poorly performing part of the web.
Re:Web fonts, boy, I don't know by et-al on Friday November 04, 2016 @01:42AM (#12870617)
> This is because a vanishingly small percentage of designers have truly, in their heart, accepted the web as a medium.

That seems a bit harsh. If anything, I feel like the old static print mindset is on its way out and designers have been leaning towards the web as a medium with dynamic layouts. Speakers[0] at An Event Apart spoke of the web as a fluid continuum, so even the idea of designing for only mobile and desktop is insufficient these days (especially with all the varying device sizes).

If you're working with any designer that still expects pixel perfection, I'd suggest that they attend An Event Apart conference, or at least read a few articles on A List Apart.

[0] http://alistapart.com/article/responsive-web-design

Re:Web fonts, boy, I don't know by yellowapple on Saturday November 05, 2016 @11:45PM (#12883397)
"I feel like the old static print mindset is on its way out and designers have been leaning towards the web as a medium with dynamic layouts."

I want to believe you, but I feel like the sheer number of designers who whine about GIMP's lack of CMYK support in their justifications for using Photoshop instead (nevermind that pretty much all modern display technology is RGB-centric) suggests otherwise.

I can understand thinking in a CMYK mindset and not wanting to have to think about RGB, but that nonetheless suggests an unwillingness to change one's mindset to adapt to current media.

Re:Web fonts, boy, I don't know by TeMPOraL on Friday November 04, 2016 @10:31AM (#12872807)
Still doesn't solve the bigger problem - that neither designers nor publishers actually embraced the digital medium. They've been treating the web as if it was a poster - something for the designers to show off on. The only thing the current "responsive design" fad brought up is that the poster now changes its layout with size in a somewhat intelligent manner. But they're still drawing posters. We're still getting only text + pictures + occasional video. What about interactive descriptions? Embedded simulations? Models that we can explore, or play with? Nowhere to be found, except in occasional essay by Bret Victor.
Re:Web fonts, boy, I don't know by et-al on Friday November 04, 2016 @08:33PM (#12877409)
That's because up until recently, the only tools users have to interact have been 2D. If 3D becomes a thing, more designers will embrace it and think of new ways to communicate ideas in that space.

Also, in a discussion about communicating efficiently over limited bandwidth, and the possibility removing web fonts, 3D spaces is in a completely opposite direction. We'd have to load vector files and texture maps so that the 3D space doesn't look like crap.

Also, there's a limit to how much input a human can process. There's a reason why certain sites have gotten more simple to restrict distractions.

Re:Web fonts, boy, I don't know by thrillgore on Friday November 04, 2016 @08:34AM (#12872029)
>We still haven't seen a true modernist design movement in the digital age.

But we have -- unified design guidelines like Metro and Material Design ARE modernist design movements for the era of displays and interactive media. Just because it only applies for an Operating System or an Application doesn't make it any different than using cut-out colors or Gotham in your print ad.

Re:Web fonts, boy, I don't know by Gruselbauer on Thursday November 03, 2016 @05:44PM (#12868272)
Any recommendations as for investigating your last point? What would constitute a truly modernist design in your view? Good food for thought, thanks.
Re:Web fonts, boy, I don't know by jimktrains2 on Thursday November 03, 2016 @04:06PM (#12867462)
> Have none of you ever worked for a designer or marketing person who was unwilling to accept that a bit of text might wrap on Windows (Arial), but fit on one line on a Mac (Helvetica)? > Until we can get the major operating systems to include some of the most popular open-source fonts, we're stuck with web fonts.

This really seems to be a problem with marketing and design people; we're not stuck with webfonts. We're stuck with unreasonable people.

Re:Web fonts, boy, I don't know by hyperpape on Thursday November 03, 2016 @04:53PM (#12867850)
Many people in our profession write code that's less that 80 characters per line because that's how much you could display on terminals in the 70s.

As a profession, we can't complain that someone might be bothered by the idea of word-wrapping.

Re:Web fonts, boy, I don't know by zeveb on Thursday November 03, 2016 @05:07PM (#12867965)
> Many people in our profession write code that's less that 80 characters per line because that's how much you could display on terminals in the 70s.

It's _also_ a very reasonable & readable amount of text in a row. There's nothing wrong with that.

Re:Web fonts, boy, I don't know by jimktrains2 on Thursday November 03, 2016 @09:32PM (#12869696)
Not only is 80char more readable, as a sibling comment said, but it also allows addition pieces of code to be displayed side-by-side on a laptop screen.

To be fair, 120char wide code is also not too bad for this purpose and readability.

Re:Web fonts, boy, I don't know by zzzcpan on Thursday November 03, 2016 @05:18PM (#12868046)
> It's _also_ a very reasonable & readable amount of text in a row

Presumably, that's why they used 80 characters in the first place, as anything more is too hard to read.

Re:Web fonts, boy, I don't know by TheOtherHobbes on Thursday November 03, 2016 @06:22PM (#12868548)
132 column displays were common by the end of the 1970s.

80 column displays date back to the early 1970s.

I started coding on an 80 column display, and I have no doubt at all that a modern 16:9 monitor that can display a double page PDF or a web page with a variety of fonts is a much better display device.

Re:Web fonts, boy, I don't know by lmm on Thursday November 03, 2016 @07:17PM (#12868972)
It was 80 columns to match a punch card, AIUI, not a decision on readability grounds at all.
Re:Web fonts, boy, I don't know by robotresearcher on Friday November 04, 2016 @02:38AM (#12870763)
And why was a punch card 80 columns?
Re:Web fonts, boy, I don't know by lmm on Friday November 04, 2016 @05:42AM (#12871321)
It sounds like that was the limit they could fit in the available space given the technology (earlier versions had fewer columns, the "upgrade" to 80 was based on using new narrower holes) - the width was set by wanting to match existing infrastructure for money.
Re:Web fonts, boy, I don't know by Gruselbauer on Thursday November 03, 2016 @05:51PM (#12868333)
Isn't it more so it is readable inside a phone display to an ssh session as well as a fat 4K screen? That's my reason at least. Can always scale up something, but line breaks I didn't make myself make me want to commit unspeakable atrocities in the name of a demonic deity taking the earthly form of a little girl. Or, you know, angry.
Re:Web fonts, boy, I don't know by yellowapple on Saturday November 05, 2016 @11:51PM (#12883414)
I'm one of those people, though my reason is more so that I can fit more code windows side-by-side (especially on a system with a tiling window manager, like the laptop on which I'm typing this comment) and not have to deal with horizontal scrolling or weird word wrapping that's out of my control.

It also helps to keep my code readable; the shorter the line, the quicker I can work out what exactly that line happens to do. In the vast majority of cases, an inability to keep a line within 72 characters is a line that needs refactored.

Re:Web fonts, boy, I don't know by esonderegger on Thursday November 03, 2016 @04:21PM (#12867590)
I tend to agree with you, but I think it's important to constantly be trying to understand where other people are coming from. They might not be so unreasonable; they just have different priorities than we do.

Our idea of what a webpage is might be a text document where the presentation is less important than the content. To others, the presentation IS the content. For some people, it might depend on what message the page is trying to convey.

Re:Web fonts, boy, I don't know by alanh on Thursday November 03, 2016 @07:12PM (#12868940)
Where you are wrong, I think, is that “the presentation IS the content” is a common belief among “designers” but almost never the belief of users.
Re:Web fonts, boy, I don't know by myrion on Friday November 04, 2016 @01:27AM (#12870580)
That's not really true. They won't consciously believe that, but they won't use the technically superior product, if the competitor has the basics and a better design.
Re:Web fonts, boy, I don't know by cool-RR on Thursday November 03, 2016 @04:20PM (#12867581)
I think that designers are always trying to get the latest, coolest fonts. If you make Roboto and friends part of the OS, then you'll get a new wave of cool new fonts that aren't a part of the OS. There's always a push from people to have their website look special, and, dare I say it, pop.
Re:Web fonts, boy, I don't know by esonderegger on Thursday November 03, 2016 @04:48PM (#12867808)
There are definitely designers who are going for pop by looking for a new font, but I've worked on a lot of projects where the designer just wanted a good, legible, sans-serif that looks the same everywhere.

Who am I kidding, what they want is Helvetica and for the website to look exactly like the comps they made in Photoshop. Sometimes they're willing to find the money for the license fee and sometimes they're willing to accept Source Sans as a substitute. I've never once had them say "the difference between Helvetica and Arial isn't worth the 250ms delay caused by using a web font."

Re:Web fonts, boy, I don't know by colejohnson66 on Sunday November 06, 2016 @01:25AM (#12883673)
But what about Arial versus Helvetica Neue? /s
Re:Web fonts, boy, I don't know by Gracana on Thursday November 03, 2016 @04:16PM (#12867540)
Why can't we just deal with the fact that different devices will display your content differently? The world doesn't need better fonts, the world needs better designers.
Re:Web fonts, boy, I don't know by matt4077 on Thursday November 03, 2016 @04:52PM (#12867835)
> Have none of you ever worked for a designer or marketing person who was unwilling to accept that a bit of text might wrap on Windows (Arial), but fit on one line on a Mac (Helvetica)?

Yeah, I have. In the 90ies. Saying that it's a reason for any designer of any website that matters today is just trying to set up a strawman.

Re:Web fonts, boy, I don't know by et-al on Thursday November 03, 2016 @02:51PM (#12866819)
I was just going to say that Medium post about the system fonts was a great read and deserves a thread of its own, but it looks there there was one a year ago: https://news.ycombinator.com/item?id=10437485

> Would love an attribute on script and link tags that could be conditional based on connection speeds.

Takes me back to the days when you would choose between an HTML version of a site, or a heavy Flash version. :)

Re:Web fonts, boy, I don't know by colejohnson66 on Sunday November 06, 2016 @01:32AM (#12883685)
> > Would love an attribute on script and link tags that could be conditional based on connection speeds.

> Takes me back to the days when you would choose between an HTML version of a site, or a heavy Flash version. :)

Just use a lightweight Flash app to detect their connection speed, then load the appropriate site from there ;)

Re:Web fonts, boy, I don't know by alanh on Thursday November 03, 2016 @07:06PM (#12868894)
Myopia is a good word for it.

A quote I like on designers avoiding the actual experiences they create: https://wellfuckingsaid.com/2016/on-designers-ignoring-those...

A thing I wrote urging you to test your own work in simulated slow network conditions: https://alanhogan.com/slow-it-down-gain-empathy

Re:Web fonts, boy, I don't know by phkahler on Thursday November 03, 2016 @04:32PM (#12867679)
>> they've come to symbolise over-indulgence

Yes! Why should a web site specify fonts at all? The user should set their browser to a default that they like and most sites should be happy with that. People just use web fonts because they can. If there's a particular reason you need to override the users preference then fine.

Re:Web fonts, boy, I don't know by mgkimsal on Thursday November 03, 2016 @05:54PM (#12868354)
> The user should set their browser to a default that they like

If this was actually a decent part of a browser's configuration UI, it might have caught on (or... still might). Give people tools to manage this easily, and they may choose to do it - the 'reader mode' in some browsers shows some people want to get at content regardless of fonts, and giving them easier and more 'up-front' ways of managing this would bring the issue front and center.

Why did we end up with legislation about cookies? I think, in part, it's because it was essentially black magic for years, hidden in layers of nested "advanced" menus, instead of a button right in the damn menu bar saying "clear cookies".

"Why doesn't anyone use personal certificates?!" (I hear from tech colleagues now and then) - because the UI/management for it is horribly useless for 99% of people.

Same with this font stuff. Put "font choice" front and center, as part of browser setup - don't hide it behind layers of "accessibility" stuff. Give people some standard themes they can switch between easily - high contrast, B&W, etc - and have it be something that's a button press away (harder to do on mobile, I'd think).

Re:Web fonts, boy, I don't know by egypturnash on Thursday November 03, 2016 @07:50PM (#12869208)
Because font choice can communicate a lot. Font choice can establish a brand, font choice can create a mood.

Web fonts are better than the stuff people did to do this in the old days. Crazy abominations like siFR [1] or rendering out a gif of your text and using that instead of just delivering some ASCII text that screenreaders can deal with? Web fonts aren't perfect, especially on slow connections, but they're the least horrible solution we have for people who would like to control the finer aesthetic details of how their sites look.

[1] https://mikeindustries.com/blog/sifr

Re:Web fonts, boy, I don't know by phkahler on Thursday November 03, 2016 @08:21PM (#12869385)
Come to think of it, browsers could have a mode where they use only installed fonts regardless of what a site says. This would be useful to the people on slow connections.
Re:Web fonts, boy, I don't know by NoGravitas on Friday November 04, 2016 @08:59AM (#12872182)
Firefox supports this. In Firefox on Android, it's visible in the settings (under "data saving"). Not sure if it's surfaced in desktop, or only in about:config.
Re:Web fonts, boy, I don't know by mcav on Friday November 04, 2016 @12:26AM (#12870375)
Most browsers support user stylesheets, either built-in (Firefox/Safari) or as an extension, which can accomplish this.
Re:Web fonts, boy, I don't know by matt4077 on Thursday November 03, 2016 @04:59PM (#12867904)
And why should anyone be allowed to set colors, or sizes, or shapes? Why don't we use .txt as the format for the web?

Because design happens to be one avenue of human expression. If you keep denying that, or label users enjoying it as superficial, you'll end up with something like North Korea, where everyone gets to choose from two approved hairstyles, walks around in "male shoe" or "female shoe" and goes home to eat soylent.

Re:Web fonts, boy, I don't know by robotresearcher on Friday November 04, 2016 @02:44AM (#12870784)
I like my websites with a standard haircut because they load so fast.
Re:Web fonts, boy, I don't know by callalex on Thursday November 03, 2016 @05:31PM (#12868157)
System fonts are literally hitler
Re:Web fonts, boy, I don't know by paulddraper on Thursday November 03, 2016 @04:49PM (#12867809)
Usually, it's done for consistent layout.

(Many people in this thread have said they do not value consistent layout. Nor do I, but that is the usual reason.)

Re:Web fonts, boy, I don't know by phkahler on Thursday November 03, 2016 @08:24PM (#12869400)
The whole point of HTML was that the layout was done by the browser to fit the users screen. If your site is fixed width, you're doing it wrong. And I realize that a lot of places are doing it wrong.
Re:Web fonts, boy, I don't know by paulddraper on Friday November 04, 2016 @11:32AM (#12873356)
Yes, that is historically true.

Less so nowadays, where HTML is used for layouts closer to say, PDFs.

Re:Web fonts, boy, I don't know by adrianN on Thursday November 03, 2016 @04:34PM (#12867691)
> Would love an attribute on script and link tags that could be conditional based on connection speeds.

Yay, more bits for fingerprinting!

Re:Web fonts, boy, I don't know by vortico on Thursday November 03, 2016 @05:46PM (#12868288)
I keep external fonts disabled on my laptop with Firefox. Under Preferences > Content > Advanced, uncheck "Allow Pages to User Their Own Fonts", and it makes the web seemingly twice as fast.
Re:Web fonts, boy, I don't know by creshal on Thursday November 03, 2016 @06:12PM (#12868489)
The downside is that it breaks all the websites using icon fonts.
Re:Web fonts, boy, I don't know by amelius on Friday November 04, 2016 @06:46AM (#12871590)
Why can't we share fonts between websites? I.e., put fonts on some shared CDN, and link to them directly. It could be similar to how different programs share code through shared-object files :)

A similar effect will probably be achieved with IPFS, where objects are stored by their hashes.

Re:Web fonts, boy, I don't know by colejohnson66 on Sunday November 06, 2016 @01:35AM (#12883697)
It's called Google Webfonts https://fonts.google.com/
Re:Web fonts, boy, I don't know by captn3m0 on Thursday November 03, 2016 @04:18PM (#12867563)
I was using a metered connection a few years back and made this plugin to disable all web-fonts: https://chrome.google.com/webstore/detail/disable-web-fonts/...

Source: https://github.com/captn3m0/disable-web-fonts

Helped me save lots of bandwidth.

Re:Web fonts, boy, I don't know by signal11 on Friday November 04, 2016 @06:18AM (#12871477)
I have this exact issue with web fonts. One neat trick I discovered on slow/flaky connections (think train passing through countryside) is that you can read the page quickly by going into iOS Safari's Reader View. It's a bit hit-and-miss though.

As a web author though, a big problem I have is that Android's default font set is pretty ugly, which is a big reason site owners want web fonts in the first place. Both Windows and macOS have a decent bundle of fonts. Android has Roboto, but using just Roboto for everything is a drag. And I'm not aware of any good serif font bundled with Android.

EDIT - for some of my sites I've set up the stylesheet so that iOS and Mac/Win get system fonts. Android and Desktop Linux get web fonts.

Re:Web fonts, boy, I don't know by dexterdog on Friday November 04, 2016 @02:07PM (#12874595)
Is it me or did that medium article make a big stink about using system fonts, but it sits on a page that has a font specified as medium-content-sans-serif-font which isn't even a URL-ed font. It is base-64-ed into the css file so the font is not even cacheable across sites if other people bothered to use it.
Re:Web fonts, boy, I don't know by colejohnson66 on Sunday November 06, 2016 @01:35AM (#12883699)
Probably because the web designer and post author aren't the same person?
Re:Web fonts, boy, I don't know by theandrewbailey on Thursday November 03, 2016 @03:41PM (#12867266)
> Would love an attribute on script and link tags that could be conditional based on connection speeds.

A fast connection can be faster than the site's capacity to serve resources to you. See also HN hug of death, etc.

I would like to think that the <script> defer attribute is already conditional, since it's almost instant on sufficiently fast connections.

Re:Web fonts, boy, I don't know by prodigal_erik on Thursday November 03, 2016 @03:05PM (#12866952)
> Would love an attribute on script and link tags that could be conditional based on connection speeds.

I can't help but think of Android's "battery saver" toggle, which leaves me wondering why there's a battery waster feature and why it's on by default.

Re:Web fonts, boy, I don't know by icebraining on Thursday November 03, 2016 @03:34PM (#12867208)
The opposite of saving is not wasting, it's spending. It's only a waste if you spend it badly.
Re:Web fonts, boy, I don't know by prodigal_erik on Friday November 04, 2016 @01:18PM (#12874220)
If the battery lasted a week I'd agree with you, but right now my phone happily risks leaving me unable to hail a ride home after happy hour.
Re:Web fonts, boy, I don't know by Spivak on Thursday November 03, 2016 @03:52PM (#12867348)
Sure, but if they made 'battery saver' the default and gave you a 'power boost' toggle would you even notice? When would you turn it on?
Re:Web fonts, boy, I don't know by bjt on Thursday November 03, 2016 @04:21PM (#12867585)
The screen would dim more aggressively and location-aware apps would be less accurate. Many users would be annoyed by this, though they might not know it was a result of the battery-saver setting.
Re:Web fonts, boy, I don't know by eterm on Thursday November 03, 2016 @04:27PM (#12867626)
If not pressing "power boost" meant that you didn't receive emails without your email app foregrounded, yes you'd notice.
Re:Web fonts, boy, I don't know by metellus on Thursday November 03, 2016 @04:45PM (#12867776)
When you turn battery saver on transition animations disappear (making everything feel less reponsive). The phone stops polling for updates as frequently. The screen dims. It's a noticeably worse experience because it does a lot to save battery. When I have plenty of battery or know that I'll be charging my phone soon I would much rather have all of those nice things than not. It's a tradeoff because the circumstances dictate how important saving battery is.
Re:Web fonts, boy, I don't know by angry-hacker on Thursday November 03, 2016 @05:11PM (#12867993)
At least my moto g becomes laggy. It's a trade off i guess. With battery saving taking calls is enough but no more.
Re:Web fonts, boy, I don't know by enraged_camel on Thursday November 03, 2016 @04:20PM (#12867572)
I think apps would just prompt you with "you need Power Boost mode for optimal experience with this app"
Re:Web fonts, boy, I don't know by marcosdumay on Thursday November 03, 2016 @04:27PM (#12867633)
That toggle disconnects the phone from any network, and only reconnects from time to time to update your apps.

You really don't want it on if you expect the phone to tell you when you have a new message.

Re:Web fonts, boy, I don't know by firasd on Thursday November 03, 2016 @03:10PM (#12867001)
Sometimes you want the richer resources though if you're on a better connection or the resources are cached rather than this being the first page load.

In my view we definitely need a "lazyload" attribute for script, link, and img elements.

I go into more detail about lazy loading for web fonts and images (and how I found that even resources in <body> can slow down stylesheets in <head>) here: https://hackernoon.com/dont-brake-for-fonts-3-web-performanc...

Re:Web fonts, boy, I don't know by Spivak on Thursday November 03, 2016 @03:18PM (#12867078)
Same with the "data saver" toggle, I turned it on when I first got my phone and haven't turned it off since.
Re:Web fonts, boy, I don't know by callalex on Thursday November 03, 2016 @05:34PM (#12868188)
That's different though. The tradeoff there is proxying all your internet traffic through Google servers.