git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/fontconfig: remove forceAutohint option
commit21c9190a5fd8387c90feff08198c47894c0a541d authorThomas Tuegel <ttuegel@mailbox.org> dateMon 3 Apr 2017, 08:23 (10 years ago) parent7a78892
2 files changed+1−16
nixos/modules/config/fonts/fontconfig.nix−16 nixos/modules/rename.nix+1
nixos/modules/config/fonts/fontconfig.nix−16
@@ -104,13 +104,6 @@ let cfg = config.fonts.fontconfig;
104104 </match>
105105 ''}
106106
107− <!-- Force autohint always -->
108− <match target="font">
109− <edit name="force_autohint" mode="assign">
110− ${fcBool cfg.forceAutohint}
111− </edit>
112− </match>
113−
114107 </fontconfig>
115108 '';
116109
@@ -453,15 +446,6 @@ in
453446 description = ''Use embedded bitmaps in fonts like Calibri.'';
454447 };
455448
456− forceAutohint = mkOption {
457− type = types.bool;
458− default = false;
459− description = ''
460− Force use of the TrueType Autohinter. Useful for debugging or
461− free-software purists.
462− '';
463− };
464−
465449 renderMonoTTFAsBitmap = mkOption {
466450 type = types.bool;
467451 default = false;
nixos/modules/rename.nix+1
@@ -202,5 +202,6 @@ with lib;
202202 (mkRemovedOptionModule [ "fonts" "fontconfig" "hinting" "style" ] "")
203203 (mkRemovedOptionModule [ "services" "xserver" "displayManager" "sddm" "themes" ]
204204 "Set the option `services.xserver.displayManager.sddm.package' instead.")
205+ (mkRemovedOptionModule [ "fonts" "fontconfig" "forceAutohint" ] "")
205206 ];
206207}