Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Replace FT2Image by plain numpy arrays. #30044

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
Loading
from

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented May 12, 2025

FT2Image predates numpy, but we don't really need to maintain our own 2D buffer class nowadays.

PR summary

PR checklist

@tacaswell
Copy link
Member

Failures look related and real, but I have no good guess as to why not on osx.

@anntzer anntzer force-pushed the ufi branch 2 times, most recently from fc3e947 to c69331b Compare May 12, 2025 19:51
@anntzer
Copy link
Contributor Author

anntzer commented May 12, 2025

I forgot to zero-initialize the FT2Image. Fixed.

src/ft2font_wrapper.cpp Outdated Show resolved Hide resolved
@QuLogic
Copy link
Member

QuLogic commented May 17, 2025

If we end up doing #30059, does that mean this PR is also not necessary (other than applying a deprecation, probably)?

@anntzer
Copy link
Contributor Author

anntzer commented May 17, 2025

Indeed, but I didn't remove this PR as 1) the deprecation will still be needed anyways, and 2) it's a much simpler PR, which can hopefully get in faster if #30059 gets stalled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.