source-sans
source-sans copied to clipboard
VF Stat table: two entries for "Regular"?
Why are there two entries for regular in the STAT
table (here taken from the Italic VF)?
<AxisValue index="2" Format="2">
<AxisIndex value="0"/>
<Flags value="2"/>
<ValueNameID value="267"/> <!-- Regular -->
<NominalValue value="400.0"/>
<RangeMinValue value="350.0"/>
<RangeMaxValue value="500.0"/>
</AxisValue>
[...]
<AxisValue index="6" Format="3">
<AxisIndex value="0"/>
<Flags value="2"/>
<ValueNameID value="267"/> <!-- Regular -->
<Value value="400.0"/>
<LinkedValue value="700.0"/>
</AxisValue>
is it because LinkedValue
isn't available in format 2?
Reading the spec, using ranges for the weights IMHO doesn't fit well. If the user sets the VF weight to 799 and the UI still tells him it's bold, it might clash when the document then uses the static bold font for whatever reason and it's less bold than what the designer saw.
@madig 1. Yes. It is because the font is specifying both a range (format 2) and a style link (format 3) for weight. (Note that this is in technical violation of the current STAT spec: “No two tables should provide information for the same axis value.” We have raised this concern in the OT spec community and are looking at how to resolve it.) 2. Re. your concern “using ranges for the weights IMHO doesn't fit well,” I agree it could be potentially confusing. Note, however, that names in STAT can be combined with precise axis values to avoid this kind of situation. For example, Photoshop displays “Bold-799” for the style name in your example.