15 Apr 2007 (Sun)

09:03:33 # Life Using inkscape as postscript backend. I tried getting Japanese output from dot(graphviz). I have been successful with getting png output, but not postscript. png is good but it is not vector and does not look pretty in printed material. SVG output happened to be functional, and thus I tried using inkscape to translate the output to postscript, for use in my LaTeX document. Inkscape happens to have an noninteractive mode of operation, and I can invoke it like: inkscape test.svg -p "> test.ps" to generate postscript from svg file. Good.

Font configuration is required for Japanese text in dot, like the following:

node [shape=box, fontname="GothicBBB-Medium-EUC-H", fontsize=10, 
       width=0.5, margin=0.3]
edge [fontname="GothicBBB-Medium-EUC-H", fontsize=8, margin=0.8]
	
Junichi Uekawa

$Id: dancer-diary.el,v 1.91 2006/06/15 15:14:10 dancer Exp $