Fonts/en: Difference between revisions
Updating to match new version of source page |
Updating to match new version of source page |
||
| Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
NixOS handles fonts like it handles many different parts of the system: they are not in an environment unless explicitly marked to be part of it. This guide covers the installation, configuration and troubleshooting of fonts. | NixOS handles fonts like it handles many different parts of the system: they are not in an environment unless explicitly marked to be part of it. This guide covers the installation, configuration and troubleshooting of fonts. | ||
| Line 57: | Line 56: | ||
nerd-fonts.droid-sans-mono | nerd-fonts.droid-sans-mono | ||
];|name=/etc/nixos/configuration.nix|lang=nix}} | ];|name=/etc/nixos/configuration.nix|lang=nix}} | ||
| Line 149: | Line 147: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Then <code>typst fonts</code> finds the installed fonts in the nix-shell. | Then <code>typst fonts</code> finds the installed fonts in the nix-shell. | ||
== Configuring fonts == | == Configuring fonts == | ||
| Line 361: | Line 358: | ||
fonts.fontconfig.useEmbeddedBitmaps = true; | fonts.fontconfig.useEmbeddedBitmaps = true; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<hr /> | <hr /> | ||
[[Category:Configuration]] | [[Category:Configuration]] | ||
[[Category:Desktop]] | [[Category:Desktop]] | ||
[[Category:Fonts]] | [[Category:Fonts]] | ||