cairocffi icon indicating copy to clipboard operation
cairocffi copied to clipboard

API compatibility with Pycairo: TextExtents

Open StephanGocht opened this issue 1 year ago • 0 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.

StephanGocht avatar Oct 04 '23 18:10 StephanGocht