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.