mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-16 18:51:53 +02:00
genkicat/fped.c (fped_ps_entry): use fped -P -K (key) and adjust position
This commit is contained in:
parent
993ea811e5
commit
d67e8ec823
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user