summary refs log tree commit diff
path: root/nixos/modules/config/fonts
Commit message (Collapse)AuthorAge
* freetype: re-add infinality patchesNikolay Amiantov2016-08-20
| | | | archfan has updated those patches for the new version.
* freetype: 2.6.2 -> 2.6.5cmfwyp2016-08-20
| | | | | | The fontconfig-ultimate patches are unmaintained. Since they were not updated for newer FreeType versions, this removes them and disables fontconfig-ultimate by default.
* fontconfig-ultimate: 2015-12-06 -> 2016-04-23Nikolay Amiantov2016-08-20
| | | | | | | | | This removes our hardcoded presets which weren't updated for quite some time. Infinality now has new hardcoded presets in freetype, which can be overriden if desired with environment variables (as before). Accordingly, updated NixOS module to set the hardcoded preset. Additionally used a more "right" type for substitutions.
* fontconfig module: respect upstream definitionsEric Sagnes2016-08-20
|
* fontconfig: fix etc priorityEric Sagnes2016-08-20
|
* Revert "fontconfig: fix etc priority"obadz2016-07-15
| | | | | | | | This reverts commit 1e53d4a7776acbf61f42c094c103652c8068ad64. Closes #16983 cc @vcunat @ericsagnes @dezgeg
* fontconfig: fix etc priorityEric Sagnes2016-07-09
|
* config.fonts.fontdir: use runCommand instead of builderDefsJoachim Fasting2016-05-26
| | | | | | The primary motivation here is to get rid of builderDefs, but now the resulting font directory is also linked into /run/current-system/sw, which fixes #15194.
* Merge recent 'staging' into closure-sizeVladimír Čunát2016-02-03
|\ | | | | | | Let's get rid of those merge conflicts.
| * fontconfig service: add pre-generated fonts cachesNikolay Amiantov2016-01-29
| |
* | fontconfig: split into multiple outputsVladimír Čunát2015-10-05
|/ | | | Fixed all 'fontconfig}' references as well, hopefully, ugh!
* nixos/fonts: Add unifont to list of default fonts.aszlig2015-09-26
| | | | | | | | | | | | | | | | | This fixes #10077 because after some debugging it turns out that by default we don't have a font which is able to display Chinese symbols. Thanks to @anderspapitto, @kmicu and hyper_ch on IRC to help debugging this issue, see log at: http://nixos.org/irc/logs/log.20150926 starting at 19:46 With unifont we have a reasonable fallback font to ensure that every written language is rendered correctly and thus less surprise for new users who keep their font settings at the default. Reported-by: Anders Papitto <anderspapitto@gmail.com> Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* nixos: fix some typesJan Malakhovski2015-09-18
|
* nixos/fontconfig: separate rendering and alias configurationThomas Tuegel2015-08-04
| | | | | | | Fixes #9110. Fontconfig recommends different precedence for rendering settings and generic alias settings. To comply with the recommendations, `98-nixos.conf` has been separated into `10-nixos-rendering.conf` and `60-nixos-generic-alias.conf`.
* Hide the option fonts.enableCoreFontsEelco Dolstra2015-06-01
| | | | We shouldn't have options that simply enable a package.
* Fix infinite loop in fontconfig-ultimate.nixNicolas B. Pierron2015-03-12
| | | | | | With the new evaluation of arguments, pkgs is now defined by the configuration, which implies that option declaration with pkgs.lib will cause an infinite loop.
* fontconfig: stringify dpi correctlyThomas Tuegel2015-02-01
|
* nixos: fix config.fonts.fontconfig.ultimate.allowBitmapsThomas Tuegel2014-12-15
| | | | | The option was incorrectly negated, so that 'allowBitmaps = true' actually disabled bitmap fonts.
* nixos: let fontconfig default fonts be lists of fontsThomas Tuegel2014-12-08
|
* Replace Bitstream Vera fonts by DejaVu in defaultsThomas Tuegel2014-12-08
| | | | | | The default configuration installed the Bitstream Vera fonts, but DejaVu is a superior replacement, and the default Fontconfig settings need it now for the generic faces monospace, sans-serif, and serif.
* Add NixOS module for fontconfig-ultimateThomas Tuegel2014-12-08
| | | | | | | | | | | | | | | | | | | | | | Details: * The option `fonts.fontconfig.ultimate.enable` can be used to disable the fontconfig-ultimate configuration. * The user-configurable options provided by fontconfig-ultimate are exposed in the NixOS module: `allowBitmaps` (default: true), `allowType1` (default: false), `useEmbeddedBitmaps` (default: false), `forceAutohint` (default: false), `renderMonoTTFAsBitmap` (default: false). * Upstream provides three substitution modes for substituting TrueType fonts for Type 1 fonts (which do not render well). The default, "free", substitutes free fonts for Type 1 fonts. The option "ms" substitutions Microsoft fonts for Type 1 fonts. The option "combi" uses a combination of Microsoft and free fonts. Substitutions can also be disabled. * All 21 of the Infinality rendering modes supported by fontconfig-ultimate or by the original Infinality distribution can be selected through `fonts.fontconfig.ultimate.rendering`. The default is the medium style provided by fontconfig-ultimate. Any of the modes may be customized, or Infinality rendering can be disabled entirely.
* Rewrite Fontconfig NixOS moduleThomas Tuegel2014-12-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Details: * The option `fonts.enableFontConfig` has (finally) been renamed `fonts.fontconfig.enable`. * Configurations are loaded in this order: first the Fontconfig-upstream configuration is loaded, then the NixOS-specific font directories are set, the system-wide default configuration is loaded, and finally the user configuration is loaded (if enabled). * The NixOS options `fonts.fontconfig.defaultFonts.monospace`, `fonts.fontconfig.defaultFonts.sansSerif` and `fonts.fontconfig.defaultFonts.serif` are added to allow setting the default system-wide font used for these generic faces. The defaults are the appropriate faces from the DejaVu collection because of their comprehensive Unicode coverage, clean rendering, and excellent legibility. * The NixOS option `fonts.fontconfig.antialias` can be used to disable antialiasing (it is enabled by default). * The options `fonts.fontconfig.subpixel.rgba` and `fonts.fontconfig.subpixel.lcdfilter` control the system-wide default settings for subpixel order and LCD filtering algorithm, respectively. * `fonts.fontconfig.hinting.enable` can be used to disable TrueType font hinting (it is enabled by default). `fonts.fontconfig.hinting.autohint` controls the FreeType autohinter. `fonts.fontconfig.hinting.style` controls the hint style; it is "full" by default. * User configurations can be disabled system-wide by setting `fonts.fontconfig.includeUserConf = false`. They are enabled by default so users can set Fontconfig options in the desktop environment of their choice.
* fontconfig: patch and documentVladimír Čunát2014-11-05
|
* fontconfig: update 2.10.2 -> 2.11.1. Close #4410, #2050Luca Bruno2014-10-23
|
* FONTCONFIG_FILE: remove setters to /etc/fonts/fonts.confVladimír Čunát2014-10-05
| | | | | | | | | | Any reasonably new version of fontconfig does search that path by default, and setting this globally causes problems, as 2.10 and 2.11 need incompatible configs. Tested: slim+xfce desktop, chrootenv-ed steam. I have no idea why we were setting the global variable; e.g., neither Fedora nor Ubuntu does that.
* nixos/manual: Use literalExample when feasible.aszlig2014-08-27
| | | | | | | | | Should bring most of the examples into a better consistency regarding syntactic representation in the manual. Thanks to @devhell for reporting. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Add type for fonts.fonts optionEelco Dolstra2014-05-22
|
* Obsolete fonts.extraFontsEelco Dolstra2014-04-29
| | | | | You can now just set fonts.fonts, which will be merged with the default value unless you use mkOverride.
* Remove redundant ~/.fonts element from the font search pathEelco Dolstra2014-04-29
|
* Rewrite ‘with pkgs.lib’ -> ‘with lib’Eelco Dolstra2014-04-14
| | | | | | | | Using pkgs.lib on the spine of module evaluation is problematic because the pkgs argument depends on the result of module evaluation. To prevent an infinite recursion, pkgs and some of the modules are evaluated twice, which is inefficient. Using ‘with lib’ prevents this problem.
* Strictly check the arguments to mkOptionEelco Dolstra2013-10-30
| | | | And fix various instances of bad arguments.
* Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra2013-10-10