View | Details | Raw Unified | Return to bug 70199
Collapse All | Expand All

(-)graphopt-marco/files/patch-src:classes:psExporter.cc (+17 lines)
Line 0 Link Here
1
--- src/classes/psExporter.cc.orig	Mon Aug  9 09:31:11 2004
2
+++ src/classes/psExporter.cc	Mon Aug  9 09:31:38 2004
3
@@ -23,13 +23,13 @@ void psExporter::do_export() {
4
    fclose(outfile);
5
 }
6
 
7
 
8
 void psExporter::write_headers(FILE *outfile) {
9
    char *line = new char[200];
10
-   sprintf(line, "\%!PS-Adobe-1.0\n%%%%BoundingBox: 0 0 %d %d\n%%%%DocumentFonts: Helvetica\n%%%%Pages: 1\n",
11
+   sprintf(line, "%%!PS-Adobe-1.0\n%%%%BoundingBox: 0 0 %d %d\n%%%%DocumentFonts: Helvetica\n%%%%Pages: 1\n",
12
            translatexcoord((double) biggest_x) + 2 * margin,
13
            translateycoord((double) biggest_y) + 2 * margin);
14
    fwrite(line, strlen(line), 1, outfile);
15
    delete line;
16
 }
17

Return to bug 70199