Fonts: Difference between revisions

Installing fonts on NixOS: Migrate my diffs from https://nixos.wiki/index.php?title=Fonts&action=history. The edit summaries were: "Use a manpage website that actually updates. die.net should, well, die."; "I'm starting to think the Persian example is untested! Ubuntu should absolutely not be a monospace font. Or a serif font, for that matter."; "add: link to archwiki metric-compat list; explanation of why you don't want sans-serif and serif to mix; how defaultFonts works under the hood"
Split section: configuring fonts
Line 45: Line 45:
fc-list -v | grep -i source
fc-list -v | grep -i source
</syntaxhighlight>
</syntaxhighlight>
== Configuring fonts ==
The nixos key [https://search.nixos.org/options?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=fonts.fontconfig <code>fonts.fontconfig</code>] handles the fontconfig options. Some options are nicely wrapped in nix; there's always <code>localConf</code> to go straight to the XML.


=== Set multiple fonts for different languages ===
=== Set multiple fonts for different languages ===