You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Step 2: Create the required directories and files.
mkdir -p /usr/local/share/xpdf/japanese
touch -p $HOME/.xpdfrc
Step 3: Extract the Japanese Language Package
tar -xvf "$HOME/Downloads/xpdf-japanese.tar.gz" -C "/usr/local/share/xpdf/japanese" --strip-components 1
Step 4: Add the Japanese files to the XPDF Configuration File.
Copy the following content:
#----- begin Japanese support package (2011-sep-02)
cidToUnicode Adobe-Japan1 /usr/local/share/xpdf/japanese/Adobe-Japan1.cidToUnicode
unicodeMap ISO-2022-JP /usr/local/share/xpdf/japanese/ISO-2022-JP.unicodeMap
unicodeMap EUC-JP /usr/local/share/xpdf/japanese/EUC-JP.unicodeMap
unicodeMap Shift-JIS /usr/local/share/xpdf/japanese/Shift-JIS.unicodeMap
cMapDir Adobe-Japan1 /usr/local/share/xpdf/japanese/CMap
toUnicodeDir /usr/local/share/xpdf/japanese/CMap
#----- end Japanese support package