Debian\Ubuntu 系统中安装 Window10 字体
提取 Windows10 字体
Windows10字体所在目录如下:
- Win10 系统字体: C:\Windows\Font
- 用户自定义字体: C:\Users\ {用户名} \AppData\Local\Microsoft\Windows\Font
- Office 字体: C:\Program Files\Microsoft Office\root\vfs\Fonts\private 或者 C:\Program Files (x86)\Microsoft Office\root\vfs\Fonts\private
Debian\Ubuntu 安装字体
sudo mkdir /usr/share/fonts/win10
sudo mkdir /usr/share/fonts/office
sudo mkdir /usr/share/fonts/myfonts
sudo cp /fonts/win10/* /usr/share/fonts/win10
sudo cp /fonts/office/* /usr/share/fonts/office
sudo cp /fonts/myfonts/* /usr/share/fonts/myfonts
cd /usr/share/fonts/win10
sudo chmod -R 755 *
sudo mkfontscale
sudo mkfontdir
cd /usr/share/fonts/office
sudo chmod -R 755 *
sudo mkfontscale
sudo mkfontdir
cd /usr/share/fonts/myfonts
sudo chmod -R 755 *
sudo mkfontscale
sudo mkfontdir
sudo fc-cache -fv
|