Closed michaeltaranto closed 1 year ago
Latest commit: fdbeedd068b2807b601dc5751733e4a67194c374
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Expose two new APIs:
entireMetricsCollection: Expose all metrics indexed by family name
Provides the entire metrics collection as a JSON object, keyed by font family name.
⚠️ CAUTION: Importing this will result in a large JSON structure being pulled into your project! It is not recommended to use this client side.
and
fontFamilyToCamelCase: Expose utility to convert family name to import name
A helper function to support tooling that needs to convert the font family name to the correct casing for the relevant metrics import.