Skip to content

Instantly share code, notes, and snippets.

@rschiang
Created February 4, 2018 20:29
Show Gist options
  • Save rschiang/18524162bc6497b82b538aa310d8c7d5 to your computer and use it in GitHub Desktop.
Save rschiang/18524162bc6497b82b538aa310d8c7d5 to your computer and use it in GitHub Desktop.
reMarkable Noto Sans CJK support script
<?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>
#!/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/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment