1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-05 04:34:04 +02:00

genex/pdf.c: rearranged header to show hierarchy first; balanced spacing

This commit is contained in:
Werner Almesberger 2012-04-12 19:21:00 -03:00
parent 1e5dbb4133
commit 1a06314fec

View File

@ -57,14 +57,14 @@ static void make_title(FILE *file, const struct node *node, int unit)
{
fprintf(file, "gsave 90 rotate 0 setgray\n"
"/Helvetica-Bold findfont 24 scalefont setfont\n"
"20 -30 moveto\n");
"20 -57 moveto\n");
ps_string(file, node->canon);
fprintf(file, " show\n");
if (node->units > 1)
fprintf(file, " ( \\(%c\\)) show\n", 'A'+unit);
fprintf(file, "/Hevetica-Bold findfont 18 scalefont setfont\n");
fprintf(file, "20 -60 moveto\n");
fprintf(file, "20 -30 moveto\n");
print_path(file, node);
fprintf(file, "/Courier findfont 12 scalefont setfont\n");