10 ms·
Show HN: Luculent, a new code/terminal font
- maxharris 13y agoThe 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 13y agoMacs 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.
- Kronopath 13y agoThe fact that light-on-dark text looks terrible on Macs isn't due to gamma—it's due to the fact that subpixel rendering for light-on-dark text is broken on Macs. More info: http://www.lighterra.com/articles/macosxtextaabug/ http://www.lighterra.com/articles/macosxtextaabug/ Generally I like Mac OS X's font rendering much better than Windows's, but this is one aspect that drove me up the wall when I was redesigning my personal website. (I wrote a bit about the issues I had with this bug in this article: http://kronopath.net/blog/dawn-of-a-new-day/ http://kronopath.net/blog/dawn-of-a-new-day/. Search for "The bug".)
- IE5point5 13y agoRetina MBP owner complaining because of their own choice of hardware?
- DanielStraight 13y agoAlways 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 13y agoThanks. 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.
- blueblob 13y agoOverall, great font! The only thing that I don't like is the lowercase i, but maybe I am just being picky. All of the characters are very easy to distinguish.
- Sir_Cmpwn 13y agoI also use DejaVu Sans Mono. It looks like this, if anyone is curious: https://mediacru.sh/MuTmREloZ64x https://mediacru.sh/MuTmREloZ64x
- sprokolopolis 13y agoI used Deja Vu for a long time, but have since moved to Source Code Pro. I am loving it.
- Legion 13y agoSource Code Pro looked good when I saw it in webpage images, but when I switched my iTerm2 to it, it looked very... stumpy. Have not tried it in Linux yet. But DejaVu is the only font yet that I've found satisfying on both Mac and Linux (with Ubuntu's font rendering patches)
- ceeK 13y agoLooks 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...
- fournm 13y agoDefinitely 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.
- sdegutis 13y agoYeah, I'd say it's too narrow for my tastes. But it's good to have more options.
- a_e_k 13y agoThanks, 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.
- fournm 13y agoI think it's the weight that's throwing me off--and yeah, I realized they were probably linked after I said it.
- jkrems 13y agoThe "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 13y agoThat's commonly referred to as Kerning: http://en.wikipedia.org/wiki/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.
- marcoamorales 13y agorelevant: http://xkcd.com/1015/ http://xkcd.com/1015/
- donut2d 13y agoIt does feel a bit weird. However, I do like the "fun" feeling of `if` statements now.
- moron4hire 13y agoI'm all about the DejaVu Sans Mono: http://dejavu-fonts.org/wiki/Main_Page http://dejavu-fonts.org/wiki/Main_Page Best combination of readability and massive selection of Unicode glyphs of any fontface I've found.
- mistaken 13y agoDo the ISO-8859-2 charset pretty please!
- a_e_k 13y agoI certainly plan to keep expanding it. That one's on my list.
- donut2d 13y agoI 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 https://github.com/belluzj/fantasque-sans
- antonios 13y agoFantasque is really nice, thanks!
- bennyg 13y agoReminds me of the TwitchPlaysPokemon phenomenon lately.
- jamesbritt 13y agoThanks for this. I think I will stick with Inconsolata but I'm glad people are making new fonts and trying things out.
- auvi 13y agoYeah I agree. I have tried several fonts and finally gravitated to Inconsolata.
- gavinpc 13y agoIf you've spent time searching around for a great coding font, I recommending giving proportional fonts a try. Chances are your system has a proportional font with everything (else) you want. "But things won't line up, right?" Not exactly, but I find that such concerns were a bit of a distraction, anyway. With a little emacs command, I can switch back to monospace when needed, which isn't all that often. Like others, I applaud the OP's work and always appreciate a new typeface. Just wanted to share the viewpoint.
- monkey_slap 13y agoInconsolata is my favorite too. I've actually moved to Inconsolata-g because of the "0"s http://leonardo-m.livejournal.com/77079.html http://leonardo-m.livejournal.com/77079.html
- unfunco 13y agoI moved away from Inconsolata because of the lowercase g, and I was excited about your link until I saw that despite it being called Inconsolata-g, the g has remained the same. Instead I now use the packaged font that comes with Espresso (Espresso Mono) (but I use it with Sublime Text, you can find the font in the Espresso package) and it's treating me well so far. Here's an example, you might not like the zero: http://i.imgur.com/QNpR2Og.png http://i.imgur.com/QNpR2Og.png
- mantrax 13y agoGod damn, that's an ugly one. Super-thin, and look at the lowercase "i" slant backwards so much, it merges with the character before it, especially at small sizes.
- snogglethorpe 13y agoIt's the "square/angular" look I don't like. I prefer a rounded font.
- seniorsassycat 13y agoCool 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 13y agoThanks, 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.
- stevenleeg 13y agoInteresting. Thanks for sharing this font! I've been trying it out for a bit and really like its feel. Great work!
- ineedtosleep 13y agoDefinitely agree with some of the other posts here: looks like something I would use if I still played MUDs due to its playful feel.
- l33tfr4gg3r 13y agoMy terminal font of choice in recent times is Hermit (https://pcaro.es/p/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.
- hoilogoi 13y agoNot 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.
- mek 13y agoThanks for this! I Will try to use it in my app that generates analytics pdf! For coding I will stick to Anonymous Pro (which no one has mentioned yet!!)
- codequickly 13y agoThis 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 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)
- teejmya 13y agoI want it on my iPad http://www.reddit.com/r/jailbreak/comments/1ztsah/requestfont_luculent_a_family_of_scalable_vector/ http://www.reddit.com/r/jailbreak/comments/1ztsah/requestfon...
- cormullion 13y agoThere's an app for that: https://itunes.apple.com/gb/app/anyfont/id821560738?mt=8 https://itunes.apple.com/gb/app/anyfont/id821560738?mt=8
- sleepybrett 13y agoThis font is too condensed and becomes unclear because of it.
- nollidge 13y agoStill 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:Inconsolata http://www.google.com/fonts#UsePlace:use/Collection:Inconsol...
- RussianCow 13y agoI 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.
- antonios 13y agoConsolas stands out on Windows as it's highly tuned with ClearType in mind. Many excellent fonts that render fine on MacOS are almost unbearable on Windows, like Inconsolata.
- RussianCow 13y agoAgreed, which is why I've had a hard time finding a good alternative to Consolas on Windows. On other platforms I like Source Code Pro.
- xiaomai 13y agoI use it on Linux and it works really well too (at least it does with Ubuntu's font rendering or Infinality).
- deleted 13y ago[deleted]
- chavesn 13y agoI 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-fonts 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-best-programming-fonts~source-code-pro http://www.slant.co/topics/67/viewpoints/5/~what-are-the-bes... [2]: http://blogs.adobe.com/typblography/2012/09/source-code-pro.html http://blogs.adobe.com/typblography/2012/09/source-code-pro.... [3]: http://blogs.adobe.com/typblography/files/2012/09/Confusable_Chars.png http://blogs.adobe.com/typblography/files/2012/09/Confusable...
- drvortex 13y agoGood work, though I largely prefer Source Code Pro (Medium). This is probably the most well-done monospace font I've seen. If you want to take a look see here : http://store1.adobe.com/cfusion/store/html/index.cfm?event=displayFontPackage&code=1960 http://store1.adobe.com/cfusion/store/html/index.cfm?event=d...
- Turing_Machine 13y agoNice work. I'm in the middle of a big project so I don't want to take time to get used to a new font right now, but will try it again when I have some downtime. N.B. I'm using Inconsolata right now, and have been for quite a few years.
- samatman 13y agoAlways happy to try out a new monospace! NB: In Mac Terminal, the box drawing characters don't connect. This is far more common than not, the easiest-access font that does this correctly is Monaco. I mention because the home page lists the box drawing characters as a feature.
- a_e_k 13y agoInteresting. I thought I'd tested that fairly recently, but I'll check that again. Do you see the gaps vertically between lines or horizontally between adjacent characters? (Or both?)
- techwizrd 13y agoLuculent 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 13y agoI 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/ http://font.ubuntu.com/
- noir_lord 13y agoTerminus at 16pt - http://i.imgur.com/cHk7yUE.png 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 13y agoYou'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 http://i.imgur.com/3V9Nf3k.png
- noir_lord 13y agoThanks and yes I've played with those settings. While much better not quite right still and also I have some screens rotated so I have hrgb and vrgb which looks fuzzy, I played with setting it to gasp/lcd. Using Terminus because it is a pixel perfect font with no aliasing means that rotation etc just don't matter.
- kremlin 13y agoThe 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 13y agoFound 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 https://github.com/andreberg/Meslo-Font
- kremlin 13y agoscreenshot of meslo in action in dark ide (pycharm) http://i.imgur.com/dSw8e2W.png http://i.imgur.com/dSw8e2W.png
- a_e_k 13y agoThanks. 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.
- brandonhsiao 13y agoTwo quality fonts that I haven't seen mentioned here yet: Bitstream Vera Sans Mono, Pragmata Pro.
- wanda 13y agoPragmata 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.
- userbinator 13y agoI can still remember a time when monospace, aliased bitmap fonts were preferred by the majority of coders, but it seems things have changed especially in the past few years... but I still prefer the standard X fixed fonts with their zeros slashed and find antialiased fonts more difficult to focus on.
- jowiar 13y ago> things have changed especially in the past few years In one word: Retina.
- aric 13y agoHere'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.
- thristian 13y agoNo Envy Code R?
- aric 13y agoThanks, checking it out. Just A/B'd them. Envy Code R is good. However, it falls short for me. DejaVu is more readable, filling more of the space, and DejaVu packs more lines in with a smaller default line height. Envy's curly brackets are too whimsical for their own good; they're abrasive yet too similar to square brackets when unfocused, scanning quickly. I like Envy's actual style otherwise though (in a larger size). I'll keep it in mind for design.
- fmela 13y agoI'll add my favorite to your list: Latin Modern Mono. It's based on the Computer Modern font designed by Donald Knuth. http://www.gust.org.pl/projects/e-foundry/latin-modern/index_html#download http://www.gust.org.pl/projects/e-foundry/latin-modern/index...
- aric 13y agoThanks. That's quite the collection. I just tried all of those Latin Modern Mono size variations but they don't sit well with me for code. With and without anti-aliasing, it's very heavy/blotchy in parts of most of the letters. It's on the order of a typewriter style. As with the other recommendation, it's still a good style in a large size.
- eskil 13y agoMensch, an older code/terminal font. http://robey.lag.net/2010/06/21/mensch-font.html http://robey.lag.net/2010/06/21/mensch-font.html
- sergiosgc 13y agoVery nice. I'll stick with Proggy Clean but, as it is fixed size, and displays' densities keep increasing, I'll have to ditch it some time. Luculent is a prime contender for that spot.
- ramgorur 13y agoLike this font, reminds me of old soviet books, also the 'handwriting' effect is neat. Please try to expand more.
- userbinator 13y agoI stared at the example and something kept catching my attention but I didn't know what it was until I compared it to my usual coding font (xterm6x13, modded with slashed zero) - the zero is slashed backwards!
- be5invis 13y agoAre these characters exactly 1/2 em wide? For Chinese and Japanese users we need them to mix with 漢字(which are 1em wide).
- a_e_k 13y agoNot exactly. Their designed advance width is 1120 "font units". The TrueType convention (which I followed) is 2048 font units per em. So they're close but not quite 1/2 em wide. However, many rasterizer round the widths to whole pixel sizes. Taking that into account, I do see them coming out to exactly half the width at certain sizes on this machine.
- snogglethorpe 13y agoMy 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 https://github.com/belluzj/fantasque-sans http://openfontlibrary.org/en/font/fantasque-sans-mono 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... :]
- arm 13y agoOS 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/Menlo_(typeface) ² — https://en.wikipedia.org/wiki/Everson_Mono https://en.wikipedia.org/wiki/Everson_Mono ³ — https://en.wikipedia.org/wiki/Michael_Everson https://en.wikipedia.org/wiki/Michael_Everson
- pencilcheck 13y agoPragmata Pro works for me
- cm3 13y agoAny size larger than 10 is cut in the bottom of the glyphs when rendered in plan9port's acme windows. 10 and 9 look correct. Happens with pre-hinted and normal version.
- cm3 13y agoAny chance of a PCF version?
- cm3 13y agoIs there no good serif monospaced (preferably bitmap) font?
- userbinator 13y agoI prefer the Xterm default Fixed fonts ( http://en.wikipedia.org/wiki/Fixed_(typeface) http://en.wikipedia.org/wiki/Fixed_(typeface) ) The IBM VGA font is a close second: http://i.imgur.com/XtzqR.png http://i.imgur.com/XtzqR.png
- deleted 13y ago[deleted]
- deleted 13y ago[deleted]
- deleted 13y ago[deleted]
- stuaxo 13y agoThis reminds me a bit of the programming books of old, where the paper was a bit cheap - a similar colour to the background of this H/N page in fact.
- deleted 13y ago[deleted]