I can copy the fonts used on Microsoft Windows for my personal use. Usually, these fonts are in the "Fonts" directory in the "Windows" directory.
I have chosen the following fonts for displaying Chinese:
mingliub.ttc
mingliu.ttc
simhei.ttf
simsun.ttc
simhei.ttf
simsun.ttc
Start by being a superuser in Terminal on Debian Linux. Type:
su
I can make a directory /usr/share/fonts/microsoftWindows to store these fonts by typing:
mkdir /usr/share/fonts/microsoftWindows
Then, I can type:
cp /home/user_name/mingliub.ttc /usr/share/fonts/microsoftWindows
to copy mingliub.ttc in /home/user_name to /usr/share/fonts/microsoftWindows
I can also type:
cp /home/user_name/*.ttc /usr/share/fonts/microsoftWindows
to copy all those files with "ttc".
I can also type:
cp /home/user_name/*.ttf /usr/share/fonts/microsoftWindows
to copy all those files with "ttf".
Then, issue the command:
chmod 755 /usr/share/fonts/microsoftWindows/*
to permit the use of those files. After that, type:
fc-cache
to let the applications use the fonts.
See the result:
No comments:
Post a Comment