Install under Debian using fonts under Windows

Source: Internet
Author: User

Reprint: http://blog.163.com/lixiangqiu_9202/blog/static/53575037201251224553801/

Debian under the font is not very good, no good looking under windows, so you want to copy the fonts under Windows under Debian for use
First we need to find the relevant font. This font can be downloaded from the Web itself, of course you need to know the corresponding name, or we directly from Windows
to copy, I chose the latter, of course, if your hard disk has a Windows system is the best you can mount it. No, it's okay, or you
you download from the Internet, or you get a virtual machine and then find a Windows mirror, then what to do without I say, good under windows under the font store
is located in the $system\\windows\\fonts\\ directory under the $system is the partition of your system, we can choose their favorite fonts, such as bold
and then copy it to our Debian, we first create a file in the/usr/share/fonts directory, the file name is arbitrary, for example, we create a win
sudo mkdir win
/usr/share/fonts is a Debian font installation directory that requires relevant permissions to create files and folders
then we'll copy the fonts.
sudo cp/mnt/windows/fonts/*.ttf/usr/share/fonts/win
sudo cp/mnt/windows/fonts/*.ttc/usr/share/fonts/win
here the/mnt to you actually mount the directory, in fact, you do not have to copy all of them, you like which one copy which, if you don't mind , you can copy them all over
now we go into the/usr/share/fonts/win to see the permissions of these files, must have Read permission or install it is useless
sudo chmod 644 *
or you can first use ls-l to see
after the copy is not finished, we update the configuration, build font cache and configuration file
sudo mkfontscale
sudo mkfontdir
sudo fc-cache-fv
Okay, now log off your system, and then you can use these fonts.

Related Article

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.