Show HN: Coding Font – A game to find your favorite coding font
171–180 of 222 posts
Re: Show HN: Coding Font – A game to find your favorite coding font
#172I like the idea. Some thoughts: - Center the code samples on the page. So that your not unintentionally one over the other due to differences in viewing angle and vision ability. - Make all the fonts equal in height regardless of font point. Knee jerk reaction will be to go with the font that is closest to a persons normal preference. - Hide Font names and size/points. - Light theme and other color options. - Other p…
Include proportional fonts. I know I'm not the only one that uses one. Specially I use Input which has both mono and proportional versions and designed for programming.
In the past I used Verdana, Georgia, and Trebuchet MS. That last one may seem like an odd choice, but I really like the way it renders on a high-DPI display, with thick readable strokes and easily distinguished "confusable" characters.
Trebuchet MS does have some flaws, so I started customizing it into what I call Trebuchet++. What got me started on this was the poor tilde in TMS. I swapped in a better one with FontForge, and then started experimenting with a few other things.
One thing that bothered me in particular about proportional fonts is that the underscore character is so much wider than a period. This creates the wrong visual grouping in something like this:
name_with_underscores.method_with_underscores()
The default spacing causes "underscores.method" to be bound tighter visually than the individual names on each side.
So I edited the underscore to add negative spacing while keeping the underscore itself fairly wide. And I added positive spacing around the period. This makes it more clear visually that "name_with_underscores" and "method_with_underscores" are individual names separated by the dot.
The next tweak I plan on is adding some positive spacing after a "(" and before a ")" and similarly with [] and {}. It makes me sad that modern coding standards prohibit spaces inside (), [], and {}, even though it makes so much sense logically to have spaces inside them.
If I can't fix my company's mandatory code formatter, at least with a proportional font I can adjust it to put just a bit of whitespace there.
Re: Show HN: Coding Font – A game to find your favorite coding font
#173Caught a bug, FYI: The font-family line always says the name of the font on the right in both columns. I.e. the left column says the name of the right column.
Re: Show HN: Coding Font – A game to find your favorite coding font
#174Also, for really maximizing utility, it'd be cool to add variations of the same font but with different line-heights. I definitely voted against some fonts because they appeared "squished", but maybe a bit bigger line-height would make me prefer it.
Re: Show HN: Coding Font – A game to find your favorite coding font
#175Earlier quoted context omitted.
No joke: my 70-something IBM veteran C++ class teacher in high school used Comic Sans in Visual Studio. Every time he shared his screen on the projector me and my buddy chuckled. He was so literal that it was either really good dry humor, or the dude genuinely liked coding in Comic Sans.
Maybe he had dyslexia and had worked out what is now relatively better-known, that Comic Sans is actually really readable for people with dyslexia-spectrum issues.
[0]: https://www.tes.com/news/does-comic-sans-really-help-dyslexi...
Re: Show HN: Coding Font – A game to find your favorite coding font
#176By far my favorite coding font, even though Share Tech Mono is looking good too after trying your game/app. Nice work!
Re: Show HN: Coding Font – A game to find your favorite coding font
#177Re: Show HN: Coding Font – A game to find your favorite coding font
#178This is great! Love all the design suggestions here. Caught a bug, FYI: The font-family line always says the name of the font on the right in both columns. I.e. the left column says the name of the right column.
Re: Show HN: Coding Font – A game to find your favorite coding font
#179I spent months trying to find the specific font that: 1. I enjoyed looking at 2. Made discerning ambiguous characters when reading code easy. For example: l, 1, 0, O, Z, 2 I ended up creating my own custom build of Iosevka, now I can humble brag and have hipster cred that I have a font that is unique in the world (lol).
haha, I went even further. I designed a font called CSS Mono, and someone says it is like comic sans of coding fonts in Youtube comments, like in a bad way obviously. lol, check it out https://css-mono.wentin.net/
Re: Show HN: Coding Font – A game to find your favorite coding font
#180My favorite coding font is liberation mono, but I wish I understand truetype well enough that I could make it substitute -> with a proper right-pointing arrow, and !=, >=, I've tried editing the font myself using fontforge, but without any luck...
Those are known as ligatures. Ligaturizer[0], which copies Fira Code’s ligatures into any font, may be of interest. [0]: https://github.com/ToxicFrog/Ligaturizer
Thanks again, kind stranger!