Get the App
SLTechnology News&Howtos  ›  Servers  › 

The system shows how to use the newly installed Ubuntu font.

Shulou Source: shulou.com Published: 2022-06-01 04:34:57 11月14日 Update

This article mainly shows you "the system displays the newly installed Ubuntu font how to use", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "the system displays the new Ubuntu font how to use" this article.

Because the vast majority of Ubuntu fonts are developed by commercial companies for use in their own products, they are copyrighted, so Ubuntu cannot be used directly, so let's install Ubuntu fonts ourselves.

First of all, I would like to quote a netizen's point of view: I have always believed that if I have the right to use a set of Windows XP, then I also have the right to use this XP product only for my personal use, including the right to use Ubuntu fonts in it. Therefore, the practice of copying XP fonts to Ubuntu should not be infringing.

First, prepare the font

XP fonts are stored in the c:\ windows\ fonts directory, and we copy out our favorite fonts, such as simsun.ttc, simkai.ttf, simhei.ttf, simfang.ttf, etc. Copy these font files to the / usr/share/fonts/xpfonts directory in Ubuntu.

Note: if you find that you cannot create a new folder under / usr/share/fonts/, please log in as a root user.

Import Ubuntu fonts

Open Terminal and run the following command line to establish font cache information:

Sudo mkfontscale

Sudo mkfontdir

Sudo fc-cache-fv

After the command is executed successfully, the terminal displays:

Fc-cache: succeeded

Now that Ubuntu can use the newly installed Chinese font, open OpenOffice to check it out.

The above is all the content of this article "the system shows how to use the newly installed Ubuntu font". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Font new installation system right to use content copy article product command file directory terminal learning help success personal Chinese font information practice company Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Linux Docker macOS Huawei