Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2005 19:24:00 -0600
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-questions@freebsd.org
Subject:   Graphviz fonts
Message-ID:  <200501281924.03032.kirk@strauser.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
I'm trying to use Graphviz's "dot" command to produce a graph.  My input
files are extremely simple:

    digraph familytree {
    rankdir=LR;
        WillardKirkStrauser -> { WillardJacobStrauser GabrielleMargaretStrauser ArianaNicoleStrauser };
    }

When I run dot, I get this error:

    dot -Tgif < foo > foo.gif
    Error: Could not find/open font : Times-Roman in /usr/X11R6/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/truetype:/usr/X11R6/lib/X11/fonts/TTF:/usr/share/fonts/TrueType:/usr/share/fonts/truetype:/usr/openwin/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/Type1:/usr/common/share/fonts/ttf

I still get a result, but the text is very large and the resulting graphs
look bad (see http://subwiki.honeypot.net/pub/familytree.png for an
example).

I've tried adding every Truetype font path on my system to its "fontpath"
variable, but I get the same error but with a much longer list of 
directories.  Any ideas?
-- 
Kirk Strauser

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBB+uWz5sRg+Y0CpvERAgrpAJ90nRuspw6cJfouoGLcJKrNOZlvHACcCfrc
J+csBrBsDebCfZKoM9kLR8g=
=ZVhp
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501281924.03032.kirk>