Skip to content

Comments

Add FontFile.to_imagefont()#9419

Open
fjhenigman wants to merge 10 commits intopython-pillow:mainfrom
fjhenigman:usepcf
Open

Add FontFile.to_imagefont()#9419
fjhenigman wants to merge 10 commits intopython-pillow:mainfrom
fjhenigman:usepcf

Conversation

@fjhenigman
Copy link

Following up #9417.
This makes it possible for applications to directly use pcf and bdf font files, instead of going through a conversion step that creates new files.
A little refactoring in ImageFont so that metrics can be passed directly might make this cleaner.
If that makes sense let me know and I can update this PR.

@radarhere radarhere changed the title Add FontFile.to_imagefont(). Add FontFile.to_imagefont() Feb 5, 2026
@radarhere
Copy link
Member

I've created fjhenigman#1 with some suggestions.

@fjhenigman
Copy link
Author

fjhenigman commented Feb 12, 2026

thanks, I merged those in.
let me know if there's anything else I can do.

@fjhenigman
Copy link
Author

Sorry for not knowing how this works...
Do I need to do something? Thanks.

@radarhere
Copy link
Member

No problem. No, you don't need to do anything. As far as I'm concerned, this is ready to be merged. I'd just like to give one of the other core team members a chance to look it over.

Our next release is on April 1, so I don't think it makes a difference when this is merged between now and then.

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.

2 participants