Kozea / cairocffi

CFFI-based cairo bindings for Python.

Home Page:https://doc.courtbouillon.org/cairocffi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API compatibility with Pycairo: TextExtents

StephanGocht opened this issue · comments

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.