Last active
March 6, 2024 18:34
-
-
Save eggplants/80e52966765fbad2753b5e57b9b4397d to your computer and use it in GitHub Desktop.
https://qiita.com/kerorinfather/items/7af537ba65693015fdc8 を改変 - Wineの日本語フォントが豆腐になる問題を修正
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
mkdir fonts | |
cd fonts | |
wget https://ja.osdn.net/projects/ume-font/downloads/22212/umefont_670.tar.xz | |
tar Jxfv umefont_670.tar.xz | |
mv umefont_670/*.ttf /Library/Fonts | |
mkdir NotoSansCJKjp | |
cd NotoSansCJKjp | |
wget https://noto-website-2.storage.googleapis.com/pkgs/NotoSansCJKjp-hinted.zip | |
unzip NotoSansCJKjp-hinted.zip | |
cd .. | |
mv NotoSansCJKjp/*.otf /Library/Fonts | |
mkdir NotoSerifCJKjp | |
cd NotoSerifCJKjp | |
wget https://noto-website-2.storage.googleapis.com/pkgs/NotoSerifCJKjp-hinted.zip | |
unzip NotoSerifCJKjp-hinted.zip | |
cd .. | |
mv NotoSerifCJKjp/*.otf /Library/Fonts | |
wget https://gist.githubusercontent.com/nogajun/6095ed8488ef9449e63dc1ce578ae55e/raw/85ced2a3dd8a8ed960e3de96b2127f960cfc1de6/wine-japanese.reg | |
regedit wine-japanese.reg | |
cd .. | |
rm -rf fonts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
mkdir fonts | |
cd fonts | |
wget https://ja.osdn.net/projects/ume-font/downloads/22212/umefont_670.tar.xz | |
tar Jxfv umefont_670.tar.xz | |
sudo mv umefont_670 /usr/share/fonts/truetype/ | |
mkdir NotoSansCJKjp | |
cd NotoSansCJKjp | |
wget https://noto-website-2.storage.googleapis.com/pkgs/NotoSansCJKjp-hinted.zip | |
unzip NotoSansCJKjp-hinted.zip | |
cd .. | |
sudo mv NotoSansCJKjp /usr/share/fonts/opentype/ | |
mkdir NotoSerifCJKjp | |
cd NotoSerifCJKjp | |
wget https://noto-website-2.storage.googleapis.com/pkgs/NotoSerifCJKjp-hinted.zip | |
unzip NotoSerifCJKjp-hinted.zip | |
cd .. | |
sudo mv NotoSerifCJKjp /usr/share/fonts/opentype/ | |
wget https://gist.githubusercontent.com/nogajun/6095ed8488ef9449e63dc1ce578ae55e/raw/85ced2a3dd8a8ed960e3de96b2127f960cfc1de6/wine-japanese.reg | |
regedit wine-japanese.reg | |
cd .. | |
rm -rf fonts |
これでダメなら winetricks allfonts
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Utauで確認