Fonts/zh-cn: Difference between revisions

ZhX589 (talk | contribs)
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
ZhX589 (talk | contribs)
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}}


<div lang="en" dir="ltr" class="mw-content-ltr">
有关 XML 配置语言的更多信息和示例:
For more information and examples on the xml configuration language:
</div>


* 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


<div lang="en" dir="ltr" class="mw-content-ltr">
有关合适的替代字体列表:
For a list of suitable replacement fonts:
</div>
* https://wiki.archlinux.org/title/Metric-compatible_fonts
* https://wiki.archlinux.org/title/Metric-compatible_fonts


<span lang="en" dir="ltr" class="mw-content-ltr">== Troubleshooting ==</span>
== 故障排除 ==


<span lang="en" dir="ltr" class="mw-content-ltr">=== What font names can be used in <code>fonts.fontconfig.defaultFonts.monospace</code>? ===</span>
=== <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>