News for hackers. Stuff that matters.
Re:Stack Overflow switches to system fonts on May 10, 2021 by city41 on Thursday May 06, 2021 @11:38AM (#27064878)
I do this with all my websites. At the end of the day, a custom font just isn't very important for the vast majority of sites.

I do purposely leave Ubuntu out most of the time, because I find it's a pretty ugly font. I'm an Ubuntu OS user myself.

Re:Stack Overflow switches to system fonts on May 10, 2021 by tgsovlerkhgsel on Thursday May 06, 2021 @01:03PM (#27066171)
Ubuntu has the advantage of having a clear distinction between uppercase i and lowercase L.

In Arial, they're indistinguishable. In Roboto, you can see the difference if they're right next to each other (l is longer than I). Segoe UI has different variants but the one I've found on the MS web site has very similar or identical lI's, just like San Francsico.

I know, fixed width fonts would fix that, but not everything that should will be in those. And especially on a programming website, that matters.

Re:Stack Overflow switches to system fonts on May 10, 2021 by coldtea on Thursday May 06, 2021 @07:43PM (#27070250)
Those differences are more important on editors or programming websites, than for general text.

Reason being that in general text we don't read based on individual letters, we recognize "shapes" of words.

That's because it deosn’t mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist and lsat ltteer be at the rghit pclae. The rset can be a toatl mses and you can sitll raed it wouthit porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.

Re:Stack Overflow switches to system fonts on May 10, 2021 by anthony_romeo on Thursday May 06, 2021 @02:18PM (#27067202)
Trebuchet MS is an okay choice for distinguishing between l and I. I like it as a happy medium between Arial and Verdana as far as "basic" fonts go.
Re:Stack Overflow switches to system fonts on May 10, 2021 by greggman3 on Thursday May 06, 2021 @02:00PM (#27066965)
Fixed width fonts don't always fix it depending on context. Consider

    Your Passcode is: 6234024
Is that an O (oh) or a 0 (zero). It's an Oh. Of course often in a fixed width font the zero has a slash through it but if there's no zero nearby to compare it to most people won't notice.
Re:Stack Overflow switches to system fonts on May 10, 2021 by jraph on Thursday May 06, 2021 @02:47PM (#27067534)
It's a zero, right? Easily verifiable by copy-pasting it in a Python or JavaScript interpreter.

It's pretty noticeable with the monospace font that used on my system because O is more like a circle and 0 is thinner. There is no slash, and it is fortunate because it could be mistaken with Ø otherwise.

Re:Stack Overflow switches to system fonts on May 10, 2021 by jolmg on Thursday May 06, 2021 @03:19PM (#27067908)
> There is no slash, and it is fortunate because it could be mistaken with Ø otherwise.

Another option, like on my system, is that zeros have a dot in the middle.

Re:Stack Overflow switches to system fonts on May 10, 2021 by jayd16 on Thursday May 06, 2021 @02:36PM (#27067408)
>It's an Oh

Is it actually a zero or am I missing something?

Re:Stack Overflow switches to system fonts on May 10, 2021 by anf0 on Thursday May 06, 2021 @02:40PM (#27067460)
Looks like a zero to me. Unless it was supposed to be Ø?
Re:Stack Overflow switches to system fonts on May 10, 2021 by mro_name on Friday May 07, 2021 @02:32AM (#27072929)
do you mean the ohs in 'Your' or 'passcode' or are you joking?
Re:Stack Overflow switches to system fonts on May 10, 2021 by Izkata on Thursday May 06, 2021 @11:58AM (#27065192)
Likewise here, I've never liked the Ubuntu font. Something about it just feels slightly off, like those letter-shaped refrigerator magnets for kids.
Re:Stack Overflow switches to system fonts on May 10, 2021 by tgsovlerkhgsel on Thursday May 06, 2021 @01:04PM (#27066181)
From all the common sans-serif fonts I looked at, it's the only one that distinguishes between I and l.
Re:Stack Overflow switches to system fonts on May 10, 2021 by HDMI_Cable on Thursday May 06, 2021 @01:10PM (#27066259)
> I and l

It's even more prescient considering that on my screen, those two letters look exactly the same.

Re:Stack Overflow switches to system fonts on May 10, 2021 by dubcanada on Thursday May 06, 2021 @01:44PM (#27066748)
Raleway does, there is certainly a lot that don't but it's certainly not the only one.

https://fonts.google.com/?preview.text=l%20I&preview.text_ty...

Re:Stack Overflow switches to system fonts on May 10, 2021 by jraph on Thursday May 06, 2021 @02:51PM (#27067586)
Noto Sans, the default on my system, used on HN, clearly distinguishes them.

How is it good with the pipe? I l | 1

edit: very good. It is also good for 0, O and Ø. It is also very readable. A very good font.

Noto Mono is used for monospace, it has the same qualities. I really recommend this set of fonts.

Re:Stack Overflow switches to system fonts on May 10, 2021 by noir_lord on Thursday May 06, 2021 @03:41PM (#27068177)
The noto font is the default family on Fedora Cinnamon, it’s a beautiful clear font on everything from 2560 at 14” to 4K@27.

With JuliaMono for programming I’m finally happy with fonts everywhere :).

Re:Stack Overflow switches to system fonts on May 10, 2021 by globular-toast on Thursday May 06, 2021 @01:24PM (#27066453)
Are you sure it's not just what you're used to? I look at the Ubuntu font every day and when I look at the comparison posted elsewhere in the thread, Ubuntu looks the most normal to me.
Re:Stack Overflow switches to system fonts on May 10, 2021 by luke2m on Thursday May 06, 2021 @01:03PM (#27066173)
That’s a great way to describe it.
Re:Stack Overflow switches to system fonts on May 10, 2021 by dspillett on Thursday May 06, 2021 @12:05PM (#27065301)
> At the end of the day, a custom font just isn't very important for the vast majority of sites

IMO custom fonts are fine (beneficial sometimes, matching fonts used in any relevant logos and so forth) for titles and other big text, but for body text stick with something basic and/or familiar to the user.

Re:Stack Overflow switches to system fonts on May 10, 2021 by xdennis on Thursday May 06, 2021 @01:22PM (#27066422)
I put Ubuntu first because it's the most beautiful and unique. Frisco and Sagoe are yet-another-Helvetica-clones. You'd think they would have the money to pay for Helvetica... but I guess that's how you stay rich.
Re:Stack Overflow switches to system fonts on May 10, 2021 by tobr on Thursday May 06, 2021 @01:31PM (#27066559)
Neither San Francisco nor Segoe are at all similar to Helvetica. Apple used Helvetica as the iOS system typeface for years before switching to SF, so I don’t think the licensing cost is the main issue.
Re:Stack Overflow switches to system fonts on May 10, 2021 by RobertKerans on Thursday May 06, 2021 @04:28PM (#27068687)
Had it licensed from Linotype since the very early 1980s I think? It's literally one of the reasons for the Helvetica's cachet, Linotype were clever with their licences (Apple, Adobe, Xerox & it's a core postscript font).

Also, Helvetica clones exist mainly to get around licencing costs related to physical printers (if your software uses something metrically identical you can just use the existing postscript drivers). SF and Segoe are for UI text, which Helvetica is not suited to (Apple had to adjust the metrics to make it more usable, for example)

Re:Stack Overflow switches to system fonts on May 10, 2021 by smarx007 on Thursday May 06, 2021 @01:35PM (#27066613)
Actually, Segoe is a Frutiger clone, not a Helvetica clone. Also see https://en.wikipedia.org/wiki/Segoe#Licensing_controversy
Re:Stack Overflow switches to system fonts on May 10, 2021 by keb_ on Thursday May 06, 2021 @01:17PM (#27066363)
Maybe unpopular opinion: I love the Ubuntu font.
Re:Stack Overflow switches to system fonts on May 10, 2021 by coldtea on Thursday May 06, 2021 @07:40PM (#27070223)
>I do this with all my websites. At the end of the day, a custom font just isn't very important for the vast majority of sites.

I'd say a custom font isn't important for any site. Except perhaps a font fountry showcasing their wares.

I do wish OS and/or browser vendors added more agreed system fonts though (pre-installed and ready to go). So that we have a selection of say 100 fonts guaranteed to be on Windows, macOS, Linux, iOS, Android, FreeBSD... I guess adding emojis anually is more important...

Re:Stack Overflow switches to system fonts on May 10, 2021 by open-source-ux on Thursday May 06, 2021 @02:11PM (#27067113)
"At the end of the day, a custom font just isn't very important for the vast majority of sites."

I also believe performance should trump other design aspects of a website. This means including using the default Operating System (OS) font stack over a custom font if it means faster page loads.

However, I also recognise that a carefully chosen custom font plays a big part in the aesthetics of a website. It can set the tone of the website as well as giving it a distinctive look that sets it apart from other websites. Can you imagine books, posters, magazines, films etc all set in a limited palette of available fonts? The variety of typefaces available is infinite and the printed word is immeasurably richer for it.

There are ways of limiting the download size of fonts. For example, limiting typeface weights (e.g. 3 weights only: regular, bold, italic) can amount to approx 60kb of downloads in total (20kb per font x 3 using the WOFF2 font format). That might still be too much for many developers, but I suspect that images will be larger (and possibly JavaScript too).

Re:Stack Overflow switches to system fonts on May 10, 2021 by city41 on Thursday May 06, 2021 @02:25PM (#27067290)
I agree with you at least in theory. But the issue with web fonts is it's difficult to use them in a way that doesn't harm performance and also doesn't cause flashes of unstyled content. Every time I visit wired.com I find the font transition jarring and unsatisfying, honestly I think they'd be better off with system fonts.

Print media just doesn't have any downsides to custom fonts so there's no reason to not use them.

Re:Stack Overflow switches to system fonts on May 10, 2021 by AlbertoGP on Friday May 07, 2021 @04:34AM (#27073725)
I normally do not use webfonts either, although I do use a cascade of fonts ending in serif/sans-serif to use specific fonts if available. As you say, it’s not very important.

But there is one where it did matter: the Nigerian Oil Spill Monitor [1], a data entry and exploration application I built in 2013-2019.

I did try different free fonts, and found that with Ubuntu I could read the data much more accurately so I put it there as a webfont even if I was trying to minimize the amount of data loaded. (Internet bandwidth in Nigeria was not great at the time; many of our users used the application through shared GSM links.) Maybe by now, with the application’s users having better screens and improved font rendering, it would be fine to remove the Ubuntu font. Back then, with fewer pixels, it was the best way to pack information in the screen.

[1] https://sentido-labs.com/en/portfolio/#Nigerian-Oil-Spill-Mo...

Re:Stack Overflow switches to system fonts on May 10, 2021 by signal11 on Thursday May 06, 2021 @01:08PM (#27066239)
The fonts that ship with most Android installs are really uninspiring. That's one platform that really needs better built-in fonts, otherwise the "out of box" typography is pretty dreary -- it's effectively just Roboto which can get monotonous really fast, and a very mediocre (imo) Roman typeface.
Re:Stack Overflow switches to system fonts on May 10, 2021 by pvorb on Thursday May 06, 2021 @04:18PM (#27068581)
I think "boring" is what we should aim for when it comes to system fonts. This way, the typeface will get out of your way and you can really focus on content. Using fonts that have a special feeling works quite well if you want to get attention, so it's good for ads and okay for headings sometimes, but for body text it's better to use a boring font.
Re:Stack Overflow switches to system fonts on May 10, 2021 by signal11 on Friday May 07, 2021 @04:29AM (#27073698)
Roboto is reasonably boring but the real issue is, on most Android phones it’s the only decent font, so it’s a bit monotonous, but as a font Roboto’s fine.

However the Droid Serif font that ships with Android isn’t boring — it’s just awkward. Blockier than Times New Roman, with serifs that jut out. Reading a page of text in it does make me notice the font — and not in a good way.

Re:Stack Overflow switches to system fonts on May 10, 2021 by Andrew_nenakhov on Thursday May 06, 2021 @02:58PM (#27067667)
I, for one, really like Ubuntu font. However, I would rather prefer it not be used as a default on websites I frequent.