translated by scusjs

How to Add Beautiful Fonts to Any Linux Distribution
This commit is contained in:
沈津生 2014-04-05 01:38:40 +08:00
parent 73fa3e9aec
commit b6e9ab8e2a
2 changed files with 78 additions and 78 deletions

View File

@ -1,78 +0,0 @@
How to Add Beautiful Fonts to Any Linux Distribution
================================================================================
![](http://i1-news.softpedia-static.com/images/news2/How-to-Add-Beautiful-Fonts-to-Any-Linux-Distribution-434835-2.jpg)
**The following tutorial will teach all Linux users how to easily add beautiful fonts to their operating systems. Weve written detailed instructions for Debian, Arch Linux, openSUSE, Slackware, and Fedora distributions.**
As many of you already know, the major drawback of almost all Linux-based operating systems is that the default selection of fonts is not satisfactory for end users, especially those who migrate from Windows or Mac OS X OSes.
Except for Ubuntu, which uses its own set of fonts that looks quite beautiful from the get-go, all the other Linux distributions suffer from ugly font disease. Because of this, many users tried to create new methods for improving text rendering in various distros.
This is the case of the Infinality project, whose main purpose is to add various patches in order to provide users with some of the nicest font renderings on any Linux-based operating system.
### Infinality for Arch Linux ###
1. Add the infinality-bundle, infinality-bundle-multilib (for 64-bit users) and infinality-bundle-fonts repositories to your /etc/pacman.conf:
[infinality-bundle]
Server = http://bohoomil.com/repo/$arch
[infinality-bundle-multilib]
Server = http://bohoomil.com/repo/multilib/$arch
[infinality-bundle-fonts]
Server = http://bohoomil.com/repo/fonts
2. Execute the sudo pacman -Syu command to refresh the repositories, then run the `sudo pacman -S infinality-bundle infinality-bundle-multilib ibfonts-meta-extended` (for 64-bit systems) or `sudo pacman -S infinality-bundle ibfonts-meta-extended` (for 32-bit systems).
3. Answer YES when asked if you want to replace freetype2 of fontconfig packages. Reboot your computer when finished.
### Infinality for Fedora ###
1. Execute the following commands in a terminal window:
sudo rpm -Uvh http://www.infinality.net/fedora/linux/infinality-repo-1.0-1.noarch.rpm
sudo yum install freetype-infinality fontconfig-infinality
2. Reboot your machine.
### Infinality for openSUSE ###
1. Add the official Infinality repository `http://download.opensuse.org/repositories/home:/namtrac:/subpixel/openSUSE_13.1/`, open the Repositories tab in YaST, select the namtrac:subpixel repository, and click on “Switch system packages to the versions in this repository.”
2. Mark for installation all the packages from the namtrac:subpixel that are not installed, then install the fontconfig-infinality package from the official openSUSE repositories.
3. Set the Subpixel Hinting option to “Use system settings” in the font configuration options, or set it to RGB order with Slight hinting. Reboot your system.
### Infinality for Slackware ###
Detailed installation instructions are provided at [http://someslack.wordpress.com/infinality-on-slackware/][1]
### Infinality for Debian ###
1. Execute the following commands in a terminal (one by one, hitting Enter after each one):
echo “deb http://ppa.launchpad.net/no1wantdthisname/ppa/ubuntu raring main” | sudo tee /etc/apt/sources.list.d/infinality.list
echo “deb-src http://ppa.launchpad.net/no1wantdthisname/ppa/ubuntu raring main” | sudo tee -a /etc/apt/sources.list.d/infinality.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E985B27B
2. Run the following commands to update your system and install the Infinality packages:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install fontconfig-infinality
3. Restart your computer.
For any other Linux distribution that is not listed above, please use the official instructions provided at [https://github.com/Infinality/fontconfig-infinality/tree/master/infinality][2]. As usual, do not hesitate to drop a comment below if you encounter any issues with this tutorial.
--------------------------------------------------------------------------------
via: http://news.softpedia.com/news/How-to-Add-Beautiful-Fonts-to-Any-Linux-Distribution-434835.shtml
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[1]:http://someslack.wordpress.com/infinality-on-slackware/
[2]:https://github.com/Infinality/fontconfig-infinality/tree/master/infinality

View File

@ -0,0 +1,78 @@
如何给任何Linux发行版添加漂亮的字体
================================================================================
![](http://i1-news.softpedia-static.com/images/news2/How-to-Add-Beautiful-Fonts-to-Any-Linux-Distribution-434835-2.jpg)
**接下来的教程将教所有的Linux用户怎么简单的将漂亮的字体添加到自己的操作系统。我们已经为DebianArch LinuxopenSUSESlackware和Fedora发行版编写了详细的介绍。**
正如你们许多人已经知道的几乎所有基于Linux操作系统的主要缺点就是默认选择的字体并不令最终的用户满意尤其是那些从Windows或者Mac OS X等操作系统迁移过来的用户。
除了使用自己的一套字体使它一开始就看起来相当漂亮的Ubuntu其他的所有Linux发行版都有丑陋字体的毛病。正因如此许多用户试图创建一种新的方法来增强文字在各个发行版中渲染效果。
这就是Infinality项目产生的原因其主要目的是通过添加补丁来为使用任何基于Linux的操作系统的用户提供最好的字体渲染效果。
### Infinality for Arch Linux ###
1. 将infinality-bundleinfinality-bundle-multilib 用于使用64位系统的用户和infinality-bundle-fonts仓库添加到你的 /etc/pacman.conf文件中
[infinality-bundle]
Server = http://bohoomil.com/repo/$arch
[infinality-bundle-multilib]
Server = http://bohoomil.com/repo/multilib/$arch
[infinality-bundle-fonts]
Server = http://bohoomil.com/repo/fonts
2. 执行 sudo pacman -Syu 命令用来刷新仓库,然后运行 `sudo pacman -S infinality-bundle infinality-bundle-multilib ibfonts-meta-extended` 用于64位系统 或者 `sudo pacman -S infinality-bundle ibfonts-meta-extended` 用于32位系统
3. 当被询问是否替换fontconfig软件包的freetype2时回答YES。完成后重启你的计算机。
### Infinality for Fedora ###
1. 在终端窗口中执行如下命令
sudo rpm -Uvh http://www.infinality.net/fedora/linux/infinality-repo-1.0-1.noarch.rpm
sudo yum install freetype-infinality fontconfig-infinality
2. 重启你的机器。
### Infinality for openSUSE ###
1. 添加Infinality官方仓库 `http://download.opensuse.org/repositories/home:/namtrac:/subpixel/openSUSE_13.1/` 打开YaST中的库选项卡选择namtrac:subpixel仓库并打击“切换系统包的版本到这个仓库”。
2. 标记namtrac:subpixel中所有还没有安装的包来进行安装然后从openSUSE官方软件仓库中安装fontconfig-infinality包。
3. 在字体设置选项里将Subpixel Hinting选择为“使用系统涉资”或者设置为带有微调的RGB顺序。重启你的系统。
### Infinality for Slackware ###
详细的安装指南在[http://someslack.wordpress.com/infinality-on-slackware/][1]被提供。
### Infinality for Debian ###
1. 在终端中执行下面的命令(一个一个执行,每一行之后敲击回车):
echo “deb http://ppa.launchpad.net/no1wantdthisname/ppa/ubuntu raring main” | sudo tee /etc/apt/sources.list.d/infinality.list
echo “deb-src http://ppa.launchpad.net/no1wantdthisname/ppa/ubuntu raring main” | sudo tee -a /etc/apt/sources.list.d/infinality.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E985B27B
2. 执行以下命令来升级你的系统并安装Infinality包
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install fontconfig-infinality
3. 重启你的计算机。
如果任何其他的Linux发行版在上文中没有被提到的话请使用官方的介绍[https://github.com/Infinality/fontconfig-infinality/tree/master/infinality][2]。通常,当你使用本教程过程中遇到任何问题都可以在下面评论,不要犹豫。
--------------------------------------------------------------------------------
via: http://news.softpedia.com/news/How-to-Add-Beautiful-Fonts-to-Any-Linux-Distribution-434835.shtml
译者:[SCUSJS](https://github.com/scusjs) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[1]:http://someslack.wordpress.com/infinality-on-slackware/
[2]:https://github.com/Infinality/fontconfig-infinality/tree/master/infinality