Fonts

From NixOS Wiki
Revision as of 15:43, 29 September 2017 by imported>Samueldr (Created page with " == Troubleshooting == === What font names can be used in <code>fonts.fontconfig.defaultFonts.monospace</code>? === Those that fontconfig will understand. This can be querie...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Troubleshooting

What font names can be used in fonts.fontconfig.defaultFonts.monospace?

Those that fontconfig will understand. This can be queried from a font file using `fc-query`.

$ cd /nix/var/nix/profiles/system/sw/share/X11-fonts
$ fc-query DejaVuSans.ttf | grep '^\s\+family:' | cut -d'"' -f2