Skip to content

Make font bytes optional - #30

Merged
akx merged 2 commits into
akx:ft-clarifyfrom
radarhere:ft-clarify
Sep 14, 2026
Merged

akx merged 2 commits into
akx:ft-clarifyfrom
radarhere:ft-clarify

Conversation

@radarhere

Copy link
Copy Markdown

Suggestion for python-pillow#9908

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (ft-clarify@54b8025). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/_imagingft.c 33.33% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             ft-clarify      #30   +/-   ##
=============================================
  Coverage              ?   88.63%           
=============================================
  Files                 ?      350           
  Lines                 ?    55022           
  Branches              ?     3851           
=============================================
  Hits                  ?    48770           
  Misses                ?     4831           
  Partials              ?     1421           
Flag Coverage Δ
GHA_Docker 65.99% <33.33%> (?)
GHA_Ubuntu 88.65% <50.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@akx akx left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a little concerned about swapping arguments around, but in this case I think the error (layout engine and bytes swapped around), if anyone had been poking around these privates in userland code, will be pretty glaring and obvious.

@akx
akx merged commit 2d46bd2 into akx:ft-clarify Sep 14, 2026
50 of 53 checks passed
@radarhere
radarhere deleted the ft-clarify branch September 15, 2026 03:52
akx pushed a commit that referenced this pull request Sep 15, 2026
* Make font bytes optional
* Remove keyword support from core.getfont

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
akx pushed a commit that referenced this pull request Sep 17, 2026
* Make font bytes optional
* Remove keyword support from core.getfont

Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
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.

3 participants