Help us understand the problem. What is going on with this article?

xpdfをインストールする

More than 5 years have passed since last update.

これは

PDF操作ツールであるxpdfのインストール方法.
いくつかのサイトでbrew install xpdfでインストールできるって書いてありますがError: No available formula for xpdfって怒られる.

どうするのか

コマンド2つ

brew install Caskroom/cask/xquartz
brew install homebrew/x11/xpdf

日本語対応

Language Support Packagesの xpdf-japanese.tar.gzをダウンロードして,解凍した中身を/usr/local/share/xpdf/japaneseに置く.
あと,/usr/local/etc/xpdfrcを以下のように編集.

# コメントアウト解除
textEncoding UTF-8

# 追記
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

参考

http://akkunchoi.github.io/xpdf-japanese.html

zanyou
coins11 -> CS
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした