You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We (Adobe FDK developers) are considering a minor (but breaking) change to the Feature File Specification for defining range-based STAT AxisValues (known as ‘location format B’ in the Feature File Spec and ‘Format 2’ in the OpenType spec).
The original proposal (here) and current implementation use a hyphen (-) to separate <rangeMinValue> and <rangeMaxValue>. After some testing and discussion here, it turns out that the hyphen is not necessary.
Removing the hyphen from the Feature File specification:
makes parsing less complicated
makes the documentation simpler
makes the .fea code cleaner:
# format 2AxisValue {
locationwght400300500;
name “Regular”;
flagElidableAxisValueName;
};
We wanted to make folks aware of this likely change and give an opportunity to discuss, in the unlikely event that this would have an untenable impact on workflows or other implementations (@punchcutter has work-in-progress on the fontTools implementation of this and will update that work with this change, if applicable).
To be clear: we are not talking about changing any aspect of the OpenType specification. This is applicable only to the AFDKO Feature File Specification, and only for STAT AxisValue location format B.
At worst, we expect the impact would be that STAT table definitions in .fea files using the currently defined (as of AFDKO 3.5.0) range-based AxisValue format would need to remove the - from any such range definitions in order to be correctly parsed with the updated makeotfexe.
We (Adobe FDK developers) are considering a minor (but breaking) change to the Feature File Specification for defining range-based STAT AxisValues (known as ‘location format B’ in the Feature File Spec and ‘Format 2’ in the OpenType spec).
The original proposal (here) and current implementation use a hyphen (
-
) to separate<rangeMinValue>
and<rangeMaxValue>
. After some testing and discussion here, it turns out that the hyphen is not necessary.Removing the hyphen from the Feature File specification:
We wanted to make folks aware of this likely change and give an opportunity to discuss, in the unlikely event that this would have an untenable impact on workflows or other implementations (@punchcutter has work-in-progress on the fontTools implementation of this and will update that work with this change, if applicable).
To be clear: we are not talking about changing any aspect of the OpenType specification. This is applicable only to the AFDKO Feature File Specification, and only for STAT AxisValue location format B.
At worst, we expect the impact would be that STAT table definitions in .fea files using the currently defined (as of AFDKO 3.5.0) range-based AxisValue format would need to remove the
-
from any such range definitions in order to be correctly parsed with the updatedmakeotfexe
.cc: @sairuspatel @khaledhosny
The text was updated successfully, but these errors were encountered: