pdfの表示比べ.acroread, epdfview, xpdf

とあるpsファイルをgsviewでみると,

ps2pdfしてから,acroread, epdfview, xpdfで閲覧したら見ためが全然違った.



acroread:ちょっと見にくい



epdfview:耐えられない



xpdf:良いかと思いきや,文字が踊っている



ちなみに,ps2pdfでつくったpdfにpdffontsしたら,

name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
[none]                               Type 3            yes no  yes     15  0
[none]                               Type 3            yes no  no     200  0
[none]                               Type 3            yes no  no     197  0
[none]                               Type 3            yes no  no     174  0
[none]                               Type 3            yes no  no     135  0
[none]                               Type 3            yes no  no      99  0
[none]                               Type 3            yes no  yes     97  0
[none]                               Type 3            yes no  yes     94  0
[none]                               Type 3            yes no  yes     87  0
[none]                               Type 3            yes no  yes     73  0
[none]                               Type 3            yes no  yes     49  0
[none]                               Type 3            yes no  no      33  0
[none]                               Type 3            yes no  no     215  0
[none]                               Type 3            yes no  no     358  0
[none]                               Type 3            yes no  no     373  0

でした.
これもフォントの設定とかの問題なのか?

xpdfでviライクなkeybind

man xpdf すれば情報はあるわけですが.
man なんて長くて読んでられっか.ってことですよ.

~/.xpdfrcに以下を追加する.

# vi-like keybind
bind h any scrollLeft(32)
bind l any scrollRight(32)
bind k any scrollUp(32)
bind j any scrollDown(32)

括弧の中の数字(上では32)は移動量みたです.
つまり,たくさん動いてほしければ,大きくして,移動量を減らしたければ,小さくする.

ちなみに, man の記述

      Previous versions of xpdf included a "viKeys" X resource.  It is no longer available, but the following bindings
       are equivalent:

           bind h any scrollLeft(16)
           bind l any scrollRight(16)
           bind k any scrollUp(16)
           bind j any scrollDown(16)

昔は, .Xresourceに書けばよかったと.

uim 1.5.7 を install

firefoxが落ちるのは uim が原因で,
1.5.7では fix されていると聞いたので.


しかし,pacmanからinstallしようと思ったら,まだなかった.
一昨日リリースだから,しかたないか.


パッケージない→自分でつくればよい.


というわけで,つくった.
といっても,absのをコピーしてきて,適切に変更するだけ.
ただ,自分は,gnomeanthyも使わないから,そういものは除外した.


一応 PKGBUILD をのせておく.

pkgname=uim
pkgver=1.5.7
pkgrel=1
pkgdesc="Multilingual input method library"
arch=('i686' 'x86_64')
url="http://code.google.com/p/uim/"
license=('custom')
depends=('m17n-lib' 'ncurses' 'gtk2')
makedepends=('pkgconfig' 'gettext' 'intltool')
optdepends=('')
options=('!libtool')
install=uim.install
source=(http://uim.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
md5sums=('f8cf0c4f977f8f0496254040ba710de8')
sha1sums=('0792cc0e60b24fcfffaea2bcfeef8badd3098d98')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr  --libexecdir=/usr/lib/uim \
	  --disable-gnome-applet --without-anthy \
	  --without-mana --without-prime || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}