News for hackers. Stuff that matters.
Re:Font loading on the web by ksec on Monday February 01, 2021 @12:46PM (#25991067)
> 95 % of websites should just use system fonts.

Although I do wish there are a few standard font that is shipped across all browser. Sometimes I want the website to appear exactly the same on all System.

Re:Font loading on the web by jfk13 on Monday February 01, 2021 @01:02PM (#25991300)
The site should appear exactly the same in a fullscreen browser on a 27" desktop monitor, and on an original iPhone? That's rarely a useful goal.

For a page that really needs to look "exactly the same" everywhere it's viewed, maybe PDF is a better choice than HTML+CSS.

Re:Font loading on the web by sudosteph on Monday February 01, 2021 @01:18PM (#25991511)
See my comment to the parent for an example of a site that needs to look the same (or rather - a portion of site - an HTML Canvas) that has to look the same on every device and which needs a specific font loaded to work properly. For my case, having a font that was guaranteed the same in every browser would have been very nice, and I would have gladly used that if it worked and fit the theme closely enough.
Re:Font loading on the web by postalrat on Monday February 01, 2021 @01:21PM (#25991547)
Are you a designer?

If you want your document to look the same on all systems create an image.

Re:Font loading on the web by kgin on Monday February 01, 2021 @01:24PM (#25991591)
That's definitely the correct move given how browsers work, but I don't think it's wrong to wish for font consistency.
Re:Font loading on the web by giantrobot on Monday February 01, 2021 @02:38PM (#25992689)
Even if there was consistency in the actual fonts their rendering depends on the platform/engine or even just the device settings. If you want precise display metrics you should use an image (SVG counts). If I've got large text enabled on my phone we could have the same exact device and my display metrics won't match yours.
Re:Font loading on the web by SilasX on Monday February 01, 2021 @03:23PM (#25993324)
Nice, but it's more important for my browser not to leak information about me via what fonts I needed to download.

Also, it gets really annoying when sites demand that my desktop look like my mobile phone but blown up really big. Twitter's already that way, and the Facebook redesign did the same thing.

Re:Font loading on the web by marcthe12 on Monday February 01, 2021 @11:21PM (#25997398)
There are a few metric compatible fonts used by stuff like pdf. and so on. I believe an alias for these fonts are needed. Obviously add an emoji and UI font. that will be the best
Re:Font loading on the web by robertoandred on Monday February 01, 2021 @04:19PM (#25994122)
There are a few standard fonts, but no one wants to use them.
Re:Font loading on the web by pvorb on Tuesday February 02, 2021 @12:37AM (#25997760)
And with smartphones, they're no longer installed on every system. I really wish that Chrome and probably other browsers would install a set of fonts from Google Fonts. I don't see a reason why this shouldn't be possible. That's what most sites use, anyway. I guess it's related to Google being able to track usage of these fonts.