How To Get Mac & Windows Fonts in Ubuntu

本文介绍如何在Ubuntu上安装常见的Windows字体如Arial和Times New Roman,以及Mac OS X的字体。通过软件中心或命令行工具,用户可以轻松安装这些字体,并接受相应的许可协议。此外,还提供了安装在线下载字体的方法。
Whenever you’re happily setting up your new Ubuntu system (or Linux in general, for that matter), one of the things you’ll probably think about the least is getting the correct fonts installed. If you’re a bit confused about why I mentioned fonts, it’s because most distributions (or at least those who’d like to remain legal) only use free, or “libre”, fonts. While there’s absolutely nothing wrong with using these fonts, there will most likely be multiple cases where you’ll be required to have certain fonts, such as writing papers for school.

Therefore, it’s important to get these fonts installed so you can continue your life without having to think twice.

Why Aren’t They Already Included?

As I just mentioned, most distributions do not automatically include these fonts because they want to remain legal. The fonts that we’re accustomed to are owned by their respective companies, and everyone who uses them is essentially using them via a license. Those Linux distributions can’t include them without asking you to accept the license, so they don’t include them.

However, if you install them manually, you’ll be accepting the respective license, which therefore makes it legal to use them. You accept the license by either a specific dialog which appears asking you to accept, or by the sheer act of installing them.

Microsoft Fonts

ubuntu fonts

Installation of the Microsoft / Windows fonts, which include Arial and Times New Roman, is actually extremely easy. Simply open up the Ubuntu Software Center, and then search for :

ttf-mscorefonts-installer

Once found, hit the Install button and let it download. Once it begins installing, you’ll be asked to accept Microsoft’s license on the fonts. Afterwards, it’ll continue installing the fonts, and you’ll be set as soon as it completes. If you wish, you can also open up a terminal and run the command :

sudo apt-get install ttf-mscorefonts-installer.

Again, after it downloads the necessary files, you’ll be asked to accept the license (by hitting enter), and it’ll finish with the installation.

Mac OS X Fonts

free fonts for ubuntu

For some of the popular fonts that ship with Mac OS X, you’ll have to go through a somewhat more complex process to install them. Please note that for educational and professional environments (minus graphic design and similar fields), you will more than likely not need these fonts, as much of the world depends on Microsoft’s fonts, specifically Times New Roman. However if you would like to have these on your Ubuntu system, you’ll need to open up your terminal and enter in the following commands:

  • wget http://dl.dropbox.com/u/26209128/mac_fonts.tar.gz
  • tar zxvf mac_fonts.tar.gz
  • sudo mv fonts /usr/share/fonts/
  • sudo fc-cache -f -v

These commands do the following:

  1. Download a .tar package with the fonts.
  2. “Unzips” the .tar package.
  3. Moves the unzipped font files into the system’s fonts folder.
  4. Updates the font cache.

After completing this process, you should have the Mac fonts ready to go. Essentially, it’s as easy as copy and paste. Please note that if the very first command doesn’t work, then the link is most likely broken. If that is the case, you’ll need to find another Mac fonts .tar package online and download it, then continue.

Installing Other Fonts

ubuntu fonts

Since we’re on the topic of fonts, installing fonts which you find online and aren’t associated with Microsoft or Apple can be easily installed as well. After you download a font file from a website such as dafont.com, you can simply double-click on the file. A window will appear which shows examples of the font in use, and offers an Install button. Clicking this will do all the work necessary to successfully install the font on your system, which makes it painless.

Conclusion

Thankfully, getting the fonts that we want installed on our Ubuntu systems isn’t too hard to accomplish, especially with instructions like these in hand. Plus, it’s something you only have to do once, which is great for those who don’t do a clean upgrade with each new Ubuntu release. However, I’m sure a script could be written which can do everything for you automatically.

Do you think it’s a burden that Linux distributions cannot include such fonts? Which fonts do you need the most or prefer the most? Let us know in the comments.


http://www.makeuseof.com/tag/how-to-get-mac-and-windows-fonts-in-ubuntu-linux/

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值