From: Ian Jackson Date: Sun, 28 Nov 2010 13:34:36 +0000 (+0000) Subject: layout/Makefile: adhoc rune for expanding some of our PostScript files X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=b1908595bdeb157f1408fc7c46f3b25dd236e763;p=trains.git layout/Makefile: adhoc rune for expanding some of our PostScript files --- diff --git a/layout/Makefile b/layout/Makefile index ad28b05..74ad6e8 100644 --- a/layout/Makefile +++ b/layout/Makefile @@ -89,6 +89,13 @@ compose-segenco: compose-segenco.o %.neato.ps: %.neato neato -Gsize=7.5,7.5 -Gcenter=1 -Tps <$< $o +LARGE_PS_FACTOR=3 + +%.large.ps: %.ps + pstops '0@3' <$< >$@.tmp + perl -p -e 's/\d+/ $$& * ${LARGE_PS_FACTOR} /eg' \ + -e ' if m/^\%\%.*BoundingBox/' <$@.tmp $o + %.raw.neato: %.redactgraph ./$< consistency printforneato $o