- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Thu, 10 Mar 2016 16:17:05 -0500
- To: www-style@w3.org
On 03/10/2016 06:43 AM, Behdad Esfahbod wrote: > > > I like to raise an issue here: a few years ago I made Pango's > "average character width" match something along these lines. > Then we got a report from a browser implementation relying on > that, having problems with too-wide <input> and <textarea> under > CJK locales. The "exact character count in monospace fonts" > part is problematic for designers, as most designers asking for, > eg, 50ch in a textarea, do NOT want twice the width for CJK... > In Pango, we ended up dividing that by something like > wcwidth() of characters to normalize CJK by dividing by two. This is why we chose to measure the zero glyph for 'ch' units instead of taking an average. So for CSS, this is a non-issue. ~fantasai
Received on Thursday, 10 March 2016 21:17:39 UTC