Live data from Hacker News

Recursive, a free variable font for code and UI, now on Google Fonts

fonts.google.com

91–100 of 113 posts

Re: Recursive, a free variable font for code and UI, now on Google Fonts

#91
post #37

The capital 'A' renders very strangely for me. Firefox, OSX. https://i.imgur.com/DmxoWeM.png

Strange, usually if a font is rendered with that issue, it would be in several other letters, as well.

That is often from the font renderer using an “even-odd rule” in vector rendering.

https://en.wikipedia.org/wiki/Even%E2%80%93odd_rule

What is your OS & browser version?

Re: Recursive, a free variable font for code and UI, now on Google Fonts

#92
post #62

Earlier quoted context omitted.

Have you tried Inconsolata? I like Jetbrains Mono a lot too, but somehow still stick to Inconsolata, even after trying so many others so many times.

Yes. Inconsolata is really good, as is Consolas, and both have been two of my favorite fonts. But JetBrains Mono has clicked in my brain like no other font. It's just so pleasing to read, especially on a 4K monitor. On the terminal, my favorite font is "Liberation Mono". Some of the other good fonts are: Cascadia Code/Mono, Droid Sans Mono, Fira Code, Hack, Menlo, Source Code Pro, and Terminus. I just happen to like…

I'm surprised this is the only mention of Hack in this thread so far.

Re: Recursive, a free variable font for code and UI, now on Google Fonts

#93

The Google Fonts page doesn't really do justice to how dynamic this font is -- https://www.recursive.design/ has a live demo that shows more of the options, maybe the link should be changed to their demo. There are four dimensions and a few other flags that the font can be adjusted by in CSS: natural-width to fixed-width, Linear to "Casual", Font weight, Font slant, and cursive variants. By tweaking any of the variab…

Really cool demo indeed, but it lags a lot on my phone. Still a really great font

Yeah, we tried to pack maybe a few too many fun features into the minisite, so it is unfortunately a bit more laggy than ideal. Thanks for checking it out, though!

Re: Recursive, a free variable font for code and UI, now on Google Fonts

#94
post #8

Earlier quoted context omitted.

With parameter mono set to min. 0.5, you have a distinct 0 and O. And also serifs, nice font.

I like 0 vs O better, but 1 vs l worse: https://imgur.com/a/1tXx8aH

There is a stylistic set which allows you to get an unambiguous 1 vs l (ss05). See:

https://github.com/arrowtype/recursive#opentype-features

Also, there are fonts made specifically for code which have code ligatures & the simple l, f, 6, & 9 frozen in, if you like these features but don’t want to mess with OpenType features (or if your code editor doesn’t support that).

https://github.com/arrowtype/recursive/tree/main/fonts/rec_m...

Re: Recursive, a free variable font for code and UI, now on Google Fonts

#95

Any comments from someone using this font as a daily driver? I cant seem to move on from Source Code Pro (not that i'm looking to, just tried a couple and found myself clinging to Source Code Pro at the end of the day) This looks nice (similar to what I thought about JetBrains Mono)

I tried the mono version but a double forward slash glitches and overlays the next two characters - which kinda makes it unusable for anyone touching the web.

Can I ask what software you ran into that issue with? Probably, it was a strict-monospace environment, like vim in a terminal. I have created code-specific fonts to deal with this issue:

there are fonts made specifically for code which have code ligatures & the simple l, f, 6, & 9 frozen in, if you like these features but don’t want to mess with OpenType features (or if your code editor doesn’t support that).

https://github.com/arrowtype/recursive/tree/main/fonts/rec_m....

The issue doesn’t occur in web browsers, as far as I know, as they support proportional type (include mostly-mono families with a few proportional glyphs).

Re: Recursive, a free variable font for code and UI, now on Google Fonts

#97

Why isn't the plus character, '+', valid? Shows up as one of those empty box thingies. Maybe it is just a limitation of the preview? Or does the font really not include a plus character?

Haha, well spotted. Yeah, it seems to maybe be an issue of how Google Fonts sends preview text to the URL, and the “+” conflicts with the general separator. I’ve sent a message to the folks over there, and hopefully they will put it in their backlog to fix.

The font definitely has the “+” symbol, along with many other math & currency glyphs (and many more).

Please check it out (and try the preview/tester) at:

https://www.recursive.design/

Re: Recursive, a free variable font for code and UI, now on Google Fonts

#98

Would be nice for a "code" font if the '+' character was displayed correctly.

Ha, yeah, that is a Google Fonts UI bug, and I’ve sent a message to folks over there about it.

The font has math symbols that render well. :-)

Please check out the font and try the preview/tester at:

https://www.recursive.design/

Re: Recursive, a free variable font for code and UI, now on Google Fonts

#99
post #76

Can you download the font to the server and avoid Google on each page load? Or is it a copyright issue?

Good question. I might guess it's as free as most things in surveillance capitalism. Well, even if it were legal to host it yourself, most won't do it, so Google still cashs in on the surveillance side.

The font is under the OFL license, and you can definitely host it on your own server, no connection to Google required.

Re: Recursive, a free variable font for code and UI, now on Google Fonts

#100
post #13

Wow. That is cool. If you have a big negative slant, and auto cursive enabled, you get much more of a humanist sans-serif, versus a neo-grotesque without those parameters. That's a huge amount of character to build into one single font. And the absolute max size for the font is 281kb, and a more pared down version is about 100kb. Yes, I know, you'll protest, page bloat! But if I wanted to use a non-variable font, eac…

Thanks, it has been a fun project to work on, and you are correct about variable fonts offering more range in fewer bytes!

Another thing worth considering in a “page bloat” debate is that while a very extensive variable font is maybe 300 kb, that size is fairly average for a JPEG, but you can do far more with a variable font.

Post reply on HN