Skip to content

Deduplicate fontdb types #808

Closed
Closed
@dhardy

Description

@dhardy

resvg optionally depends on fontdb. Meanwhile,

  • usvg::FontStyle is identical to fontdb::Style
  • usvg::FontStretch is identical to fontdb::Stretch

Worse, there isn't even a conversion method between the two. This is a pain when implementing a usvg::FontResolver.

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions