Poll

What is your best font for source code editing?

Courier New
1 (20%)
Microsoft Consolas
1 (20%)
Inconsolata
0 (0%)
Dina
0 (0%)
MonteCarlo
0 (0%)
Envy Code R
1 (20%)
Bitstream Vera Sans Mono
1 (20%)
Monaco
1 (20%)
Corbel
0 (0%)

Total Members Voted: 3

Author Topic: Best font for source code editing  (Read 3347 times)

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1712
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Best font for source code editing
« on: September 22, 2008, 09:38:06 pm »
There are several reasons to use monospaced font for source code editing.

First reason: only with monospaced font, indented text would be placed on same horizontal level. Even if indented block starts not from line start.
Second reason: block/column selection works well only with monospaced font.

Here are some monospaced fonts that fit best for code editing:

Courier New - most standard, installed on every Windows system, has rather big Unicode char set (on XP and higher)
Microsoft Consolas – visually better then Courier New, installed by default on Vista and higher, has very big Unicode char set.
Inconsolata – perfect font for source editing, small, distributed with Open Font License, but bold style, for my taste is too thick. Also, has only European char set.
Dina - another free programmers font. User comment: In my HE it looks like that - cool and solid by Arthur.

In the HippoEDIT, font can be adjusted for every syntax, but by default all fonts’ settings are inherited from Default syntax schema (only Plain Text overrides it by Lucida Console, to be similar to Notepad).
You can find font settings in main menu: Tools->Options->Syntax Settings->Default (or any interested syntax) ->Fonts & Colors. If Show only monospaced fonts flag is not set, then on all monospaced fonts in list would be highlighted with a color. If you want to use font from parent syntax, just select inherit from Parent Syntax Name in the list. This is first entry.

If you can suggest something better, just post here, I would update list with recommendations.

Just have found perfect article with monospaced font comparison on CodeProject.com from Hans Dietrich. Article contains big set of monospace font examples with preview and description.
« Last Edit: April 07, 2009, 10:13:31 am by alex »

Offline allen

  • Newbie
  • *
  • Posts: 46
  • Karma: +2/-0
    • View Profile
Re: Best font for source code editing
« Reply #1 on: April 15, 2009, 05:18:28 pm »
My personal favorite font is MonteCarlo.  It is a smooth sans serif font--sort of a fixed width verdana.  It's tiny, but remarkably readable at its fixed 8pt size. 

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1712
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Best font for source code editing
« Reply #2 on: May 03, 2009, 10:34:51 pm »
One more good monspaced programers font (from programmer to programmers):
http://damieng.com/blog/2008/05/26/envy-code-r-preview-7-coding-font-released

Offline knn

  • Newbie
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Best font for source code editing
« Reply #3 on: July 31, 2010, 08:12:03 pm »
« Last Edit: August 01, 2010, 09:20:43 pm by alex »

Offline kryten

  • Newbie
  • *
  • Posts: 18
  • Karma: +2/-0
    • View Profile
Re: Best font for source code editing
« Reply #4 on: August 24, 2010, 08:37:48 pm »
My favourites are:-

Monaco
Bitstream Vera Sans Mono
Envy Code R
Consolas
Corbel ( Surprisingly readable and pleasant to look at )

Cheers,
Stuart


Offline vi.

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
  • Code Yourself!
    • View Profile
Re: Best font for source code editing
« Reply #5 on: December 18, 2010, 05:17:23 pm »
I tried almost every monospaced font available on internet.
My favorite list;
- Monaco
- Envy Code R
- Bitstream Vera Sans Mono

Offline Ramon

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Best font for source code editing
« Reply #6 on: December 20, 2010, 02:32:28 am »
My requirements for fonts based on monotype and most complete Unicode support.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1712
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Best font for source code editing
« Reply #7 on: December 20, 2010, 12:24:07 pm »
Yes, full Unicode support is also valid argument. Most MS fonts have full Unicode set, but Envy Code R for example is only English (for rest I do not remember).

Offline Anonymous

  • Anonymous
  • Newbie
  • *
  • Posts: 46
  • Karma: +0/-0
    • View Profile
Re: Best font for source code editing
« Reply #8 on: December 20, 2010, 12:38:45 pm »
DejaVu Sans Mono - it designed for ClearType, and have Cyrillic characters.
Microsoft Consolas is good, but on XP its only intended for licensed users of Microsoft Visual Studio 2005 or 2008.

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
1049 Views
Last post June 30, 2009, 09:19:17 am
by alex
3 Replies
848 Views
Last post September 15, 2010, 08:13:09 am
by kryten
3 Replies
670 Views
Last post April 27, 2010, 06:54:10 pm
by alex
2 Replies
40 Views
Last post March 13, 2012, 05:32:56 am
by vineel567
1 Replies
39 Views
Last post April 23, 2012, 11:49:19 am
by alex