How to add Windows and Mac fonts to Ubuntu
This article introduces the knowledge of "how to add Windows and Mac fonts to Ubuntu". In the operation of practical cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Because Ubuntu is a free Linux system, some very good fonts do not exist in the system. In order to make the text better render on Ubuntu, you can install fonts in Windows or fonts in Mac system into ubuntu. The following are the specific installation steps:
1. Get the font packages in Windows and Mac ready, and you can extract them from the system or download them online.
It should be noted that not all of them can be installed smoothly in Ubuntu. For example, fonts in .fon format in Windows and .otf in Mac have to be removed first.
2. Put the fonts that need to be installed in ~ / WinFonts and ~ / MacFonts in the ubuntu system respectively.
3. Create a new winfonts folder and macfonts folder in / usr/share/fonts/.
Sudo mkdir / usr/share/fonts/winfonts sudo mkdir / usr/share/fonts/macfonts
4. Copy the font of ~ / WinFonts to / usr/share/fonts/winfonts and the font of ~ / MacFonts to / usr/share/fonts/macfonts
Sudo cp ~ / WinFonts/* / usr/share/fonts/winfonts sudo cp ~ / MacFonts/* / usr/share/fonts/macfonts
5. Modify the access rights of newly implanted fonts
Enter the folder first:
Cd / usr/share/fonts/winfonts
Then execute the following command:
Sudo chmod 744 *
The contents under the macfonts folder are treated in the same way
6. Generate core font information
Sudo mkfontscale sudo mkfontdir sudo fc-cache-f-v
After logging out of the system, you can use fonts from windows and Mac systems.
Additional information:
Download Mac OSX 10.9 Font package: http://pan.baidu.com/share/link?shareid=668513470&uk=100695099
Download the full version of Win 8 font: http://115.com/file/dp285fv5
This is the end of "how to add Windows and Mac fonts to Ubuntu". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!