I encourage anyone interested in Variations Fonts to read the draft CSS spec carefully:https://drafts.csswg.org/css-fonts-4/#low-level-font-variation-settings-control-the-font-variation-settings-property
I was surprised to read this: “Axis values not present in the font, or axis values greater or less than the range supported by the font, are ignored and therefore have no effect…”
I would have thought it makes more sense to clamp values outside the axis’s range to either its max or its min, as recorded in the fvar table, rather than its default. Furthermore, there does not seem to be a way to obtain the max and min values — something that seems to me quite a desirable capability, whether or not there are instances to access them. Would it make sense to allow special values of max
in font-variation-settings? For example:
font-variation-settings: 'wght' default, 'wdth' min;
Note: Webkit Nightly supports font-variation-settings but I have found it unpredictable when using values just within the extremes.