version 1.86, 2017/10/25 18:52:06 |
version 1.88, 2017/10/26 18:11:31 |
Line 596 pspdf_alloc(const struct manoutput *outopts) |
|
Line 596 pspdf_alloc(const struct manoutput *outopts) |
|
|
|
/* Remember millimetres -> AFM units. */ |
/* Remember millimetres -> AFM units. */ |
|
|
pagex = PNT2AFM(p, ((double)pagex * 2.834)); |
pagex = PNT2AFM(p, ((double)pagex * 72.0 / 25.4)); |
pagey = PNT2AFM(p, ((double)pagey * 2.834)); |
pagey = PNT2AFM(p, ((double)pagey * 72.0 / 25.4)); |
|
|
/* Margins are 1/9 the page x and y. */ |
/* Margins are 1/9 the page x and y. */ |
|
|
Line 742 ps_closepage(struct termp *p) |
|
Line 742 ps_closepage(struct termp *p) |
|
ps_printf(p, "%s", p->ps->psmarg); |
ps_printf(p, "%s", p->ps->psmarg); |
|
|
if (TERMTYPE_PS != p->type) { |
if (TERMTYPE_PS != p->type) { |
ps_printf(p, "ET\n"); |
|
|
|
len = p->ps->pdfbytes - p->ps->pdflastpg; |
len = p->ps->pdfbytes - p->ps->pdflastpg; |
base = p->ps->pages * 4 + p->ps->pdfbody; |
base = p->ps->pages * 4 + p->ps->pdfbody; |
|
|