Skip to content

Match font weight #4

Description

@tdewolff

Excellent library! There is one feature that would be handy for my use case in selecting fonts for https://github.com/tdewolff/canvas, which is selecting the font weight that best fits. For example, if someone is looking for Arial with weight Black, it would be nice to return Arial Black if is exists, otherwise Arial Bold or Arial. Additionally, it might be nice to specify what weight was returned so that it can be manually fixed with a faux-bold style.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions