平衡点
2007/02/22
_ amaroK
先日, 音楽プレーヤを beep-media-player + gtkpod から amaroK に乗り換えた訳ですが, 使いやすいんだけど libgpod の version が古いらしく, ipod 君に正常に転送されてくれません.
…そういや, ipod は予想通り, 混沌と化した大学の机の上(腐海?)にありました.
そんな訳で,
- amaroK の version を上げる
- experimental にあるソースから build
- libgpod は libgpod1 を使う
としたら, 見事に転送可能になりました. アルバムのジャケットも補完して転送できて, 良い事づくめですな.
…と思ったら, daap で音楽共有している際に, 頻繁に落ちる. 「klauncher が daap というプロトコルなんぞ知らんがな」とか言ってるし….
うーん.
2022/02/22
_ ps-print
と ps-mule
の設定
「出張手続きの書類として先方とのメールのやりとりを提出して下さい」ということで,
普段使いの MUA は Wanderlust なのでサクっと
wl-summary-print-message
を使って出力しようとしたんですが,
まあ, 印刷結果がなかなか微妙な….
ちょっと設定を更新してみたり
(leaf ps-mule
:if (executable-find "lpr")
:custom
((ps-multibyte-buffer . 'nil ) ;;non-latin-printer
;; ps-multibyte-buffer が…
;; - 'non-latin-printer だと `ps-mule-font-info-database-ps' を使う.
;; - nil だと `ps-mule-font-info-database-default' を使う.
(ps-printer-name . "PDF")
(ps-paper-size . 'a4)
;; (ps-n-up-printing . 2)
(ps-print-header . t)
(ps-print-footer . nil)
(ps-font-family . 'Courier)
(ps-font-size . '(9 . 10))
(ps-header-font-family . 'Helvetica)
(ps-header-font-size . '(10 . 12))
(ps-header-title-font-size . '(12 . 14))
(ps-line-number . nil)
;; (ps-line-number-font . "Times-Italic")
;; (ps-line-number-font-size . 6)
;; (ps-line-number-start . 1)
;; (ps-line-number-step . 1)
)
:hook
(defalias 'ps-mule-header-string-charset 'ignore)
:config
(setq ps-mule-font-info-database-default
'((iso-8859-1
(normal nil nil))
(katakana-jisx0201
(normal builtin "Ryumin-Light-Katakana")
(bold builtin "GothicBBB-Medium-Katakana"))
(latin-jisx0201
(normal builtin "Ryumin-Light-Hankaku")
(bold builtin "GothicBBB-Medium-Hankaku"))
(japanese-jisx0208
(normal builtin "Ryumin-Light-Ext-H")
(bold builtin "GothicBBB-Medium-Ext-H"))
(japanese-jisx0213-2
(normal builtin "Ryumin-Light-Ext-H")
(bold builtin "GothicBBB-Medium-Ext-H"))
(japanese-jisx0213.2004-1
(normal builtin "Ryumin-Light-2004-H")
(bold builtin "GothicBBB-Medium-H"))
(unicode-bmp
(normal builtin "Ryumin-Light-Ext-H")
(bold builtin "GothicBBB-Medium-Ext-H"))
)
)
)
ps-mule-font-info-database-default
は適当です.
誰か正しい指定を教えろ下さい.
(2022/02/24 追記: 機種依存文字が出なかったので, ちょっと更新)
あとは Wanderlust 側で
;; default は `lpr-bufffer'
(setq wl-print-buffer-function 'ps-print-buffer)
とでもしておく.
まあ, 設定前に比べればだいぶマシになったんだけれど, なんでマシになったのか実はわかっていないかったりする (とはいえ中華フォントが入ったり日本語が潰れていたり, ということはなくなった模様).
うーん…🤔