Use only free fonts in the samples
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.4k
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/linebender/piet/blob/24acaf6467bff134b7b5c7c0ec70973544020b49/piet/src/samples/picture_0.rs#L21
On my Linux machine, I don't have the "Georgia" font installed because I avoid installing any non-free packages. It would be nice if this sample had an alternative font that was free.
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
Open piet/src/samples/picture_0.rs at line 21 and inspect how the sample selects the Georgia font. Replace that font choice with a free alternative that is suitable for the sample. Done means the sample no longer depends on a non-free font and remains usable on Linux systems without Georgia installed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100