Skip to content

Binding TypefaceFontProvider#293

Merged
HinTak merged 5 commits into
skia-python:mainfrom
HinTak:Binding-TypefaceFontProvider
Feb 5, 2025
Merged

Binding TypefaceFontProvider#293
HinTak merged 5 commits into
skia-python:mainfrom
HinTak:Binding-TypefaceFontProvider

Conversation

@HinTak
Copy link
Copy Markdown
Collaborator

@HinTak HinTak commented Dec 25, 2024

This is functionality-wise quite similar to #292. It is a font manager which knows only a specific number of typefaces of your own choices. See the tests for usage. It is complete as is. No need for immediate action as I intend to include it in m134.

Fixes #288

@HinTak
Copy link
Copy Markdown
Collaborator Author

HinTak commented Dec 25, 2024

The mac 13 Intel build unfortunately is expected to fail because of actions/runner-images#11241 . If that's the only failed job, re-run when that issue is addressed.

See
python/cpython#128161
"Defining iterator in a separate class no longer works in 3.13"

We have iterator for SkTextBlob defined by SkTextBlob::Iter(textblob),
which is the c++/pybind11 equivalent of the same situation.
Following the suggestion:
python/cpython#128161 (comment)

Also see actions/runner-images#11241

Fixes skia-python#295
@HinTak HinTak mentioned this pull request Feb 4, 2025
@HinTak HinTak merged commit eb5d856 into skia-python:main Feb 5, 2025
@HinTak HinTak deleted the Binding-TypefaceFontProvider branch February 5, 2025 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Binding the TypefaceFontProvider in skparagraph module

1 participant