From ae3b8128b0156e95e6ca1da68c482d22d01e4478 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Thu, 12 Jul 2012 18:19:30 -0300 Subject: [PATCH] gencat/fped.c (fped_ps_entry): scale footprint to a height of 200 mm and center --- gencat/fped.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gencat/fped.c b/gencat/fped.c index dafedf0..eeb7b28 100644 --- a/gencat/fped.c +++ b/gencat/fped.c @@ -47,7 +47,8 @@ static void fped_add_lib(struct lib *lib, const char *path) static void fped_ps_entry(FILE *file, const struct lib *lib, const struct entry *e, int unit, int landscape) { - run_cmd("fped -P '%s' -1 '%s' '%s'", + fprintf(file, "0 -25 translate\n"); + run_cmd("fped -P -s x200 '%s' -1 '%s' '%s'", e->file->path, e->names->s, "tmp.ps"); run_cmd("sed -i -e '/OUT pdfmark/d' tmp.ps"); cat(file, "tmp.ps");