[MPEG-OTSPEC] format field names

John Hudson john at tiro.ca
Sun Mar 31 22:32:58 CEST 2024


Might it be helpful for searching in documentation, and perhaps for some 
kinds of discussions, to have the field names be specific rather than 
general?

J.


On 2024-03-30 10:04 am, Peter Constable via mpeg-otspec wrote:
>
> I’d like to hear other’s opinions:
>
> While preparing revisions for OpenType 1.9.1 and proposed revisions to 
> OFF 5^th Edn WD, I noticed in sections for OT Layout tables that some 
> tables that have a format field have a field name that reflects the 
> table it is contained in.
>
>   * GPOS lookup subtables: “posFormat”
>   * GSUB lookup subtables: “substFormat”
>   * Coverage tables: “coverageFormat”
>   * CaretValue tables: “caretValueFormat”
>   * Anchor tables: “anchorFormat”
>   * BaseCoord tables: “baseCoordFormat”
>
> This convention isn’t followed elsewhere in the spec:
>
>   * not in CFF / CFF2 FontDICTSelect
>   * not in cmap subtables
>   * not in COLR Paint, ClipList or ClipBox tables
>   * not in DSIG SignatureRecord
>   * not in ItemVariationStore or in DeltaSetIndexMap tables
>
> I’m inclined to rename fields like “posFormat” to simply “format”, and 
> have started to implement that in draft content for OT 1.9.1 
> <https://learn.microsoft.com/en-us/typography/opentype/otspec191alpha/changes#version-191>. 
> But this is nothing more than wanting consistency—it’s not as though 
> having redundant info in the field names creates confusion.
>
> Anyone with a strong opinion for making these field name changes, or 
> for _/not/_ making these changes?
>
> Peter
>
>
> _______________________________________________
> mpeg-otspec mailing list
> mpeg-otspec at lists.aau.at
> https://lists.aau.at/mailman/listinfo/mpeg-otspec

-- 

John Hudson
Tiro Typeworks Ltdwww.tiro.com

Tiro Typeworks is physically located on islands
in the Salish Sea, on the traditional territory
of the Snuneymuxw and Penelakut First Nations.

__________

EMAIL HOUR
In the interests of productivity, I am only dealing
with email towards the end of the day, typically
between 4PM and 5PM. If you need to contact me more
urgently, please use other means.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.aau.at/pipermail/mpeg-otspec/attachments/20240331/b2806f26/attachment.htm>


More information about the mpeg-otspec mailing list