I have an alias in my ~/.config/fontconfig/fonts.xml like this:
<alias>
<family>monospace</family>
<prefer>
<family>Comic Code Ligatures</family>
<family>Symbols Nerd Font</family>
</prefer>
</alias>
This is simply setting Nerd Font symbols as a fallback in case the glyphs aren't found in my main monospace font, i.e. Comic Code Ligatures.
This works properly in st, however, dwm fails to size the fallback font properly and the glyphs are rendered very small.
Here are a few screenshots.
static const char *fonts[] = { "monospace-12", "Symbols Nerd Font-14" };

static const char *fonts[] = { "monospace-12" };

These is the output of st using the same font family without FONT2 patch:

If you want to test this quickly, you can use my builds of st, dwm and my fontconfig:
I have an alias in my
~/.config/fontconfig/fonts.xmllike this:This is simply setting Nerd Font symbols as a fallback in case the glyphs aren't found in my main monospace font, i.e. Comic Code Ligatures.
This works properly in
st, however, dwm fails to size the fallback font properly and the glyphs are rendered very small.Here are a few screenshots.
static const char *fonts[] = { "monospace-12", "Symbols Nerd Font-14" };static const char *fonts[] = { "monospace-12" };These is the output of st using the same font family without FONT2 patch:

If you want to test this quickly, you can use my builds of st, dwm and my fontconfig: