Stylistic Sets and sampleTextNameId

Bob Hallissy bobh528 at yahoo.com
Thu Sep 29 23:50:34 CEST 2011


Perhaps this has been raised before -- but a cursory search of the 
archives didn't find it...  
In 14496-22_2009(E), the section about ss01-ss20 Stylistic Sets says:  
> The FeatureParams field of the Feature Table of these GSUB features 
> may be set to 0, or to an offset to a Feature Parameters table 
> comprising two successive USHORT values, as follows:
>
>   * Version (set to 0): This corresponds to a "minor" version number.
>     Additional data may be added to the end of this Feature Parameters
>     table in the future.
>   * UI Name ID: The 'name' table name ID that specifies a string (or
>     strings, for multiple languages) for a user-interface label for
>     this feature. The values of uiLabelNameId and sampleTextNameId are
>     expected to be in the font-specific name ID range (256–32767),
>     though that is not a requirement in this Feature Parameters
>     specification. The user-interface label for the feature can be
>     provided in multiple languages. An English string should be
>     included as a fallback. The string should be kept to a minimal
>     length to fit comfortably with different application interfaces.
>  
My question is about the mention here of sampleTextNameId which isn't 
otherwise documented in this Stylist Sets section. It would be nice to 
have such, as per Character Variants, but "two successive USHORT values" 
wouldn't appear to include this.  
I'm guessing the "and sampleTextNameID" was supposed to be added to the 
FeatureParams description of cv01-cv99 Character Variants where it says:  
> The values of featUiLabelNameId, featUiTooltipTextNameId and 
> firstParamUiLabelNameId are expected to be
> in the font-specific name ID range (256–32767), though that is not a 
> requirement in this Feature Parameters
> specification.  
but would someone like to clarify?  
Regards,
Bob Hallissy  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.aau.at/pipermail/mpeg-otspec/attachments/20110929/fa48d41b/attachment.html>


More information about the mpeg-otspec mailing list