python-pillow / python-pillow/Pillow
FreeType sub-pixel text rendering
Open
Nobody has claimed this yet.
Enhancement
Font Rendering
- Dominant language
- Python
- Stars
- 13.8k
- Forks
- 2.5k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 89
Description
I was wondering if it would be possible to add sub-pixel rendering support into Pillow.
Pillow uses FreeType under the hood for TrueType fonts. FreeType supports sub-pixel rendering, but Pillow's current way of rendering text doesn't allow for sub-pixel rendering in the first place.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing Pillow's current FreeType-backed text-rendering path and comparing it with FreeType's LCD rendering documentation. Done means Pillow supports sub-pixel text rendering through its existing text API with appropriate behavior covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100