1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-09-29 01:00:44 +03:00

genkicat/fped.c (fped_ps_entry): use fped -P -K (key) and adjust position

This commit is contained in:
Werner Almesberger 2012-07-18 22:42:14 -03:00
parent 993ea811e5
commit d67e8ec823

View File

@ -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");