Created
February 4, 2018 20:29
-
-
Save rschiang/18524162bc6497b82b538aa310d8c7d5 to your computer and use it in GitHub Desktop.
Revisions
-
rschiang created this gist
Feb 4, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <alias> <family>sans-serif</family> <prefer> <family>Noto Sans UI</family> <family>Noto Sans</family> <family>Noto Sans CJK TC</family> </prefer> </alias> <alias> <family>serif</family> <prefer> <family>Noto Serif</family> </prefer> </alias> <alias> <family>monospace</family> <prefer> <family>Noto Mono</family> <family>Noto Sans CJK TC</family> </prefer> </alias> </fontconfig> This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ #!/usr/bin/env bash mkdir noto curl https://raw.githubusercontent.com/googlei18n/noto-cjk/master/NotoSansCJKtc-Regular.otf -o noto/NotoSansCJKtc-Regular.otf curl https://raw.githubusercontent.com/googlei18n/noto-cjk/master/NotoSansCJKtc-Medium.otf -o noto/NotoSansCJKtc-Medium.otf scp -R noto 10.11.99.1:/usr/share/fonts/opentype/ scp 65-notocjk.conf 10.11.99.1:/usr/share/fontconfig/conf.avail/ ssh 10.11.99.1 ln -s /usr/share/fontconfig/conf.avail/65-notocjk.conf /etc/fonts/conf.d/