Re: [csswg-drafts] [css-fonts-4] [varfont] Applying a variation should actually clamp the applied value to the range the font supports

> For variation fonts, if you say something like: font-weight: 814; 
but the font file only supports weights of 400-700, then we should 
clamp 814 to that range and end up applying a weight of 700 instead.

The clamping happens in rendering software anyway.  However, what 
needs CSS support is IMO, if @font-face declares a range narrower than
 what the font supports, then browser should clamp to the @font-face 
range indeed, even though the font supports wider.

-- 
GitHub Notification of comment by behdad
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/517#issuecomment-258996686 
using your GitHub account

Received on Monday, 7 November 2016 23:25:56 UTC