Hacker News new | ask | show | jobs
by efortis 388 days ago
My programming font. It’s proportional and uppercase letters have a 1/3 of a space of left padding.

Proportional because they are faster to read in general, and the padding makes reading camel-case faster as well.

https://github.com/ericfortis/verdanacamel

7 comments

I absolutely love this. I did not understand a single thing in your description of the font “proportional and uppercase letters have a 1/3 ….”, and clicked on your link to see it for myself.

In the example I initially assumed your font was the Jetbrains example and thought it was ugly and unreadable. Then when I saw the next example I read it with no effort and almost immediately internalized that the mini-space is not and the wide-space is.

Are there any default fonts that do this on most systems? Mac, Windows, iOS, etc. that I can use if I don’t have access to install a font. I am often on shared devices and this would be a game changer if my first experience is what I think it is - easier and more enjoyable reading.

(Going to install it now on my iPhone to experiment it as a default daily driver)

Yeah. You're a unicorn. That font hurt my eyes and twitched something in my brain. I often experience something painful in my brain and eyes whenever I switch fonts and theme.
I kinda like it but how often do you mistake spaces and the padding? I guess your spaces are a little wider but I find it hard not to see the capital-preceding space as an actual space.
Fun fact: my coworkers who use “Show whitespace chars” in their IDE find the padding too distracting. So for them I switch my font before sharing my screen.

I got used to the padding in a few minutes, the first version had a 1/4 space padding and then I pushed it to a 1/3.

To me, the main problem is tabularized alignment. So I don’t use it for example on nginx.conf

I kinda like it. The left padding definitely messes with my head but I think with a tad less space I could get used to it
By saying that is 1/3rd of a space, you are pretty much saying that the true, full space is the one found in a monospaced font.

Because that 1/3rd fake space space looks about the same size as the proportionally-sized real spaces you have elsewhere.

You win. That'd drive me nuts. I reckon I could handle proportional as I have programed in windows notepad! But that space. I'd never know if it were a space or a fake space.