Michael Schaap wrote:

> A.J.Mechelynck wrote:
> > 
> > I second the motion; and since the font actually used is the first one 
> > found from the "font-family" item, I suggest (all on one line):
> > 
> > +    execute "normal! A\npre { font-family: 'Courier New', monospace; 
> > color: " . s:fgc . "; background-color: " . s:bgc . "; }\e"
> > 
> > which will pick "Courier New" if found, and some generic "monospace" 
> > font otherwise. (Note: I don't know how it got here, but I have "Courier 
> > New" installed not only on my Windoze box but also on this SuSE-Linux 
> > box where I am now.)
> > 
> 
> I beg you, please don't hardcode Courier New!
> 
> Not only is it the worst possible monospaced screen font, it is also 
> Microsoft specific (in spite of it finding its way onto Tony's Linux box).
> (Even Microsoft has seen the light, and changed the default monospaced 
> font to Consolas in Windows Vista.)
> 
> The proper thing to do is to only list "font-family: monospace".  That 
> will use the default monospaced font on any platform, which is Courier 
> New by default in any case on current Windows browsers.  Only people who 
> have consciously chosen to change their monospaced font (and people on 
> non-Windows platforms) will not see Courier New.

On my system just using "monospace" looks better than "Courier New".
This completely depends on the system, of course.

When using "monospace" on MS-Windows, don't you get the same font as
with "Courier New" anyway?

Perhaps just using "monospace" works best for most people.  At least we
should avoid using "Courier", I think everybody agrees with that.

The suggestion from Benji Fisher to add a variable to allow people to
use another font sounds good to me.  Make sure it's properly documented,
especially about using more than one name and quotes around the name.

-- 
Every time I lose weight, it finds me again!

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to