From: ellson Date: Tue, 29 Nov 2005 17:33:16 +0000 (+0000) Subject: default margin for ps X-Git-Tag: LAST_LIBGRAPH~32^2~6940 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dfcd13810e97cbb65b8365dc19f334e0f7b4b4f6;p=graphviz default margin for ps --- diff --git a/lib/common/const.h b/lib/common/const.h index 609cf33f9..11a4a9158 100644 --- a/lib/common/const.h +++ b/lib/common/const.h @@ -87,9 +87,7 @@ #define MIN_RANKSEP 0.02 /* default margin for paged formats such as PostScript */ -/* #define DEFAULT_MARGIN 36 */ -#define DEFAULT_MARGIN 5 - +#define DEFAULT_PRINT_MARGIN 36 /* default margin for embedded formats such as PNG */ #define DEFAULT_EMBED_MARGIN 5 diff --git a/lib/common/emit.c b/lib/common/emit.c index 31f666489..65994c3d8 100644 --- a/lib/common/emit.c +++ b/lib/common/emit.c @@ -1068,7 +1068,7 @@ static void init_job_margin(GVJ_t *job) case POSTSCRIPT: case PDF: case HPGL: case PCL: case MIF: case METAPOST: case FIG: case VTX: case ATTRIBUTED_DOT: case PLAIN: case PLAIN_EXT: case QPDF: - job->margin.x = job->margin.y = DEFAULT_MARGIN; + job->margin.x = job->margin.y = DEFAULT_PRINT_MARGIN; break; case CANONICAL_DOT: job->margin.x = job->margin.y = 0;