Fonts: Difference between revisions

Klinger (talk | contribs)
mNo edit summary
AveryKoen (talk | contribs)
Tags: Mobile edit Mobile web edit
Line 29: Line 29:
* <code>fonts.enableGhostscriptFonts</code>: affects the <code>ghostscript</code> package. Ghostscript packages some URW fonts for the standard PostScript typefaces. If <code>true</code>, these fonts will be visible to GUI applications. You could set it to <code>true</code> if you want these fonts, but <code>gyre-fonts</code> (part of <code>fonts.enableDefaultPackages</code>) might be higher-quality depending on your judgement.
* <code>fonts.enableGhostscriptFonts</code>: affects the <code>ghostscript</code> package. Ghostscript packages some URW fonts for the standard PostScript typefaces. If <code>true</code>, these fonts will be visible to GUI applications. You could set it to <code>true</code> if you want these fonts, but <code>gyre-fonts</code> (part of <code>fonts.enableDefaultPackages</code>) might be higher-quality depending on your judgement.


=== Installing specific fonts from nerdfonts ===
=== Installing specific nerdfonts ===


Before Nixpkgs commit [https://github.com/NixOS/nixpkgs/commit/de4dbc58fdeb84694d47d6c3f7b9f04a57cc4231 de4dbc5] that provides individual Nerd Fonts packages under the name <code>nerd-fonts</code>, the <code>nerdfonts</code> package, which contains all fonts from the [https://www.nerdfonts.com/ nerdfonts] repository was quite large and contained a large number of fonts which took some time to install. If you only need a selection of fonts from the package, you can overwrite the font selection on Stable 20.09 like so:
Before Nixpkgs commit [https://github.com/NixOS/nixpkgs/commit/de4dbc58fdeb84694d47d6c3f7b9f04a57cc4231 de4dbc5] that provides individual Nerd Fonts packages under the name <code>nerd-fonts</code>, the <code>nerdfonts</code> package, which contains all fonts from the [https://www.nerdfonts.com/ nerdfonts] repository was quite large and contained a large number of fonts which took some time to install. If you only need a selection of fonts from the package, you can overwrite the font selection on Stable 20.09 like so: