Re: problem with combining diacritcs in HTML5

From: Jukka K. Korpela <jkorpela_at_cs.tut.fi>
Date: Sun, 07 Oct 2012 22:28:10 +0300

2012-10-07 11:51, Michael Everson wrote:

>> The issue is not limited to textareas but appears in normal text
too, when the font is set to Courier New. You can also see the problem
in Microsoft Word, for example, when using that font. The point is that
this is a font problem, and you can see it in textareas because they
typically have Courier New as the default font.
>
> There's always Everson Mono. :-)

I know. I mentioned it in the CSS code example. I did not mention
(explicitly) that if someone wants to use combining diacritics in a
monospace font in HTML, then there seems to be about one font that could
be used as a downloadable font (web font) via @font-face. That would be
FreeMono, from FreeMono, because it has the most common combining marks
correctly implemented (as far as I can see) and it is free. It’s about
340 kilobytes, which is a tolerable size for a downloadable font. (If
you use just the regular typeface. It also has oblique and bold typeface.)

Of course FreeMono is no match for Everson Mono in character coverage,
but we don’t always need all of BMP, or even close. :-)

As discussed, monospace fonts are not often needed – they are
conventionally used for computer code and for some other purposes, but
the common web browser default of using a monospace font in a textarea
should quite often be overridden.

Yucca
Received on Sun Oct 07 2012 - 14:30:35 CDT

This archive was generated by hypermail 2.2.0 : Sun Oct 07 2012 - 14:30:35 CDT