[wp-trac] [WordPress Trac] #17640: Monospace font in HTML post/page editor

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 1 23:55:47 UTC 2011


#17640: Monospace font in HTML post/page editor
-------------------------+--------------------------
 Reporter:  jane         |       Owner:  markjaquith
     Type:  enhancement  |      Status:  reopened
 Priority:  low          |   Milestone:  3.2
Component:  Editor       |     Version:  3.2
 Severity:  minor        |  Resolution:
 Keywords:               |
-------------------------+--------------------------
Changes (by toscho):

 * cc: info@… (added)
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 From the patch:

 {{{
 font-family: Consolas, Monaco, Courier, monospace;
 }}}


 Put `"Courier New"` in front of `Courier`. Old Windows versions (XP) have
 neither `Consolas` nor `Monaco`, and `Courier` is a Bitmap font on Windows
 without anti-aliasing and in very view fixed sizes.

 My suggestion:

 {{{
 font-family: Consolas, "Courier New", Courier, Monaco, monospace;
 }}}

 Also note that `Monaco` ist not a real monospace font – the bold letters
 are slightly wider. Browsers usually fix that internally, so it is
 probably not a problem.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17640#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list