+#include "Main.h"
#include <stdio.h>
#include <string.h>
-#include "Main.h"
#include "Defines.h"
#include "Dimensions.h"
#include "Curves.h"
static void
Prologue()
{
- floatish epsfscale;
-
- if (eflag) epsfscale = epsfwidth / (floatish) borderwidth;
-
if (eflag) {
+ floatish epsfscale = epsfwidth / (floatish) borderwidth;
EPSFSpecialComments(epsfscale);
- } else {
- StandardSpecialComments();
- }
-
- if (eflag) {
Scaling(epsfscale);
- } else if (gflag) {
- Portrait();
} else {
- Landscape();
+ StandardSpecialComments();
+ if (gflag) Portrait(); else Landscape();
}
}
fprintf(psfp, "HE%d setfont\n", TITLE_TEXT_FONT);
fprintf(psfp, "%f %f moveto\n", x, y);
fputc('(', psfp);
- CommaPrint(psfp, (int) areabelow);
+ CommaPrint(psfp, (intish)areabelow);
fprintf(psfp, " %s x %s)\n", valueunitstring, sampleunitstring);
fprintf(psfp, "show\n");
fprintf(psfp, "HE%d setfont\n", TITLE_TEXT_FONT);
fputc('(', psfp);
- CommaPrint(psfp, (int) areabelow);
+ CommaPrint(psfp, (intish) areabelow);
fprintf(psfp, " %s x %s)\n", valueunitstring, sampleunitstring);
fprintf(psfp, "dup stringwidth pop\n");