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.