From d67e8ec823181239c8f211b4adbb4902243c1f07 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Wed, 18 Jul 2012 22:42:14 -0300 Subject: [PATCH] genkicat/fped.c (fped_ps_entry): use fped -P -K (key) and adjust position --- genkicat/fped.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/genkicat/fped.c b/genkicat/fped.c index eeb7b28..a1f543c 100644 --- a/genkicat/fped.c +++ b/genkicat/fped.c @@ -47,8 +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) { - fprintf(file, "0 -25 translate\n"); - run_cmd("fped -P -s x200 '%s' -1 '%s' '%s'", + fprintf(file, "0 -40 translate\n"); + run_cmd("fped -P -K -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");