Skip to content

Add FontFile.to_imagefont()#9419

Open
fjhenigman wants to merge 1 commit intopython-pillow:mainfrom
fjhenigman:usepcf
Open

Add FontFile.to_imagefont()#9419
fjhenigman wants to merge 1 commit 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
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.

1 participant