Skip to content

Instantly share code, notes, and snippets.

@chenhunghan
Last active April 23, 2024 19:44
Show Gist options
  • Star 32 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save chenhunghan/b9dbb6ad4095fa12c31838784c26073d to your computer and use it in GitHub Desktop.
Save chenhunghan/b9dbb6ad4095fa12c31838784c26073d to your computer and use it in GitHub Desktop.
How to install Noto Sans CJK fonts for reMarkable Tablet

reMarkable is a paper tablet by https://remarkable.com/.

The reMarkable tablet is the best e-paper in the market. However, it does not have built-in support for CJK (Chiniese, Korean and Japanese) users.

Luckily, this could be resolved by installing CJK fonts on the tablet.

  1. Go to Preference > Storage > Enable USB web interface (Beta).
  2. Connect reMarkable with your PC via a microUSB cable.
  3. SSH to the device as user "root" using the password find in Preference > About. e.g. ssh root@10.11.99.1
  4. Download "NotoSansCJK[you language]-Regular.otf" from https://www.google.com/get/noto/help/cjk/ *note, there is limited space on the device, so do not sue "Super OpenType/CFF Collection (Super OTC)", an language-specific OTC is ok.
  5. Copy (using SCP or whateever tools you like) to /usr/share/fonts/opentype/
  6. Make sure the uploaded font file has the corrent permission (it should be 644).
  7. Run fc-cache -f -v to refresh to font cache.
  8. Reboot the device reboot. (or use the physical button)
  9. Read a book in your language, set the font as "Noto Sans" in Text settings.
  10. Done!
  • Note: CJK Serif Fonts does not work even if I have installed OTF on the device and select Noto Serif, not sure why. Noto Sans is good enough though!
@kenvifire
Copy link

"so do not sue" should be "so do not use"

@chrominium97
Copy link

chrominium97 commented Dec 5, 2020

It seems like adding the following to /etc/fonts/local.conf seems to solve the Noto Serif CJK issue!

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- -->
<fontconfig>
  <!-- Generic name aliasing -->
  <alias>
    <family>sans-serif</family>
    <prefer>
      <family>Noto Sans CJK JP</family>
    </prefer>
  </alias>
  <alias>
    <family>serif</family>
    <prefer>
      <family>Noto Serif CJK JP</family>
    </prefer>
  </alias>
  <match target="pattern">
    <test qual="any" name="family">
      <string>Noto Serif</string>
    </test>
    <edit name="family" mode="append" binding="same">
      <string>Noto Serif CJK JP</string>
    </edit>
  </match>
</fontconfig>

@chenhunghan
Copy link
Author

@chrominium97 thanks!

@justinchuby
Copy link

justinchuby commented Jan 24, 2021

As pointed out by https://github.com/ddvk/remarkable-hacks#extra-fonts-eg-japanese, the /usr/share/fonts directory has very limited space. After I added the fonts there my system would crash when I try to change fonts. It's best to create a soft link that points to a directory in /home where we put the new fonts.

Edit: My system would still crash. Not sure why.

@chenhunghan
Copy link
Author

@justinchuby try to download the font only with the language you need, not the font covers CJK, see "Language-specific OpenType/CFF (OTF)" here https://www.google.com/get/noto/help/cjk/

@JulienVincenot
Copy link

JulienVincenot commented Mar 20, 2021

excellent trick, thank you so much ChenHungHan ! I did it this fall but I just noticed after the recent updates all my ebooks were back to square blocks instead of 汉字... I guess because they reworked the ebook interface, or just because that's how updates work I don't remember. Nice occasion to do so ssh/scp workout, I don't use them so often !

@justinchuby
Copy link

justinchuby commented Dec 16, 2021

I am now installing the fonts to /home/root/.fonts/, which will not be overwritten by OS updates and seems to be one of the paths the system searches fonts in.

@dieterplex
Copy link

Instead of /etc/fonts/local.conf, placing the custom config to /home/root/.fontconfig works.

If you need mono font, add like following alias to config also.

  <alias>
    <family>monospace</family>
    <prefer>
      <family>Noto Sans Mono Condensed</family>
    </prefer>
  </alias>

@JoeyAndBlueWhale
Copy link

@chenhunghan
Copy link
Author

I guess it’s because that character is a rare one that is not included in the font you are using. There are some fonts include the characters used in ancient Chinese languages, maybe can try those.

@JoeyAndBlueWhale
Copy link

I guess it’s because that character is a rare one that is not included in the font you are using. There are some fonts include the characters used in ancient Chinese languages, maybe can try those.

Thank you very much for your timely reply! I know some fonts containing more characters but can I add them in the same way? In the font menu there are only limited options, Noto Sans, Noto Serif, e.t.c, does this mean the font add also has to be Noto? Do you know any fonts that may work?

@chenhunghan
Copy link
Author

You can add them as the same way as long as they are OpenType https://en.m.wikipedia.org/wiki/OpenType and they don’t have to be in Noto family.

I used to use some fonts made by Sinica in Taiwan but can’t find it now on the internet unfortunately.

@rjuni
Copy link

rjuni commented Sep 22, 2023

many of my coworkers are Chinese and are looking to use this, will it convert handwritten text when this font is installed? will this convert menus and such to Chinese as well?

@justinchuby
Copy link

many of my coworkers are Chinese and are looking to use this, will it convert handwritten text when this font is installed? will this convert menus and such to Chinese as well?

I don't think so. The font will allow Chinese display if the text is in Chinese.

@hachung
Copy link

hachung commented Nov 24, 2023

Really appreciate this post. I just want to add a small update. I'm using Remarkable 2 (firmware version 3.8.2.1965). I copied NotoSansKR-Regular.ttf to /usr/share/fonts/ttf/ instead (in the Noto package I downloaded, I don't have any otf fonts) and refresh the font cache as instructed. It works like a charm! Thanks again!

@bellisk
Copy link

bellisk commented Dec 25, 2023

Thanks so much, this worked for me! (Using .ttf instead of .otf, as in the comment above.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment