We need something more simple AND "unlimited". At first glance, just pass array or desired records (but this should be discussed). What should be considered:
Low level format.
Record can look like [ platformID, encodingID, languageID, nameID, string ]
Probably, string should be auto-encoded according to provided data
Probably, short variant [ nameID, string ] should be supported to auto-create 2 records for Win & Mac platforms
Revisit named shortcuts
I would keep existing shortcuts only, and redirect the rest for "low level api"
Questions
Should most of records be "duplicated" for Win/Mac platforms, or single platform (Unicode) is enough?
As explainated in https://github.com/fontello/svg2ttf/pull/86#issuecomment-846154816, users may wish to add more records to name table. But doing that via "named" options clutter API & code significantly.
We need something more simple AND "unlimited". At first glance, just pass array or desired records (but this should be discussed). What should be considered:
[ platformID, encodingID, languageID, nameID, string ]
[ nameID, string ]
should be supported to auto-create 2 records for Win & Mac platformsQuestions