xosd depends on 2 megabytes of unnecessary fonts. They should be removed. Reproducible: Always
*** Bug 351134 has been marked as a duplicate of this bug. ***
You're not quite correct here - xosd doesn't use fontconfig, but the old XLFD method, with a default of "-misc-fixed-medium-r-semicondensed--*-*-*-*-c-*-*-*" That's media-fonts/font-misc-misc, unfortunately. Why, yes, it could use porting to at least libXft.
(In reply to comment #2) > You're not quite correct here - xosd doesn't use fontconfig, but the old XLFD > method, with a default of "-misc-fixed-medium-r-semicondensed--*-*-*-*-c-*-*-*" > > That's media-fonts/font-misc-misc, unfortunately. > Why, yes, it could use porting to at least libXft. > Yes, but even XLFD goes through X and hence there is no problem if "the default" is currently not available. I don't know what font in particular X will pick as a substitute but it sure finds one. I installed the program from source and - of course - it works perfectly fine without misc-misc fonts - although osd_cat might *prefer* a specific font.
The problem is that there are cases when no font matches the pattern and xosd just silently fails - there's no default fallback here.
I see. What about a "-failsafe" USE flag then or at least choose the smallest font package which still has a matching font in it instead of font-misc-misc which in turn depends on font-alias and is about 2M (I would find esp. the first option reasonable).
Personally, I do agree to a point (a useflag would be nice), but I don't think this will get accepted.
(In reply to comment #6) > Personally, I do agree to a point (a useflag would be nice), but I don't think > this will get accepted. > Accepted? By whom? The maintainer? Why would he not...
The font dependency could be modified to be satisfied by another font if it exists. What font would you guys recommend/use that works with xosd?