"Ubuntu" matches "Ubuntu-ExtraBold"
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 840
- Forks
- 137
- Avg merge
- 4h 56m
- Merged PRs (30d)
- 1
Description
On Ubuntu 24.04, run: $ cargo run --example match-font -- "Ubuntu"
Output:
Path: /usr/share/fonts/truetype/ubuntu/Ubuntu[wdth,wght].ttf
Index: 393216
Family name: Ubuntu
PostScript name: Ubuntu-ExtraBold
Style: Normal
Weight: Weight(400.0)
Stretch: Stretch(1.0)
Interesting $ fc-match "Ubuntu :weight=400" has the same error, but Firefox matches the correct font.
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
Reproduce the issue on Ubuntu 24.04 with cargo run --example match-font -- "Ubuntu", then trace the font-matching path used by that example. Compare its result with the expected Ubuntu regular font and verify that the variable font no longer resolves to Ubuntu-ExtraBold.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100