More than 1 year has passed since last update.

When use Headless Browsers to take screenshots of a web page, the non-English characters might not be displayed correctly if no right fonts installed.

To fix this, we have to install special fonts.


Fix Steps


Copy TTF files to /usr/share/fonts/east_asian

You can get TTF files from a windows PC(c:\windows\fonts or so), etc. Rename TTC to TTF if needed.


Restore Debian Font Cache

mkfontscale

# if this is not found, install it
# apt-get install ttf-mscorefonts-installer

mkfontdir

fc-cache -fv


Refresh System

Call . /etc/profile or reboot.