Skip to content

Clarify and extend behavior around names in the FontMetadata object #69

Open
@rcombs

Description

@rcombs

I noticed a few shortcomings here; they can all be addressed by applications by parsing the SFNT directly, but it'd certainly be helpful to have some improvements made:

  • What happens if a font has no name of a given type in the current language? Do you get en? What happens in cases involving multi-label IETF language tags?
  • As mentioned in the "Issue 9" mentioned in the spec draft, it may be useful to retrieve a specific language; however, it may also be useful to retrieve a full list of names of a given type for the font, particularly for matching purposes.
  • What happens if a font has multiple names with the same type and language, but different vendors? This is remarkably common, the names can differ, and some applications may need the names from a specific vendor. This should be clarified for both query({select}) and the metadata objects (even if it just ends up being implementation-defined).

Metadata

Metadata

Assignees

No one assigned

    Labels

    spec-textWording/algorithm improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions