Why does `ttf-font` have only 10 providers?
I believe the title is self-explanatory, but let me add some context.
For me, this question arises from the dependency of firefox on ttf-font and my dislike of having fonts I don't ever use on my system (any graphical drop-down with fonts becomes very messy very quickly).
A thing I did was install the font I actually want (say, ttf-fira-sans), which does not provide ttf-font. I then edited /var/lib/pacman/local/ttf-fira-sans-{version}/desc, adding ttf-font to its %PROVIDES% section (probably not the best thing to do). Deleting the font that used to provide ttf-font before now had no visible negative effects.
My question expanded:
Is there good reason only 10 font packages provide `ttf-font`? (there are 40+ ttf packages in the official repos)
If not, should this be reported / what should I do about this?
P.S. A similar question has been asked, but nothing seems to have changed.
Edit: wording
Edited 11 Jul 2019. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 29 · 100% up
- Kind
- Text
- ID
- cbrfhe
10 comments
Do they all cover the full scope? (sans, sans serif, monospaced) maybe this could be an explanation.
Good point, although if that's the case and many are split, shouldn't Firefox require something like ttf-sans, ttf-serif, ttf-mono?
Came to my mind too - turns out - some of them are very limited even.
Take
ttf-caladeafor example. Comes in exactly one variety (serif) with options for Regular, Bold, Italic and Bold Italic.Also, I was thinking something like wider Unicode support, but I'm not sure how to check that.
This is a bug, then.
ttf-fontshould only be provided by packages containing fonts thatsans-serif,serifandmonospaceas determined by fontconfig.
Font forge?
You could create an empty dummy package that provides that "ttf-font" name. The PKGBUILD for that could look something like this:
Make a dummy that provides ttf-fonts then remove what you dont use and see what breaks?
I did a similar thing. Just instead of creating a dummy package I made a actual font provide
ttf-fonts. Then deleted the font I didn't use. Nothings seems to have broken.