Monospace text too small
Closed, ResolvedPublic


This is actually a widely known problem. Monospace text is too small in Firefox and Chrome. The problem is visible under the 'Help' button, 'What you type' column.

To trigger the proper textsize, a second, valid font is needed. So instead of { font-family: monospace; }, it should be { font-family: monospace, "Courier New"; }.

Note that this is not ment to prefer Courier New, but merely to provide a second, valid (and safe) parameter to trigger these browsers into displaying the correct fontsize. This means that any user's preferred monospace font will still be used.

There are two instances in jquery.wikiEditor.toolbar.css that would need to be modified: line 244 and line 270. In the latter case, line 271 (font-size) would no longer be needed and can be removed to ensure consistent behaviour between browsers.

Version: unspecified
Severity: normal


bzimport set Reference to bz27502.
Edokter created this task.Feb 17 2011, 7:03 PM

Added Courier New in r82458. Didn't change the font-size; Trevor, can you look into that?

Yes, reviewed and OK'd - this was the right solution.

GOIII moved this task from Backlog to Closed on the WikiEditor board.Apr 3 2016, 9:31 AM

Add Comment