[PC周辺] graphviz 2.12-3 (20070617)

いつのまにか

fontname="Kochi Gothic"

とかが通らなくなっていた(graphviz 2.12-3 @Debian).

% dot -v -Tpng test.dot | display -

とかによると

dot: fontname "Kochi Gothic" resolved to "[internal times]"

らしい.ちなみに

% echo 'digraph{"A"->"B";}' | dot -v -Tpng | display -

とかによると

dot: fontname "Times-Roman" resolved to "[internal times]"

とのことで,Times-Roman さえ見付けてくれないっぽい.

% fc-match 'Kochi Gothic'
KochiGothic-Regular.ttf: "Kochi Gothic" "Regular"
% fc-match Times-Roman                                                     
timR12-ISO8859-1.pcf.gz: "Times" "Regular"

とかで,fontconfig は問題なさげ.ちなみに KochiGothic-Regular.ttf とかは

% ls -l /var/lib/defoma/fontconfig.d/K/KochiGothic-Regular.ttf
lrwxrwxrwx 1 root root 54 2007-04-02 17:53 /var/lib/defoma/fontconfig.d/K/KochiGothic-Regular.ttf -> /usr/share/fonts/truetype/kochi/kochi-gothic-subst.ttf

という感じのところにあるらしい.

<URL:http://www.graphviz.org/bugs/b1087.html> とかも参照したが <URL:http://www.graphviz.org/doc/FAQ.html> 追えず.

% (echo 'digraph{"A"->"B";}' | strace -f dot -v -Tpng | display -) |& less

とかによると

open("/usr/lib/libfontconfig.so.1", O_RDONLY) = 3

しているのは分るのであるが,こっち方面もそれ以上は追えず.仕方無しに

% apt-get source graphviz
% cd graphviz-2.12
% fakeroot make -f debian/rules binary

してみたが,

cmd/lefty/dot2l/Makefile.am:10: Libtool library used but `LIBTOOL' is undefined
cmd/lefty/dot2l/Makefile.am:10: 
cmd/lefty/dot2l/Makefile.am:10: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
cmd/lefty/dot2l/Makefile.am:10: to `configure.ac' and run `aclocal' and `autoconf' again.
(snip)

とかでなんだかこける...

ということで<URL:/map.html> の文字化けを放置.

関連リンク


Last-modified: Tue Jun 26 15:03:18 +0900 2007

全インデックス