Solved fontconfig creating alias where it shouldn't.

rigoletto@

Daemon
Developer

Reaction score: 1,236
Messages: 2,282

Hello,

I have a problem with x11-fonts/ohsnap[1] being aliased to x11-fonts/montserrat, or if this not present other scalable font like Trebuchet MS. It happens wherever I have 70-no-bitmaps.conf or 70-yes-bitmaps.conf.

No idea why. :mad:

[EDIT]
When x11/polybar start I have this message:

notice: Loaded font "Ohsnap:style=Regular:pixelsize=10" (name=Montserrat, offset=2, file=/usr/local/share/fonts/montserrat/Montserrat-Regular.otf)

grahamperrin any idea?

[1] and probably other bitmap fonts.

Thank you.
 
OP
rigoletto@

rigoletto@

Daemon
Developer

Reaction score: 1,236
Messages: 2,282

So, this is basically falling back to Montserrat:

Code:
fc-match Ohsnap
Montserrat-Regular.otf: "Montserrat" "Regular"

Code:
fc-list | grep -i ohsnap
/usr/local/share/fonts/ohsnap/ohsnap6x11b.pcf: Misc Ohsnap:style=Bold
/usr/local/share/fonts/ohsnap/ohsnap6x13b.pcf: Misc Ohsnap:style=Bold
/usr/local/share/fonts/ohsnap/ohsnap7x12b.pcf: Misc Ohsnap:style=Bold
/usr/local/share/fonts/ohsnap/ohsnap7x14b.pcf: Misc Ohsnap:style=Bold
/usr/local/share/fonts/ohsnap/ohsnap6x11b.icons.pcf: Misc Ohsnap.Icons:style=Bold
/usr/local/share/fonts/ohsnap/ohsnapu7x14r.pcf: Misc Ohsnapu:style=Regular
/usr/local/share/fonts/ohsnap/ohsnapu7x12r.pcf: Misc Ohsnapu:style=Regular
/usr/local/share/fonts/ohsnap/ohsnapu6x11r.pcf: Misc Ohsnapu:style=Regular
/usr/local/share/fonts/ohsnap/ohsnapu6x13r.pcf: Misc Ohsnapu:style=Regular
/usr/local/share/fonts/ohsnap/ohsnap6x13b.icons.pcf: Misc Ohsnap.Icons:style=Bold
/usr/local/share/fonts/ohsnap/ohsnapu6x13b.pcf: Misc Ohsnapu:style=Bold
/usr/local/share/fonts/ohsnap/ohsnapu6x11b.pcf: Misc Ohsnapu:style=Bold
/usr/local/share/fonts/ohsnap/ohsnap7x12b.icons.pcf: Misc Ohsnap.Icons:style=Bold
/usr/local/share/fonts/ohsnap/ohsnap6x11r.icons.pcf: Misc Ohsnap.Icons:style=Regular
/usr/local/share/fonts/ohsnap/ohsnap7x12r.pcf: Misc Ohsnap:style=Regular
/usr/local/share/fonts/ohsnap/ohsnapu7x14b.pcf: Misc Ohsnapu:style=Bold
/usr/local/share/fonts/ohsnap/ohsnapu7x12b.pcf: Misc Ohsnapu:style=Bold
/usr/local/share/fonts/ohsnap/ohsnap7x14r.pcf: Misc Ohsnap:style=Regular
/usr/local/share/fonts/ohsnap/ohsnap6x13r.pcf: Misc Ohsnap:style=Regular
/usr/local/share/fonts/ohsnap/ohsnap6x11r.pcf: Misc Ohsnap:style=Regular
/usr/local/share/fonts/ohsnap/ohsnap7x12r.icons.pcf: Misc Ohsnap.Icons:style=Regular
/usr/local/share/fonts/ohsnap/ohsnap7x14b.icons.pcf: Misc Ohsnap.Icons:style=Bold
/usr/local/share/fonts/ohsnap/ohsnap6x13r.icons.pcf: Misc Ohsnap.Icons:style=Regular
/usr/local/share/fonts/ohsnap/ohsnap7x14r.icons.pcf: Misc Ohsnap.Icons:style=Regular
 
OP
rigoletto@

rigoletto@

Daemon
Developer

Reaction score: 1,236
Messages: 2,282

Ok, solved it. I missed the font suddenly changed the name to "Misc Ohsnap", and I have no idea why since the font was not updated.
 
Top