You are not logged in.

#1 2021-04-23 01:49:58

Delupara
Member
Registered: 2020-02-03
Posts: 17

Handling fonts in awesomewm

Hey people, I'm having a small problem.

I started to use awesomewm from dwm. I seem to have either a fontconfig issue or awesomewm cannot handle multiple fonts.

Im trying to have one font (lacking a lot of glyphs) display first then have a fallback font for other glyphs. The font in question being PlainBlack

My font config is at $HOME/.config/fontconfig/fonts.conf and here is what I have in it

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
	<alias>
		<family>sans</family>
		<prefer>
                        <family>PlainBlack</family>
                        <family>Noto Sans</family>
                </prefer>
	</alias>
	<alias>
		<family>sans-serif</family>
		<prefer><family>PlainBlack</family></prefer>
	</alias>
	<alias>
		<family>serif</family>
		<prefer>
			<family>PlainBlack</family>
		</prefer>
	</alias>
	<alias>
		<family>monospace</family>
		<prefer>
			<family>PlainBlack</family>
		</prefer>
	</alias>
</fontconfig>

Here is the output of "fc-list | grep PlainBlack"

/usr/share/fonts/TTF/Plain_Black_Wide.ttf: PlainBlackWide:style=Normal
/usr/share/fonts/TTF/Plain_Black.ttf: PlainBlack:style=Normal

"fc-match sans" which was taken from here gets me: NotoSans-Regular.ttf: "Noto Sans" "Regular".

This is throwing me off big time. I can display PlainBlack fine but the "square" glyphs are not being covered by the fallback. I need a bit of help on that one guys....

Last edited by Delupara (2021-04-23 01:50:49)

Offline

Board footer

Powered by FluxBB