top | item 7360996

Show HN: Luculent, a new code/terminal font

120 points| a_e_k | 12 years ago |eastfarthing.com | reply

96 comments

order
[+] nollidge|12 years ago|reply
Still haven't found anything that beats Consolas (at least on Windows machines). Inconsolata comes close, but the strokes are a bit thin and spacing is too crowded.

EDIT: OK actually I just tried the hinted TTF version of Inconsolata from Google Fonts [0] and the stroke width is way better. Still crowded - like each glyph takes up juuuuuust a little too much of its bounding rectangle (whatever you would call that).

[0] http://www.google.com/fonts#UsePlace:use/Collection:Inconsol...

[+] chavesn|12 years ago|reply
I use Mac, not Windows, so I'm sure I see them rendered quite differently than you, but I prefer Source Code Pro.[1][2] They are extremely similar and I agree nothing else comes very close.

It's the lower-case 'i' that does it for me.[3]

Fewer serifs in general allow me to read more quickly, I feel. 'i' has 1 to Consolas' 3, while lower case 'l' (L) has 2 to Consolas' 3.

One negative is that I much prefer Consolas' 0-with-slant to Source Code Pro's 0-with-dot.

By the way, the first link below is from a very cool resource I just found with votes and comparisons of many of the most popular choices: http://www.slant.co/topics/67/~what-are-the-best-programming... (It seems the web has become more informative on this topic than the last time I surveyed all the font options.)

Finally, this is what the designer of Source Code Pro, Paul D. Hunt, had to say about the two[2]:

> Consolas is narrower than most monospaced fonts at 55% of the Em square, where I stuck with 60% for Source Code. If the narrowness is a top selling point for you, then Consolas is definitely king.

[1]: http://www.slant.co/topics/67/viewpoints/5/~what-are-the-bes...

[2]: http://blogs.adobe.com/typblography/2012/09/source-code-pro....

[3]: http://blogs.adobe.com/typblography/files/2012/09/Confusable...

[+] RussianCow|12 years ago|reply
I like Source Code Pro as well, but I agree that nothing beats Consolas. It's just such a well-designed font, and works so well on Windows.
[+] DanielStraight|12 years ago|reply
Always appreciate a new code font. This one seems to have a very laid-back, "fun" style, which is really not for me, but still nice to see work in this area.

(For reference, I use DejaVu Sans Mono, which is wonderfully plain and simple.)

[+] a_e_k|12 years ago|reply
Thanks. I can't say that I ever really thought of it as having a particularly "fun" style. Monaco and Monofur and some others always seemed far more so to me. It could just be that it feels plain to me at this point due to familiarity, however.

And yes, Deja is a good alternative too. I certainly used that one for a while.

[+] sprokolopolis|12 years ago|reply
I used Deja Vu for a long time, but have since moved to Source Code Pro. I am loving it.
[+] donut2d|12 years ago|reply
I am enjoying this font. At first when I saw the screenshots I thought I wouldn't. But, I like to give every new "programmer" font a try. I tried it and I didn't like it at first but it's quickly growing on me. Seems to work best at 13px in SublimeText 3 on my rMBP. If I make it smaller then I feel the need to add line padding.

Before this I was using Fantasque Sans Mono[1]. Thanks for sharing!

[1]: https://github.com/belluzj/fantasque-sans

[+] antonios|12 years ago|reply
Fantasque is really nice, thanks!
[+] aric|12 years ago|reply
Here's an incomplete list I tested awhile ago:

  Andale Mono
  Bitstream Vera Sans Mono
  Consolas
  Courier
  Courier New
  DejaVu Sans Mono
  Droid Sans Mono
  Inconsolata
  Liberation Mono
  Lucida Console
  Monaco
  Source Code Pro
  Verdana  // yeah, Verdana is still a king of small
Luculent appears awkwardly tall, thin, and squished in Sublime. Very hard on my eyes. Playful "i" but way too hectic altogether. I appreciate the thoughtfulness in approach and hope it works well for others. For all the people who love Verdana: the DejaVu or Bitstream (nearly the same, same author) typefaces are the closest. Still using DejaVu Sans Mono for now.
[+] huhtenberg|12 years ago|reply
Dina and Anonymous Pro.

Not sure why you have proportional Verdana on the list though.

[+] thristian|12 years ago|reply
No Envy Code R?
[+] jamesbritt|12 years ago|reply
Thanks for this. I think I will stick with Inconsolata but I'm glad people are making new fonts and trying things out.
[+] auvi|12 years ago|reply
Yeah I agree. I have tried several fonts and finally gravitated to Inconsolata.
[+] snogglethorpe|12 years ago|reply
My current favorite monospaced/coding font is (or, was) "Cosmic Sans Neue Mono"

It's apparently been renamed to "Fantasque Sans Mono", in part because it was suffering from the name similarity to Comic Sans... (a shame, I thought that was kind of funny :)

https://github.com/belluzj/fantasque-sans

http://openfontlibrary.org/en/font/fantasque-sans-mono

I find it nicely quirky/playful looking compared to the somewhat stolid appearance of many monospaced fonts, while still being extremely readable and practical... :]

[+] noir_lord|12 years ago|reply
Terminus at 16pt - http://i.imgur.com/cHk7yUE.png

I spend my life in idea IDE's on Linux and thanks to the shonky font rendering in swing apps on Linux the only two that I can standard are Deja Vu Sans Mono (which is nice) and Terminus at 16pt which then looks like Terminus bitmapped.

[+] hjst|12 years ago|reply
You're probably already aware of this, but just in case: it's possible to force Swing (and AWT) apps to use the system's font rendering with the "swing.aatext" and "awt.useSystemAAFontSettings" respectively.

I have the following in my IDEA .desktop file:

export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true' && idea.sh %u

This is the result: http://i.imgur.com/3V9Nf3k.png

[+] kremlin|12 years ago|reply
The first thing I always, always look at when reviewing a new monospace font for coding is I look at the 'l'.

The first time I googled monospace fonts, you see, to decide what I wanted to use when I was setting up my first IDE (intelliJ, I think it was), I saw a bunch of images of different fonts, and when I saw the 'l' of DejaVu Sans, my jaw dropped. It was beautiful.

You have that similar style of l. Source Code Pro has it, as does Ubuntu Mono and Menlo. It's that straight notch at the top with the curvy tail at the bottom. I love it. It's kinda quirky but elegant at the same time.

I'm still using DejaVu because many of those other ones have the asterisk symbol appearing too low for my taste.

I like your font. I see what someone else meant when they said it looks kinda 'fun'.

In your screenshot in the top left, I noticed the word 'int' looks a bit wonky. the n and t are kinda leaning into each other, with the i leaning outward. Character balance is a hard thing to achieve, I've read. Keep working on it, it's a very lovely project.

[+] kremlin|12 years ago|reply
Found Menlo for Windows and gave it a shot. The "i" italic is way too slanty, it looks weird with syntax highlighting.

Then I found Meslo, which is some guy's attempt to copy Menlo and make it available for windows; this fixes my problem with Menlo, and also fixes my only problem with DejaVu : the dotted zeroes as opposed to slashed zeroes.

Current monospace font recommendation: Meslo https://github.com/andreberg/Meslo-Font

[+] a_e_k|12 years ago|reply
Thanks. As for "int", I can see the argument regarding the positioning of the i. I suspect that's because I chose to have the larger dot follow the top curve and lean to the left. (It looked much more odd leaning to the right). I think this gives the illusion of the whole thing being more left balanced. I might see about switching it to round towards the left when centering the stem.
[+] maxharris|12 years ago|reply
The site claims that it's 'crisp,' but the sample pngs are blurry on my Mac.

(Yes, I know why this is the case technically, but I don't need to get into that to make my point.)

[+] a_e_k|12 years ago|reply
Macs ignore hinting when rendering antialiased. Try the prehinted version (probably 72 or 144 DPI). It also works best with dark on light on the Mac due to gamma.

Regarding PNGs, the samples are rendered with hRGB subpixel rendering. I don't think Macs have ever used anything else, but that may be a possibility. Hopefully its not just browser resizing.

[+] jkrems|12 years ago|reply
The "i" seems to be positioned weirdly (not a font expert). What I mean is that "int", "unsigned" and "Wizard" all look like the "i" is shifted slightly to the left.
[+] timdorr|12 years ago|reply
That's commonly referred to as Kerning: http://en.wikipedia.org/wiki/Kerning

I find that the biggest problem with the font as well. For a monospaced font, it doesn't look all that monospaced. Many of the glyphs have odd positioning. It gives the font a look of activity or "fun-ness" that doesn't match well with it's intending purpose as a coding font.

[+] donut2d|12 years ago|reply
It does feel a bit weird. However, I do like the "fun" feeling of `if` statements now.
[+] l33tfr4gg3r|12 years ago|reply
My terminal font of choice in recent times is Hermit (https://pcaro.es/p/hermit/) - very readable anti aliased font both in the terminal and within IDEs (on Linux). Somehow doesn't render as well on Windows (but then again, who uses Windows for serious work anyway ;)). I can't wait to try this out once I get my hands on my personal workstation, since there's no such thing as too many programming fonts.
[+] techwizrd|12 years ago|reply
Luculent looks interesting, but I still haven't found anything that beats Ubuntu Mono on my machine. I think it's interesting that coding font preferences differ based on operating system. Regardless of operating system, the favorites I tend to see on threads like this are Ubuntu Mono, Dejavu Sans Mono, Inconsolata, Consolas, Source Code Pro, and Monaco.
[+] xiljin|12 years ago|reply
I like to test drive new fonts whenever they pop up, but I always come back to Ubuntu Mono! For anyone wanting to see/try it -

http://font.ubuntu.com/

[+] fournm|12 years ago|reply
Definitely appreciate a new code font, even if this one doesn't so much look like it'd meet my everyday use. It's a bit too "thin", for lack of a better word, even if it does meet most of my requirements for distinguishing characters/numbers quickly.

But oh man do I love how readable that is at 5x11 pixels. That's beautiful, good work.

[+] a_e_k|12 years ago|reply
Thanks, glad you like the small sizes.

By "thin", do you mean narrow and condensed, or do you mean the weight of the stems? For the former I wanted a decent amount of code to fit on a line -- I tend not to like the expanded look of some fonts and prefer something a bit more condensed. If you mean the weight, that's something of a design constraint due to trying to keep it crisp at low resolutions by grid-fitting to whole pixel boundaries.

[+] sdegutis|12 years ago|reply
Yeah, I'd say it's too narrow for my tastes. But it's good to have more options.
[+] arm|12 years ago|reply
OS X user here. While I generally prefer Menlo¹ myself, I’ve found myself predominantly using Everson Mono² simply because of the wide range of characters it supports in Unicode’s BMP (and unbelievably, SMP as well!). I’m pretty sure it contains glyphs for more Unicode codepoints than any other monospaced font mentioned here. Not to mention that it was created by Michael Everson³, who has made a sizeable number of contributions to the Unicode Standard himself.

――――――

¹ — https://en.wikipedia.org/wiki/Menlo_(typeface)

² — https://en.wikipedia.org/wiki/Everson_Mono

³ — https://en.wikipedia.org/wiki/Michael_Everson

[+] _xhok|12 years ago|reply
Two quality fonts that I haven't seen mentioned here yet: Bitstream Vera Sans Mono, Pragmata Pro.
[+] wanda|12 years ago|reply
Pragmata Pro has been my favourite for the last year or so, and was the first font to truly displace fixed 6x13

... but recently I've been addicted to Cousine.

[+] seniorsassycat|12 years ago|reply
Cool looking font, it reminds me of my handwriting style (especially the italicised version). If the author is around, can you explain why you chose to extend the brackets and parens below the base line of the other characters?
[+] a_e_k|12 years ago|reply
Thanks, and I'd be happy to explain. They extend from the bottom of the descenders to the top of the ascenders. So if you look at something like: [h][a][g], you'll see the 'a' is roughly centered and the top of the h and the bottom of the g line up. So for things like foo() and class blah { ... }; the o and semicolon are roughly centered vertically on the opening paren and closing brace, respectively.

If you look at Consolas, for example, you'll see this is hardly unique.

[+] codequickly|12 years ago|reply
This looks decent but not so great when using large sized fonts. I have yet to find a better font for my terminal than NanumGothic (http://dev.naver.com/projects/nanumfont/download). It was created from a large Korean web company called Naver and I love the horizontal spacing especially when using larger sized fonts (ie size 16 and above since I like fonts large on terminal)
[+] hoilogoi|12 years ago|reply
Not unpleasant. The 'i' feels funny and I'm not sure about the curvy 'y'. Maybe it's too similar to 'g'. But really not unpleasant.
[+] ceeK|12 years ago|reply
Looks good and I'm sure it'd appeal to a good chunk of people, but it's not for me I don't think.

User feedback: for me a font is more than something that is easily read. I value font's that, in some way, make it _fun_ to write. For example, the font with iA Writer is almost addicting in the way it tempts me to write more. Of course, however, you would want monospaced fonts for coding...