News for hackers. Stuff that matters.
Re:Load Google Fonts Faster in WordPress by adrianN on Thursday April 04, 2019 @01:17AM (#19569519)
Or you could just use standard fonts and save the bandwidth. sans-serif never hurt anybody.
Re:Load Google Fonts Faster in WordPress by lifthrasiir on Thursday April 04, 2019 @01:29AM (#19569571)
Unfortunately in some languages default fonts are simply horrible.
Re:Load Google Fonts Faster in WordPress by darekkay on Thursday April 04, 2019 @02:35AM (#19569808)
That's why many define a "default font stack" - basically a default for each device:

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
Re:Load Google Fonts Faster in WordPress by sanxiyn on Thursday April 04, 2019 @03:35AM (#19570063)
On your list, Ubuntu font does not cover Hangul (>50 million people) at all for example. You are blessed to write in writing systems with good default fonts.
Re:Load Google Fonts Faster in WordPress by darekkay on Thursday April 04, 2019 @09:07AM (#19571791)
Not all of the 50 million people use Linux, so they should be covered with the previous fonts. But i'm curious - if some character cannot be displayed, will the browser try the next (or fallback) one automatically? I've been using this list for quite some time, but maybe it's time to revise it.
Re:Load Google Fonts Faster in WordPress by seba_dos1 on Thursday April 04, 2019 @06:44AM (#19570759)
Oxygen isn't default on Plasma for quite a long time already. It's Noto.
Re:Load Google Fonts Faster in WordPress by lifthrasiir on Thursday April 04, 2019 @02:54AM (#19569888)
It is fortunate that you have a lot of fonts to fill with.
Re:Load Google Fonts Faster in WordPress by adrianN on Thursday April 04, 2019 @01:48AM (#19569635)
Oh that's interesting. Do you have examples? That sounds like a bug in the user agent to me.
Re:Load Google Fonts Faster in WordPress by lifthrasiir on Thursday April 04, 2019 @03:19AM (#19569990)
You have essentially four cases for Korean fonts:

- Gulim and Dotum, two sans-serif typefaces introduced with Windows 95 (!!!!!!) [1]. They have hand-fitted bitmaps (which are not that bad for small pixelated displays) and awfully hinted vectors. Their monospaced variants (Gulimche & Dotumche) still remain as the only portable choice for monospaced Korean fonts.

- Malgun Gothic, a sans-serif typeface introduced with Windows XP. Yeah this got much better! Except that it is not well hinted and thus eye-jarring for smaller texts (hopefully this concern will be obsoleted in the future). Also in my opinion it is slightly unbalanced than other alternatives.

- Noto & Source Han Sans CJK, a sans-serif typeface shipped with Android. This is even better than Malgun Gothic, except that it does not ship with Windows (hahaha). Its monospaced version is also very good, except that it does not ship with Windows and Android (you read right).

- And of course Apple Korean fonts. In the past they shipped AppleGothic which is slightly better than Malgun Gothic, and nowadays they ship Apple SD Gothic Pro which pretty much matches well with Noto Sans CJK.

Thus you go with Noto Sans CJK, Apple SD Gothic Pro, Malgun Gothic, and (hopefully never) Gulim or Dotum. And you know what? There is essentially a single different Korean font acceptable for each platform and their metrics drastically vary (Malgun Gothic is the biggest outlier IMO). And note that serif fonts are completely absent in this list---there is really the single most portable serif Korean font there, namely Batang, in the same page with Gulim and Dotum. If you want serif fonts in your web page you are simply doomed.

There are numerous attempts to improve Korean web typography. Spoqa Han Sans [1], an extremely subsetted version of Noto Sans CJK, is a good example. And it still weighs 441KB---at such size it will be a full-featured font for English but for Korean it is barely comfortable. And I don't know what can be done with this.

[1] Their prototypes were much older, back to Windows 3.1.

[2] https://spoqa.github.io/spoqa-han-sans/en-US/

Re:Load Google Fonts Faster in WordPress by progfix on Thursday April 04, 2019 @03:55AM (#19570140)
and not get your users tracked by google.
Re:Load Google Fonts Faster in WordPress by supermatt on Thursday April 04, 2019 @01:22AM (#19569540)
sans serif isn't a font, it is a classification
Re:Load Google Fonts Faster in WordPress by adrianN on Thursday April 04, 2019 @01:24AM (#19569546)
No, but that's what I write in CSS if I want to use whatever sans serif font the user agent thinks is best.
Re:Load Google Fonts Faster in WordPress by supermatt on Thursday April 04, 2019 @02:15AM (#19569741)
Thats a good call in many cases, but it's definitely important to have more control when working to constraints. Generic family fallbacks can vary wildly in their box sizing.
Re:Load Google Fonts Faster in WordPress by jovisjoseph on Thursday April 04, 2019 @01:26AM (#19569559)
https://css-tricks.com/sans-serif/

HOpe this helps for those who are wondering what sans-serif does exactly