Windows or MacOSX fonts are used in Ubuntu.

Source: Internet
Author: User
Article Title: Use a Windows or MacOSX font in Ubuntu. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Many Windows fonts (such as Arial, Times New Roman, Verdana) are widely used in websites and business documents.

There are two ways to borrow these fonts to the Ubuntu system. The first and easiest way is to install the msttcorefonts package, which contains Microsoft's most popular core Web fonts. During the installation process, you may be prompted to install the Debian font manager. Do not worry about it. Just continue.

Another method is to copy the font from Windows or Mac OS X. The advantage of this method is to include almost all fonts of Windows and Mac OS X, and even additional fonts provided by applications (such as Microsoft Office.

Importing fonts from Windows

For Windows and Ubuntu systems, follow these steps:

Open the Windows partition in Nautilus and find the Windows/fonts directory. Select All ttf fonts and copy them to the clipboard.

Go to your Home directory in Nautilus. Create a file named fonts, right-click "Paste", and copy the file to this directory. Rename the fonts directory to ". fonts ". Now you can use the Windows Font in the application. Note that the ". fonts" directory is a hidden directory. You must select "Show Hidden Files" in the "View" menu of Natuilus.

Importing fonts from Mac OS X

Importing fonts from Mac OS X may be more difficult than importing fonts from Windows. Because Mac OS X contains two types of Fonts, one is the same as Windows TrueType Fonts. ttf is the suffix, and the other one is. dfont files must be converted using the fondu tool.

The procedure is as follows:

1. The easiest way is to copy the Mac OS X Font to a new folder on the Ubuntu Desktop. Mount the Mac partition and copy all the files in/Library/Fonts and/System/Library/Fonts to the folder on the desktop.

2. Install the fondu software in the new IDE. After the installation is complete, open a terminal, switch to the folder on the desktop, and enter: fondu *

3. Like Windows, copy all the font files to the '. fonts' directory of Homemul.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.