Skip to content

API compatibility with Pycairo: TextExtents #218

@StephanGocht

Description

@StephanGocht

There seems to be an API incompatibility preventing drop-in replacement with pycairo:

Since version 1.15 pycairo uses TextExtents (Essentially, a named tuple) for text_extends functions e.g., in ScaledFont

cairocffi is only returning a tuple.

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