Fonts/zh-cn: Difference between revisions
Created page with "要解决此问题,请将 <code>100-nix.conf</code> 文件添加到 Fontconfig 用户配置目录中(通常为 <code>$XDG_CONFIG_HOME/fontconfig/conf.d</code>): <syntaxhighlight lang="xml"> <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd"> <fontconfig> <!-- NIX_PROFILE 是您的 Nix 配置文件的路径。详见 Nix 参考手册。 --> <dir>NIX_PROFILE/lib/X11/fonts</dir> <dir>NIX_PROFILE/share/fonts</dir> </fontconfig> </syntax..." |
Created page with "或者,在您的 Home Manager 配置 <code>opt-fonts.fontconfig.enable</code> 中启用 Fontconfig 配置。" |
||
| Line 107: | Line 107: | ||
然后运行 <code>fc-cache</code>。 | 然后运行 <code>fc-cache</code>。 | ||
< | 或者,在您的 Home Manager 配置 <code>opt-fonts.fontconfig.enable</code> 中启用 Fontconfig 配置。 | ||
</ | |||
<span lang="en" dir="ltr" class="mw-content-ltr">=== Imperative installation of user fonts ===</span> | <span lang="en" dir="ltr" class="mw-content-ltr">=== Imperative installation of user fonts ===</span> | ||