Request SurfacePainter.textbox function to support system fonts
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 611
- Forks
- 211
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I found SurfacePainter.textbox(screen.draw.textbox) function in screen.py doesn't support to use sysfontname.
I think modify drawbox function in ptext.py and getfont funtion in loaders.py could add support for sysfont. But it is difficult for me to pull a stable and compatible request to add this feature. Please consider adding that this function supports the use of system fonts. Thanks.
Contributor guide
No contributing guide indexed for this repository
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 reading SurfacePainter.textbox in screen.py, then inspect the drawbox function in ptext.py and getfont in loaders.py. Trace how screen.draw.textbox selects fonts and determine the compatibility expectations for sysfontname. Done means textbox accepts and uses system fonts without disrupting existing font behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100