summaryrefslogtreecommitdiff
path: root/imageto/out-epsf.c
diff options
context:
space:
mode:
Diffstat (limited to 'imageto/out-epsf.c')
-rw-r--r--imageto/out-epsf.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/imageto/out-epsf.c b/imageto/out-epsf.c
index 0b2d847..9187861 100644
--- a/imageto/out-epsf.c
+++ b/imageto/out-epsf.c
@@ -1,20 +1,20 @@
-/* out-epsf.c: output the whole image as an EPS file.
-
-Copyright (C) 1992, 2011 Free Software Foundation, Inc.
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 3, or (at your option)
-any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+# out-epsf.c: output the whole image as an EPS file.
+#
+# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
#include "config.h"
@@ -27,7 +27,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
extern string version_string;
static void pack_scanline (one_byte *, unsigned);
-
+
/* Abbreviations for output to `eps_file'. */
#define OUT_STRING(s) fprintf (eps_file, "%s", s)
#define OUT_SIMPLE(s) fprintf (eps_file, "%%%%%s\n", s)
@@ -35,7 +35,7 @@ static void pack_scanline (one_byte *, unsigned);
#define OUT1(s, v1) fprintf (eps_file, s, v1)
#define OUT2(s, v1, v2) fprintf (eps_file, s, v1, v2)
#define OUT3(s, v1, v2, v3) fprintf (eps_file, s, v1, v2, v3)
-
+
/* Write an Encapsulated PostScript file corresponding to the image. */
void
@@ -131,7 +131,7 @@ write_epsf (string output_name, image_header_type image_header)
OUT_SIMPLE ("TRAILER");
OUT_SIMPLE ("EOF");
}
-
+
/* Change the one bit/byte representation (call each byte a `cell') of
LENGTH bits in DATA to be eight bits/byte. Pad the last byte with
zero. We don't change those bytes beyond the end of packed portion,