]> granicus.if.org Git - graphviz/commitdiff
Document fontconfig vs. DOTFONTPATH. Fix makefiles to use ps2pdf
authornorth <devnull@localhost>
Wed, 9 Jan 2008 22:07:27 +0000 (22:07 +0000)
committernorth <devnull@localhost>
Wed, 9 Jan 2008 22:07:27 +0000 (22:07 +0000)
since epstopdf doesn't handle %%BoundingBox: (atend)

doc/dotguide/Makefile

index 3278174c49b7afaba2907c62f6d4e0e5a0e72071..a91f39598b6fb05869eed82f62af873285382c2b 100644 (file)
@@ -28,8 +28,11 @@ GRAPHFILES =  \
         tree.pdf \
        $(SHAPEFILES) $(ARROWHEADFILES)
 
+# The following used to work, but it broke when graphviz -Tps went to
+# BoundingBox: (atend) as the epstopdf script explicitly says it does
+# not handle this case!  Let's hope that we have native -Tpdf in dot.
 %.pdf : %.dot
-       dot -Tps $< | epstopdf --filter --outfile=$@
+       dot -Tps2 $< -o $<.ps; ps2pdf $<.ps $@
 
 dotguide.pdf : dotguide.tex dotguide.bbl $(GRAPHFILES)
        pdflatex dotguide.tex