|
|
Comments and Discussions
|
|
 |

|
Thanks.
You can find a few more on my website - link below.
I usually use Liberation Mono when using VS2008. Unfortunately, VS2010 uses WPF for the IDE editor, and WPF has its own embedded font display engine. This causes a big problem when you're trying to line up columns of variables, functions, etc. What looks ok in the VS2010 IDE editor turns out to be "not quite right" when you look at it in a standalone editor like UltraEdit (also using Liberation Mono). Result: column formatting is messed up. Naturally, if you use a Microsoft font like Consolas, it displays the same in both the VS2010 IDE editor and UltraEdit.
Just one of the many reasons I'm staying away from VS2010.
|
|
|
|

|
Awesome survey! I have a slightly different problem--I need a narrow monospaced font for printing, so that 80 columns fit into 5.5 inches. Years ago, one of my publishers made such a font for internal use, but I can't use that for other projects. I made a hack with FontForge, but I am still hoping for a better-looking font. Frankly, I am a bit surprised that there aren't more people looking for that, but perhaps the printed page is on its way out
Cheers,
Cay
|
|
|
|

|
Did you ever find a better font for printing?
|
|
|
|

|
Hi there, great article and resource. I've added many of these to try in my monospaced font rotation.
In reading about the "Anonymous" font, I found an interesting explanation for the "somewhat strange slashed zero that is slashed from left to right, instead of right to left," and I thought I would share it with you and your readers.
In the page for the newer "Anonymous Pro", the designer explains his choice for the slash direction, in keeping with the original Anonymous designers:
In the earlier fonts, the slashed zero, designed to look different than the capital “O”, goes the “wrong” way compared to most fonts that have this feature. Susan and David did this intentionally to distinguish it from the slashed capital “Ø” used in some languages. Some people thought this looked odd, so I put it the “right” way, and distinguish it from the “Ø” by keeping the slash inside the character.
(Wikipedia entry: http://en.wikipedia.org/wiki/%C3%98[^])
This point may be more than just a curiosity for our Scandinavian coder friends!
|
|
|
|
|

|
I think Meslo font is great you can put it in the collection
You can download it from http://github.com/andreberg/Meslo-Font
|
|
|
|

|
Pr0fess0rX wrote: I think Meslo font is great you can put it in the collection
You can download it from http://github.com/andreberg/Meslo-Font
Thanks!
You can definitely see the resemblance to Bitstream Vera Sans. I like the slashed zero in Meslo, although I think the lowercase a in Vera Sans is clearer.
Which line gap (s, m, l) version do you use?
|
|
|
|

|
Actually I see them all similar!!! I don't know the difference. I assume that S stands for Small and M for Medium and so on... but I couldn't identify any difference.
|
|
|
|
|
|

|
If you are using a dark/black background then I've only found Terminal 9pt to work for me... which is killing me now that Microsoft released VS2010 without the ability to render raster fonts. It's the only reason I haven't updated to VS2010.
|
|
|
|

|
Try ProFontWindows, Luxi Mono, or DejaVu Sans Mono.
|
|
|
|

|
Hi Hans,
Yeah, I think I've tried about 3 dozen monospaced fonts for a black background. Terminal is the only one I like. The closest is Lucida Console - and a bold version of Lucida Console would likely fit the bill. For smaller fonts (less than 12pt), bold works better on a dark background and a dark background is a fairly common practice with programmers. Although the Bold option is "available" for Plain Text, it is ignored (a known RC bug that was ignored). What strikes me is Microsoft's unwillingness to produce (or allow) a TTF version of terminal - especially since shipping VS 2010.
I've also had a couple of monospaced TTF fonts that were ignored and replaced with other fonts. They would work in wordpad and they were available in the VS options - but they simply rendered as a different font.
Cheers,
Jason
|
|
|
|

|
Share TechMono is a great font, but I ran into a problem using it in Visual Studio 2008.
Typing "fl" or "fi" in Visual Studio causes those two letters to be replaced by a dot. Have you run into the same issue?
|
|
|
|

|
Same here, in certain programs (e.g. VS2005, EmEditor) but not others. Too bad, I really like it otherwise.
|
|
|
|

|
Thank you for the information.
-muneeb
A thing of beauty is the joy forever.
|
|
|
|

|
A very good article
5 from me for the very informative article.
Who would have thought for this... atlease I haven't.
But found Consolas are good one with clear type.
Choosing proper(eye friendly) fonts can make life easy for the developers.
Believe Yourself™
|
|
|
|

|
Hello Hans,
Excellent article. I am too quite finicky about my programming fonts and like to choose them very carefully. What was missing in the article is comparison between regular and bold styles for the same font. For example, when you're editing XML code in VS editor and open a tag, then opening bracket becomes bold until it is closed with closing bracket. Also, the whole XML element name becomes bold until it is closed.
The similar effect happens with other programming languages when there is an expression that can be closed (if's, for's etc).
Some fonts (Consolas, Lucida Sans Typewriter) are aware of that and have the same width for bold variant as for regular flavor. Others have wider typeface for bold variants, so text becomes distorted when editor makes parts of it bold. I think it would be nice to include this info in the article.
Thanks
Alex
|
|
|
|

|
Hi Hans,
5 !
Appreciate so much your taking the time to compile this, and keep it updated.
best, Bill
"Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844
|
|
|
|

|
You mention various fonts as being legible at various minimum sizes. Since a 10-point version of one font may be wider or have greater line spacing than a 12-point version of another font, it might be helpful to include in your table the number of rows and columns that each font will display in some particular size of window (say 640x480 pixels) at its minimum legible size.
|
|
|
|

|
From the title I thought this was going to be a very boring article. WRONG!
The choice for font seems trivial, however, as we spend most of our days gazing at our code, choosing a good one makes a lot of sense. Thanks for the inspired article
Colin E.
|
|
|
|
|
|
|

|
Hans,
FYI---
You mentioned you were unable to find the updated (2008) Liberation font family with a slashed zero. I found a version with a dotted zero tonight via a Google search for "Liberation Mono" which yielded a first item entitled "Liberation fonts" (http://en.wikipedia.org/wiki/Liberation_fonts). This appears to be the Wikipedia page you mentioned above in the body of your article, as it has the quote re "The fonts were developed by Steve Matteson of Ascender Corp....licensed by Red Hat, Inc. as the Liberation font family."
The current version of that Wikipedia page states "The Fedora Project, as of version 9, features slightly revised versions of the Liberation fonts contributed by Ascender. These include a slashed zero and various changes made for the benefit of internationalization." At the bottom of the page there is a link to the "Liberation Fonts project at Fedora Hosted" (https://fedorahosted.org/liberation-fonts/).
That page provides a link (https://fedorahosted.org/releases/l/i/liberation-fonts/) to several recent Liberation family releases from Fedora. Currently, the most recent stable version is v1.04, dated July 13, 2008 (https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-1.04.zip), and the most recent development version is v1.04.93, dated December 9, 2008 (https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-1.04.93.devel.zip).
Several of the fonts you surveyed are quite appealing, and the addition of a dotted zero bumps the Liberation Mono font up in my list, tho I'd still prefer and actual slashed zero.
Thanks for the good work!
Regards
|
|
|
|

|
Hi,
I checked the links you gave, but could not find the version of Liberation Mono with dotted zero. Or did you not mean Liberation Mono?
|
|
|
|
|

|
In the zip file you link to, the bold, bold italic, and italic mono fonts are version 1.04, and have a dotted zero. However, the regular Liberation mono font (LiberationMono-Regular.ttf) is version 1.00, and is not dotted.
|
|
|
|
|

|
Thanks, I see the dot now.
|
|
|
|

|
Some typefaces are OK at the sizes you present, but are unreadble at the 8-point I use.
Following the CP poll about fonts, I switched to Andale Mono.
|
|
|
|

|
Agreed!!
If the size is not proper then the fonts look distorted and we got feeling that something is not fine.
Even when sometime vardana fonts looks fine with size 9 but looks clumsy when the size increases.
Believe Yourself™
|
|
|
|

|
When programs need to display lots of data in a very small space, tiny fonts (e.g. in the range of 4x6 to 6x10) can be extremely useful. Unfortunately, .net does not allow the use of bitmap fonts in its controls, and all the TrueType fonts I've seen become illegible at such sizes.
Other than having a program manually draw characters as bitmap graphics, is there any good way to show data legibly at such sizes? For example, do there exist any TrueType fonts that scale well to such sizes, or is there any utility which can take a collection of bitmaps and produce a TrueType font which, when rendered at a particular size, will yield those bitmaps precisely?
Note that for legibility at 4x6, it's necessary that some font characters be rendered quite differently from how they would normally appear at larger sizes. An "N", for example, should appear as a taller version of "n".
|
|
|
|

|
I suggest that you try ProFontWindows or one of the Proggy fonts.
|
|
|
|

|
I'll give those a try. ProFontWindows brings back some memories, since I looked at ProFont in my Macintosh days and ended up creating something that was similar but a bit different. Most notably, the font I created made most of the lowercase letters four pixels wide instead of five and used a narrow zero instead of a slashed one. I actually replaced Monaco-9 with my own adaptation, so it would be the default monospaced system font.
Proggy-Tiny looks like it will be pretty good for use in a 6x9 character box. ProFont is unfortunately only a bitmap font, and thus is not usable in .net controls. Maybe I'll just have to kludge together some bitmap routines for use with a 4x6 character matrix.
|
|
|
|

|
Akkurat looks pretty appealing, but $US150
I also tried some "programmer's" fonts but they are more stylish than readable, and for my taste Courier New lacks the vertical.
The CodeProject font top-list ranking is well-deserved, Consolas is really the best ClearType font (my thumbs-up) and Lucida Console is the best CRT display font.
|
|
|
|

|
T800G wrote: Consolas is really the best
At what size? I can't read it at 8-point.
|
|
|
|

|
Thankyou!
|
|
|
|
|

|
Thanks, Proggy Clean is already in the list.
|
|
|
|

|
I see. You even got the link to Proggy fonts in your article. Maybe I should read the articles first before replying..
|
|
|
|
|
|

|
You said that Conoslas is no. 3 and Lucida Console is no. 2 on the CodeProject list of best programming fonts, when in fact Conosolas is the second and Lucida Console is the third.
Also there is a problem with formatting or it's something wrong with CodeProject itself but I have horizontal scrollbar.
Great article!
|
|
|
|

|
Mladen Jankovic wrote: in fact Conosolas is the second and Lucida Console is the third.
You're correct, thanks. [update: should be good now]
What's your browser window size and how much do you have to scroll?
modified on Friday, October 10, 2008 7:28 PM
|
|
|
|

|
Hans Dietrich wrote: What's your browser window size and how much do you have to scroll?
IE7@1680x1050, but I don't see anything in your article that can't fit and cause h-scrolling, it's more like a problem for Chris&Co.
|
|
|
|

|
I will fix in next update.
|
|
|
|

|
Well, I tried to fix it, but could not. Chrome also shows a scroll bar, after you resize the browser window.
|
|
|
|

|
I bought it once upon a time as part of the "More Fonts for Windows" package, and I've enjoyed it quite a lot. One interesting feature is that while it's a uniform-stroke-width sans-serif font, it the italic version has letterform changes typical of italic fonts (e.g. the non-italic "a" has a flag on top, but the italic "a" has a full-sized bowl with no flag. The non-italic "l" has a flag on top but nothing the bottom; the italic "l" has a right-facing flag on the bottom (the "1" has flags a flag on top and a bar on the bottom). The "0" is not slashed, but is very distinct from the "O".
Anyone else ever seen that font?
PS--I would second the request for a sample including O0 Ll1| `"' etc. since those characters can be tricky. Also, it would be helpful if in text you don't just refer to whether the zero is slashed, but whether it is distinct.
Addendum: Financial has filenames mlsan.ttf through mlsaq.ttf and was sold by MicroLogic Software, Inc.
modified on Friday, October 10, 2008 2:14 PM
|
|
|
|

|
I will see if I can find Financial.
supercat9 wrote: I would second the request for a sample including O0 Ll1| `"'
I would like to do this in the context of code (preferable xml, which won't start a language war). Can you suggest a code snippet?
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
|
This article presents commonly used programming fonts with examples of each font in ClearType and non-ClearType.
| Type | Article |
| Licence | CPOL |
| First Posted | 9 Oct 2008 |
| Views | 374,513 |
| Bookmarked | 139 times |
|
|