Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need API to create arbitrary records in NAME table #111

Open
puzrin opened this issue Jun 18, 2021 · 0 comments
Open

Need API to create arbitrary records in NAME table #111

puzrin opened this issue Jun 18, 2021 · 0 comments

Comments

@puzrin
Copy link
Member

puzrin commented Jun 18, 2021

As explainated in #86 (comment), 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:

  • 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?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant