News for hackers. Stuff that matters.
Re:Nebula Sans by jofzar on Saturday April 05, 2025 @03:41AM (#43591690)
I can't believe I am learning of tabular options for fonts from this post... I have always just used a different monospace font for the numbers, didn't realize it was an option that some fonts supported.

{font-variant-numeric: tabular-nums}

Re:Nebula Sans by robin_reala on Saturday April 05, 2025 @03:51AM (#43591742)
You’re not the only one to be fair. I had to point this out to GitHub just last November: https://github.com/primer/css/pull/2680
Re:Nebula Sans by jofzar on Saturday April 05, 2025 @03:58AM (#43591774)
Yeah it makes so much sense it's a feature I just feel like I have never seen it before.
Re:Nebula Sans by robin_reala on Saturday April 05, 2025 @04:01AM (#43591790)
The CSS hooks in to OpenType font functionality, and there’s a load of other features that can be built in. Wikipedia has a good overview: https://en.wikipedia.org/wiki/List_of_typographic_features
Re:Nebula Sans by Gare on Saturday April 05, 2025 @04:31AM (#43591898)
Not only that, some fonts have a vast number of tweaks available: https://rsms.me/inter/#features
Re:Nebula Sans by bbx on Saturday April 05, 2025 @07:19AM (#43592492)
Inter is a great suggestion to try out modern font features. The lab is really useful: https://rsms.me/inter/lab/
Re:Nebula Sans by mbrezu on Saturday April 05, 2025 @05:16AM (#43592090)
Look for opentype features in https://practicaltypography.com/. There is more fun stuff, right next to tabular numbers.

And if you want more, there is also https://www.google.com/url?sa=t&source=web&rct=j&opi=8997844....

Re:Nebula Sans by amarshall on Saturday April 05, 2025 @06:27AM (#43592328)
Tabular numerics are great! Of course not all fonts implement them.

If only Apple could figure this out and use it for the iOS clock app.

Re:Nebula Sans by subscribed on Saturday April 05, 2025 @06:31AM (#43592340)
This is neat, thanks.

Reminds me of how fira code (my favourite font for code) can be adjusted to match the preferences.

Re:Nebula Sans by gorgoiler on Saturday April 05, 2025 @07:03AM (#43592433)
After the Handgloves specimen, the next part of the page is black with tiny writing. My awful eyesight and mobile scrolling priors caused my brain to assume I had reached the bottom of the page and stop scrolling.

Thanks for pointing out, indirectly, that there’s a lot more content than I had assumed!