Hi Read,
As for how these would be specified, is this what you are thinking?
postscriptStdHW -- integer or float -- A number defining the dominant horizontal stem width in the font. Corresponds to the Type 1/CFF StdHW field.
postscriptStemSnapH -- list -- List of horizontal stems sorted in the order specified in the Type 1/CFF specification. Up to 12 integers or floats are possible. This corresponds to the Type 1/CFF StemSnapHfield.
postscriptStdVW -- integer or float -- A number defining the dominant vertical stem width in the font. Corresponds to the Type 1/CFF StdVW field.
postscriptStemSnapV -- list -- List of vertical stems sorted in the order specified in the Type 1/CFF specification. Up to 12 integers or floats are possible. This corresponds to the Type 1/CFF StemSnapVfield.
I'm wondering if there should be a statement about the inclusion of the dominant stem widths in the lists. The Type 1 spec says that it is included in the list of all stems. We don't usually place requirements like that on data in the UFO. It could add an informative note below the section that informs compilers that they are responsible for making sure that the value is in there. But, if the dominant width does't have to be in the list and the user maxes out the number of values in the list, that would be a problem. Hm.
I'm thinking of removing the sorting statement for the lists. It could be interpreted as a requirement and anything that is easily automated like this shouldn't be a requirement of human editable files. Sorting could be the responsibility of the compiler.
Ben, does this line up with what you were thinking before?
These new fields would be added in UFO 4. I have been thinking about a way to make new fields possible in older versions of the UFO via the lib for situations like this. I'll write a separate email about that when my thoughts are more fully formed.
Thanks,
Tal
> --
> You received this message because you are subscribed to the Google Groups "Unified Font Object Specification" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
ufo-spec+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.