What is the right font for publishing your code in web, magazins or books?
Times new roman? Not really. The fonts family called "monospace fonts".
Here a few examples:
- LetterGothic
- Lucida Console
- Courier New
- Fixedsys
This fonts are in windows included
Example:
<?php
// Lucida Console
echo phpinfo();
>
<?php
// Fixedsys
echo phpinfo();
>
<?php
// Courier New
echo phpinfo();
>
<?php
// LetterGothic
echo phpinfo();
>
You can test the fonts and more online:
http://www.fonttester.com/
a few others monospace fonts:
Anonymous
http://www.ms-studio.com/FontSales/anonymous.html
Raize
http://www.raize.com/DevTools/Tools/RzFont.asp
Proggy
http://www.proggyfonts.com/index.php?menu=download