You are not logged in.

#1 2021-01-27 14:09:44

jackie-rc
Member
Registered: 2021-01-27
Posts: 3

Trouble setting default font

Hey! First off I want to thank all you wonderful people, been lurking here for a while and these forums are super helpful. So, I'm trying to use a patched nerd font as the default font. I've downloaded and installed it, and the Arch Wiki says to use "fontconfig." I don't have a fontconfig file in my .config folder, nor can I find any resources on how to create one/what to put in it. What should I do? For reference, I'm using Alacritty as the terminal emulator, i3-gaps as the WM, the fish shell, and oh-my-fish alongside it.

Offline

#2 2021-01-27 14:32:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,350

Re: Trouble setting default font

Offline

#3 2021-01-27 15:07:10

jackie-rc
Member
Registered: 2021-01-27
Posts: 3

Re: Trouble setting default font

Thanks. How would I use a font downloaded from the internet if the XML snippet depends on a preset catalog of libraries and fonts? Also, how should I go about generating the fontconfig file if it is not already present?

Offline

#4 2021-01-27 15:46:14

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,350

Re: Trouble setting default font

You'd generate it by taking a text editor and writing the config as you want it to happen. You can generally assume that if the wiki is talking about a path and a file that isn't yet present you'd be expected to create it on your own.

See https://wiki.archlinux.org/index.php/Fonts#Installation for how to handle different ways of setting up a font.

You likely want to set up overrides for "sans-serif" "serif" "monospace" and map them to your preferred fonts for the appropriate styles as these are the "generic" defaults https://wiki.archlinux.org/index.php/Fo … font_order

You can use fc-query to find out which families and under which name your intended font is expected to be used for.

Last edited by V1del (2021-01-27 15:54:30)

Offline

#5 2021-01-27 15:54:59

jackie-rc
Member
Registered: 2021-01-27
Posts: 3

Re: Trouble setting default font

V1del wrote:

You'd generate it by taking a text editor and writing the config as you want it to happen. You can generally assume that if the wiki is talking about a path and a file that isn't yet present you'd be expected to create it on your own.

See https://wiki.archlinux.org/index.php/Fonts#Installation for how to handle different ways of setting up a font.

You likely want to set up overrides for "sans-serif" "serif" "monospace" and map them to your preferred fonts for the appropriate styles as these are the "generic" defaults https://wiki.archlinux.org/index.php/Fo … font_order

You can use fc-query to find out which families and under which name your intended font is expected to be used for.

Thanks! I think I get it now, I really appreciate the help!

Edit: I'll post the solution once I figure out exactly how to do it so others don't have this problem.

Last edited by jackie-rc (2021-01-27 16:07:13)

Offline

Board footer

Powered by FluxBB