summaryrefslogtreecommitdiff
path: root/fontconvert/output-gf.c
diff options
context:
space:
mode:
Diffstat (limited to 'fontconvert/output-gf.c')
-rw-r--r--fontconvert/output-gf.c44
1 files changed, 20 insertions, 24 deletions
diff --git a/fontconvert/output-gf.c b/fontconvert/output-gf.c
index 05ad789..94d6614 100644
--- a/fontconvert/output-gf.c
+++ b/fontconvert/output-gf.c
@@ -1,20 +1,20 @@
-/* output-gf.c: write a GF 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. */
+# output-gf.c: write a GF 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"
@@ -26,7 +26,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* The basename of the input file. */
static string input_basename;
-
+
/* Open the output file and write the preamble. We don't bother to
change the comment to identify ourselves, since the changes we will
make aren't likely to be drastic. We have to ensure that we do not
@@ -57,9 +57,8 @@ the input file, so I am writing to `%s'", old_gf_name, gf_name);
/* We might need this in `gf_finish_output', to open the TFM file. */
input_basename = basename (input_name);
}
-
-/* Write a single character. */
+/* Write a single character. */
void
gf_output_char (char_info_type c, real design_size_ratio)
{
@@ -73,14 +72,11 @@ gf_output_char (char_info_type c, real design_size_ratio)
gf_put_char (gf_char);
}
-
-/* Write the postamble and close the file. */
-
+/* Write the postamble and close the file. */
void
gf_finish_output (real design_size, real dpi)
{
gf_put_postamble (real_to_fix (design_size), dpi, dpi);
gf_close_output_file ();
}
-