Fonts/zh-cn: Difference between revisions
Created page with "{{File|3=fonts = { packages = with pkgs; [ gyre-fonts ]; fontconfig = { localConf = '' <!-- use a less horrible font substition for pdfs such as https://www.bkent.net/Doc/mdarchiv.pdf --> <match target="pattern"> <test qual="any" name="family"><string>NewCenturySchlbk</string></test> <edit name="family" mode="assign" binding="same"><string>TeX Gyre Schola</string></edit> </match> ''; }; };|name=/etc/nixos/configuration.nix|..." Tags: Mobile edit Mobile web edit |
Created page with "=== 在 <code>fonts.fontconfig.defaultFonts.monospace</code> 中可以使用哪些字体名称? ===" |
||
| (One intermediate revision by the same user not shown) | |||
| Line 213: | Line 213: | ||
};|name=/etc/nixos/configuration.nix|lang=nix}} | };|name=/etc/nixos/configuration.nix|lang=nix}} | ||
有关 XML 配置语言的更多信息和示例: | |||
* https://www.mankier.com/5/fonts-conf | * https://www.mankier.com/5/fonts-conf | ||
| Line 221: | Line 219: | ||
* https://wiki.archlinux.org/index.php/Font_configuration/Examples | * https://wiki.archlinux.org/index.php/Font_configuration/Examples | ||
有关合适的替代字体列表: | |||
* https://wiki.archlinux.org/title/Metric-compatible_fonts | * https://wiki.archlinux.org/title/Metric-compatible_fonts | ||
== 故障排除 == | |||
=== 在 <code>fonts.fontconfig.defaultFonts.monospace</code> 中可以使用哪些字体名称? === | |||
<span lang="en" dir="ltr" class="mw-content-ltr">Those that fontconfig will understand. This can be queried from a font file using <code>fc-query</code>.</span> | <span lang="en" dir="ltr" class="mw-content-ltr">Those that fontconfig will understand. This can be queried from a font file using <code>fc-query</code>.</span> | ||