Fonts/zh-cn: Difference between revisions

ZhX589 (talk | contribs)
Created page with "字体"
 
ZhX589 (talk | contribs)
Created page with "尽管这些字体包看起来与普通包无异,但仅将它们添加到 `environment.systemPackages` 并不会让应用程序能够访问这些字体。要实现这一点,应将它们放入 NixOS 的 `[https://search.nixos.org/options?channel=unstable&show=fonts.packages&from=0&size=50&sort=relevance&type=packages&query=fonts.packages fonts.packages]` 选项列表中。"
Tags: Mobile edit Mobile web edit
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>


<div lang="en" dir="ltr" class="mw-content-ltr">
NixOS 处理字体就像处理系统中许多不同部分一样:除非明确标记为环境的一部分,否则它们不会出现在环境中。本指南涵盖字体的安装、配置和故障排除。
NixOS handles fonts like it handles many different parts of the system: they are not in an environment unless explicitly marked to be part of it. This guide covers the installation, configuration and troubleshooting of fonts.
</div>


<span lang="en" dir="ltr" class="mw-content-ltr">== Installing fonts on NixOS ==</span>
NixOS 上安装字体


<span lang="en" dir="ltr" class="mw-content-ltr">NixOS has many font packages available, and you can easily search for your favorites on the</span> [https://search.nixos.org/packages NixOS packages site].  
NixOS 有许多可用的字体包,你可以轻松地在这里搜索并使用他们: [https://search.nixos.org/packages NixOS packages site].  


<span lang="en" dir="ltr" class="mw-content-ltr">Despite looking like normal packages, simply adding these font packages to your <code>environment.systemPackages</code> won't make the fonts accessible to applications. To achieve that, put these packages in the <code>[https://search.nixos.org/options?channel=unstable&show=fonts.packages&from=0&size=50&sort=relevance&type=packages&query=fonts.packages fonts.packages]</code> NixOS options list instead.</span>
尽管这些字体包看起来与普通包无异,但仅将它们添加到 `environment.systemPackages` 并不会让应用程序能够访问这些字体。要实现这一点,应将它们放入 NixOS 的 `[https://search.nixos.org/options?channel=unstable&show=fonts.packages&from=0&size=50&sort=relevance&type=packages&query=fonts.packages fonts.packages]` 选项列表中。


''For example:''
''For example:''