summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstyluseater <styluseater>2011-02-26 05:17:18 +0000
committerstyluseater <styluseater>2011-02-26 05:17:18 +0000
commitb9ef931b7d2320e3fcba014fd52548333815f4d7 (patch)
tree195a623bd8d8426a03378ec2239948cf969d4890
parentecca91964d855323c85b7dad473f3b55bb4588ca (diff)
downloadfontutils-b9ef931b7d2320e3fcba014fd52548333815f4d7.tar.gz
Finished changelog merge. Updated all license headers. Created new license header format in all files using single line comments.
-rw-r--r--AUTHORS21
-rw-r--r--BUILD2
-rw-r--r--ChangeLog5088
-rw-r--r--charspace/GNUmakefile10
-rw-r--r--charspace/char.c48
-rw-r--r--charspace/char.h34
-rw-r--r--charspace/cmi.h40
-rw-r--r--charspace/cmi.y51
-rw-r--r--charspace/input-cmi.c39
-rw-r--r--charspace/input-cmi.h34
-rw-r--r--charspace/kern.c35
-rw-r--r--charspace/kern.h34
-rw-r--r--charspace/main.c34
-rw-r--r--charspace/main.h34
-rw-r--r--charspace/old-output.c34
-rw-r--r--charspace/output.c40
-rw-r--r--charspace/output.h34
-rw-r--r--charspace/realstrval.h34
-rw-r--r--charspace/symtab.c60
-rw-r--r--charspace/symtab.h35
-rw-r--r--charspace/version.c33
-rw-r--r--data/defs.make16
-rw-r--r--data/defsprog.make14
-rw-r--r--fontconvert/ChangeLog605
-rw-r--r--fontconvert/GNUmakefile10
-rw-r--r--fontconvert/filter.c36
-rw-r--r--fontconvert/filter.h34
-rw-r--r--fontconvert/main.c34
-rw-r--r--fontconvert/main.h36
-rw-r--r--fontconvert/output-epsf.c34
-rw-r--r--fontconvert/output-gf.c44
-rw-r--r--fontconvert/output-gf.h34
-rw-r--r--fontconvert/output-tfm.c42
-rw-r--r--fontconvert/output-tfm.h34
-rw-r--r--fontconvert/random.c37
-rw-r--r--fontconvert/random.h34
-rw-r--r--fontconvert/version.c33
-rw-r--r--gf/ChangeLog309
-rw-r--r--gf/GNUmakefile12
-rw-r--r--gf/gf_input.c47
-rw-r--r--gf/gf_opcodes.h34
-rw-r--r--gf/gf_output.c44
-rw-r--r--imageto/ChangeLog1114
-rw-r--r--imageto/GNUmakefile12
-rw-r--r--imageto/bitmap2.c38
-rw-r--r--imageto/bitmap2.h34
-rw-r--r--imageto/extract.c46
-rw-r--r--imageto/extract.h34
-rw-r--r--imageto/ifi.c37
-rw-r--r--imageto/ifi.h33
-rw-r--r--imageto/image-char.c33
-rw-r--r--imageto/image-header.h33
-rw-r--r--imageto/input-img.c40
-rw-r--r--imageto/input-img.h33
-rw-r--r--imageto/input-pbm.c40
-rw-r--r--imageto/input-pbm.h34
-rw-r--r--imageto/main.c44
-rw-r--r--imageto/main.h33
-rw-r--r--imageto/out-chars.c47
-rw-r--r--imageto/out-chars.h33
-rw-r--r--imageto/out-epsf.c40
-rw-r--r--imageto/out-epsf.h33
-rw-r--r--imageto/out-strips.c36
-rw-r--r--imageto/version.c34
-rw-r--r--include/Bitmap.h36
-rw-r--r--include/ChangeLog1534
-rw-r--r--include/Item.h42
-rw-r--r--include/bb-list.h34
-rw-r--r--include/bb-outline.h34
-rw-r--r--include/bitmap.h43
-rw-r--r--include/bounding-box.h33
-rw-r--r--include/bzr.h41
-rw-r--r--include/c-ctype.h33
-rw-r--r--include/c-dir.h33
-rw-r--r--include/c-errno.h33
-rw-r--r--include/c-fopen.h33
-rw-r--r--include/c-limits.h33
-rw-r--r--include/c-memstr.h33
-rw-r--r--include/c-minmax.h35
-rw-r--r--include/c-namemx.h35
-rw-r--r--include/c-pathch.h35
-rw-r--r--include/c-pathmx.h33
-rw-r--r--include/c-proto.h33
-rw-r--r--include/c-stat.h33
-rw-r--r--include/c-std.h33
-rw-r--r--include/c-time.h34
-rw-r--r--include/c-unistd.h35
-rw-r--r--include/c-vararg.h33
-rw-r--r--include/charspec.h33
-rw-r--r--include/cmdline.h34
-rw-r--r--include/concatn.h41
-rw-r--r--include/config.h35
-rw-r--r--include/dirio.h33
-rw-r--r--include/edge.h33
-rw-r--r--include/encoding.h34
-rw-r--r--include/file-input.h33
-rw-r--r--include/file-output.h33
-rw-r--r--include/filename.h33
-rw-r--r--include/fix-num.h35
-rw-r--r--include/font.h42
-rw-r--r--include/fontmap.h33
-rw-r--r--include/gf.h44
-rw-r--r--include/global.h39
-rw-r--r--include/hash.h35
-rw-r--r--include/hexify.h35
-rw-r--r--include/identity.h34
-rw-r--r--include/kpathsea-config.h35
-rw-r--r--include/lib.h37
-rw-r--r--include/libfile.h34
-rw-r--r--include/line.h34
-rw-r--r--include/list.h33
-rw-r--r--include/logreport.h33
-rw-r--r--include/moretypes.h33
-rw-r--r--include/pathsrch.h35
-rw-r--r--include/pbm.h33
-rw-r--r--include/pbmplus.h39
-rw-r--r--include/pk.h41
-rw-r--r--include/progname.h33
-rw-r--r--include/rand.h33
-rw-r--r--include/report.h33
-rw-r--r--include/scaled-num.h35
-rw-r--r--include/spline.h37
-rw-r--r--include/statistics.h37
-rw-r--r--include/str-lcase.h38
-rw-r--r--include/str-list.h33
-rw-r--r--include/systypes.h40
-rw-r--r--include/tex-file.h37
-rw-r--r--include/tfm.h48
-rw-r--r--include/types.h33
-rw-r--r--include/varstring.h35
-rw-r--r--include/vector.h35
-rw-r--r--include/xmessage.h33
-rw-r--r--include/xt-common.h34
-rw-r--r--lib/ChangeLog1415
-rw-r--r--lib/GNUmakefile13
-rw-r--r--lib/atou.c34
-rw-r--r--lib/bb-list.c39
-rw-r--r--lib/bb-outline.c33
-rw-r--r--lib/bitmap.c39
-rw-r--r--lib/bounding-box.c33
-rw-r--r--lib/charcode.c33
-rw-r--r--lib/charspec.c33
-rw-r--r--lib/cmdline.c33
-rw-r--r--lib/concat.c33
-rw-r--r--lib/concat3.c33
-rw-r--r--lib/concat4.c33
-rw-r--r--lib/concat5.c33
-rw-r--r--lib/concatn.c35
-rw-r--r--lib/dir.c35
-rw-r--r--lib/dlsym.c56
-rw-r--r--lib/edge.c41
-rw-r--r--lib/encoding.c41
-rw-r--r--lib/extend-fname.c33
-rw-r--r--lib/file-input.c39
-rw-r--r--lib/file-output.c35
-rw-r--r--lib/filename.c33
-rw-r--r--lib/find-suffix.c36
-rw-r--r--lib/fix-num.c35
-rw-r--r--lib/float-ok.c33
-rw-r--r--lib/font.c45
-rw-r--r--lib/fontmap.c39
-rw-r--r--lib/hash.c41
-rw-r--r--lib/hexify.c33
-rw-r--r--lib/identity.c33
-rw-r--r--lib/integer-ok.c33
-rw-r--r--lib/libfile.c37
-rw-r--r--lib/line.c34
-rw-r--r--lib/list.c35
-rw-r--r--lib/logreport.c33
-rw-r--r--lib/make-prefix.c33
-rw-r--r--lib/make-suffix.c33
-rw-r--r--lib/math.c37
-rw-r--r--lib/now.c33
-rw-r--r--lib/numtoa.c33
-rw-r--r--lib/pathsrch.c53
-rw-r--r--lib/progname.c45
-rw-r--r--lib/rand.c33
-rw-r--r--lib/report.c34
-rw-r--r--lib/rm-suffix.c33
-rw-r--r--lib/safe-free.c33
-rw-r--r--lib/scaled-num.c35
-rw-r--r--lib/spline.c38
-rw-r--r--lib/statistics.c33
-rw-r--r--lib/str-lcase.c35
-rw-r--r--lib/str-list.c33
-rw-r--r--lib/str-to-bit.c33
-rw-r--r--lib/substring.c33
-rw-r--r--lib/varstring.c33
-rw-r--r--lib/vector.c39
-rw-r--r--lib/xcalloc.c33
-rw-r--r--lib/xmessage.c37
-rw-r--r--lib/xopendir.c33
-rw-r--r--lib/xrealloc.c33
-rw-r--r--lib/xrename.c33
-rw-r--r--lib/xstrdup.c33
-rw-r--r--pbm/ChangeLog42
-rw-r--r--pbm/GNUmakefile11
-rw-r--r--pbm/libpbm.h34
-rw-r--r--pbm/libpbm1.c41
-rw-r--r--pbm/libpbm2.c35
-rw-r--r--pbm/libpbm4.c35
-rw-r--r--pbm/pbmascii.c35
-rw-r--r--pk/ChangeLog139
-rw-r--r--pk/GNUmakefile10
-rw-r--r--pk/pk_input.c60
-rw-r--r--pk/pk_opcodes.h35
-rw-r--r--tfm/ChangeLog372
-rw-r--r--tfm/GNUmakefile12
-rw-r--r--tfm/fontdimen.c39
-rw-r--r--tfm/tfm_char.c33
-rw-r--r--tfm/tfm_fontdim.c39
-rw-r--r--tfm/tfm_header.c35
-rw-r--r--tfm/tfm_input.c43
-rw-r--r--tfm/tfm_kern.c35
-rw-r--r--tfm/tfm_ligature.c33
-rw-r--r--tfm/tfm_output.c50
216 files changed, 8749 insertions, 9077 deletions
diff --git a/AUTHORS b/AUTHORS
index d6ebb54..0679626 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -1,11 +1,18 @@
-Karl Berry and Kathryn Hargreaves wrote all files except as noted below:
+Original Authors:
-Adam M Dutko -- merged ChangeLog files.
+ Karl Berry and Kathryn Hargreaves
+Contributors:
-Richard Murphey -- original version of fontconvert/filter.c.
+ Erik Wallin
+ modifications to the X files in limn:
+ xserver.c (start_server), display.c (search_children,
+ get_client_identity, get_server_info, init_display), corresponding
+ declarations in xserver.h and display.h. (3 March 1992)
-Erik Wallin -- modifications to the X files in limn:
- xserver.c (start_server), display.c (search_children,
- get_client_identity, get_server_info, init_display), and corresponding
- declarations in xserver.h and display.h. (3 March 1992)
+ Richard Murphey
+ original version of fontconvert/filter.c.
+
+Maintainers:
+
+ Adam M Dutko
diff --git a/BUILD b/BUILD
index c9ac233..a8dccfd 100644
--- a/BUILD
+++ b/BUILD
@@ -6,7 +6,7 @@ different version of GCC that you install a new version into a self-contained
directory.
After you have successfully installed a self-contained version of GCC 4.5.2
-then try:
+then try (substituting paths appropriately):
autoconf
diff --git a/ChangeLog b/ChangeLog
index 3c994fe..a0608e5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,31 @@
+Fri Feb 25 23:34:28 2011 Adam M. Dutko (dutko.adam@gmail.com)
+ * tfm/ChangeLog.old: Added data ChangeLog to root ChangeLog.
+ * tfm/ChangeLog: Added deprecation notice of ChangeLog.
+
+Fri Feb 25 00:48:45 2011 Adam M. Dutko (dutko.adam@gmail.com)
+ * lib/ChangeLog.old: Added data ChangeLog to root ChangeLog.
+ * lib/ChangeLog: Added deprecation notice of ChangeLog.
+ * pbm/ChangeLog.old: Added data ChangeLog to root ChangeLog.
+ * pbm/ChangeLog: Added deprecation notice of ChangeLog.
+ * pk/ChangeLog.old: Added data ChangeLog to root ChangeLog.
+ * pk/ChangeLog: Added deprecation notice of ChangeLog.
+
+Sun Feb 22 19:18:56 2011 Adam M. Dutko (dutko.adam@gmail.com)
+ * fix GPL licenses in all existing files with license statements (See
+ commit made on Jan 30 17:42:00 2011).
+ * fontconvert/ChangeLog.old: Added data ChangeLog to root ChangeLog.
+ * fontconvert/ChangeLog: Added deprecation notice of ChangeLog.
+ * gf/ChangeLog.old: Added data ChangeLog to root ChangeLog.
+ * gf/ChangeLog: Added deprecation notice of ChangeLog.
+ * imageto/ChangeLog.old: Added data ChangeLog to root ChangeLog.
+ * imageto/ChangeLog: Added deprecation notice of ChangeLog.
+ * include/ChangeLog.old: Added data ChangeLog to root ChangeLog.
+ * include/ChangeLog: Added deprecation notice of ChangeLog.
+
+Mon Feb 7 21:50:00 2011 Adam M. Dutko (dutko.adam@gmail.com)
+ * starting removal of kpathsea dependency
+ * implemented new license/copyright section format
+
Sun Jan 30 17:42:00 2011 Adam M. Dutko (dutko.adam@gmail.com)
* README: Removed notice of needing maintainer.
* AUTHORS: Added ChangeLog information.
@@ -256,6 +284,10 @@ Thu Jun 24 xx:xx:xx 2004 Karl Berry <karl@gnu.org>
* doc/freedom.texi: old info, remove (sadly).
* doc/fontu.texi: remove @include of freedom.
+Mon Apr 8 09:25:30 1996 Kathy Hargreaves <letters@cs.umb.edu>
+
+ * imageto/out-chars.c: doc fix.
+
Mon Apr 8 08:32:57 1996 Kathy Hargreaves <letters@cs.umb.edu>
* doc/overview.texi: added direction to CCC arrow.
@@ -266,6 +298,13 @@ Sat Apr 6 07:42:05 1996 Kathy Hargreaves <letters@cs.umb.edu>
because they donated the font, so list the non-Adobe symbols as
they occur in the sample book.
+Sat Mar 30 07:17:23 1996 Kathy Hargreaves <letters@cs.umb.edu>
+
+ * fontconvert/output-epsf.c: don't assign NAME to OUTPUT_NAME, as NAME
+ is already it. Doc fix.
+ * fontconvert/output-gf.c (gf_start_output): copy gf_name and write
+ actual filenames when prepending an `x' to the output filename.
+
Sat Mar 30 07:09:01 1996 Kathy Hargreaves <letters@cs.umb.edu>
* doc/overview.texi: added TFM output line from fontconvert to
@@ -277,51 +316,287 @@ Fri Dec 29 07:21:58 1995 Kathy Hargreaves <kathy@cs.umb.edu>
* data/defs.make (CPPFLAGS): -I$(srcdir)/../include, not
-I../$(srcdir)/include.
+Tue Dec 26 10:16:08 1995 Kathy Hargreaves <kathy@cs.umb.edu>
+
+ * lib/identity.c (get_identity): Added.
+
+Tue Dec 26 10:15:54 1995 Kathy Hargreaves <kathy@cs.umb.edu>
+
+ * include/identity.h (get_identity): Added.
+
Sat Dec 9 08:05:30 1995 Kathy Hargreaves <karl@cs.umb.edu>
* doc/fontcvt.texi (Character manipulation options): filtering
eliminates small features, such as serifs (not features).
+Sat Dec 9 07:21:29 1995 Kathy Hargreaves <karl@cs.umb.edu>
+
+ * imageto/out-chars.c: (do_image_line): doc fix.
+
+Wed Dec 6 08:28:15 1995 Kathy Hargreaves <karl@cs.umb.edu>
+
+ * imageto/out-chars.c: (output_chars): doc fix.
+
+Tue Dec 5 09:40:23 1995 Kathy Hargreaves <karl@cs.umb.edu>
+
+ * imageto/out-chars.c: doc fix.
+
+Mon Dec 4 07:40:24 1995 Kathy Hargreaves <karl@cs.umb.edu>
+
+ * imageto/main.c (USAGE): doc fix.
+ * imageto/out-chars.c: doc fix. Changed image_bitmap to
+ image_line_bitmap.
+ (do_image_line): Changed original_box_count to previous_box_count.
+
+Sun Dec 3 09:05:05 1995 Kathy Hargreaves <karl@cs.umb.edu>
+
+ * imageto/out-chars.c: (do_image_line): doc fix.
+
+Thu Nov 30 09:03:47 1995 Kathy Hargreaves <karl@cs.umb.edu>
+
+ * imageto/out-chars.c: (output_chars): doc fix.
+
+Tue Nov 28 09:47:19 1995 Kathy Hargreaves <karl@cs.umb.edu>
+
+ * imageto/out-chars.c: (output_chars): reconsider the current bounding
+ box if the current character is ignored.
+
+Sun Nov 26 12:47:00 1995 Kathy Hargreaves <karl@cs.umb.edu>
+
+ * lib/bb-outline.c: (find_outline_bbs): Doc fix.
+ * lib/edge.c: (next_unmarked_outline_edge): Doc fix.
+
+Sat Nov 25 09:34:01 1995 Kathy Hargreaves <karl@cs.umb.edu>
+
+ * include/bitmap.h: (BITMAP_INTERIOR_PIXEL): added to comment.
+
+Fri Nov 24 07:03:53 1995 Kathy Hargreaves <karl@cs.umb.edu>
+
+ * main.c: call kpse_set_progname(argv[0]).
+
+Fri Nov 24 05:48:20 1995 Kathy Hargreaves <karl@cs.umb.edu>
+
+ * lib/concat*.c: made arguments const_string's to conform to .h files.
+ Call assert on the arguments, that they aren't NULL, because it
+ makes strlen blow up if they are. Set answer to NULL, and only
+ work on it if all the arguments are non-NULL.
+
+Thu Nov 23 09:08:00 1995 Kathy Hargreaves <karl@cs.umb.edu>
+
+ * lib/font.c: (get_font): replaced find_tfm_filename with kpse_find_tfm.
+
Thu Nov 23 09:06:06 1995 Kathy Hargreaves <karl@cs.umb.edu>
* charspace/main.c: replaced find_tfm_filename with kpse_find_tfm.
+Thu Nov 23 08:36:07 1995 Kathy Hargreaves <karl@cs.umb.edu>
+
+ * imageto/out-chars.c: (bitmap_to_gf_char): call kpse_find_tfm instead
+ of find_tfm_filename.
+
+Thu Nov 23 06:25:51 1995 Kathy Hargreaves <karl@cs.umb.edu>
+
+ * fontconvert/output-tfm.c: (tfm_start_output): call kpse_find_tfm
+ instead of find_tfm_filename.
+ * fontconvert/main.c (tfm): Added warning about below to help.
+ * fontconvert/output-tfm.c: (tfm_start_output): Added warning about
+ outputting to a file with the input PL filename except with an `x'
+ prepended, analogous to the one for the GF output filename.
+
+Thu Nov 16 09:01:31 1995 Kathy Hargreaves <karl@cs.umb.edu>
+
+ * imageto/out-chars.c: (bitmap_to_gf_char): Remove output_name's suffix
+ before calling find_tfm_filename with it.
+ * imageto/main.c: (OUTPUT_NAME): Made on-static so could do below.
+ * imageto/main.h: Added output_name extern declaration.
+ * imageto/out-chars.c: (bitmap_to_gf_char): Call kpse_find_tfm with
+ find_tfm_filename(output_name) instead of something built with
+ input_name, so that will have the design size in the name.
+
+Tue Nov 14 07:28:21 1995 Kathy Hargreaves <karl@cs.umb.edu>
+
+ * imageto/ifi.c: (read_ifi_file): increment n after setting the charcode
+ and not before, so first character will have charcode 0.
+
Mon Oct 16 09:24:40 1995 Kathy Hargreaves <karl@cs.umb.edu>
* data/itcdingbat.enc: added this.
* data/encoding.map: added itcdingbat -> ITC Zapf Dingbats.
+Mon Oct 16 06:11:45 1995 Kathy Hargreaves <karl@cs.umb.edu>
+
+ * fontconvert/output-tfm.c (tfm_start_output): no longer extend
+ output_root to have .pl for pl_name, as pltotf adds it (which may be a
+ bug).
+
+Sat Oct 14 14:54:27 1995 Kathy Hargreaves <karl@cs.umb.edu>
+
+ * imageto/out-chars.c: (bitmap_to_gf_char): Also have to call
+ remove_suffix on input name passed to kpse_find_tfm.
+
+Thu Oct 12 10:44:23 1995 Karl Berry <karl@cs.umb.edu>
+
+ * imageto/out-chars.c (bitmap_to_gf_char): Have to call basename on the
+ input name passed to kpse_find_tfm.
+
Thu Oct 12 10:42:31 1995 Karl Berry <karl@cs.umb.edu>
* data/defs.make (kpathsea_srcdir): Define this for the sake of the
dependencies.
(M.depend): Use -M and remove the /usr/include files.
+Thu Oct 12 10:42:17 1995 Karl Berry <karl@cs.umb.edu>
+
+ * include/xt-common.h: Add FOIL_X_WCHAR_T.
+
Sun Oct 8 07:53:33 1995 Karl Berry <karl@cs.umb.edu>
* data/defs.make (kpathsea): Prepend lib to the name.
+Thu Aug 24 16:00:46 1995 Karl Berry <karl@cs.umb.edu>
+
+ * lib/GNUmakefile (c_only): strstr is now in kpathsea.
+
+Sun Aug 13 18:01:11 1995 Karl Berry <karl@cs.umb.edu>
+
+ * imageto/main.c: Call kpse_set_progname.
+
+Sat May 27 13:52:42 1995 Karl Berry <karl@cs.umb.edu>
+
+ * include/global.h (atou): Now in kpathsea.
+
+Sat May 27 13:52:19 1995 Karl Berry <karl@cs.umb.edu>
+
+ * lib/GNUmakefile (c_only): atou is in kpathsea.
+
+Fri Apr 14 15:56:43 1995 Karl Berry <karl@cs.umb.edu>
+
+ * lib/GNUmakefile (c_only): Remove xfseek and xftell.
+
+Mon Oct 24 19:08:52 1994 Karl Berry <karl@cs.umb.edu>
+
+ * include/global.h (basename): Now in kpathsea.
+
+Mon Oct 24 19:04:34 1994 Karl Berry <karl@cs.umb.edu>
+
+ * lib/GNUmakefile (c_only): basename is in kpathsea now.
+
+Sun May 15 11:32:54 1994 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/out-chars.c (output_chars): Change `x' to `<ignored>'.
+
+Fri May 13 16:57:15 1994 Karl Berry (karl@cs.umb.edu)
+
+ * tfm/tfm_output.c (tfm_convert_pl): Add NULL to the concatn.
+
+Fri May 13 15:27:29 1994 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/out-chars.c (bitmap_to_gf_char): Call kpse_find_tfm, now that
+ it exists.
+
Fri May 13 15:18:27 1994 Karl Berry (karl@cs.umb.edu)
* configure.in: Include kpathsea/common.ac.
+Sun May 1 15:32:11 1994 Karl Berry (karl@cs.umb.edu)
+
+ * tfm/tfm_output.c: Use concatn instead of the no-longer-existing
+ concat5.
+
+Sun May 1 15:31:10 1994 Karl Berry (karl@cs.umb.edu)
+
+ * lib/vector.c (Vangle): Declare const.
+
+Sun Feb 20 17:08:21 1994 Kathy Hargreaves (karl@cs.umb.edu)
+
+ * gf/gf_output.c: changed doc.
+
+Thu Sep 30 10:13:45 1993 Karl Berry (karl@cs.umb.edu)
+
+ * lib/str-to-bit.c (string_to_bitmap): Call close_font.
+
+Sat Sep 25 18:03:44 1993 Karl Berry (karl@red.cs.umb.edu)
+
+ * include/config.h (ALLOC_RETURN_TYPE): Do not define this.
+
+Sun Aug 22 14:15:01 1993 Karl Berry (karl@cs.umb.edu)
+
+ * include/rand.h (RAND_MAX): Cast to unsigned before doing a 31-bit
+ shift.
+
+Sun Aug 22 13:32:49 1993 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/out-epsf.c (PIXELS_TO_BP): No longer needed.
+
+Sun Aug 8 15:30:57 1993 Karl Berry (karl@cs.umb.edu)
+
+ * include/global.h (ROUND): Do not cast arg to int.
+
+Sat Aug 7 13:44:10 1993 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/input-img.c (img_get_header): Allow grayscale images.
+ * imageto/*.h: types.h now in kpathsea.
+
Sat Aug 7 12:01:46 1993 Karl Berry (karl@cs.umb.edu)
* data/defs.make (depend & M.depend): shorten.
+Sat Aug 7 11:55:02 1993 Karl Berry (karl@cs.umb.edu)
+
+ * fontconvert/*.h: types.h now in kpathsea.
+
Sat Aug 7 11:53:23 1993 Karl Berry (karl@cs.umb.edu)
* charspace/cmi.y, *.h: c-ctype.h and types.h now in kpathsea.
+Sat Aug 7 11:52:18 1993 Karl Berry (karl@cs.umb.edu)
+
+ * include/Item.h: types.h now in kpathsea.
+
+Sat Aug 7 11:51:41 1993 Karl Berry (karl@cs.umb.edu)
+
+ * pbm/libpbm1.c: c-ctype.h now in kpathsea.
+
+Sun Aug 1 09:56:42 1993 Karl Berry (karl@cs.umb.edu)
+
+ * lib/Most *.c: Include files now in kpathsea.
+ * lib/GNUmakefile (c_only): Add statistics, remove many things now in
+ kpathsea.
+
+Sun Aug 1 09:41:41 1993 Karl Berry (karl@cs.umb.edu)
+
+ * include/Most include files: Use <kpathsea/types.h> instead of
+ "types.h".
+ * include/config.h: Include kpathsea/config.h.
+
Sat Jul 31 11:38:21 1993 Karl Berry (karl@cs.umb.edu)
* configure.in: Remove AC_PREFIX.
+Tue Jul 27 09:38:13 1993 Karl Berry (karl@cs.umb.edu)
+
+ * include/types.h: Just include <kpathsea/types.h> (in lieu of deleting
+ this file altogether, which would be the right thing).
+
+Tue Jul 27 09:24:08 1993 Karl Berry (karl@cs.umb.edu)
+
+ * lib/GNUmakefile (c_only): Remove dir-p and find-suffix
+ (now in kpathsea).
+
+Tue Jul 27 09:04:12 1993 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/GNUmakefile (libraries): Add tfm.
+
Tue Jul 27 09:03:52 1993 Karl Berry (karl@cs.umb.edu)
* data/defsprog.make (program): Depend on $(kpathsea).
* data/defs.make: Add definitions for kpathsea.
+Sun Jul 25 19:20:04 1993 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/out-chars.c (bitmap_to_gf_char): Get TFM width from existing
+ TFM file, if we can find one. Convert for use with kpathsea.
+
Wed Jun 2 08:09:17 1993 Karl Berry (karl@cs.umb.edu)
* configure.in: Call AC_PROG_CPP explicitly. Don't bother with
@@ -339,19 +614,45 @@ Sat May 22 11:22:57 1993 Karl Berry (karl@cs.umb.edu)
* GNUmakefile.in (dist): Run gzip -9.
+Fri May 21 13:45:30 1993 Karl Berry (karl@cs.umb.edu)
+
+ * lib/gmalloc.c (my_memmove): New routine, since ISC doesn't have a
+ real memmove.
+
+Thu May 20 19:11:05 1993 Karl Berry (karl@cs.umb.edu)
+
+ * lib/gmalloc.c: New file from the malloc distribution (plus a few
+ edits).
+ * lib/GNUmakefile (malloc): Define to be gmalloc, and toss the old
+ malloc.c.
+
Thu May 20 16:59:38 1993 Karl Berry (karl@cs.umb.edu)
* GNUmakefile.in (default_tfm_path): Put . first.
+Thu May 20 17:11:25 1993 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/ifi.c: Doc fix.
+
Tue May 18 14:02:05 1993 Karl Berry (karl@cs.umb.edu)
* Makefile.in (install-*): mkdirchain on install dirs, and put
- mkdirchain in the dist.
+ mkdirchain in the dist.
Sun May 16 15:46:54 1993 Karl Berry (karl@cs.umb.edu)
* doc/fontu.texi: Change title to `GNU font utilities'.
+Fri Apr 23 16:09:28 1993 Karl Berry (karl@cs.umb.edu)
+
+ * include/moretypes.h: Create from types.h.
+ * include/types.h: Make identical to other distributions.
+
+Thu Apr 22 17:03:53 1993 Karl Berry (karl@cs.umb.edu)
+
+ * lib/remove-suffx.c (remove_suffix): If no suffix, return the string,
+ not NULL.
+
Thu Apr 22 15:18:14 1993 Karl Berry (karl@cs.umb.edu)
* data/defs.make (%.o): Put $CFLAGS last.
@@ -364,6 +665,18 @@ Sat Apr 10 14:58:43 1993 Karl Berry (karl@cs.umb.edu)
* configure.in: Do AC_XENIR_DIR after AC_DIR_HEADER.
+Tue Apr 6 20:12:03 1993 Karl Berry (karl@cs.umb.edu)
+
+ * include/getpagesize.h: Remove, as malloc.c no longer needs it.
+
+Tue Apr 6 19:58:45 1993 Karl Berry (karl@cs.umb.edu)
+
+ * lib/malloc.c (getpagesize.h): Do not include.
+ (memalign, valloc): Remove, since we don't need them.
+ * lib/filename.c (find_tfm_filename): Call extend_filename to get the
+ `.tfm', instead of just concatenating. Not sure if this is a good
+ idea, but periods in font names are problematic all over, I think.
+
Thu Mar 25 16:01:51 1993 Karl Berry (karl@cs.umb.edu)
* configure.in (AC_ISC_WLIBS): Remove.
@@ -374,10 +687,27 @@ Mon Mar 22 06:26:35 1993 Karl Berry (karl@cs.umb.edu)
* data/defsprog.make (dist): Make the bison output here.
* data/defs.make (dist): Instead of here.
+Tue Mar 16 07:47:38 1993 Karl Berry (karl@cs.umb.edu)
+
+ * lib/fontmap.c (map_lookup): Don't extend the filename if there was
+ no suffix.
+
Tue Mar 16 07:32:06 1993 Karl Berry (karl@cs.umb.edu)
* data/gnulatin.enc (ellipses): Correct to ellipsis.
+Wed Mar 3 06:20:09 1993 Karl Berry (karl@cs.umb.edu)
+
+ * lib/xftell.c (xftell): Declare as unsigned long.
+
+Wed Mar 3 06:19:46 1993 Karl Berry (karl@cs.umb.edu)
+
+ * include/lib.h (xftell): Back to unsigned long.
+
+Sun Feb 28 15:41:59 1993 Karl Berry (karl@cs.umb.edu)
+
+ * include/lib.h (xftell): Declare as four_bytes.
+
Tue Feb 23 16:52:13 1993 Karl Berry (karl@cs.umb.edu)
* GNUmakefile.in (dist): Copy info files to my local info directory.
@@ -392,10 +722,36 @@ Sun Feb 7 14:22:45 1993 Karl Berry (karl@cs.umb.edu)
* doc/Makefile.in (install): Give filename as second arg.
(info, dvi): New (synonym) targets.
+Sun Feb 7 08:17:26 1993 Karl Berry (karl@cs.umb.edu)
+
+ * include/lib.h (xfopen, etc.): Use P?H.
+
+Sat Jan 30 16:47:59 1993 Karl Berry (karl@cs.umb.edu)
+
+ * include/lib.h (xfopen, xfclose, xfseek, xftell): Move here.
+ * include/global.h: From here.
+
+Wed Jan 20 09:18:36 1993 Karl Berry (karl@cs.umb.edu)
+
+ * include/lib.h (FATAL_PERROR, WARNING*, FATAL*): Move from global.h.
+
+Mon Jan 18 15:43:02 1993 Karl Berry (karl@cs.umb.edu)
+
+ * lib/xrealloc.c: Doc fix.
+
Sat Jan 9 15:22:51 1993 Karl Berry (karl@cs.umb.edu)
* GNUmakefile.in (configure, config.status): cd $(srcdir) first.
+Sun Jan 3 19:36:39 1993 Karl Berry (karl@cs.umb.edu)
+
+ * lib/pathsrch.c (R_OK): Defined in the config files now.
+
+Sun Jan 3 19:35:32 1993 Karl Berry (karl@cs.umb.edu)
+
+ * include/config.h: Move some includes to c-std.h.
+ * include/c-seek.h: Rename to c-unistd.h and add more constants.
+
Fri Jan 1 14:30:16 1993 Karl Berry (karl@cs.umb.edu)
* data/defs.make (realclean): Don't remove M.depend. It causes too
@@ -409,9 +765,29 @@ Sun Dec 13 16:39:23 1992 Karl Berry (karl@cs.umb.edu)
* GNUmakefile.in (default_tfm_path): Use $(texdatadir).
-Sat Dec 5 17:15:31 1992 Karl Berry (karl@cs.umb.edu)
+Sat Dec 12 13:06:47 1992 Karl Berry (karl@cs.umb.edu)
- * doc/bpltobzr.texi: Comment syntax is now `; ... \n', a la Lisp.
+ * include/c-fopen.h (FOPEN_W_MODE): New defn.
+
+Fri Dec 11 15:14:58 1992 Karl Berry (karl@cs.umb.edu)
+
+ * include/c-ctype.h: New file.
+
+Fri Dec 11 15:06:54 1992 Karl Berry (karl@cs.umb.edu)
+
+ * pbm/libpbm1.c (pm_keymatch): Change ctype references to use
+ uppercase macros.
+
+Fri Dec 11 15:00:31 1992 Karl Berry (karl@cs.umb.edu)
+
+ * lib/font.c (print_char): Change ctype references to use uppercase
+ macros.
+ * lib/libfile.c (libfile_line),
+ * lib/pathsrch.c (absolute_p),
+ * lib/str-to-bit.c (string_to_bitmap),
+ * lib/float-ok.c (float_ok),
+ * lib/integer-ok.c (integer_ok),
+ * lib/charspec.c (xparse_charspec): Likewise.
Fri Dec 11 14:59:42 1992 Karl Berry (karl@cs.umb.edu)
@@ -424,6 +800,20 @@ Thu Dec 10 10:34:30 1992 Karl Berry (karl@cs.umb.edu)
use $(SHELL) instead of sh.
(config.status): Use $(SHELL).
+Sat Dec 5 17:15:31 1992 Karl Berry (karl@cs.umb.edu)
+
+ * doc/bpltobzr.texi: Comment syntax is now `; ... \n', a la Lisp.
+
+Sat Dec 5 15:46:42 1992 Karl Berry (karl@cs.umb.edu)
+
+ * include/c-minmax.h: Define all the ANSI constants except
+ CHAR_{MIN,MAX}.
+
+Thu Dec 3 15:40:46 1992 Karl Berry (karl@cs.umb.edu)
+
+ * fontconvert/main.c: Don't bother to include getopt.h, cmdline.h
+ already does.
+
Thu Dec 3 15:40:40 1992 Karl Berry (karl@cs.umb.edu)
* charspace/main.c: Don't bother to include getopt.h, cmdline.h already does.
@@ -432,6 +822,29 @@ Sun Nov 29 17:17:46 1992 Karl Berry (karl@cs.umb.edu)
* GNUmakefile.in (emacslispdir): Doc fix.
+Sun Nov 29 17:05:40 1992 Karl Berry (karl@cs.umb.edu)
+
+ * lib/xmessage.c [X_DISPLAY_MISSING]: Conditionalize whole file.
+ * lib/numtoa.c (xdtoa): Rename from `dtoa', to avoid Linux conflict.
+ (awasthi@cps.msu.edu)
+
+Sun Nov 29 17:04:22 1992 Karl Berry (karl@cs.umb.edu)
+
+ * include/global.h (dtoa): Rename to `xdtoa', to avoid Linux conflict.
+ (awasthi@cps.msu.edu)
+
+Tue Nov 17 09:25:58 1992 Karl Berry (karl@cs.umb.edu)
+
+ * lib/hexify.c: Doc fix.
+
+Mon Nov 16 16:08:39 1992 Karl Berry (karl@cs.umb.edu)
+
+ * lib/malloc.c (calloc): Complain if the malloc fails.
+
+Mon Nov 9 09:46:32 1992 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/image-header.h: Doc fix.
+
Sat Oct 31 08:18:24 1992 Karl Berry (karl@cs.umb.edu)
* data/texm{ext,sym,ital}.enc: New files.
@@ -451,6 +864,10 @@ Wed Oct 28 15:09:29 1992 Karl Berry (karl@claude.cs.umb.edu)
* GNUmakefile.in (install): Install data files with file as second
arg, not directory.
+Tue Oct 27 13:02:44 1992 Karl Berry (karl@cs.umb.edu)
+
+ * include: Version 0.6.
+
Tue Oct 27 13:02:40 1992 Karl Berry (karl@cs.umb.edu)
* data/defs.make (dist): Make .c files from .y source.
@@ -460,10 +877,38 @@ Tue Oct 27 13:02:33 1992 Karl Berry (karl@cs.umb.edu)
* doc: Version 0.6.
* doc/Makefile.in (dist): Need Makefile temporarily.
+Tue Oct 27 13:02:04 1992 Karl Berry (karl@cs.umb.edu)
+
+ * imageto: Version 0.6.
+
+Tue Oct 27 13:01:55 1992 Karl Berry (karl@cs.umb.edu)
+
+ * fontconvert: Version 0.6.
+
Tue Oct 27 13:01:50 1992 Karl Berry (karl@cs.umb.edu)
* charspace: Version 0.6.
+Tue Oct 27 12:56:39 1992 Karl Berry (karl@cs.umb.edu)
+
+ * tfm: Version 0.6.
+
+Tue Oct 27 12:56:27 1992 Karl Berry (karl@cs.umb.edu)
+
+ * pk: Version 0.6.
+
+Tue Oct 27 12:56:21 1992 Karl Berry (karl@cs.umb.edu)
+
+ * pbm: Version 0.6.
+
+Tue Oct 27 12:56:15 1992 Karl Berry (karl@cs.umb.edu)
+
+ * lib: Version 0.6.
+
+Tue Oct 27 12:56:09 1992 Karl Berry (karl@cs.umb.edu)
+
+ * gf: Version 0.6.
+
Sun Oct 25 15:30:46 1992 Karl Berry (karl@cs.umb.edu)
* doc/Makefile.in (distclean): Depend on clean, and remove Makefile.
@@ -476,35 +921,129 @@ Sun Oct 25 15:29:19 1992 Karl Berry (karl@cs.umb.edu)
* GNUmakefile.in (installargs): Passed texinputdir as mfinputdir.
* GNUmakefile.in (install): Correct to `emacs_datadir' in the mkdir.
+Sun Oct 25 06:27:11 1992 Karl Berry (karl@cs.umb.edu)
+
+ * include/getopt.h: New version.
+
+Sun Oct 25 06:26:42 1992 Karl Berry (karl@cs.umb.edu)
+
+ * lib/getopt.c: New version.
+
Sat Oct 24 05:18:03 1992 Karl Berry (karl@cs.umb.edu)
* doc/imageto.texi: Default encoding is none now, not ASCII.
* doc/gsrenderf.texi: Likewise.
+Sat Oct 24 05:13:02 1992 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/ifi.c (read_ifi_file): Just do successive character codes if
+ we don't have an encoding file.
+ * imageto/main.c (USAGE): Change doc.
+
Fri Oct 23 14:16:19 1992 Karl Berry (karl@cs.umb.edu)
* doc/fontcvt.texi: The -space option is gone.
* doc/gsrenderf.texi: This doesn't use Fontconvert anymore.
+Fri Oct 23 14:15:22 1992 Karl Berry (karl@cs.umb.edu)
+
+ * fontconvert/main.c (main): Remove the -space option.
+ * fontconvert/output-gf.c (gf_finish_output): And remove the code that
+ implemented it.
+ (space_char): And this global.
+ * fontconvert/output-gf.h (space_char): And the decl.
+
+Fri Oct 23 10:43:46 1992 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/out-chars.c (output_chars): Free the bounding box list we
+ construct.
+ * imageto/out-chars.c (output_chars): If the IFI struct says no bounding
+ boxes, don't read any of the bitmap, and reconsider the current bb.
+
+Thu Oct 22 17:58:12 1992 Karl Berry (karl@cs.umb.edu)
+
+ * lib/make-suffix.c: Doc fix.
+
+Tue Oct 20 17:17:26 1992 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/GNUmakefile (install): Make the second arg a file, not a
+ directory.
+
Tue Oct 20 14:49:21 1992 Karl Berry (karl@cs.umb.edu)
* doc/bzrto.texi: Document -ps-font-info option.
+Oct 20 11:57:57 1992 Karl Berry (karl@cs.umb.edu)
+
+ * lib/filename.c (find_{gf,pk,tfm}_filename): Just concatenate the
+ suffix onto the main font name, don't replace a suffix.
+
+Tue Oct 20 11:54:55 1992 Karl Berry (karl@cs.umb.edu)
+
+ * fontconvert/main.c (main): Change the reporting so the space or
+ newline comes before the character, not after.
+ * fontconvert/main.c (main): Don't remove the suffix when making the
+ output filename, as we already did; pass the input name to
+ `gf_start_output', not the full bitmap filename.
+
+Mon Oct 19 08:11:44 1992 Karl Berry (karl@cs.umb.edu)
+
+ * tfm/tfm_input.c (tfm_get_chars): Return the newly malloced array,
+ not the static variable.
+
Mon Oct 19 08:05:34 1992 Karl Berry (karl@cs.umb.edu)
* data/ascii.enc: Remove trailing .notdef's.
* data/encoding.map (mflogo): New entry.
* data/mflogo.enc: New file.
+Sat Oct 17 19:36:59 1992 Karl Berry (karl@cs.umb.edu)
+
+ * include/c-memstr.h (bcmp, bcopy, bzero): Only #define if they are not
+ already #define'd.
+
+Fri Oct 16 15:40:53 1992 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/out-epsf.c: Doc fix.
+
Thu Oct 15 08:35:21 1992 Karl Berry (karl@cs.umb.edu)
* configure: Ran Autoconf 1.2.
+Tue Oct 6 09:04:23 1992 Karl Berry (karl@cs.umb.edu)
+
+ * include/bzr.h (BZR_CHAR_BB, etc.): Remove, as the CHAR_... macros
+ work fine.
+ * include/tfm.h (TFM_SAFE_FONTDIMEN): Fully parenthesize.
+
Mon Oct 5 10:24:15 1992 Karl Berry (karl@cs.umb.edu)
* configure.in: Generate doc/Makefile. (arif@stat.fsu.edu)
* GNUmakefile.in (install): Install common.cmi. (ab@meiko.co.uk)
+Mon Oct 5 10:12:03 1992 Karl Berry (karl@cs.umb.edu)
+
+ * fontconvert/main.c (read_command_line): If -text is given, set
+ 'report_file' to stderr.
+
+Mon Oct 5 10:07:59 1992 Karl Berry (karl@cs.umb.edu)
+
+ * lib/report.c (report_file): New variable.
+
+Mon Oct 5 10:06:28 1992 Karl Berry (karl@cs.umb.edu)
+
+ * include/report.h (report_file): New variable.
+ (REPORT*): Use it.
+
+Mon Oct 5 09:31:30 1992 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/main.c (read_command_line): Make -print-clean-info imply
+ -verbose.
+ (main): Remove now-redundant test for `print_clean_info'.
+ * imageto/out-chars.c (write_image_chars): Only report "+" if we have to
+ keep reading vertically, not horizontally.
+ (do_image_line): Remove the report from here.
+
Mon Oct 5 09:19:32 1992 Karl Berry (karl@cs.umb.edu)
* doc/Makefile.in: Renamed from Makefile (so $(prefix) gets configured.)
@@ -512,6 +1051,15 @@ Mon Oct 5 09:19:32 1992 Karl Berry (karl@cs.umb.edu)
restructure into sections.
* doc/imageto.texi: Rewrite major portions.
+Sun Oct 4 14:03:53 1992 Karl Berry (karl@cs.umb.edu)
+
+ * fontconvert/output-tfm.c (tfm_start_output): Report the TFM filename
+ if we are reading one.
+ * fontconvert/main.c (main): Report the full pathname of the font, not
+ just what the user gave us.
+ * fontconvert/main.c (main): Call `tfm_finish_output' before
+ `gf_finish_output'.
+
Sun Oct 4 11:31:42 1992 Karl Berry (karl@cs.umb.edu)
* data/ggmr.{ifi,1200cmi}: Make links here so we distribute these files
@@ -526,10 +1074,124 @@ Sun Oct 4 11:18:43 1992 Karl Berry (karl@cs.umb.edu)
* doc/{imageto,overview}.texi: Remove doc on -clean-threshold.
+Sun Oct 4 09:13:24 1992 Karl Berry (karl@cs.umb.edu)
+
+ * lib/bb-list.c: New file, from bb-outline.c.
+ * lib/GNUmakefile (c_only): Add it.
+ * lib/bb-outline.c: Change calls and decls for new improved names.
+
+Sun Oct 4 09:03:07 1992 Karl Berry (karl@cs.umb.edu)
+
+ * include/font.h (CHAR_HEIGHT): Just return the max row, don't add one
+ for the baseline. Why did we want to do this?
+ * include/lib.h: Doc fix.
+ * include/bb-list.h: New file, taken from bb-outline.h; rename
+ `bounding_box_list' to prefix `bb_list'.
+
+Sun Oct 4 08:59:55 1992 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/out-chars.c (write_image_chars): Don't keep adding to
+ `row_height' for appended image rows, just assign.
+ * imageto/main.c (main): Test for zero resolution here.
+ (set_input_format): Not here.
+ * imageto/out-chars.c (clean_threshold): Remove.
+ * imageto/out-chars.h: Likewise.
+ * imageto/main.c (USAGE, read_command_line): And here.
+ * imageto/out-chars.c (bb_equal_p): New fn.
+ * imageto/out-chars.c (offset_bb_list): Function moved here from
+ bb-outline.c.
+ * imageto/out-chars.c (clean_bitmap): Rewrite to take a list of known
+ boxes, and remove those that aren't in the list.
+ (output_chars): Only call `clean_bitmap' once, after we've
+ combined everything.
+ (image_to_bitmap_bbs): New fn.
+
+Sat Oct 3 16:58:38 1992 Karl Berry (karl@cs.umb.edu)
+
+ * lib/bb-outline.c: Doc fix.
+
+Sat Oct 3 13:54:39 1992 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/out-chars.c (write_image_chars): Don't abort if the image ends
+ prematurely, just give a warning and return.
+ * imageto/out-chars.c (OUTPUT_CHAR_P): New macro.
+ (output_chars): Use it, instead of repeating the same expr several
+ times.
+
+Fri Oct 2 17:01:25 1992 Karl Berry (karl@cs.umb.edu)
+
+ * include/report.h (REPORT): Use fputs instead of fprintf.
+ * include/logreport.h (LOG): Likewise.
+
+Fri Oct 2 16:14:03 1992 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/out-chars.[ch]: New files constructed from main.[ch].
+ * imageto/main.c: Include out-chars.h.
+ * imageto/extract.c (REPORT_SCANLINE): use REPORT.
+ * imageto/main.c (-info-filename): remove this option.
+ * imageto/{epsf,strips}.[ch]: Rename to out-*.
+ * imageto/GNUmakefile (c_and_h): Likewise.
+ * imageto/ifi.[ch]: New files constructed from image-char.[ch] and
+ main.c.
+ * imageto/main.c: include ifi.h.
+ (extract_chars): Change call to read_ifi_file.
+ * imageto/GNUmakefile (c_and_h): add `ifi', remove `image-char'.
+
+Mon Sep 28 11:11:59 1992 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/main.c: change `fprintf (stderr's to use REPORT*.
+ * imageto/main.c (clean_bitmap): print the size of the bounding box
+ being cleaned, not that of the enclosing character.
+ (halvers@sol.crd.ge.com)
+
+Tue Sep 22 16:30:25 1992 Karl Berry (karl@cs.umb.edu)
+
+ * fontconvert/output-gf.c (gf_finish_output): output a newline after
+ the space char's code.
+
+Tue Sep 22 13:01:54 1992 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/main.c (read_ifi_file): call make_suffix to make the default
+ IFI filename, instead of appending to the root.
+ (input_rootname): remove.
+ (main): don't assign to input_rootname; just set output_name to
+ the fn call.
+ (input_name): new static.
+ * imageto/main.c (clean_bitmap): if clean_threshold is 1.0, do nothing;
+ else only clean if the gray value is > threshold, not >=.
+ * imageto/main.c: make diagnostic messages consistent.
+ * imageto/main.c (do_image_line): set `bb_offset' to just the width
+ of the previous bb, since we're already incorporating the
+ interbb whitespace in the second bb.
+
+Tue Sep 22 12:46:49 1992 Karl Berry (karl@cs.umb.edu)
+
+ * lib/malloc.c (realloc): abort if we can't malloc enough memory to do
+ the realloc.
+ * lib/bitmap.c (bb_ensure_bounds): new routine.
+ (extract_subbitmap): call it.
+
+Mon Sep 21 13:20:29 1992 Karl Berry (karl@cs.umb.edu)
+
+ * gf/gf_output.c (start_put_char): don't claim we are part of the
+ nonexistent put_gf_char in the warning.
+
+Mon Sep 21 12:00:35 1992 Karl Berry (karl@cs.umb.edu)
+
+ * lib/malloc.c: define NO_NEW_HANDLER.
+
Mon Sep 21 11:03:32 1992 Karl Berry (karl@cs.umb.edu)
* doc/imageto.texi: document -ifi-file.
+Mon Sep 21 10:32:07 1992 Karl Berry (karl@cs.umb.edu)
+
+ * imageto/main.c (read_command_line): new option -ifi-file, a synonym
+ for -info-file.
+ (USAGE): document it.
+ * imageto/main.c (set_input_format): don't call strcmp on NULL if the
+ input filename lacks an extension.
+
Sun Sep 20 12:53:29 1992 Karl Berry (karl@cs.umb.edu)
* GNUmakefile.in (config.status): use sh to run configure --no-create.
@@ -539,6 +1201,16 @@ Tue Sep 15 08:40:11 1992 Karl Berry (karl@hayley)
* data/defs.make (RANLIB): define as `@true', so it's silent.
+Tue Sep 15 08:39:17 1992 Karl Berry (karl@hayley)
+
+ * pbm/libpbm1.c (malloc, free, exit): don't declare these, rely on
+ config.h.
+
+Tue Sep 15 08:38:19 1992 Karl Berry (karl@hayley)
+
+ * include/pbmplus.h: include config.h, and remove the old sysv/bsd
+ configuration stuff.
+
Mon Sep 14 17:50:54 1992 Karl Berry (karl@hayley)
* GNUmakefile.in (realclean): separate from distclean.
@@ -572,10 +1244,19 @@ Tue Sep 8 17:41:02 1992 Karl Berry (karl@hayley)
(distclean): remove empty sorted index files here.
(dist): not here.
+Tue Sep 8 17:05:33 1992 Karl Berry (karl@hayley)
+
+ * include/c-auto.h.in (_MINIX, _{ALL,POSIX,POSIX_1}_SOURCE): add
+ #undef's for configure to define.
+
Tue Sep 8 16:42:04 1992 Karl Berry (karl@hayley)
* configure.in: test for more Unix variants.
+Sun Sep 6 16:54:48 1992 Karl Berry (karl@hayley)
+
+ * include/global.h (MAX_INT_LENGTH): increase to 21, for 64-bit numbers.
+
Fri Sep 4 08:42:42 1992 Karl Berry (karl@hayley)
* data/defs.make (extraclean): new target.
@@ -588,6 +1269,38 @@ Fri Sep 4 08:39:15 1992 Karl Berry (karl@hayley)
* GNUmakefile.in (extraclean): new target.
+Thu Sep 3 09:31:23 1992 Karl Berry (karl@hayley)
+
+ * tfm: Version 0.5.
+
+Thu Sep 3 09:31:18 1992 Karl Berry (karl@hayley)
+
+ * pk: Version 0.5.
+
+Thu Sep 3 09:31:14 1992 Karl Berry (karl@hayley)
+
+ * pbm: Version 0.5.
+
+Thu Sep 3 09:31:06 1992 Karl Berry (karl@hayley)
+
+ * lib: Version 0.5.
+
+Thu Sep 3 09:31:02 1992 Karl Berry (karl@hayley)
+
+ * include: Version 0.5.
+
+Thu Sep 3 09:30:54 1992 Karl Berry (karl@hayley)
+
+ * imageto: Version 0.5.
+
+Thu Sep 3 09:30:43 1992 Karl Berry (karl@hayley)
+
+ * gf: Version 0.5.
+
+Thu Sep 3 09:30:31 1992 Karl Berry (karl@hayley)
+
+ * fontconvert: Version 0.5.
+
Thu Sep 3 09:30:07 1992 Karl Berry (karl@hayley)
* doc: Version 0.5.
@@ -611,28 +1324,72 @@ Wed Sep 2 16:03:00 1992 Karl Berry (karl@hayley)
on source files.
* data/common.cmi: spelling fixes.
+Mon Aug 31 20:04:12 1992 Karl Berry (karl@hayley)
+
+ * include/bzr.h (BZR_CHAR_...): remove unneeded parens.
+
Mon Aug 31 09:38:01 1992 Karl Berry (karl@hayley)
* data/defs.make (depend, objects): output the Bison dependencies first.
+Sat Aug 29 16:14:35 1992 Karl Berry (karl@hayley)
+
+ * imageto/GNUmakefile (dist, install): new targets to deal with
+ strips.tex.
+
Sat Aug 29 16:11:47 1992 Karl Berry (karl@hayley)
* GNUmakefile.in (tex{data,input}dir): new variables.
(installargs): pass texinputdir.
+Thu Aug 27 09:06:25 1992 Karl Berry (karl@hayley)
+
+ * lib/getopt.c: update from MIT.
+
Thu Aug 27 08:56:47 1992 Karl Berry (karl@hayley)
* configure: regenerated from Autoconf 1.1.
+Mon Aug 24 16:41:02 1992 Karl Berry (karl@hayley)
+
+ * fontconvert/random.c (random_number): seed the random number with the
+ process ID.
+
+Mon Aug 24 15:50:03 1992 Karl Berry (karl@hayley)
+
+ * lib/rand.c (k_rand): use Ghostscript's algorithm exactly, to avoid
+ overflow problems.
+ * lib/rand.c (seed_rand): Our simplification was a loser if the
+ state ever became zero, so set the state to the seed + 1, and
+ subtract again before output.
+
+Sun Aug 23 15:06:34 1992 Karl Berry (karl@hayley)
+
+ * include/cmdline.h (FINISH_COMMAND_LINE): use `fputs' for the constant
+ string, instead of `fprintf'.
+
+Sun Aug 23 13:37:00 1992 Karl Berry (karl@hayley)
+
+ * fontconvert/main.c (USAGE): put a newline before concatenating
+ GETOPT_USAGE.
+
Sun Aug 23 13:36:19 1992 Karl Berry (karl@hayley)
* charspace/main.c: (USAGE): put a newline before GETOPT_USAGE.
+Fri Aug 21 16:14:10 1992 Karl Berry (karl@hayley)
+
+ * imageto/main.c (read_ifi_file): improve warning message.
+
Wed Aug 19 07:55:50 1992 Karl Berry (karl@hayley)
* GNUmakefile.in (install): do make install in `doc', and install
the .enc and encoding.map files from `data'.
+Wed Aug 19 07:10:12 1992 Karl Berry (karl@hayley)
+
+ * lib/charspec.c: doc fix.
+
Tue Aug 18 15:57:53 1992 Karl Berry (karl@hayley)
* data/defsprog.make (dist): don't look for *.PS.
@@ -641,19 +1398,40 @@ Tue Aug 18 15:50:55 1992 Karl Berry (karl@hayley)
* GNUmakefile.in (completedirs): remove `doc' (yay!).
+Mon Aug 17 15:43:42 1992 Karl Berry (karl@hayley)
+
+ * lib/encoding.c: doc fix.
+
Mon Aug 17 08:35:30 1992 Karl Berry (karl@hayley)
* charspace/input-cmi.h: doc fix.
+Mon Aug 17 16:30:42 1992 Karl Berry (karl@hayley)
+
+ * include/libfile.h (LIBFILE_WARN*): just use fprintf, instead of the
+ WARNING macros.
+
Sun Aug 16 21:38:23 1992 Karl Berry (karl@hayley)
- * charspace/cmi.y (NOT_A_TOKEN): parenthesize the definition, for safety.
+ * charspace/cmi.y (NOT_A_TOKEN): parenthesize the definition, for safety
Sat Aug 15 13:32:38 1992 Karl Berry (karl@hayley)
* GNUmakefile.in (mfdatadir, mfinputdir): new variables.
(installargs): pass mfinputdir.
+Fri Aug 14 16:42:33 1992 Karl Berry (karl@hayley)
+
+ * include/bzr.h: doc fix.
+
+Mon Aug 10 11:12:41 1992 Karl Berry (karl@hayley)
+
+ * include/rand.h (RAND_MAX): missing parens.
+
+Mon Aug 10 11:11:52 1992 Karl Berry (karl@hayley)
+
+ * lib/rand.c (x): change the default seed to 1.
+
Mon Aug 3 16:00:58 1992 Karl Berry (karl@hayley)
* GNUmakefile.in (emacs_datadir, emacslispdir): new variables.
@@ -674,12 +1452,31 @@ Mon Jul 27 17:11:26 1992 Karl Berry (karl@hayley)
* data/defs.make (ourlibs, dlsym): use `../$(srcdir)'.
+Mon Jul 27 15:29:33 1992 Karl Berry (karl@hayley)
+
+ * lib/charspec.c (xparse_charspec): use an `int' while figuring out
+ the charcode.
+
+Sat Jul 25 14:38:23 1992 Karl Berry (karl@hayley)
+
+ * lib/getopt.c: new version.
+ * lib/pathsrch.c (expand_tilde): cast the result of getpwnam.
+
Wed Jul 22 08:42:46 1992 Karl Berry (karl@hayley)
* GNUmakefile.in (topfiles): add `NEWS'.
* NEWS: new file.
* configure.in: changes for Autoconf 1.0.
+Wed Jul 22 08:35:56 1992 Karl Berry (karl@hayley)
+
+ * include/dirio.h: don't bother using the `defined' operator.
+ * include/c-pathch.h: `pathchar' => `pathch', since the file was renamed
+ (a long time ago).
+ * include/c-memstr.h (bcmp) [USG || STDC_HEADERS]: define.
+ (memcmp) [!(USG || STDC_HEADERS)]: define.
+ * include/c-std.h: use #if instead of #ifdef.
+
Sun Jul 19 08:41:17 1992 Karl Berry (karl@hayley)
* data/defs.make (CPPFLAGS): remove the `..'.
@@ -690,6 +1487,10 @@ Sun Jul 19 08:32:13 1992 Karl Berry (karl@hayley)
percentage, not a hard number.
* charspace/cmi.y: doc fix.
+Sat Jul 18 16:35:41 1992 Karl Berry (karl@hayley)
+
+ * lib/edge.c: add ^L's.
+
Thu Jul 16 17:24:38 1992 Karl Berry (karl@claude.cs.umb.edu)
* data/defs.make (depend): use `CPPFLAGS', `INCLUDES'.
@@ -708,11 +1509,25 @@ Mon Jul 13 17:06:13 1992 Karl Berry (karl@hayley)
* data/defs.make (CCFLAGS): forgot to change back to `CFLAGS'.
+Mon Jul 13 16:58:44 1992 Karl Berry (karl@hayley)
+
+ * imageto/epsf.c (write_epsf): use `width_used' for the width of image
+ buffer.
+
Tue Jul 7 16:43:08 1992 Karl Berry (karl@hayley)
* charspace/output.c (write_tfm): use same algorithm for TFM output
names as fontconvert/output-tfm.c
+Tue Jul 7 16:42:47 1992 Karl Berry (karl@hayley)
+
+ * tfm/tfm_input.c (tfm_input_filename): new routine.
+ (tfm_input_filename): change var name to just `tfm_input_name'.
+
+Tue Jul 7 16:41:19 1992 Karl Berry (karl@hayley)
+
+ * include/tfm.h (tfm_input_filename): new routine.
+
Sun Jul 5 10:48:06 1992 Karl Berry (karl@hayley)
* data/defsprog.make (TAGS): use Bison sources to make the TAGS file,
@@ -721,11 +1536,23 @@ Sun Jul 5 10:41:10 1992 Karl Berry (karl@hayley)
* charspace/cmi.y (yylex): allow `+' to start a numeric constant.
+Fri Jul 3 19:12:36 1992 Karl Berry (karl@hayley)
+
+ * fontconvert/main.c (encoding_name, encoding_info_ptr): delete these
+ globals.
+ (most parsing routines): just use `encoding_info'.
+ * fontconvert/main.c (read_command_line): use xparse_charspec for
+ -space.
+
Fri Jul 3 17:46:36 1992 Karl Berry (karl@hayley)
* charspace/main.c (read_encoding_info): default the encoding scheme,
if the user hasn't specified one.
+Fri Jul 3 17:45:30 1992 Karl Berry (karl@hayley)
+
+ * include/encoding.h (DEFAULT_ENCODING): document.
+
Thu Jul 2 16:39:58 1992 Karl Berry (karl@hayley)
* data/defs.make (CPPFLAGS): new variable.
@@ -737,6 +1564,21 @@ Thu Jul 2 15:26:14 1992 Karl Berry (karl@hayley)
(CCFLAGS): remove.
* Run Autoconf 0.119.
+Fri Jul 3 15:26:12 1992 Karl Berry (karl@hayley)
+
+ * lib/charspec.c (xparse_charspec): if arg is one character long, and
+ undefined in the encoding, use its value in C.
+
+Thu Jul 2 14:06:09 1992 Kathy Hargreaves (kathy@hayley)
+
+ * imageto/main.c (BB_TO_CARTESIAN): subtract IMAGE_CHAR_BASELINE_ADJUST
+ instead of adding it.
+ * imageto/main.c (bitmap_to_gf_char): removed `char_baseline'.
+
+Mon Jun 29 09:15:30 1992 Karl Berry (karl@hayley)
+
+ * include/cmdline.h (GETOPT_USAGE): terminate with a newline.
+
Mon Jun 29 09:08:43 1992 Karl Berry (karl@hayley)
* data/defs.make (%.o): new pattern rule to compile C source.
@@ -752,19 +1594,119 @@ Mon Jun 29 08:58:37 1992 Karl Berry (karl@hayley)
(CFLAGS): change to CCFLAGS, so the user can set CFLAGS on the
command line.
+Sun Jun 28 11:54:23 1992 Kathy Hargreaves (kathy@hayley)
+
+ * imageto/main.c (bitmap_to_gf_char): added cartesian_bb; fill it using
+ BB_TO_CARTESIAN and assign to the GF char. Print out the GF
+ char's rows for baseline adjustment.
+
+Sat Jun 27 11:18:52 1992 Kathy Hargreaves (kathy@hayley)
+
+ * include/cmdline.h (ARG_SEP): added.
+
+Sat Jun 27 11:10:01 1992 Kathy Hargreaves (kathy@hayley)
+
+ * fontconvert/main.c (charspec.h, encoding.h, libfile.h): included.
+ (encoding_name, encoding_info, encoding_info_ptr): added.
+ (main): added newline after font_name report.
+ (USAGE): added `encoding', updated `omit'
+ (read_command_line): added `encoding' option.
+ (scan_*): use ARG_SEP instead of a comma. Use xparse_charspec
+ instead of xparse_charcode.
+
Sat Jun 27 11:04:17 1992 Karl Berry (karl@hayley)
* GNUmakefile.in (paths.h): depend on GNUmakefile.in and GNUmakefile.
+Fri Jun 26 16:53:39 1992 Karl Berry (karl@hayley)
+
+ * lib/charspec.c: new file.
+ * lib/GNUmakefile: add it.
+
+Fri Jun 26 16:47:23 1992 Karl Berry (karl@hayley)
+
+ * include/charspec.h: new file.
+ * include/global.h ({,x}parse_charcode): change return type to
+ `charcode_type'.
+
+Fri Jun 26 13:45:20 1992 Kathy Hargreaves (kathy@hayley)
+
+ * imageto/main.c (read_ifi_file): changed warning to include encoding
+ name.
+
+Thu Jun 25 07:04:49 1992 Karl Berry (karl@hayley)
+
+ * lib/pathsrch.c (readable) [ENAMETOOLONG]: conditionalize the test
+ for doing our own truncating, since it appears not all systems
+ have ENAMETOOLONG.
+
Sun Jun 21 15:37:46 1992 Karl Berry (karl@io)
* data/defs.make (X_libraries): change -lXaw back to libXaw.a; still
loses with dynamic linking because of our FormWidget etc.
+Sun Jun 21 15:33:30 1992 Karl Berry (karl@io)
+
+ * include/tfm.h (TFM_SAFE_FONTDIMEN): new macro; if NUMBER is past the
+ end of the array, return zero.
+ * include/xt-common.h (DECLARE_BUTTON): cast NULL to (XtArgVal) to avoid
+ warning.
+
Sun Jun 21 12:43:32 1992 Karl Berry (karl@hayley)
* GNUmakefile.in (app_defaults): change default and describe better.
+Mon Jun 15 15:38:40 1992 Karl Berry (karl@hayley)
+
+ * include/bitmap.h (BITMAP_INTERIOR_PIXEL): assume the pixel at
+ [row,col] is black.
+
+Mon Jun 15 07:37:29 1992 Karl Berry (karl@hayley)
+
+ * imageto/extract.c (get_image_row): allocate more than one row at a
+ time.
+ * imageto/extract.c (get_image_row): don't realloc if we're keeping
+ leading white rows.
+ * imageto/main.c (extract_chars): change `nchars_per_line' to one if
+ `print_guidelines' is true.
+ * imageto/main.c (read_ifi_file): if the character name is undefined in
+ the encoding, omit it from the output.
+ * imageto/main.c (get_image_info): rename to `read_ifi_file'.
+ * imageto/main.c (get_image_info): make `.notdef' mean omission, instead
+ of `-1'.
+ * imageto/image-char.h (image_char_type): new field `charname'.
+ (IMAGE_CHARNAME): new accessor macro.
+ * imageto/main.c (bitmap_to_gf_char): print the character name, instead
+ of relying on %c.
+ (get_image_info): set it.
+ * imageto/main.h (print_scanline): new routine.
+ * imageto/main.c (print_scanline): define it.
+ * imageto/input-img.c (img_get_scanline): print the scanlines if
+ `trace_scanlines' is set.
+ * imageto/input-pbm.c (pbm_get_scanline): call it, instead of doing the
+ printing inline.
+
+Sun Jun 14 08:45:21 1992 Karl Berry (karl@hayley)
+
+ * fontconvert/output-tfm.c (tfm_output_char): compare elt of
+ `baseline_adjust' to 0, not NULL.
+ * fontconvert/output-tfm.c (tfm_do_chars_defaults): update for new tfm
+ routines.
+
+Sun Jun 14 08:11:32 1992 Karl Berry (karl@hayley)
+
+ * lib/font.c (get_font): remove computation of NCHARS (and reading of
+ all the TFM chars).
+ * lib/str-lcase.c (str_to_lower): assert the arg is non-null.
+
+Sun Jun 14 07:42:00 1992 Karl Berry (karl@hayley)
+
+ * include/font.h (font_info_type): remove the `nchars' member.
+ (FONT_NCHARS): remove macro.
+ * include/global.h (POINTS_TO_REAL_PIXELS): new macro for when we want
+ fractional pixels.
+ * include/tfm.h (SAFE_TFM_FONT_PARAMETER): remove.
+
Sun Jun 14 07:19:12 1992 Karl Berry (karl@hayley)
* charspace/output.c (make_gf_char): copied TFM width from `gf_char'
@@ -801,6 +1743,35 @@ Sun Jun 14 07:19:12 1992 Karl Berry (karl@hayley)
old kerns.
* charspace/main.c (main): set 'dpi_real' near the beginning.
+Sat Jun 13 16:29:26 1992 Karl Berry (karl@hayley)
+
+ * include/libfile.h (libfile_start): return the FILE *.
+
+Sat Jun 13 16:28:08 1992 Karl Berry (karl@hayley)
+
+ * lib/libfile.c (libfile_start): return the FILE * we open.
+
+Sat Jun 13 13:52:30 1992 Kathy Hargreaves (kathy@hayley)
+
+ * lib/encoding.c (DEFAULT_ENCODING): moved to .h file.
+
+Sat Jun 13 13:52:04 1992 Kathy Hargreaves (kathy@hayley)
+
+ * include/encoding.h (DEFAULT_ENCODING): added.
+
+Sat Jun 13 12:04:00 1992 Kathy Hargreaves (kathy@hayley)
+
+ * imageto/main.c (get_image_info): renamed charcode_str to charname_str.
+ Removed comment-handling stuff.
+ * imageto/main.c (encoding_name, encoding_info): added.
+ (get_image_info): added `encoding_info'; call `encoding_number'
+ on `charcode_str' instead of `xparse_charcode'.
+ (USAGE, read_command_line): added -encoding option.
+
+Sat Jun 13 11:45:30 1992 Karl Berry (karl@hayley)
+
+ * pk/pk_input.c: change for new names of list fns.
+
Sat Jun 13 09:33:37 1992 Karl Berry (karl@hayley)
* charspace/symtab.c (symtab_char_node): call `init_char' on the new
@@ -819,6 +1790,40 @@ Sat Jun 13 09:33:37 1992 Karl Berry (karl@hayley)
* charspace/char.c: update for new list fn names.
* charspace/output.c: complete rewrite.
+Sat Jun 13 09:24:12 1992 Karl Berry (karl@hayley)
+
+ * lib/encoding.c: include `str-lcase.h', not `str-casefold.h'.
+ * lib/xmessage.c (x_message): cast initializer in `popup_args' to
+ avoid warning.
+ * lib/str-to-bit.c (string_to_bitmap): `TFM_FONT_PARAMETER' is now
+ `TFM_FONTDIMEN'.
+ * lib/pathsrch.c (absolute_p): add parens to stop GCC 2's stupid
+ warning.
+ * lib/encoding.c: change for new list fn names.
+ * lib/font.c: likewise.
+ * lib/list.c (new_list): rename to `list_init', and rewrite to use
+ accessor macros.
+ (append_element): rename to `list_append', and likewise rewrite.
+ (list_free): new routine.
+
+Sat Jun 13 07:57:57 1992 Karl Berry (karl@hayley)
+
+ * include/str-casefold.h: rename to str-lcase.h and remove str_to_upper.
+ * include/gf.h: change `one_byte' to `charcode_type' where appropriate.
+ * include/list.h (new_list): rename to `list_init'.
+ (append_element): rename to `list_append'.
+ (LIST_{TAPPEND,LAST_ELT}): new macros.
+ (list_free): new routine.
+ * include/tfm.h (tfm_fontdimen_number): new routine.
+ * include/tfm.h (TFM_MAX_FONT_PARAMETERS): rename to
+ `TFM_MAX_FONTDIMENS'.
+
+Sat Jun 13 07:55:29 1992 Karl Berry (karl@hayley)
+
+ * tfm: all files: change `font_param{,eter}' to `fontdimen', globally.
+ * tfm/tfm_fontdim.c: rename from `fontdimen.c'.
+ * tfm/GNUmakefile (c_only): change here.
+
Fri Jun 12 11:06:05 1992 Karl Berry (karl@hayley)
* charspace/char.c (do_char): move here.
@@ -830,6 +1835,19 @@ Thu Jun 11 11:06:47 1992 Karl Berry (karl@hayley)
* charspace/char.h (char_type): new field `tfm_info'.
(CHAR_TFM_INFO): new macro to access it.
+Fri Jun 12 10:33:56 1992 Karl Berry (karl@hayley)
+
+ * include/tfm.h (tfm_set_fontdimen): rename from
+ `tfm_set_font_parameter', and rearrange args.
+ * include/tfm.h (tfm_set_ligature): change to take a lig list.
+
+Fri Jun 12 09:45:31 1992 Karl Berry (karl@hayley)
+
+ * tfm/fontdimen.c (tfm_set_fontdimen): rename from
+ `tfm_set_font_parameter', and rearrange args.
+ * tfm/tfm_ligature.c (tfm_set_ligature): take a lig list as the
+ parameter instead of a TFM char.
+
Thu Jun 11 09:07:01 1992 Karl Berry (karl@hayley)
* GNUmakefile.in (.NOEXPORT): new target, since Autoconf doesn't add
@@ -841,6 +1859,31 @@ Wed Jun 10 08:27:07 1992 Karl Berry (karl@hayley)
* charspace/GNUmakefile (c_and_h): add `input-cmi'.
* charspace/cmi.y: include input-cmi.h.
+Tue Jun 9 13:57:18 1992 Karl Berry (karl@hayley)
+
+ * tfm/fontdimen.c (tfm_set_fontdimens): call `float_ok' on the
+ potential fontdimen value.
+ * tfm/fontdimen.c: new file with all the fontdimen stuff.
+ * tfm/tfm_kern.c: new file with the kern stuff.
+ * tfm/tfm_ligature.c: and the ligature stuff.
+ * tfm/tfm_char.c: rename from tfm_util, since that's all that's left.
+
+Tue Jun 9 13:45:42 1992 Kathy Hargreaves (kathy@hayley)
+
+ * imageto/main.c (output_chars): deleted clean_all_bbs.
+ (clean_bitmap): deleted CLEAN_ALL_BBS; call find_outline_bbs
+ with false instead of this. Updated doc. Now only check
+ bounding boxes which don't enclose the whole character, instead
+ of those which also are on the edge, unless clean_all_bbs is
+ true, whereupon check those also.
+ (get_image_info): don't handle CLEAN_ALL_BBS_FLAG anymore.
+ * imageto/image-char.h (image_char_type): deleted clean_inner_bbs field.
+ (IMAGE_CHAR_CLEAN_ALL_BBS, CLEAN_ALL_BBS_FLAG): deleted
+
+Tue Jun 9 13:27:12 1992 Karl Berry (karl@hayley)
+
+ * include/tfm.h (tfm_fontdimen_number): declare.
+
Tue Jun 9 10:25:30 1992 Karl Berry (karl@hayley)
* charspace/main.c (do_char): complete rewrite for new data structures.
@@ -857,6 +1900,30 @@ Tue Jun 9 10:18:03 1992 Karl Berry (karl@hayley)
* data/defs.make (depend): make dependencies from Bison sources.
+Mon Jun 8 15:27:59 1992 Karl Berry (karl@hayley)
+
+ * tfm/tfm_util.c (tfm_set_kern): take a kern list as the parameter
+ instead of the whole TFM character.
+
+Mon Jun 8 15:27:15 1992 Karl Berry (karl@hayley)
+
+ * include/tfm.h (tfm_set_kern): take a kern list as the parameter
+ instead of the whole TFM character.
+
+Mon Jun 8 15:24:49 1992 Karl Berry (karl@hayley)
+
+ * fontconvert/output-tfm.c (tfm_do_chars_defaults): pass kern list to
+ tfm_set_kern instead of the whole TFM char.
+
+Mon Jun 8 12:33:45 1992 Kathy Hargreaves (kathy@hayley)
+
+ * imageto/input-pbm.c (pbm_get_scanline): increment scanline_count after
+ printing it.
+ * imageto/main.c (BB_TO_CARTESIAN): added.
+ (bitmap_to_gf_char): when print-guidelines is true, print the
+ bounding box's max and min (in that order) row in Cartesian
+ coordinates, not the GF char's min and max row.
+
Mon Jun 8 09:09:46 1992 Karl Berry (karl@hayley)
* charspace/cmi.c: rewrite as a Bison grammar, cmi.y.
@@ -876,11 +1943,80 @@ Sun Jun 7 19:35:15 1992 Karl Berry (karl@hayley)
* charspace/main.c: change `sbi' to `cmi' throughout.
* charspace/GNUmakefile (c_and_h): likewise.
+Sun Jun 7 19:33:10 1992 Karl Berry (karl@hayley)
+
+ * include/encoding.h: doc fix.
+
+Sun Jun 7 17:25:43 1992 Karl Berry (karl@hayley)
+
+ * lib/encoding.c (coding_scheme_to_filename): rewrite to avoid
+ sentinel boolean, lowercasing the passed codingscheme more than
+ once, etc.
+ * lib/str-casefold.c (str_to_lower): rewrite to use ? :.
+ (str_to_upper): remove this.
+ Rename to str-lcase.c.
+ * lib/GNUmakefile (c_only): change str-casefold to str-lcase.
+
+Sun Jun 7 15:09:06 1992 Kathy Hargreaves (kathy@hayley)
+
+ * include/bitmap.h (BITMAP_INTERIOR_PIXEL): added.
+
+Sun Jun 7 14:39:09 1992 Kathy Hargreaves (kathy@hayley)
+
+ * lib/bb-outline.c (find_outline_bbs): don't calculate edge if it's an
+ interior pixel.
+ * lib/bb-outline.c (find_outline_bbs): deleted avoiding finding a
+ bounding box which corresponds to a counterform by not looking
+ inside existing bounding boxes.
+ Added finding the bounding box for a counterform (i.e., marking
+ its edges) but not adding it to the list unless find_all is true.
+ Changed find_all to find_inner.
+
+Sun Jun 7 10:55:40 1992 Karl Berry (karl@hayley)
+
+ * include/font.h (font_info_type): remove `interword_space'.
+ (FONT_SPACE): remove the accessor macro.
+ * include/font.h: don't include <stdio.h>.
+
+Sun Jun 7 08:55:31 1992 Karl Berry (karl@hayley)
+
+ * lib/GNUmakefile (c_only): add `str-to-bit'.
+ * lib/font.c (string_to_bitmap): extract the interword space out of
+ the TFM information, instead of expecting it in the main font
+ structure. Also, move this fn to its own file, `str-to-bit.c'.
+ * lib/float-ok.c (float_ok): don't accept the empty string, or just a
+ sign, or just a sign and a `.', etc.
+ * lib/integer-ok.c (integer_ok): likewise.
+
Sun Jun 7 08:09:17 1992 Karl Berry (karl@hayley)
* GNUmakefile.in (examplefiles): new variable.
(dist): copy $(examplefiles) into doc/example.
+Sat Jun 6 10:03:52 1992 Karl Berry (karl@hayley)
+
+ * gf/gf_input.c (gf_get_postamble): if the input file is empty, give
+ a decent error message.
+
+Fri Jun 5 21:18:12 1992 Kathy Hargreaves (kathy@hayley)
+
+ * imageto/main.c (output_chars): don't clean bounding boxes unless
+ outputting the character.
+ * imageto/main.c (get_image_info): set clean_all_bbs field of `c' false
+ if there's not a CLEAN_ALL_BBS_FLAG at the end of the character string
+
+Fri Jun 5 09:19:48 1992 Karl Berry (karl@hayley)
+
+ * imageto/main.c (main): `return 0' instead of `exit (0)'.
+ (From Paul Eggert)
+
+Fri Jun 5 09:19:27 1992 Karl Berry (karl@hayley)
+
+ * fontconvert/filter.c (filter_once): look at all the pixels, and
+ don't crash when `filter_size' is bigger than the bitmap.
+ * fontconvert/main.c (main): `return 0' instead of `exit (0)'.
+ (From Paul Eggert)
+
Fri Jun 5 09:19:16 1992 Karl Berry (karl@hayley)
* charspace/main.c (main): `return 0' instead of `exit (0)'.
@@ -891,10 +2027,19 @@ Thu Jun 4 08:24:46 1992 Karl Berry (karl@hayley)
* configure.in (AC_HEADER_FILE): rename to AC_CONFIG_HEADER, for
Autoconf 0.115.
+Thu Jun 4 08:11:36 1992 Karl Berry (karl@hayley)
+
+ * lib/pathsrch.c (absolute_p): `k./' should not be considered
+ explicitly relative.
+
Wed Jun 3 08:41:33 1992 Karl Berry (karl@hayley)
* GNUmakefile.in (dist): add-version in top_distdir.
+Wed Jun 3 08:17:47 1992 Karl Berry (karl@hayley)
+
+ * include/tfm.h: doc fix.
+
Wed Jun 3 06:19:18 1992 Karl Berry (karl@hayley)
* charspace/output.c (output_font): throw away the checksum from an
@@ -904,12 +2049,55 @@ Wed Jun 3 06:19:18 1992 Karl Berry (karl@hayley)
* charspace/perctab.c (new_perc_def): likewise.
* charspace/sbi.c: report each line we parse.
+Tue Jun 2 18:03:52 1992 Kathy Hargreaves (kathy@hayley)
+
+ * imageto/main.c (output_chars): call clean_bitmap with 0's for
+ LEFT_MARK and RIGHT_MARK if clean_all_bbs is true.
+
Tue Jun 2 12:04:29 1992 Karl Berry (karl@hayley)
* charspace/char.h (alloc_char): declare this.
* charspace/char.c (alloc_char): new function.
* charspace/sbi.c: rewrite to make each cmd a separate function.
+Tue Jun 2 11:40:32 1992 Karl Berry (karl@hayley)
+
+ * lib/encoding.c (encoding_number): don't crash if NAME is NULL.
+
+Tue Jun 2 11:21:31 1992 Karl Berry (karl@hayley)
+
+ * include/encoding.h (encoding_number): document that NULL is ok as an
+ arg.
+ * include/global.h (FATAL4, WARNING4): new macros.
+ * include/libfile.h (LIBFILE_ERROR2): new macro.
+
+Mon Jun 1 15:41:46 1992 Karl Berry (karl@hayley)
+
+ * include/global.h (float_ok, integer_ok): declare new routines.
+ * include/encoding.h: doc fix.
+ * include/libfile.h (LIBFILE_WARN1): new macro.
+ * include/cmdline.h: doc fix.
+ * include/report.h: doc fix.
+ * include/font.h (CHAR_[LR]SB) [!CHAR_[LR]SB]: define conditionally.
+
+Mon Jun 1 15:16:15 1992 Karl Berry (karl@hayley)
+
+ * lib/GNUmakefile (c_only): add `integer-ok' and `float-ok'.
+ * lib/{integer,float}-ok.c: new files.
+ * lib/libfile.c (libfile_start): use extend_filename.
+ * lib/encoding.c (read_encoding_file): initialize the return structure
+ after we know the file exists.
+
+Mon Jun 1 11:19:46 1992 Kathy Hargreaves (kathy@hayley)
+
+ * imageto/main.c (output_chars): added clean_all_bbs to send to
+ clean_bitmap.
+ * imageto/main.c (clean_bitmap): clean only those boxes which are on the
+ edges only if CLEAN_ALL_BBS is false; otherwise, clean them all.
+ * imageto/main.c (get_image_info): if there's a CLEAN_ALL_BBS_FLAG
+ appended to the character code, then set the clean_all_bbs field of c.
+ * imageto/image-char.h (image_char_type): added clean_all_bbs field.
+
Mon Jun 1 08:54:43 1992 Karl Berry (karl@hayley)
* charspace/sbi.h, charspace/main.h, charspace/sbi.c (give_warnings):
@@ -945,18 +2133,155 @@ Mon Jun 1 08:54:43 1992 Karl Berry (karl@hayley)
* charspace/main.c ({start,end}ing_char): declare as `charcode_type',
not `int'.
+Sun May 31 13:10:48 1992 Karl Berry (karl@hayley)
+
+ * imageto/main.c: rename `design-size' option to `designsize'.
+ * imageto/epsf.c (write_epsf): change the EPS output to not write one
+ gigantic image.
+
+Sun May 31 10:58:30 1992 Karl Berry (karl@hayley)
+
+ * include/global.h (REAL_EPSILON): decrease, to be less than can be
+ represented in a fix_word.
+
+Sun May 31 10:56:10 1992 Karl Berry (karl@hayley)
+
+ * tfm/tfm_output.c (tfm_put_char): use `epsilon_equal'.
+
+Sun May 31 08:04:27 1992 Karl Berry (karl@hayley)
+
+ * fontconvert/main.c: rename `design-size' option to `designsize'.
+ * fontconvert/main.c (read_command_line): have the arg to -space be
+ optional, and make the default 32.
+ * fontconvert/output-gf.c (gf_finish_output): report the charcode of the
+ space if we output it.
+ * fontconvert/output-tfm.c (tfm_start_font): new routine.
+ (main_input_font_p): new static.
+ (tfm_output_char): don't look in TFM file for the main font if
+ we're on some subsequent (concatenated) font.
+ * fontconvert/output-tfm.h (tfm_start_font): declare it.
+ * fontconvert/main.c (main): call it as we start each font.
+ * fontconvert/main.c (main): report the input font names as we process
+ them.
+ * fontconvert/main.c (USAGE): doc fix.
+
Sat May 30 15:31:50 1992 Karl Berry (karl@hayley)
* charspace/main.c (main): change call to `tfm_convert_pl'.
+Sat May 30 15:19:49 1992 Karl Berry (karl@hayley)
+
+ * include/tfm.h (tfm_convert_pl): declare the new TFM_NAME parameter.
+
+Sat May 30 14:58:33 1992 Karl Berry (karl@hayley)
+
+ * tfm/tfm_output.c (tfm_convert_pl): allow for passing in the TFM name.
+ * tfm/tfm_output.c (tfm_convert_pl): free `cmd'.
+
+Sat May 30 14:54:37 1992 Karl Berry (karl@hayley)
+
+ * fontconvert/output-tfm.c (tfm_start_output): remove any suffix before
+ adding `pl'; prepend an `x' if we'd overwrite the input.
+ (output_tfm_name): new static.
+
+Sat May 30 11:58:02 1992 Kathy Hargreaves (kathy@hayley)
+
+ * imageto/main.c (USAGE -clean-threshold): doc fix.
+
+Fri May 29 11:45:05 1992 Karl Berry (karl@hayley)
+
+ * fontconvert/main.c (main): change return type to `int'.
+
Fri May 29 11:44:57 1992 Karl Berry (karl@hayley)
* charspace/main.c (main): change return type to `int'.
+Fri May 29 11:34:52 1992 Karl Berry (karl@hayley)
+
+ * imageto/main.c (main): declare to return an int.
+
Fri May 29 08:36:46 1992 Karl Berry (karl@hayley)
* GNUmakefile.in (completedirs): add `doc' (temporarily).
+Fri May 29 08:29:26 1992 Karl Berry (karl@hayley)
+
+ * lib/getopt*.c: new versions.
+
+Wed May 27 10:38:45 1992 Karl Berry (karl@hayley)
+
+ * fontconvert/main.c (main): remove `output_basename', and redo the code
+ for deciding on the output name.
+
+Tue May 26 15:30:55 1992 Kathy Hargreaves (kathy@hayley)
+
+ * include/tfm.h (SAFE_TFM_FONT_PARAMETER): added.
+
+Tue May 26 07:56:34 1992 Karl Berry (karl@hayley)
+
+ * imageto/main.c: simplify comments on IFI file format, since now the
+ real documentation describes it.
+
+Mon May 25 11:45:49 1992 Karl Berry (karl@hayley)
+
+ * imageto/main.c (clean_bitmap): wasn't printing clean info for bbs that
+ weren't cleared.
+ * imageto/main.c (read_command_line): make -print-guidelines =>
+ -verbose.
+ (USAGE): document this.
+ (main): don't bother to test `print_guidelines' anymore when we
+ doing verbose things.
+ * imageto/main.c (main): use `output_name', not `gf_name' (which we no
+ longer need).
+ * imageto/main.c (set_{pbm,img}_input_format): set `input_extension' to
+ just `pbm' or `img', omitting the leading `.'.
+
+Sun May 24 18:03:09 1992 Karl Berry (karl@hayley)
+
+ * imageto/main.c (read_command_line): in -input-format, complain if they
+ give an unrecognized input format.
+ (main): call set_input_format.
+ (set_input_format): new routine to intuit the input format from
+ the input filename if they didn't specify.
+ (set_{pbm,img}_input_format): new routines.
+
+Sun May 24 17:58:51 1992 Karl Berry (karl@hayley)
+
+ * cmdline.h (MAYBE_REMOVE_SUFFIX): define, corresponding with
+ `CMDLINE_NO_DPI'.
+ (FINISH_COMMAND_LINE): use it, instead of always removing it.
+
+Sun May 24 12:40:38 1992 Kathy Hargreaves (kathy@hayley)
+
+ * fontconvert/main.c (fontname_list): doc change.
+
+Sat May 23 15:51:53 1992 Karl Berry (karl@hayley)
+
+ * lib/charcode.c (parse_charcode): ensure there are no extra
+ characters at the end of the charcode; change return type to
+ charcode_type.
+ (xparse_charcode): change return type.
+
+Sat May 23 12:33:32 1992 Kathy Hargreaves (kathy@hayley)
+
+ * lib/str-casefold.c (str_to_lower): added variable `length'; put 0 at
+ end of return string.
+
+Sat May 23 06:27:28 1992 Karl Berry (karl@hayley)
+
+ * lib/dir-p.c (leaf_dir_p): remove; `expand_subdir' now calls stat
+ itself, for efficiency.
+ * lib/pathsrch.c (expand_subdir): rewrite to always look for subdirs.
+ (initialize_path_list): check for the dir-ness of `foo' in
+ `foo//'. This change makes symlinks under `foo' be considered.
+ * lib/pathsrch.c (add_directory): don't check for the arg being a
+ directory.
+ (initialize_path_list): check here for the directory-ness of a
+ path element.
+ (expand_subdir): check here, too.
+ * lib/pathsrch.c (expand_subdir): call closedir after we read the
+ directory contents.
+
Thu May 21 15:00:30 1992 Karl Berry (karl@hayley)
* GNUmakefile.in (programs): `imagetofont' => `imageto'.
@@ -967,6 +2292,38 @@ Thu May 21 13:16:12 1992 Karl Berry (karl@hayley)
(distclean): not here.
* data/defs.make (BISONFLAGS): remove -v.
+Thu May 21 11:42:43 1992 Karl Berry (karl@hayley)
+
+ * include/hexify.h (hexify): take a block of data and a length instead
+ of a varstring.
+
+Thu May 21 11:40:53 1992 Karl Berry (karl@hayley)
+
+ * lib/hexify.c (hexify): take a block of memory and a length, instead
+ of a varstring.
+
+Thu May 21 10:59:23 1992 Karl Berry (karl@hayley)
+
+ * imageto/GNUmakefile, version.c, main.c: change `imagetofont' to
+ `imageto'.
+ * imageto/strips.c (write_chars_as_strips): don't bother to initialize
+ `gf_row'.
+
+Wed May 20 07:34:38 1992 Karl Berry (karl@hayley)
+
+ * imageto/strips.h: include image-header.h, not input-img.h.
+ * imageto/main.c (extract_chars): new fn (to shorten main).
+ (main): call it.
+ * imageto/main.c (do_epsf): new global.
+ (read_command_line): new option `-epsf'.
+ (main): call `write_epsf' if set.
+ * imageto/GNUmakefile (c_and_h): add epsf.
+ * imageto/epsf.[ch]: new files.
+
+Tue May 19 16:43:43 1992 Kathy Hargreaves (kathy@hayley)
+
+ * lib/line.c (read_line): return a string if not at EOF.
+
Mon May 18 17:40:34 1992 Karl Berry (karl@hayley)
* data/defslib.make: doc fix.
@@ -983,10 +2340,30 @@ Mon May 18 12:01:42 1992 Karl Berry (karl@hayley)
(completedirs): from here.
* Makefile.in (dist): copy testfont.tex into `data'.
+Sat May 16 21:23:12 1992 Kathy Hargreaves (kathy@hayley)
+
+ * include/varstring.h (vs_concat): added.
+
+Sat May 16 21:22:57 1992 Kathy Hargreaves (kathy@hayley)
+
+ * lib/varstring.c (vs_concat): added.
+
+Sat May 16 12:42:11 1992 Karl Berry (karl@hayley)
+
+ * include/tfm.h (tfm_set_fontsize): don't declare static.
+
Sat May 16 10:09:34 1992 Karl Berry (karl@hayley)
* configure.in: PROG_CPP must come before GCC_TRADITIONAL.
+Fri May 15 10:22:57 1992 Karl Berry (karl@hayley)
+
+ * include/getopt.h: new version.
+
+Fri May 15 10:22:27 1992 Karl Berry (karl@hayley)
+
+ * lib/getopt.c: new version.
+
Fri May 15 09:05:22 1992 Karl Berry (karl@hayley)
* configure.in: add AC_GCC_TRADITIONAL and AC_PROG_CPP.
@@ -994,18 +2371,56 @@ Fri May 15 09:05:22 1992 Karl Berry (karl@hayley)
* Makefile.in (exec_prefix): new variable.
(bindir): use it.
+Fri May 15 09:04:39 1992 Karl Berry (karl@hayley)
+
+ * fontconvert/random.c (random_number): `srand' is now `seed_rand',
+ `rand' is `k_rand'.
+
Thu May 14 22:22:38 1992 Karl Berry (karl@claude.cs.umb.edu)
* data/defs.make (X_libraries): add dlsym.o.
+Thu May 14 22:20:14 1992 Karl Berry (karl@claude.cs.umb.edu)
+
+ * tfm/tfm_util.c (tfm_set_fontsize): make non-static.
+
+Thu May 14 22:05:10 1992 Karl Berry (karl@claude.cs.umb.edu)
+
+ * lib/rand.c (srand): -> seed_rand, to avoid header conflicts.
+ (rand): -> k_rand, same reason.
+
+Thu May 14 22:02:41 1992 Karl Berry (karl@claude.cs.umb.edu)
+
+ * include/c-minmax.h (FLT_MAX): define as 1e+37, not 1e-37!
+ * include/tfm.h (tfm_set_fontsize): declare this.
+ * include/rand.h (RAND_MAX): always define.
+ (srand): -> seed_rand, to avoid conflicts with headers.
+ (rand): -> k_rand, same reason.
+
Thu May 14 06:41:19 1992 Karl Berry (karl@hayley)
* Makefile.in (app_defaults_dir): -> app-defaults.
+Wed May 13 09:16:19 1992 Karl Berry (karl@hayley)
+
+ * tfm/tfm_input.c (get_tfm_header): initialize the parameter count in
+ global_info here.
+ (get_tfm_params): not here.
+
Wed May 13 08:55:11 1992 Karl Berry (karl@hayley)
* Makefile.in (VPATH): change for new Autoconf.
+Sun May 10 10:05:36 1992 Karl Berry (karl@hayley)
+
+ * lib/encoding.c (coding_scheme_to_filename): don't xstrdup the return
+ value.
+ (DEFAULT_ENCODING): new macro.
+
+Sun May 10 10:03:29 1992 Karl Berry (karl@hayley)
+
+ * include/encoding.h: doc fix.
+
Sat May 9 10:21:08 1992 Karl Berry (karl@hayley)
* Makefile.in (dist): make dist in doc; copy COPYING*.
@@ -1014,6 +2429,15 @@ Fri May 8 15:58:53 1992 Karl Berry (karl@hayley)
* data/defs.make (*clean): change semantics again.
+Fri May 8 15:38:38 1992 Karl Berry (karl@hayley)
+
+ * lib/pathshare from dvips.
+
+Thu May 7 16:44:14 1992 Karl Berry (karl@hayley)
+
+ * lib/GNUmakefile (c_only): add dlsym.
+ * lib/dlsym.c: new file.
+
Thu May 7 08:13:03 1992 Karl Berry (karl@hayley)
* data/defs.make (X_libraries): change back to -lXaw now that we can
@@ -1025,6 +2449,11 @@ Thu May 7 08:10:40 1992 Karl Berry (karl@hayley)
* Makefile.in (dist): don't link include/*.in, we've already got it.
+Wed May 6 10:08:09 1992 Karl Berry (karl@hayley)
+
+ * lib/bitmap.c (bitmap_find_transitions): don't look outside the
+ current row when it's only one pixel long.
+
Wed May 6 09:19:20 1992 Karl Berry (karl@hayley)
* charspace/main.c (read_sbi_file_list): don't loop through a null list.
@@ -1034,21 +2463,71 @@ Wed May 6 09:17:30 1992 Karl Berry (karl@hayley)
* data/defs.make (XCFLAGS) [hayley]: set this to include -Wall.
+Tue May 5 08:46:48 1992 Karl Berry (karl@hayley)
+
+ * lib/dir-p.c: doc fix.
+
Mon May 4 14:24:39 1992 Karl Berry (karl@hayley)
* Makefile.in (gsrenderfont): remove this target.
(all): don't depend on it.
+Mon May 4 09:31:34 1992 Karl Berry (karl@hayley)
+
+ * fontconvert/output-tfm.c (tfm_do_chars_defaults, tfm_output_char,
+ tfm_finish_output): if we don't have an existing file, don't
+ read from it.
+ * fontconvert/output-tfm.c (tfm_start_output): fix designsize algorithm.
+ * fontconvert/main.c (report): remove; it's defined in report.c.
+
+Mon May 4 09:28:57 1992 Karl Berry (karl@hayley)
+
+ * gf/gf_output.c (start_put_char): use `put_gf_char' in the warning.
+
+Mon May 4 09:27:55 1992 Karl Berry (karl@hayley)
+
+ * imageto/main.c (main): don't lose the `<dpi>gf' from the output name.
+ * imageto/strips.c (write_chars_as_strips): add one to `lines_per_char'
+ to compensate for roundoff error.
+ * imageto/main.c (verbose): remove this, as it's defined in report.c.
+
+Sun May 3 19:31:29 1992 Karl Berry (karl@hayley)
+
+ * imageto/strips.c (write_chars_as_strips): use REPORT for the progress
+ report.
+
+Sat May 2 07:51:53 1992 Karl Berry (karl@hayley)
+
+ * lib/pathsrch.c (add_directory): use ?:.
+
Thu Apr 30 09:29:34 1992 Karl Berry (karl@hayley)
* charspace/char.c (init_char): initialize the lig/kern lists.
* charspace/char.h: doc fixes.
* charspace/main.c (unparsed_range): remove.
+
+Thu Apr 30 08:52:34 1992 Karl Berry (karl@hayley)
+
+ * lib/pathsrch.c (parse_envpath): expand the ~ here;
+ (add_directory): not here.
+ * lib/pathsrch.c (expand_tilde): free space for the login name.
+ * lib/dir-p.c (leaf_dir_p): use stat, not xlstat, so we don't bomb
+ out on missing directories in paths, and so we get info about
+ the (potential) dir, not the link.
+
+Wed Apr 29 15:39:11 1992 Karl Berry (karl@hayley)
+
+ * include/lib.h: add P?H calls for non-prototype systems.
+
Tue Apr 28 10:16:39 1992 Karl Berry (karl@hayley)
* configure.in: Autoconf's prefix is now AC_, not M_.
+Thu Apr 23 07:37:16 1992 Karl Berry (karl@hayley)
+
+ * include/c-auto.h.in: new file.
+
Thu Apr 23 07:32:29 1992 Karl Berry (karl@hayley)
* configure.in: test $GCC instead of grepping for `gcc' in $CC.
@@ -1062,6 +2541,43 @@ Wed Apr 22 12:58:49 1992 Karl Berry (karl@hayley)
M_SUBST.
* configure.in: M_MEMORY_H is now M_NEED_MEMORY_H.
+Wed Apr 22 08:47:49 1992 Karl Berry (karl@hayley)
+
+ * include/c-std.h: include <math.h> and <stdio.h> first, and include
+ <stdlib.h> before <stddef.h>, to try avoid redefining NULL.
+
+Tue Apr 21 07:45:29 1992 Karl Berry (karl@hayley)
+
+ * tfm/tfm_input.c (tfm_get_global_info): use XTALLOC1.
+
+Tue Apr 21 07:44:52 1992 Karl Berry (karl@hayley)
+
+ * lib/bitmap.c (bitmap_find_transitions): use XTALLOC1.
+ * lib/font.c (get_char): likewise.
+
+Tue Apr 21 07:44:36 1992 Karl Berry (karl@hayley)
+
+ * imageto/extract.c (append_next_image_row): use XTALLOC1.
+
+Tue Apr 21 07:38:19 1992 Karl Berry (karl@hayley)
+
+ * include/lib.h (XTALLOC1): new macro.
+ * include/bzr.h: doc fix.
+
+Mon Apr 20 12:53:43 1992 Karl Berry (karl@hayley)
+
+ * imageto/main.c (main): simplify logic again for figuring out the
+ output filename; remove any suffix from the input filename before it
+ is used to make the IFI or output filename.
+ (get_image_info): the variable is named `input_rootname' now, not
+ `input_basename'.
+
+Mon Apr 20 08:35:23 1992 Karl Berry (karl@hayley)
+
+ * lib/pathsrch.c: doc fix.
+ * lib/malloc.c: don't include config.h.
+ (my_bzero, my_bcopy): new routines to simplify things.
+
Sun Apr 19 10:41:25 1992 Karl Berry (karl@hayley)
* data/defs.make (mostlyclean): rm *.output.
@@ -1071,28 +2587,121 @@ Sun Apr 19 10:41:07 1992 Karl Berry (karl@hayley)
* Makefile.in (distclean): add this as a target.
+Sat Apr 18 12:24:15 1992 Kathy Hargreaves (kathy@hayley)
+
+ * include/str-casefold.h: added.
+
+Sat Apr 18 12:22:29 1992 Kathy Hargreaves (kathy@hayley)
+
+ * lib/str-casefold.c: added.
+ * lib/encoding.c (coding_scheme_to_filename): compare case-folded
+ versions of the coding scheme and the mapped scheme.
+
+Wed Apr 15 15:26:53 1992 Karl Berry (karl@hayley)
+
+ * imageto/main.c (main): `make_output_filename' is now `extend_filename'
+
+Wed Apr 15 15:26:30 1992 Karl Berry (karl@hayley)
+
+ * fontconvert/output-{gf,tfm}.c: `make_output_filename' is now
+ `extend_filename'.
+
Wed Apr 15 15:25:55 1992 Karl Berry (karl@hayley)
* charspace/output.c: `make_output_filename' is now `extend_filename'.
+Wed Apr 15 15:23:20 1992 Karl Berry (karl@hayley)
+
+ * lib/make-output.c: rename to `extend-fname.c'; rename the fn to
+ `extend_filename'.
+ * lib/GNUmakefile (c_only): analogously.
+
+Wed Apr 15 15:22:21 1992 Karl Berry (karl@hayley)
+
+ * include/lib.h (make_output_filename): rename to `extend_filename'.
+
Wed Apr 15 13:38:18 1992 Karl Berry (karl@hayley)
* data/defs.make (YACC, YFLAGS): add these.
(realclean): remove the .c and .h files made from bison files.
(objects): add a .o for the yacc files.
+Wed Apr 15 13:20:11 1992 Kathy Hargreaves (kathy@hayley)
+
+ * lib/encoding.c (coding_scheme_to_filename): changed some variable
+ names; added `mapped_coding' and set it to a second call to
+ strtok with `mapping'.
+
+Wed Apr 15 09:01:07 1992 Karl Berry (karl@hayley)
+
+ * pbm/pbmascii.c: new file for debugging.
+
+Tue Apr 14 13:46:45 1992 Karl Berry (karl@hayley)
+
+ * lib/scaled-num.c (scaled_to_real): as below.
+
Tue Apr 14 13:33:26 1992 Karl Berry (karl@hayley)
* data/defs.make (realclean): make a :: rule.
+Sun Apr 12 15:06:58 1992 Karl Berry (karl@hayley)
+
+ * lib/scaled-num.c (real_to_scaled): simplify to just multiply the
+ real by SCALED_UNITY.
+
Sun Apr 12 14:08:35 1992 Karl Berry (karl@hayley)
* Makefile.in (bzrtospecial): add *.el to the distributed list.
+Tue Apr 14 12:43:50 1992 Karl Berry (karl@hayley)
+
+ * include/bounding-box.h (init_real_bounding_box): remove this.
+
+Fri Apr 10 16:36:33 1992 Karl Berry (karl@hayley)
+
+ * lib/concat.c: put concat[345] in separate files.
+ * lib/GNUmakefile (c_only): update.
+ * lib/filename.c: remove prefix/suffix routines.
+ ({make-{output,prefix,suffix},remove-suffx,find-suffix}.c): new files.
+ * lib/GNUmakefile (c_only): update.
+ * lib/pathsrch.c (initialize_path_list): remove cwd_first_p.
+ * lib/filename.c (find_*_filename): change calls.
+ * lib/libfile.c (libfile_start): change call.
+
+Fri Apr 10 16:35:30 1992 Karl Berry (karl@hayley)
+
+ * include/pathsrch.h (initialize_path_list): remove cwd_first_p.
+
+Thu Apr 9 08:20:46 1992 Karl Berry (karl@hayley)
+
+ * fontconvert/output-gf.c (gf_finish_output): convert the space width
+ from points to fixes.
+
+Wed Apr 8 15:16:17 1992 Karl Berry (karl@hayley)
+
+ * fontconvert/output-gf.c (gf_finish_output): output a space character,
+ if desired.
+ (space_char): new global.
+ * fontconvert/gf-output.h (space_char): declare it.
+ * fontconvert/main.c (read_command_line): new option `-space' to set it.
+ (USAGE): document it.
+
+Wed Apr 8 15:00:56 1992 Karl Berry (karl@hayley)
+
+ * include/tfm.h (TFM_CHECK_DESIGNSIZE): change msg wording.
+
Wed Apr 8 14:14:58 1992 Karl Berry (karl@hayley)
* data/dvips.enc: character 32 is a space, not undefined.
+Wed Apr 8 12:28:59 1992 Karl Berry (karl@hayley)
+
+ * imageto/main.c (do_image_line): don't increment the max_col transition
+ in the horizontally concatenated block, either.
+ * imageto/main.c: make most of the globals static.
+ * imageto/main.h: remove declarations for unneeded globals.
+ * imageto/main.c (debug): add this.
+
Wed Apr 8 09:31:37 1992 Karl Berry (karl@hayley)
* Makefile.in (all): depend on gsrenderfont.
@@ -1105,18 +2714,156 @@ Tue Apr 7 13:58:50 1992 Karl Berry (karl@hayley)
* Makefile.in (dist): copy the .ad files into the distribution
directory, not the working dirs.
+Mon Apr 6 16:43:39 1992 Karl Berry (karl@hayley)
+
+ * imageto/extract.c (get_image_row): count white rows in image size;
+ free the scanline storage after we've copied it.
+
+Mon Apr 6 13:46:36 1992 Kathy Hargreaves (kathy@fosse)
+
+ * lib/encoding.c (encoding_scheme_to_filename): added.
+
+Sun Apr 5 11:46:33 1992 Karl Berry (karl@hayley)
+
+ * imageto/main.c (do_image_line): don't increment the transition which
+ we use for the maximum column.
+
+Sat Apr 4 13:53:55 1992 Karl Berry (karl@hayley)
+
+ * gf/gf_output.c (gf_put_char): remove unneeded local `charcode'.
+
+Sat Apr 4 12:57:15 1992 Karl Berry (karl@hayley)
+
+ * imageto/main.c (do_image_line): move test for enough boxes to above
+ dealing with the current bitmap, so garbage at the end doesn't
+ mess us up. (from wales@cs.ucla.edu)
+
+Fri Apr 3 13:30:02 1992 Karl Berry (karl@hayley)
+
+ * fontconvert/random.c: include rand.h; remove conditional decls of
+ RAND_MAX, rand, srand.
+
+Fri Apr 3 13:20:14 1992 Karl Berry (karl@hayley)
+
+ * include/config.h (RAND_MAX): remove this.
+ * include/rand.h: new file.
+
+Fri Apr 3 13:17:22 1992 Karl Berry (karl@hayley)
+
+ * lib/rand.c: new file.
+ * lib/GNUmakefile (c_only): include it.
+
+Wed Apr 1 16:17:18 1992 Karl Berry (karl at hayley)
+
+ * imageto/main.c (main): simplify the output name creation code.
+ * imageto/main.c (font_name_extension): rename to `input_extension', and
+ don't bother to initialize it.
+
+Wed Apr 1 14:14:23 1992 Karl Berry (karl at hayley)
+
+ * include: (pathshare from web2c)
+ * include/filename.h (make_output_filename): don't say we always return
+ a mallocated string.
+ * include/filename.h (make_stem_suffix): remove.
+ * include/edge.h: new file.
+
+Wed Apr 1 14:14:01 1992 Karl Berry (karl at hayley)
+
+ * lib/(pathshare from web2c)
+ * lib/filename.c (make_output_filename): don't duplicate the input
+ string, just return it.
+ * lib/filename.c (remove_suffix): remove.
+ * lib/edge.c: new file.
+ * lib/GNUmakefile (c_only): add it.
+ * lib/bb-outline.c: remove edge stuff in favor of this new file.
+
+Tue Mar 31 13:35:51 1992 Karl Berry (karl at hayley)
+
+ * lib/bitmap.c (bitmap_find_transitions): handle a row with a single
+ black pixel at the end correctly.
+
Mon Mar 30 09:31:38 1992 Karl Berry (karl at hayley)
* data/psymbol.enc: new file.
+Sun Mar 29 19:10:18 1992 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c (read_command_line): remove empty else.
+
Sun Mar 29 19:10:12 1992 Karl Berry (karl at hayley)
* charspace/main.c (read_command_line): remove empty else.
+Sun Mar 29 19:02:25 1992 Karl Berry (karl at hayley)
+
+ * tfm/tfm_input.c (get_tfm_params): forgot arg to printf.
+
+Sun Mar 29 11:07:17 1992 Karl Berry (karl at hayley)
+
+ * include/c-memstr.h (bzero,bcopy) [USG or STDC_HEADERS]: define these
+ using the mem fns.
+
+Sun Mar 29 10:58:27 1992 Karl Berry (karl at hayley)
+
+ * lib/xrealloc.c (xrealloc): cast the ptr.
+ * lib/file-input.c (get_n_bytes): had args switched to fatal.
+ * lib/bb-outline.c (is_outline_edge): remove the assertion that we're
+ at a valid pixel, since it's half-implied by the types, anyway.
+ * lib/GNUmakefile (malloc.o): remove the special rule and vars.
+ * lib/malloc.c [STDC_HEADERS | USG]: add the former for memset etc.
+
+Sun Mar 29 08:47:33 1992 Karl Berry (karl at fosse)
+
+ * include/config.h (ALLOC_RETURN_TYPE): define as void.
+ * include/c-std.h (*alloc): use ALLOC_RETURN_TYPE to declare.
+ (ALLOC_RETURN_TYPE): define as char if not otherwise defined.
+
Sun Mar 29 08:42:54 1992 Karl Berry (karl at hayley)
* Makefile.in (programs, libraries, etc.): use $(MAKE), not `make'.
+Sat Mar 28 07:49:38 1992 Karl Berry (karl at hayley)
+
+ * tfm: Version 0.4.
+ * tfm: Change copyright years to 1992 only.
+
+Sat Mar 28 07:49:27 1992 Karl Berry (karl at hayley)
+
+ * pk: Version 0.4.
+ * pk: Change copyright years to 1992 only.
+
+Sat Mar 28 07:49:22 1992 Karl Berry (karl at hayley)
+
+ * pbm: Version 0.4.
+ * pbm: Change copyright years to 1992 only.
+
+Sat Mar 28 07:49:09 1992 Karl Berry (karl at hayley)
+
+ * lib/malloc.c: new version, from libg++ 2.0.
+ * lib/GNUmakefile (malloc_stats): don't define this.
+ * lib: Version 0.4.
+ * lib: Change copyright years to 1992 only.
+
+Sat Mar 28 07:49:02 1992 Karl Berry (karl at hayley)
+
+ * include: Version 0.4.
+ * include: Change copyright years to 1992 only.
+
+Sat Mar 28 07:48:43 1992 Karl Berry (karl at hayley)
+
+ * imageto: Version 0.4.
+ * imageto: Change copyright years to 1992 only.
+
+Sat Mar 28 07:48:16 1992 Karl Berry (karl at hayley)
+
+ * gf: Version 0.4.
+ * gf: Change copyright years to 1992 only.
+
+Sat Mar 28 07:48:07 1992 Karl Berry (karl at hayley)
+
+ * fontconvert: Version 0.4.
+ * fontconvert: Change copyright years to 1992 only.
+
Sat Mar 28 07:46:49 1992 Karl Berry (karl at hayley)
* data: Version 0.4.
@@ -1137,6 +2884,10 @@ Fri Mar 27 19:46:49 1992 Karl Berry (karl at hayley)
* PROJECTS: move to doc.
* Makefile.in (topfiles): remove it.
+Fri Mar 27 17:33:01 1992 Karl Berry (karl at hayley)
+
+ * include/c-memstr.h (memcpy) [!(USG or STDC_HEADERS)]: change condition
+
Fri Mar 27 14:57:14 1992 Karl Berry (karl at hayley)
* charspace/symbol_table.?: rename to symtab.?.
@@ -1154,19 +2905,190 @@ Thu Mar 26 19:54:28 1992 Karl Berry (karl at claude.cs.umb.edu)
* Makefile.in (installargs): missing quote.
(install): do `install' in subdirs.
+Thu Mar 26 19:40:46 1992 Karl Berry (karl at jeeves.math.utah.edu)
+
+ * include/c-minmax.h: make all #definitions conditional
+ * include/c-limits.h: only include <float.h> if we don't have FLT_MAX
+ already.
+ * include/c-memstr.h [!NEED_MEMORY_H]: do not declare memchr.
+
+Thu Mar 26 14:36:08 1992 Karl Berry (karl at claude.cs.umb.edu)
+
+ * include/Bitmap.h [!XtCBitmap]: make the definition conditional.
+ * include/c-memstr.h: move #include <memory.h> outside of #if
+ STDC_HEADERS.
+
Thu Mar 26 06:37:55 1992 Karl Berry (karl at hayley)
* Makefile.in (dist): remove include/paths.h.
+Wed Mar 25 08:37:28 1992 Karl Berry (karl at hayley)
+
+ * lib/GNUmakefile (c_only): add fmod.
+ * lib/fmod.c: new file.
+
Wed Mar 25 08:31:49 1992 Karl Berry (karl at hayley)
* charspace/perc_table.c (add_to_perc_def_table): use xstrdup, not
strdup.
+Wed Mar 25 08:30:41 1992 Karl Berry (karl at hayley)
+
+ * fontconvert/random.c [!STDC_HEADERS]: declare rand, srand.
+ [!RAND_MAX]: define RAND_MAX.
+ (random_number): use rand instead of drand48.
+
Wed Mar 25 07:20:10 1992 Karl Berry (karl at hayley)
* Makefile.in (topfiles): remove PROBLEMS, add COPYING.LIB.
+Mon Mar 23 14:59:49 1992 Kathy Hargreaves (kathy at hayley)
+
+ * fontconvert/output-tfm.c (tfm_start_output): only try to set design
+ size to user's if it's been set.
+
+Sun Mar 22 13:46:31 1992 Kathy Hargreaves (kathy at hayley)
+
+ * fontconvert/output_gf.[hc] (gf_output_char): added DESIGN_SIZE_RATIO.
+ Multiply char's TFM width by this.
+ * fontconvert/main.c [design_size_ratio]: added.
+ * fontconvert/main.c (main): if unset, set design_size to the bitmap one
+ *after* calling tfm_set_design_size, and then check that it's in
+ range.
+ * fontconvert/output_tfm.c (tfm_start_output): added USER_DESIGN_SIZE.
+ Call with `design_size' for USER_DESIGN_SIZE and the bitmap's
+ design size for DEFAULT_DESIGN_SIZE.
+ After saving value in new variable `tfm_file_design_size', zero
+ out tfm_info's design size if got it from a TFM file. After
+ calling tfm_set_header, try setting design_size in following
+ order: to USER_DESIGN_SIZE, tfm_file_design_size,
+ DEFAULT_DESIGN_SIZE.
+
+Sat Mar 21 11:53:04 1992 Kathy Hargreaves (kathy at hayley)
+
+ * fontconvert/output_tfm.c (tfm_start_output): set the fontsize if
+ wasn't done already as a TFM header option.
+ Move TFM_CHECK_DESIGNSIZE from main.
+ Set design size to the default only if it isn't set yet.
+
+Sat Mar 21 11:11:18 1992 Kathy Hargreaves (kathy at hayley)
+
+ * include/tfm.h (tfm_set_design_size): added.
+ * include/tfm.h (tfm_set_header): deleted DEFAULT_DESIGN_SIZE;
+ * include/tfm.h [TFM_CHECK_DESIGNSIZE]: changed name from
+ CHECK_DESIGNSIZE.
+
+Sat Mar 21 10:59:51 1992 Kathy Hargreaves (kathy at hayley)
+
+ * tfm/tfm_util.c (tfm_set_design_size): set design size unconditionally.
+ * tfm/tfm_util.c (tfm_set_design_size): added.
+ * tfm/tfm_util.c (tfm_set_header): deleted DEFAULT_DESIGN_SIZE.
+ * tfm/tfm_util.c (tfm_set_fontsize): made extern.
+ * tfm/tfm_util.c [TFM_CHECK_DESIGNSIZE]: changed name from
+ CHECK_DESIGNSIZE.
+ * tfm/tfm_util.c (tfm_set_font_parameter, tfm_set_fontsize): added.
+ (tfm_set_fontdimens): use tfm_set_font_parameter.
+
+Thu Mar 19 13:24:14 1992 Kathy Hargreaves (kathy at hayley)
+
+ * tfm/tfm_util.c (tfm_set_header): use CHECK_DESIGN_SIZE.
+ Don't range of check default design size; expect it to be valid.
+ * tfm/tfm_util.h [CHECK_DESIGN_SIZE]: added.
+ * tfm/tfm_util.c (tfm_set_header): took `design_size' out of
+ `designsize' else clause. Added DEFAULT_DESIGN_SIZE. If either
+ variable is set, then arrange to set fontsize.
+ Set tfm_info's design size to DEFAULT_DESIGN_SIZE if it's not
+ set by the tfm-header design-size option.
+ * tfm/tfm_util.c (set_fontsize): changed name from set_fontsize_if_unset
+ (tfm_set_header): if -design-size tfm-header option is used, set
+ the font parameter count so will change the fontsize.
+
+Thu Mar 19 07:47:58 1992 Karl Berry (karl at hayley)
+
+ * include/config.h: don't include paths.h, c-pathmx.h, c-namemx.h,
+ c-pathch.h; just include them in the files where they are
+ needed.
+ * include/c-{path,name}_max.h: rename to c-*mx.h; new versions.
+ * include/pathsearch.h => pathsrch.h.
+
+Thu Mar 19 07:47:30 1992 Karl Berry (karl at hayley)
+
+ * lib/pathsearch.c, libfile.c, filename.c: include paths.h.
+ * lib/pathsearch.c: rename to pathsrch.c; new version.
+
+Thu Mar 19 17:28:34 1992 Kathy Hargreaves (kathy at hayley)
+
+ * include/tfm.h: doc fix.
+
+Thu Mar 19 12:52:46 1992 Kathy Hargreaves (kathy at hayley)
+
+ * fontconvert/output_tfm.c (tfm_output_char): OR (not AND) the
+ conditions for recalculating dimensions and italic corrections.
+
+Wed Mar 18 12:27:44 1992 Kathy Hargreaves (kathy at hayley)
+
+ * tfm/tfm_util.c (tfm_set_ligature): added.
+ * tfm/tfm_util.c (tfm_set_header): dox fix.
+
+Wed Mar 18 12:27:27 1992 Kathy Hargreaves (kathy at hayley)
+
+ * include/tfm.h (tfm_set_ligature): added.
+ * include/tfm.h (tfm_set_header): doc fix.
+
+Wed Mar 18 12:20:38 1992 Kathy Hargreaves (kathy at hayley)
+
+ * fontconvert/output-tfm.c (tfm_do_chars_defaults): added.
+ * fontconvert/output-tfm.c (tfm_output_char): only recalculate
+ dimensions and initialize the italic correction if we've altered the
+ bitmap; otherwise, use that of the original TFM character.
+ * fontconvert/output-tfm.c (tfm_finish_output): moved
+ tfm_close_input_file from tfm_start_output to here.
+
+Tue Mar 17 16:01:09 1992 Kathy Hargreaves (kathy at hayley)
+
+ * fontconvert/main.c [USAGE], (read_command_line): added design-size
+ option.
+ (global): moved `design_size' from main.
+ * fontconvert/main.c (do_char): filter bitmap if `filter_passes' > 0.
+ * fontconvert/filter.[hc]: deleted `wants_filter'; default
+ `filter_passes' to 0.
+ * fontconvert/main.c [USAGE], (read_command_line): deleted -filter
+ option.
+ * fontconvert/output_tfm.c (tfm_start_ouput): fill in nonrequested TFM
+ header items and fontdimens with tfm_info from input_basename.tfm, if
+ it exists. If it does, zero out the checksum.
+
+Mon Mar 16 12:28:15 1992 Kathy Hargreaves (kathy at hayley)
+
+ * fontconvert/output_tfm.c (tfm_start_ouput): call tfm_set_header.
+ Set tfm_info's design size only if unset.
+ * fontconvert/main.c [USAGE], (read_command_line): added -tfm-header
+ option.
+
+Mon Mar 16 12:22:42 1992 Kathy Hargreaves (kathy at hayley)
+
+ * tfm/tfm_util.c (tfm_set_header): set design size correctly.
+ * tfm/tfm_util.c (set_fontsize_if_unset): added.
+ (tfm_set_header, tfm_set_fontdimens): call set_fontsize_if_unset.
+ * tfm/tfm_util.c (tfm_set_header): added.
+
+Mon Mar 16 11:42:14 1992 Kathy Hargreaves (kathy at hayley)
+
+ * include/tfm.h [TFM_MIN_DESIGNSIZE]: added.
+ * include/tfm.h [TFM_MAX_DESIGNSIZE_PLUS_ONE]: added.
+
+Sun Mar 15 16:59:02 1992 Karl Berry (karl at hayley)
+
+ * include/font.h: doc fix.
+
+Sun Mar 15 16:49:32 1992 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c: doc fix.
+
+Sun Mar 15 13:50:40 1992 Kathy Hargreaves (kathy at hayley)
+
+ * include/paths.h [DEFAULT_LIB_PATH]: change /u/research/data to /w/data
+
Wed Mar 11 14:03:53 1992 Kathy Hargreaves (kathy at hayley)
* charspace/char.c (get_char_info): make CODE charcode_type.
@@ -1176,15 +3098,59 @@ Wed Mar 11 14:03:53 1992 Kathy Hargreaves (kathy at hayley)
'displacement'.
* charspace/main.c [USAGE]: corrected -sbi-files option comment.
+Wed Mar 11 10:03:12 1992 Karl Berry (karl at hayley)
+
+ * lib/bitmap.c (bitmap_find_transitions): handle the pixel at the end
+ of the row specially, unfortunately.
+
+Tue Mar 10 15:02:27 1992 Karl Berry (karl at hayley)
+
+ * include/cmdline.h (GETOPT_USAGE): new macro.
+
+Tue Mar 10 12:17:09 1992 Kathy Hargreaves (kathy at hayley)
+
+ * lib/libfile.c (libfile_start): use find_suffix instead of finding a
+ dot position.
+
Tue Mar 10 10:48:19 1992 Karl Berry (karl at hayley)
* Makefile.in (programs): replace xbce and xlse with xbfe.
(dist): similarly.
+Mon Mar 9 16:46:10 1992 Kathy Hargreaves (kathy at hayley)
+
+ * imageto/main.c (main): move setting of dpi to above (and out of)
+ do_strips test.
+ * imageto/main.c (main): set output_name_suffix with static strings
+ and xmalloc dpi and design_size_str.
+ * imageto/main.c (main): if output_name has no suffix, append either
+ output_name_suffix or design_size to its stem before appending
+ a suffix.
+
+Mon Mar 9 16:42:49 1992 Kathy Hargreaves (kathy at hayley)
+
+ * lib/filename.c (make_stem_suffix): remove suffix from name before
+ adding stem_suffix and putting suffix back on.
+ * lib/filename.c (make_stem_suffix): don't add a dot if no suffix.
+ * lib/filename.c (make_stem_suffix): added.
+
+Mon Mar 9 16:33:34 1992 Kathy Hargreaves (kathy at hayley)
+
+ * include/filename.h (make_stem_suffix): added.
+
Mon Mar 9 12:26:26 1992 Kathy Hargreaves (kathy at hayley)
* charspace/sbi.h: changed comment.
+Sun Mar 8 17:09:03 1992 Kathy Hargreaves (kathy at hayley)
+
+ * include/filename.h (make_output_filename): changed comment.
+
+Sun Mar 8 17:08:06 1992 Kathy Hargreaves (kathy at hayley)
+
+ * lib/filename.c (make_output_filename): put dot between NAME and
+ DEFAULT_SUFFIX.
+
Sun Mar 8 12:54:14 1992 Karl Berry (karl at hayley)
* data/defsprog.make ($(program)): lose our_X_library.
@@ -1207,21 +3173,99 @@ Sun Mar 8 08:43:21 1992 Karl Berry (karl at fosse)
* data/defs.make (CFLAGS): include XCFLAGS.
(XCFLAGS) [fosse]: define.
+Sun Mar 8 08:37:46 1992 Karl Berry (karl at fosse)
+
+ * lib/numtoa.c (dtoa): rename from ftoa.
+ * lib/strstr.c: new file.
+ GNUmakefile (c_only): add strstr.
+
+Sun Mar 8 05:11:50 1992 Karl Berry (karl at fosse)
+
+ * include/global.h (dtoa): rename from `ftoa'.
+ * include/c-memstr.h (strstr) [!USG or STDC_HEADERS]: declare it.
+ * include/global.h (ROUND): cast the result to int, and simplify.
+
+Sat Mar 7 17:00:44 1992 Kathy Hargreaves (kathy at hayley)
+
+ * lib/filename.c (sizeless_font_name): removed.
+
+Sat Mar 7 16:59:04 1992 Kathy Hargreaves (kathy at hayley)
+
+ * include/filename.h (sizeless_font_name): removed.
+
+Sat Mar 7 14:07:52 1992 Karl Berry (karl at fosse)
+
+ * pk/pk_input.c: complete prototypes for static fns.
+
Sat Mar 7 13:34:55 1992 Karl Berry (karl at fosse)
* Makefile.in (xincludedir): new variable.
(CFLAGS): use it.
* configure.in: test for it.
+Sat Mar 7 13:21:33 1992 Karl Berry (karl at fosse)
+
+ * lib/xmessage.c: include xmessage.h.
+ * lib/GNUmakefile (c_only): remove statistics; we never use it.
+ * lib/pathsearch.c: add prototypes for the subroutines.
+ * lib/line.c: include line.h.
+ * lib/bb-outline.c (find_outlines_bbs): rename parameters to avoid
+ shadow warnings.
+
+Sat Mar 7 13:18:42 1992 Karl Berry (karl at fosse)
+
+ * gf/gf_input.c (gf_get_three): complete prototype.
+ * gf/gf_output.c (init_locators, put_locators): likewise.
+
+Sat Mar 7 13:11:59 1992 Kathy Hargreaves (kathy at hayley)
+
+ * fontconvert/main.c (main): fatal if wants_gf and want_tfm and the
+ output filename has a suffix.
+
Sat Mar 7 13:06:11 1992 Kathy Hargreaves (kathy at hayley)
* charspace/main.c (main): fatal if the output filename has a suffix.
+Sat Mar 7 11:26:59 1992 Karl Berry (karl at fosse)
+
+ * include/c-std.h [!STDC_HEADERS]: declare getenv.
+ * include/varstring.h (vs_set_char): change parameter name to avoid
+ warnings.
+ * include/c-minmax.h [!FLT_MIN]: define FLT_MIN and FLT_MAX.
+ * include/c-memstr.h [NEED_MEMORY_H]: include <memory.h> instead of
+ #defining memcpy.
+ Also declare strtok if including <strings.h>, and memchr if
+ using #define of memcpy.
+
+Sat Mar 7 11:16:20 1992 Karl Berry (karl at hayley)
+
+ * pk/GNUmakefile (files, headers, sources): replace with `c_and_h', etc.
+
+Sat Mar 7 10:02:24 1992 Karl Berry (karl at hayley)
+
+ * include/pbmplus.h, c-proto.h: use #if __STDC__, not #ifdef.
+ * include/config.h: break out into various files.
+
+Sat Mar 7 10:00:47 1992 Karl Berry (karl at hayley)
+
+ * pbm/GNUmakefile (files, headers, sources): replace with `c_and_h', etc
+ * pbm/libpbm1.c: use #if __STDC__, not #ifdef.
+
Sat Mar 7 09:59:10 1992 Karl Berry (karl at hayley)
* configure.in: change config-auto.h to c-auto.h.
* configure.in: substitute for LDFLAGS.
+Sat Mar 7 09:55:42 1992 Karl Berry (karl at hayley)
+
+ * imageto/GNUmakefile (libraries): define again.
+ (files, headers, sources): replace with `c_and_h', etc.
+
+Sat Mar 7 09:52:57 1992 Karl Berry (karl at hayley)
+
+ * fontconvert/GNUmakefile (libraries): define again.
+ (files, headers, sources): replace with `c_and_h', etc.
+
Sat Mar 7 09:32:20 1992 Karl Berry (karl at hayley)
* charspace/GNUmakefile (files): replace with `c_and_h', etc.
@@ -1236,16 +3280,67 @@ Sat Mar 7 09:19:34 1992 Karl Berry (karl at hayley)
(bitmap_libs): define this, for callers to use.
(librarytags): use $(libraries), remove stuff about X and pbm.
+Sat Mar 7 09:14:00 1992 Karl Berry (karl at hayley)
+
+ * lib/GNUmakefile (files, headers, sources): replace with `c_and_h', etc
+ * lib/scaled-num.c (print_scaled): use putchar instead of printf where
+ possible.
+
+Sat Mar 7 09:12:14 1992 Karl Berry (karl at hayley)
+
+ * gf/GNUmakefile (files, headers, sources): replace with `c_and_h', etc.
+ * gf/gf_input.c (get_character_bitmap): use puts instead of printf
+ where possible.
+
+Thu Mar 5 17:50:04 1992 Karl Berry (karl at claude.cs.umb.edu)
+
+ * fontconvert/main.c (do_char): do the baseline adjustment after
+ randomization, to preserve the baselines when randomizing.
+ * fontconvert/random.c (randomize_bitmap): return the number of
+ rows/columns added at each side of the bitmap.
+ * fontconvert/random.h (randomize_bitmap): change declaration.
+ * fontconvert/main.c (do_char): use puts instead of printf where
+ possible.
+
Thu Mar 5 17:31:06 1992 Karl Berry (karl at claude.cs.umb.edu)
* Makefile.in (makeargs): don't double the $'s.
+Thu Mar 5 07:53:37 1992 Karl Berry (karl at hayley)
+
+ * pbm: Created.
+
Thu Mar 5 07:12:13 1992 Karl Berry (karl at hayley)
* Makefile.in (dist): add version numbers automatically; add in
special files in bzrto and gsrenderfont.
(bzrtospecial, gsrenderspecial): new variables.
+Thu Mar 5 06:47:26 1992 Karl Berry (karl at hayley)
+
+ * imageto/main.c (output_filename): rename to `output_name', and remove
+ the other `output_name' declaration.
+
+Wed Mar 4 17:21:32 1992 Kathy Hargreaves (kathy at hayley)
+
+ * imageto/main.c (main) changed `output_basename' to `output_name'.
+ Deleted add_suffix and add_design_size.
+ Added dpi, design_size_str, and output_name_suffix.
+ Use make_output_filename to check if output name has a suffix.
+ If output_name not given and not doing strips, set design_size_str.
+ If doing strips, set output_name_suffix to "sp".
+ Always set dpi.
+
+Wed Mar 4 15:31:23 1992 Kathy Hargreaves (kathy at hayley)
+
+ * fontconvert/output_tfm.c (tfm_start_output): changed OUTPUT_BASENAME
+ to OUTPUT_NAME and call make_output_filename to make pl_name.
+ * fontconvert/output_epst.c (epsf_start_output): changed global
+ `output_basename' to `output_name' and BASE_NAME to NAME.
+ Fatal if NAME has a suffix.
+ * fontconvert/output-gf.c (gf_start_output): changed `font_basename' to
+ `output_name' and call make_output_filename to make gf_name.
+
Wed Mar 4 14:46:33 1992 Kathy Hargreaves (kathy at hayley)
* output.c (write_files): construct output filenames using
@@ -1261,6 +3356,15 @@ Wed Mar 4 11:24:12 1992 Karl Berry (karl at hayley)
* gnuw: rename to 'widgets'.
* Makefile.in (libraries): corresponding.
+Wed Mar 4 11:18:22 1992 Karl Berry (karl at hayley)
+
+ * GNUmakefile (libraries): remove.
+
+Wed Mar 4 10:40:02 1992 Karl Berry (karl at hayley)
+
+ * lib/filename.c (remove_suffix): don't include the `.' in what we
+ return.
+
Wed Mar 4 10:33:52 1992 Karl Berry (karl at hayley)
* data/defs.make (our_X_library): change `gnuw' to `widgets'.
@@ -1269,6 +3373,42 @@ Wed Mar 4 10:33:52 1992 Karl Berry (karl at hayley)
* data/defs.make (clean): remove TAGS here.
(realclean): not here.
+Tue Mar 3 16:28:38 1992 Karl Berry (karl at hayley)
+
+ * lib/filename.c (find_suffix): new routine.
+ (remove_suffix, make_output_filename, make_suffix): write in terms
+ of it.
+
+Tue Mar 3 16:28:26 1992 Karl Berry (karl at hayley)
+
+ * include/filename.h (find_suffix): new routine.
+
+Mon Mar 2 12:15:52 1992 Karl Berry (karl at hayley)
+
+ * imageto/main.c (main): decrease nchars_per_line to 11.
+
+Sun Mar 1 16:33:49 1992 Kathy Hargreaves (kathy at hayley)
+
+ * lib/filename.c (make_output_file): use concat instead of make_suffix.
+
+Sun Mar 1 15:17:28 1992 Karl Berry (karl at hayley)
+
+ * lib/GNUmakefile (files): add bb-outline.
+
+Sun Mar 1 14:48:41 1992 Kathy Hargreaves (kathy at hayley)
+
+ * lib/filename.c (make_output_file): added.
+
+Sun Mar 1 14:48:41 1992 Kathy Hargreaves (kathy at hayley)
+
+ * include/filename.h (make_output_file): added.
+
+Sun Mar 1 13:03:23 1992 Karl Berry (karl at hayley)
+
+ * imageto/GNUmakefile (files): remove bb-outline.
+ * imageto/GNUmakefile (need_pbm_library): define.
+ (sources): remove the PBM stuff.
+
Sun Mar 1 13:02:31 1992 Karl Berry (karl at hayley)
* data/zdingbat.enc: new file.
@@ -1276,24 +3416,72 @@ Sun Mar 1 13:02:31 1992 Karl Berry (karl at hayley)
* data/defs.make [need_pbm_library] (pbm_library): define.
(fontutil_libraries): include $(pbm_library).
+Sun Mar 1 13:00:17 1992 Karl Berry (karl at hayley)
+
+ * include/bb-outline.h, include/pbm.h, includepbmplus.h: new files from
+ imagetofont.
+
Sun Mar 1 12:59:09 1992 Karl Berry (karl at hayley)
* Makefile.in (libraries): add pbm.
- pbm: new directory.
+ pbm: new directory.
Fri Feb 28 16:06:54 1992 Karl Berry (karl at hayley)
* data/dvips.enc: new file.
+Fri Feb 28 07:53:09 1992 Karl Berry (karl at hayley)
+
+ * imageto/extract.c (image_row_transitions): new routine.
+ (some_black_to_all_white_row): call it after getting the image row.
+ (append_next_image_row): call it after appending.
+ (get_image_row): do not compute the transitions here.
+ * imageto/main.c (bitmap_to_gf_char): the GF min_row is the depth, the
+ GF max_row is the height; we had it the other way around. Also,
+ `row_baseline' is one-origin, but char rows are 0-origin.
+
+Tue Feb 25 14:40:54 1992 Karl Berry (karl at hayley)
+
+ * imageto/main.c (main): decrease number of chars reported without
+ guidelines to 12.
+ * imageto/input-pbm.c (pbm_get_scanline): declare the test character for
+ EOF as int, not char. Also, print the scanlines if
+ trace_scanlines is set.
+ * imageto/main.c (trace_scanlines): new global.
+ (read_command_line): new option.
+ * imageto/bitmap2.c (bitmap_vconcat): put one blank row between the
+ bitmaps, to compensate for what some_black... removed.
+ * imageto/extract.c (get_image_row): don't keep leading white rows if
+ there weren't any; always append scanline, even if there were.
+
Tue Feb 25 10:48:47 1992 Karl Berry (karl at hayley)
* AUTHORS: new file.
Makefile.in (topfiles): dist it.
+Mon Feb 24 08:38:56 1992 Karl Berry (karl at hayley)
+
+ * lib/pathsearch.c (truncate_pathname): separate this out from
+ `readable'.
+ * lib/concat.c dir-p.c file-p.c pathsearch.c xmalloc.c xopendir.c
+ xrealloc.c xstat.c xstrdup.c: redo with (un)prototype macros.
+
Mon Feb 24 08:36:00 1992 Karl Berry (karl at hayley)
* configure.in [isc]: include -shlib in LDFLAGS.
+Mon Feb 24 08:07:47 1992 Karl Berry (karl at hayley)
+
+ * include/lib.h (X{RE,}TALLOC): cast the result to the right pointer
+ type, for the benefit of broken compilers which don't cast void *'s.
+ * include/config.h (P...): new macros to omit prototypes if not __STDC__
+ * include/lib.h: new file with some declarations moved from global.h.
+ * include/{pathsearch,xstat,dirio}.h: use un/prototyping macros.
+ * include/global.h (ARE_EQUAL_POINTS): remove, as no one uses this
+ anymore.
+ * include/global.h ({START,END}_{FATAL,WARNING}): use fputs instead of
+ fprintf for constant strings.
+
Sun Feb 23 09:04:51 1992 Karl Berry (karl at hayley)
* GNUmakefile (dist): update for various new directories and files.
@@ -1302,22 +3490,94 @@ Sat Feb 22 12:52:16 1992 Karl Berry (karl at hayley)
* data/adobestd.enc: rename from standard.enc.
+Wed Feb 19 10:00:35 1992 Karl Berry (karl at hayley)
+
+ * lib/varstring.c (vs_set_char): set the allocated field after we
+ allocate more space.
+ * lib/hexify.c (hexify): add 'a' to each hex char to make it visible
+ ASCII; shift the upper nybble down before adding.
+
Mon Feb 17 15:59:52 1992 Karl Berry (karl at hayley)
* data/postscript.map (cmtext): this is now named textext.
* data/defs.make (our_X_library): define this to be gnuw.
* data/defsprog.make (program): depend on $(our_X_library).
+Mon Feb 17 07:38:27 1992 Karl Berry (karl at hayley)
+
+ * lib/filename.c (sizeless_font_name): new routine.
+ * lib/line.c (read_line): use vs_append_char, and generally simplify.
+ * lib/varstring.c (vs_append_char): don't append a null afterwards.
+ * lib/GNUmakefile (files): add it.
+ * lib/hexify.c: new file.
+
+Mon Feb 17 07:26:13 1992 Karl Berry (karl at hayley)
+
+ * include/filename.h (sizeless_font_name): new routine.
+ * include/bzr.h (bzr_char_type): declare the character code as
+ `charcode_type'.
+ * include/hexify.h: new file.
+ * include/tfm.h: doc fixes.
+ * include/varstring.h (vs_{set,append}_char): doc fix.
+
Sun Feb 16 12:24:16 1992 Kathy Hargreaves (kathy at hayley)
* charspace/output.c (find_widths): set freed tfm char kern list to
NULL.
+Sun Feb 16 11:47:27 1992 Kathy Hargreaves (kathy at hayley)
+
+ * include/tfm.h (TFM_KERN): added.
+
+Sun Feb 16 10:38:56 1992 Karl Berry (karl at hayley)
+
+ * include/config.h: figure out NAME_MAX like we figure out PATH_MAX.
+
+Sun Feb 16 10:31:41 1992 Karl Berry (karl at hayley)
+
+ * lib/pathsearch.c (readable): keep track of the component lengths
+ properly; do the second test on the new name, not the old.
+
Sun Feb 16 09:31:32 1992 Karl Berry (karl at hayley)
* data/defs.make (X_libraries): include gnuw.a here.
(ourlibs): not here.
+Sat Feb 15 16:10:30 1992 Karl Berry (karl at hayley)
+
+ * lib/pathsearch.c (READABLE): redo the macro as a function, and
+ truncate the pathname if necessary.
+
+Fri Feb 14 08:29:42 1992 Karl Berry (karl at hayley)
+
+ * include/varstring.h (variable_string): add `used' field; rename
+ `length' to `allocated'.
+ (VS_USEd): new macro.
+ * include/varstring.h (vs_free): new routine.
+ * include/encoding.h (ENCODING_VECTOR_SIZE): define this.
+ (encoding_info_type): use it to define the array.
+
+Fri Feb 14 07:26:35 1992 Karl Berry (karl at hayley)
+
+ * lib/varstring.c (vs_append_char): use VS_USED instead of strlen.
+ (vs_init): initialize VS_USED to zero.
+ (vs_set_char): set VS_USED.
+ All routines: rename `VS_LENGTH to `VS_ALLOCATED'.
+ * lib/varstring.c (vs_free): new routine.
+ * lib/math.c (acosd): clear errno before testing it.
+
+Thu Feb 13 13:32:54 1992 Karl Berry (karl at hayley)
+
+ * lib/pathsearch.c (READABLE): call it readable if the error is
+ ENAMETOOLONG; include <errno.h> and declare errno if that is
+ undefined.
+
+Tue Feb 11 10:23:43 1992 Karl Berry (karl at hayley)
+
+ * include/config.h [NEED_MEMORY_H]: include <memory.h>.
+ * include/config.h [LIMITS_H_MISSING]: include <sys/param.h>.
+ * include/config.h [STDC_HEADERS]: include <string.h> if this is defined
+
Tue Feb 11 10:14:18 1992 Karl Berry (karl at hayley)
* data/defs.make (X_libraries): append $(wlibs), add -l to each.
@@ -1336,6 +3596,25 @@ Tue Feb 11 09:56:23 1992 Karl Berry (karl at hayley)
* configure.in: test M_ISC early, before any compiles.
* Makefile.in (copt): remove it; use CC instead.
+Mon Feb 10 16:09:25 1992 Karl Berry (karl at claude.cs.umb.edu)
+
+ * fontconvert/random.c (random_threshold): new global to say how often
+ to move a pixel at all.
+ * fontconvert/random.h (random_threshold): declare it.
+ * fontconvert/main.c (read_command_line): new option `random-threshold.
+ * fontconvert/output-tfm.c (tfm_start_output): check for a TFM file if
+ the user hasn't given us a fontdimen string. Take the input
+ filename to construct the TFM name.
+ * fontconvert/output-tfm.h (tfm_start_output): change declaration.
+ * fontconvert/main.c (main): change call.
+
+Mon Feb 10 10:04:00 1992 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c (do_split_char, do_char): free the bitmap here.
+ (main): not here.
+ * fontconvert/random.c (randomize_bitmap): fix algorithm for pixels
+ moved more than one.
+
Mon Feb 10 09:39:54 1992 Karl Berry (karl at hayley)
* data/defs.make (CFLAGS): include copt.
@@ -1354,10 +3633,30 @@ Sat Feb 8 07:05:04 1992 Karl Berry (karl at hayley)
* data/defs.make ({extra_,}X_libraries): only define these if
`need_X_libraries' is defined.
+Thu Feb 6 18:26:11 1992 Karl Berry (karl at claude.cs.umb.edu)
+
+ * fontconvert/random.c (enlarge_bitmap): return the result, of changing
+ an arg.
+ * fontconvert/random.c: do not include global.h and <math.h>; they
+ already are.
+
+Thu Feb 6 17:25:55 1992 Karl Berry (karl at claude.cs.umb.edu)
+
+ * include/global.h (MIN) [!MIN]: define it conditionally.
+
+Sun Feb 2 16:08:44 1992 Karl Berry (karl at hayley)
+
+ * lib/filename.c (find_{gf,pk}_filename): allocate enough space for
+ the null sprintf writes.
+
Sun Feb 2 13:50:53 1992 Karl Berry (karl at hayley)
* Makefile.in: rename paths.h-dist to paths.h.in.
+Sat Feb 1 15:16:13 1992 Karl Berry (karl at hayley)
+
+ * fontconvert/output-gf.c: include filename.h.
+
Sat Feb 1 15:04:16 1992 Karl Berry (karl at hayley)
* charspace/main.c (read_sbi_file_list): use basename, not depath.
@@ -1367,6 +3666,33 @@ Sat Feb 1 14:57:12 1992 Karl Berry (karl at hayley)
* Makefile.in (default_subdir_path): remove.
(default_tfm_path): change to new syntax for subdirs.
+Sat Feb 1 14:54:51 1992 Karl Berry (karl at hayley)
+
+ * include/filename.h (depath): remove.
+ * include/pathsearch.h (initialize_path_list): change decl to remove
+ subdir paths; that's now indicated by // ending a path element.
+ * include/paths.h-dist (DEFAULT_SUBDIR_PATH): remove.
+ * include/filename.h: doc fix.
+
+Sat Feb 1 14:53:39 1992 Karl Berry (karl at hayley)
+
+ * lib/filename.c (depath): remove.
+ * lib/pathsearch.c (initialize_path_list): subdirectories are now
+ indicated by // terminating a path element, instead of as
+ a separate envvar/path.
+ * lib/filename.c (find*filename): remove subdirectory stuff.
+ * lib/libfile.c (libfile_start): likewise.
+
+Fri Jan 31 17:08:38 1992 Karl Berry (karl at hayley)
+
+ * imageto/main.c (read_command_line): declare `option_index' (for new
+ getopt).
+
+Fri Jan 31 17:07:31 1992 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c (read_command_line): declare `option_index' (for
+ new getopt).
+
Fri Jan 31 17:04:20 1992 Karl Berry (karl at hayley)
* charspace/main.c (read_command_line): declare `option_index' (for new
@@ -1398,11 +3724,60 @@ Wed Jan 22 13:12:21 1992 Kathy Hargreaves (kathy at hayley)
'x' instead of an 'o' to the filename if the output file is the same
one as the input file.
+Wed Jan 22 12:49:25 1992 Kathy Hargreaves (kathy at hayley)
+
+ * fontconvert/output-gf.c (gf_start_output): use make_prefix instead of
+ concat when prepending an `x' onto a filename.
+
+Tue Jan 21 11:47:26 1992 Kathy Hargreaves (kathy at hayley)
+
+ * imageto/main.c (main): wasn't putting the suffix on the gf name when
+ gave an output filename without a suffix because was finding the
+ dot in the pathname `../fonts'.
+ * imageto/main.c (bitmap_to_gf_char): were switching the minimum and
+ maximum rows when assigning to the gf char.
+ * imageto/main.c (main): malloc gf_name more precisely.
+ * imageto/main.c (bitmap_to_gf_char): fixed calculation of gf char's
+ rows.
+ (main): changed how build the gf output filename: if the user
+ specifies an output file, don't ever add on a design size and don't
+ add a suffix if there's one already.
+ * imageto/main.c (bitmap_to_gf_char): now print gf character's
+ baseline-adjusted) row instead of the bounding box's (unadjusted) ones
+
+Mon Jan 20 14:46:16 1992 Kathy Hargreaves (kathy at hayley)
+
+ * imageto/main.c (main): added variable `output_basename' so user could
+ specify an output file basename.
+ (read_command_line): Added `output-file' option.
+
Mon Jan 20 13:51:42 1992 Kathy Hargreaves (kathy at hayley)
* charspace/main.c (read_sbi_file_list): call `depath' on the current
sbi name in the list and on 'font_name' when comparing them.
+Mon Jan 20 11:09:10 1992 Kathy Hargreaves (kathy at hayley)
+
+ * lib/filename.c (depath): added this routine to take the path off the
+ front of a filename.
+ * lib/filename.c (make_prefix): added this routine to add a prefix to
+ a filename which may or may not be the full pathname.
+
+Thu Jan 16 09:27:16 1992 Karl Berry (karl at hayley)
+
+ * include/global.h (MAX, MIN): remove unnecessary parens.
+
+Wed Jan 15 16:57:36 1992 Kathy Hargreaves (kathy at hayley)
+
+ * lib/libfile.c (libfile_start): when FATAL, report `name', not it
+ concatenated with the default suffix.
+
+Wed Jan 15 13:01:30 1992 Karl Berry (karl at hayley)
+
+ * lib/GNUmakefile (c_only): remove xchdir and xgetcwd, as we don't
+ need them anymore.
+ * lib/pathsearch.c: changes from TeX.
+
Wed Jan 15 13:00:59 1992 Karl Berry (karl at hayley)
* configure.in: do not test for getwd.
@@ -1420,12 +3795,66 @@ Wed Jan 15 12:25:26 1992 Kathy Hargreaves (kathy at hayley)
boolean is sent in. (This gets around getting warnings for the
default alphabet SBI file.)
+Wed Jan 15 11:59:56 1992 Kathy Hargreaves (kathy at hayley)
+
+ * lib/filename.c (find_*_filename): only free `name' if it's not the
+ same string as `*_name'.
+
+Tue Jan 14 16:04:05 1992 Karl Berry (karl at hayley)
+
+ * include/config.h: include <sys/types.h> before <unistd.h>.
+ * include/types.h: don't include <sys/types.h> again.
+
+Tue Jan 14 13:14:46 1992 Kathy Hargreaves (kathy at hayley)
+
+ * imageto/main.c (get_image_info): when call libfile_start with
+ info_filename, specify "ifi" as the (now-default) suffix.
+ * imageto/main.c [USAGE] (info-file): use <filename>.ifi if <filename>
+ doesn't have a dotted suffix; otherwise use <filename>.
+
+Tue Jan 14 12:36:15 1992 Kathy Hargreaves (kathy at hayley)
+
+ * lib/bitmap.c (bitmap_find_transitions): make the last transition
+ always imply a black-to-white transition, even if ROW's last
+ pixel is black.
+ * lib/libfile.c (libfile_start): make FATAL2 report `name', not
+ `filename' as the library file not found. Also, only add suffix
+ to the library file name if it doesn't have one already.
+
+Sun Jan 12 16:29:11 1992 Kathy Hargreaves (kathy at hayley)
+
+ * lib/filename.c (make_suffix): copy suffix into new_s, not s.
+
+Sun Jan 12 14:58:11 1992 Karl Berry (karl at hayley)
+
+ * include/pathsearch.h (initialize_path_list): doc fix.
+
+Sun Jan 12 14:57:24 1992 Karl Berry (karl at hayley)
+
+ * lib/pathsearch.c (check_subdir): add every existing subdirectory,
+ even if it's not a leaf.
+
+Sun Jan 12 12:47:57 1992 Kathy Hargreaves (kathy at hayley)
+
+ * lib/libfile.c (libfile_start): don't prepend a dot to the suffix.
+ * lib/dir-p.c (dir_p): call stat instead of xstat.
+
Sun Jan 12 12:13:59 1992 Karl Berry (karl at hayley)
* Makefile.in (default_lib_path): remove `.', as it is added
automatically now.
* Makefile.in (.NOEXPORT): new target.
+Sat Jan 11 15:02:09 1992 Karl Berry (karl at hayley)
+
+ * include/pathsearch.h (initialize_path_list): declare additional arg.
+
+Sat Jan 11 15:01:02 1992 Karl Berry (karl at hayley)
+
+ * lib/filename.c (find_*_filename): set cwd_first_p.
+ * lib/pathsearch.c (initialize_path_list): take an additional
+ argument, saying whether to search `.' first.
+
Sat Jan 11 09:53:56 1992 Karl Berry (karl at hayley)
* Makefile.in (CFLAGS): remove -I$(srcdir), and use
@@ -1435,6 +3864,85 @@ Fri Jan 10 15:36:17 1992 Karl Berry (karl at hayley)
* Makefile.in (default_tfm_path): set to null.
+Fri Jan 10 07:41:51 1992 Karl Berry (karl at hayley)
+
+ * include/config.h (PATH_MAX): define this as the maximum length of a
+ filename.
+ * include/types.h (const_string): new type.
+ * include/config.h (DBL_MIN) [!DBL_MIN]: define it.
+ * include/tfm.h: include fix-num.h.
+ * include/varstring.h: change names to start with `vs'.
+ * include/filename.h (find_dpi): move decl to cmdline.h.
+ (basename): move to global.h.
+
+Fri Jan 10 07:40:50 1992 Karl Berry (karl at hayley)
+
+ * lib/xgetcwd.c (xgetcwd) [GETWD_MISSING]: if it's not missing, use
+ it.
+ * lib/filename.c (find_*_filename): only initialize the path lists
+ once.
+ * lib/pathsearch.c (expand_colon): if env_path is null, return the
+ default path.
+ * lib/file-input.c (MOVE_BACK): use xfseek.
+ * lib/filename.c (*_suffix): use strrchr instead of rpos.
+ * lib/varstring.c: change names to start with `vs'.
+ * lib/memory.c: split into various files.
+ * lib/math.c (adjacent_points): rename to `points_adjacent_p'.
+ * lib/math.c (find_bounds): use MAXDOUBLE and MINDOUBLE instead of
+ MAXFLOAT and MINFLOAT.
+ * lib/filename.c (find_dpi): move to cmdline.c.
+ (basename): move to basename.c.
+
+Thu Jan 9 11:22:04 1992 Karl Berry (karl at hayley)
+
+ * tfm/*.c: do not include global.h.
+
+Thu Jan 9 08:57:39 1992 Karl Berry (karl at hayley)
+
+ * lib/convert.c: split into various files.
+ * lib/GNUmakefile: update.
+ * lib/cmdline.c (scan_integer_list): rename to `scan_unsigned_list'.
+ * lib/*.c: do not include global.h.
+ * lib/arith.c: split into `scaled-num.c' and `fix-num.c'.
+ * lib/GNUmakefile: update.
+
+Thu Jan 9 08:41:59 1992 Karl Berry (karl at hayley)
+
+ * include/global.h: don't include kbase.h; declare commonly-used
+ routines here.
+ * include/kbase.h, include/convert.h: remove.
+ * include/cmdline.h: include getopt.h.
+ (scan_integer_list): rename to `scan_unsigned_list'.
+ * include/scaled-num.h, include/fix-num.h: new files.
+ * include/*.h: remove #pragma once.
+ * include/config.h: include global.h.
+ * include/config.h: update for new configuration stuff.
+ * include/types.h: include <sys/types.h>.
+
+Thu Jan 9 08:30:12 1992 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c (scan_column_split): rename `scan_integer_list' to
+ `scan_unsigned_list'.
+ * fontconvert/*.c: do not include global.h.
+ * fontconvert/*.h: remove #pragma once.
+
+Thu Jan 9 08:30:06 1992 Karl Berry (karl at hayley)
+
+ * gf/*.c: do not include global.h.
+ * gf/*.h: remove #pragma once.
+
+Thu Jan 9 08:29:52 1992 Karl Berry (karl at hayley)
+
+ * imageto/main.c (read_command_line): rename `scan_integer_list' to
+ `scan_unsigned_list'.
+ * imageto/*.c: do not include global.h.
+ * imageto/*.h: remove #pragma once.
+
+Thu Jan 9 08:29:21 1992 Karl Berry (karl at hayley)
+
+ * pk/*.c: do not include global.h.
+ * pk/*.h: remove #pragma once.
+
Thu Jan 9 07:55:08 1992 Karl Berry (karl at hayley)
* data/defslib.make (install): use `INSTALL_DATA' (except it's
@@ -1448,51 +3956,247 @@ Wed Jan 8 15:41:13 1992 Karl Berry (karl at hayley)
* configure: or this script.
* fontutils.in: the input to autoconf, so it can make the
configure script.
-
* GNUmakefile (programs): remove ospace and gsrenderfont, add
charspace.
-
* rename `lib' as `data', and `kbase' as `lib'. Merge `getopt'
into `lib'.
* GNUmakefile (libraries): change to match.
+Wed Jan 8 15:30:11 1992 Karl Berry (karl at hayley)
+
+ * include/config.h: do not include conf-sys.h, as we don't need it
+ any more; change `conf-sysauto.h' to `config-auto.h'.
+ * include: update copyright messages.
+ * include: change `allocate to `xmalloc', `reallocate' to `xrealloc',
+ and `string_copy' to `strdup'.
+
+Wed Jan 8 15:28:56 1992 Karl Berry (karl at hayley)
+
+ * fontconvert: update copyright messages.
+ * fontconvert: change `allocate to `xmalloc', `reallocate' to `xrealloc'
+ , and `string_copy' to `strdup'.
+
+Wed Jan 8 15:28:34 1992 Karl Berry (karl at hayley)
+
+ * gf: update copyright messages.
+ * gf: change `allocate to `xmalloc', `reallocate' to `xrealloc', and
+ `string_copy' to `strdup'.
+
+Wed Jan 8 15:28:00 1992 Karl Berry (karl at hayley)
+
+ * imageto: update copyright messages.
+ * imageto: change `allocate to `xmalloc', `reallocate' to `xrealloc',
+ and `string_copy' to `strdup'.
+
+Wed Jan 8 15:25:17 1992 Karl Berry (karl at hayley)
+
+ * tfm: update copyright messages.
+ * tfm: change `allocate to `xmalloc', `reallocate' to `xrealloc', and
+ `string_copy' to `strdup'.
+
+Wed Jan 8 15:05:33 1992 Karl Berry (karl at hayley)
+
+ * pk/update copyright messages.
+ * pk: change `allocate to `xmalloc', `reallocate' to `xrealloc', and
+ `string_copy' to `strdup'.
+
+Wed Jan 8 09:14:45 1992 Karl Berry (karl at hayley)
+
+ * lib/update copyright messages.
+ * lib/change `allocate to `xmalloc', `reallocate' to `xrealloc', and
+ `string_copy' to `strdup'.
+ * lib/list.c: doc fix.
+
+Tue Jan 7 17:28:07 1992 Karl Berry (karl at hayley)
+
+ * lib/filename.c (expand_colon): don't put the default value at the
+ end if we've already put it at the beginning.
+
+Tue Jan 7 17:26:38 1992 Karl Berry (karl at hayley)
+
+ * include/bitmap.h: doc fix.
+
+Mon Jan 6 16:49:26 1992 Karl Berry (karl at claude.cs.umb.edu)
+
+ * fontconvert/main.c (USAGE): new option `randomize'.
+ (do_char): if set, call `randomize_bitmap'.
+ * fontconvert/random.[ch]: new files.
+ (random_max): new global.
+
+Wed Jan 1 16:45:14 1992 Kathy Hargreaves (kathy at hayley)
+
+ * gf/gf_output.c (gf_put_preamble): Just truncate comment if it's too
+ long, instead of fataling.
+
Tue Dec 24 16:41:51 1991 Kathy Hargreaves (kathy at hayley)
* GNUmakefile (DEFAULT_LIB_PATH): define using $(shell pwd), not
the nonexistent $(PWD).
+Mon Dec 23 16:47:05 1991 Karl Berry (karl at hayley)
+
+ * include/encoding.h (encoding_number): new declaration.
+
+Fri Nov 22 16:38:13 1991 Karl Berry (karl at hayley)
+
+ * include/tfm.h (TFM_VERSION_PARAMETER): new font parameter.
+
+Wed Nov 20 08:38:28 1991 Karl Berry (karl at hayley)
+
+ * include/varstring.h: doc fix.
+
Sun Nov 17 06:55:50 1991 Karl Berry (karl at hayley)
* data/postscript.map: don't refer to `postscript.c', since it's been
renamed to pstype3.c.
+Tue Oct 1 11:55:29 1991 Karl Berry (karl at hayley)
+
+ * include/Bitmap.h: document FillSelection.
+
Tue Oct 1 10:07:34 1991 Karl Berry (karl at hayley)
* all files: change copyright notices to not use dashes.
+Tue Oct 1 07:52:47 1991 Karl Berry (karl at hayley)
+
+ * gf/gf_input.c (deblank): remove blank rows at the top and bottom.
+
+Tue Sep 17 16:54:26 1991 Karl Berry (karl at hayley)
+
+ * tfm/tfm_input.c (tfm_get_bcpl_string): append a null to the data.
+
+Thu Sep 12 11:06:58 1991 Karl Berry (karl at hayley)
+
+ * lib/malloc.c (malloc_sanity_check): new function.
+ * lib/bitmap.c (bitmap_find_transitions): rearrange logic for clarity.
+ * lib/malloc.c, getpagesize.h: new files.
+ * lib/GNUmakefile (c_only): add Doug Lea's malloc.
+ (malloc_stats, malloc_inline): new variables.
+ (malloc.o): rule to explicitly use them.
+
+Thu Sep 12 10:24:14 1991 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c (read_command_line): new option, `-epsf'.
+ (main): initialize and finalize epsf output (if desired).
+ (do_char): output the characters in epsf (if desired).
+ * fontconvert/epsf-output.[ch]: new files.
+ * fontconvert/GNUmakefile (files): add `epsf-output'.
+ * fontconvert/output-tfm.c (tfm_output_char): set the character code.
+
+Tue Jul 30 13:20:02 1991 Karl Berry (karl at ra.cs.umb.edu)
+
+ * tfm: Version 0.3.
+
+Tue Jul 30 13:19:47 1991 Karl Berry (karl at ra.cs.umb.edu)
+
+ * pk: Version 0.3.
+
Tue Jul 30 13:19:05 1991 Karl Berry (karl at ra.cs.umb.edu)
* data: Version 0.3.
+Tue Jul 30 13:18:57 1991 Karl Berry (karl at ra.cs.umb.edu)
+
+ * include: Version 0.3.
+
+Tue Jul 30 13:18:48 1991 Karl Berry (karl at ra.cs.umb.edu)
+
+ * imageto: Version 0.3.
+
+Tue Jul 30 13:18:12 1991 Karl Berry (karl at ra.cs.umb.edu)
+
+ * lib: Version 0.3.
+
+Tue Jul 30 13:18:02 1991 Karl Berry (karl at ra.cs.umb.edu)
+
+ * gf: Version 0.3.
+
+Tue Jul 30 13:17:47 1991 Karl Berry (karl at ra.cs.umb.edu)
+
+ * fontconvert: Version 0.3.
+
Tue Jul 30 13:16:38 1991 Karl Berry (karl at ra.cs.umb.edu)
* Version 0.3.
+Fri Jul 26 10:37:51 1991 Karl Berry (karl at hayley)
+
+ * include/vector.h: doc fix.
+
Fri Jul 26 10:33:26 1991 Karl Berry (karl at hayley)
* PROJECTS: new file.
-
* GNUmakefile (programs): `fit-outlines' is now `limn'; include
`gsrenderfont'.
+Fri Jul 26 07:02:28 1991 Karl Berry (karl at hayley)
+
+ * imageto/main.c (get_image_info): read the left and side bearings from
+ the IFI file, if present.
+ (bitmap_to_gf_char): use these numbers.
+ * imageto/image-char.h (image_char_type): new members `lsb' and `rsb'.
+ (IMAGE_CHAR_{L,R}SB): new accessor macros.
+
Wed Jul 24 15:17:33 1991 Karl Berry (karl at ra.cs.umb.edu)
* configure: exit 0 at the end.
+Wed Jul 24 06:34:11 1991 Karl Berry (karl at hayley)
+
+ * lib/bitmap.c (concat_bitmaps): remove; it's only used in one program.
+ * lib/bitmap.c (new_bitmap): call it.
+ * lib/memory.c (xcalloc): new routine.
+
+Wed Jul 24 06:32:44 1991 Karl Berry (karl at hayley)
+
+ * include/bitmap.h (concat_bitmaps): remove.
+ * include/kbase.h (xcalloc): new fn declaration.
+
+Wed Jul 24 06:07:11 1991 Karl Berry (karl at hayley)
+
+ * imageto/bitmap2.c (bitmap_concat): the height of the result is the
+ height of one, not twice that.
+ * imageto/main.c (do_image_line): rename `concat_bitmaps' to
+ `bitmap_concat'.
+ * imageto/GNUmakefile (files): new file `bitmap2'.
+ * imageto/main.c (do_image_line): return a boolean saying if we need
+ another image row.
+ (main): if `do_image_line' fails, read more of the image.
+ * imageto/extract.h (append_next_image_row): declare new routine.
+ * imageto/extract.c (append_next_image_row): define it.
+ (get_image_row): new routine.
+ (some_black_to_all_white_row): call `get_image_row'.
+ * imageto/make-gsfont.ps (octal-value): prepend 0 to the character code.
+ * imageto/extract.c (some_black_to_all_white_row): use xcalloc to
+ initialize `or_of_all', not allocate. We need it to be all zeroes
+ initially.
+ * imageto/main.c, version.c: change `imgtogf' to `imagetofont'.
+ * imageto/make-gsfont.ps: remove all the if-verbose's.
+ * imageto/main.c: doc fix.
+
+Mon Jul 22 07:54:42 1991 Karl Berry (karl at hayley)
+
+ * imageto/make-gsfont.ps (output-encoding): set /output-encoding to the
+ dictionary.
+ * imageto/main.c: output ``imagetofont'' as our name in the GF file
+ header, instead of ``IMGtoGF''.
+ * imageto/make-gsfont.ps (print-char-dimensions-if-verbose): lose the
+ `-if-verbose'.
+ * imageto/make-gsfont.ps (octal-value): `get' the character name, don't
+ `load' it, so we find it in the right dictionary.
+ * imageto/libpbm1.c: declare parms, external functions to avoid warnings
+
Mon Jul 22 06:08:10 1991 Karl Berry (karl at hayley)
* GNUmakefile (programs): add imagetofont.
+Fri Jul 19 09:39:58 1991 Karl Berry (karl at hayley)
+
+ * include/paths.h-dist (DEFAULT_LIB_PATH): the envvar is FONTUTIL_LIB,
+ not AUX_FONT_FILES.
+ * include/global.h [STDLIB_H]: reverse conditional, to STDLIB_H_MISSING.
+
Fri Jul 19 09:11:07 1991 Karl Berry (karl at hayley)
* data/defs.make (XINCLUDES): remove this.
@@ -1506,11 +4210,140 @@ Fri Jul 19 08:31:06 1991 Karl Berry (karl at hayley)
* config: rename to configure.
* configfiles: rename to config.
+Tue Jul 16 17:21:19 1991 Karl Berry (karl at hayley)
+
+ * tfm/tfm_util.c (tfm_get_kern): move from tfm_input.c, and take a tfm
+ char as an arg, instead of using the tfm_char_table from the font.
+
+Tue Jul 16 08:25:49 1991 Karl Berry (karl at hayley)
+
+ * include/bitmap.h: doc fix.
+
+Tue Jul 16 08:24:08 1991 Karl Berry (karl at hayley)
+
+ * lib/memory.c (allocate): don't do assignment inside if.
+ * lib/bitmap.c (bitmap_find_transitions): we don't need to look at the
+ first black pixel twice.
+
+Mon Jul 15 18:02:28 1991 Karl Berry (karl at hayley)
+
+ * include/convert.h (POINTS_TO_PIXELS): round the result after adding .5
+ not before.
+
+Fri Jul 5 07:54:04 1991 Karl Berry (karl at hayley)
+
+ * include/xt-common.h (DEFINE_RESOURCE): take the field name as an arg.
+ (IMMEDIATE_RESOURCE2): new macro.
+ (IMMEDIATE_RESOURCE): call above.
+ * include/xt-common.h (Pointer): define to be a synonym for XtPointer.
+ * include/kbase.h (XRETALLOC): new macro to go with XTALLOC.
+
+Thu Jul 4 16:20:53 1991 Karl Berry (karl at hayley)
+
+ * include/convert.h (POINTS_TO_PIXELS): round the result.
+
+Sun Jun 30 09:13:26 1991 Karl Berry (karl at hayley)
+
+ * include/xt-common.h (DEFINE_RESOURCE, IMMEDIATE_RESOURCE,
+ STRING_RESOURCE): new macros.
+ * include/Item.h: include types.h.
+
+Fri Jun 28 09:09:59 1991 Karl Berry (karl at hayley)
+
+ * lib/font.c (close_font): only close the TFM file if the font is not
+ bitmap-only.
+
Fri Jun 28 08:59:06 1991 Karl Berry (karl at hayley)
* data/defslib.make ($(library).a): remove the .a file before remaking
it.
+Thu Jun 27 11:26:58 1991 Karl Berry (karl at hayley)
+
+ * include/xt-common.h (XFIND_WIDGET): improve error message.
+ * include/Bitmap.h: include bitmap.h.
+ * include/font.h (get_char, get_raw_char, raw_char_type): use
+ `charcode_type' for the character codes.
+
+Tue Jun 25 08:54:57 1991 Karl Berry (karl at hayley)
+
+ * include/Bitmap.h (BITMAP_DEFAULT_EXPANSION): new symbol.
+
+Thu Jun 20 08:06:07 1991 Karl Berry (karl at hayley)
+
+ * include/xt-common.h (XFIND_WIDGET): safeguard against a collision with
+ the name `w'.
+ * include/types.h (charcode_type): define to be `one_byte', not `int'.
+ * include/tfm.h (tfm_global_info_type): use `charcode_type' for the
+ character codes.
+ * include/font.h (char_info_type): likewise.
+
+Tue Jun 18 07:05:03 1991 Karl Berry (karl at hayley)
+
+ * include/xt-common.h (XFIND_WIDGET): new macro.
+
+Mon Jun 17 15:21:49 1991 Karl Berry (karl at hayley)
+
+ * fontconvert/output-tfm.c (tfm_output_char): change calls to
+ `PIXELS_TO_POINTS'.
+
+Mon Jun 17 09:52:44 1991 Karl Berry (karl at hayley)
+
+ * include/xt-common.h (XTPARSE_CHAR_CODE): new macro.
+ * include/Item.h (ItemGetLabelString): new fn.
+ * include/global.h (PIXELS_TO_POINTS): move to convert.h.
+ * include/convert.h (POINTS_TO_PIXELS): new macro.
+ * include/xt-common.h (XTARG, SINGLE_CALLBACK, DECLARE_BUTTON,
+ DEFINE_BUTTON): new macros.
+
+Sun Jun 16 07:47:49 1991 Karl Berry (karl at hayley)
+
+ * tfm/tfm_output.c (put_lig_kern_info): output a `stop' after each
+ character, since it isn't implied by a `label'.
+ * tfm/tfm_output.c (tfm_put_global_info): don't output a checksum
+ property if the checksum is zero.
+
+Sat Jun 15 09:54:19 1991 Karl Berry (karl at hayley)
+
+ * tfm/tfm_input.c (tfm_get_chars, tfm_get_char): set the `code' member
+ of the TFM character structure.
+ * tfm/tfm_output.c (put_pl_lig_kern_table): rename to
+ `put_lig_kern_info' and rewrite to take a single character.
+ (tfm_put_char): new routine to output only one character.
+ (tfm_put_chars): call `tfm_put_char'.
+ * tfm/all files: change `checked_' to `x'.
+
+Sat Jun 15 09:53:33 1991 Karl Berry (karl at hayley)
+
+ * pk: all files: change `checked_' to `x'.
+
+Sat Jun 15 09:51:45 1991 Karl Berry (karl at hayley)
+
+ * lib/font.c (get_font): set the new `tfm_font' and `tfm_filename'
+ members.
+ * lib/{dirio,file-misc,file-open,filename,libfile}.c: change
+ `checked_' to `x'.
+
+Sat Jun 15 09:50:46 1991 Karl Berry (karl at hayley)
+
+ * imageto/input-*.c: change `checked_' to `x'.
+
+Sat Jun 15 09:50:04 1991 Karl Berry (karl at hayley)
+
+ * gf/all files: change `checked_' to `x'.
+
+Sat Jun 15 09:23:41 1991 Karl Berry (karl at hayley)
+
+ * include/font.h (font_info_type): new member `tfm_filename'.
+ (FONT_TFM_FILENAME): new macro to get it.
+ * include/file-misc.h (xmove_file): new routine.
+ * include/tfm.h (tfm_char_type): new member `code'.
+ * include/tfm.h (tfm_put_char): new routine.
+ * include/font.h (get_bitmap_font): doc fix.
+ * include/{dirio,font-open,font-misc}.h: change `checked_' to `x'.
+ * include/font.h (font_info_type): new member `tfm_font'.
+ (FONT_TFM_FONT): new macro to get it.
+
Fri Jun 14 15:35:46 1991 Karl Berry (karl at hayley)
* data/defs.make (OPT, LDOPT): replace with XCFLAGS and XLDFLAGS.
@@ -1520,10 +4353,21 @@ Fri Jun 14 15:35:46 1991 Karl Berry (karl at hayley)
* data/defslib.make (install): remove this target; the libraries don't
get installed anywhere anymore.
+Wed Jun 12 10:48:42 1991 Karl Berry (karl at hayley)
+
+ * include/font.h (CHAR_BITMAP_{WIDTH,HEIGHT}, CHAR_{MIN,MAX}_{COL,ROW}):
+ remove extra parentheses.
+
Wed Jun 12 05:42:44 1991 Karl Berry (karl at hayley)
* GNUmakefile (tags): rename to `TAGS'.
- (distclean): new target.
+ (distclean): new target.
+
+Tue Jun 11 16:46:25 1991 Karl Berry (karl at hayley)
+
+ * lib/font.c (get_char): use XTALLOC.
+ * lib/font.c (close_font): close the TFM file here, instead of in
+ `get_font'.
Tue Jun 11 16:40:34 1991 Karl Berry (karl at hayley)
@@ -1532,26 +4376,369 @@ Tue Jun 11 16:40:34 1991 Karl Berry (karl at hayley)
(tags): rename to `TAGS'.
(webclean): delete.
+Tue Jun 11 15:17:51 1991 Karl Berry (karl at hayley)
+
+ * tfm/tfm_util.c (tfm_new_chars): use XTALLOC.
+ * tfm/tfm_input.c (tfm_get_char): new routine.
+ * tfm/tfm_input.c (tfm_get_kern): check if the character exists before
+ looking at its kern list. Also, use LIST_... macros instead of
+ doing direct selection. Also, use `charcode_type' instead of
+ `one_byte'.
+ * tfm/tfm_util.c (tfm_set_kern): likewise.
+ * tfm/tfm_input.c (tfm_get_global_info, tfm_get_chars): don't save and
+ restore the file position.
+ * tfm/tfm_input.c (get_tfm_char): rename to `get_char'.
+
+Tue Jun 11 15:06:04 1991 Karl Berry (karl at hayley)
+
+ * include/tfm.h (tfm_ligature_type, tfm_kern_type): use `charcode_type'
+ instead of `one_byte'.
+ (tfm_{g,s}et_kern): likewise.
+ * include/kbase.h (XTALLOC): new macro to allocate N items of a
+ particular type.
+
Sun Jun 9 13:44:07 1991 Karl Berry (karl at hayley)
* data/defs.make (proginstall, fileinstall): use -f for installation.
+Sun Jun 9 13:23:59 1991 Karl Berry (karl at hayley)
+
+ * lib/font.c (string_to_bitmap): use `BITMAP_PIXEL (CHAR_BITMAP'...
+ instead of `CHAR_BITMAP_PIXEL'.
+
+Sun Jun 9 11:14:40 1991 Karl Berry (karl at hayley)
+
+ * include/font.h (CHAR_BITMAP_PIXEL): remove this.
+
+Thu Jun 6 07:31:49 1991 Karl Berry (karl at hayley)
+
+ * tfm: All files: change to version 2 of the GPL.
+
+Thu Jun 6 07:31:28 1991 Karl Berry (karl at hayley)
+
+ * pk: All files: change to version 2 of the GPL.
+
Thu Jun 6 07:30:56 1991 Karl Berry (karl at hayley)
* data/*.make: change to version 2 of the GPL.
+Thu Jun 6 07:30:07 1991 Karl Berry (karl at hayley)
+
+ * lib: All files: change to version 2 of the GPL.
+
+Thu Jun 6 07:29:43 1991 Karl Berry (karl at hayley)
+
+ * include/All files: change to version 2 of the GPL.
+
+Thu Jun 6 07:29:06 1991 Karl Berry (karl at hayley)
+
+ * imageto/All files: change to version 2 of the GPL.
+
+Thu Jun 6 07:28:10 1991 Karl Berry (karl at hayley)
+
+ * gf/all files: change to version 2 of the GPL.
+
+Thu Jun 6 07:26:13 1991 Karl Berry (karl at hayley)
+
+ * All files: change to version 2 of the GPL.
+
Thu Jun 6 07:11:45 1991 Karl Berry (karl at hayley)
* COPYING: change to version 2 of the GPL.
+Sat Jun 1 16:00:03 1991 Kathy Hargreaves (kathy at hayley)
+
+ * lib/libfile.c (libfile_start): Don't concat a `.' to suffix if it's
+ the empty string.
+
+Sat Jun 1 15:18:11 1991 Kathy Hargreaves (kathy at hayley)
+
+ * imageto/main.c (get_image_info): Now build an info filename if the
+ variable info_filename *is* NULL, not when it's not.
+ (USAGE): Deleted that resolution was set only for pbm input.
+ Stated that input-format is required and shortened comment.
+
+Fri May 31 14:31:51 1991 Kathy Hargreaves (kathy at hayley)
+
+ * include/cmdline.h (GET_PERCENT): Changed test of temp to be > 100, not
+ >= 100.
+
+Fri May 31 14:30:01 1991 Kathy Hargreaves (kathy at hayley)
+
+ * imageto/imgtogf: Moved directory to `imagetofont'.
+ * imageto/GNUmakefile: Changed program name from `imgtogf' to
+ `imagetofont'.
+ * imageto/main.c (get_image_info): Make default image info file be
+ <fontname>.ifi instead of imginf.<fontname>.
+ * imageto/main.[hc], input-*.[hc]: *_get_header now don't return a
+ header but rather modify the global header in main.c. Changed
+ all references to `[img, pbm]_header->' to `image_header.'.
+ * imageto/main.c, image-char.[hc]: Replaced all instances of `img_char'
+ with `image_char'.
+ * imageto/image-char.[hc]: Moved from img-char.[hc].
+ * imageto/main.h (image_header): Made this visible to the outside.
+ * imageto/input-[pbm, img].c ([pbm, img]_get_header): Set h to
+ image_header in main.c. #include main.h.
+ * imageto/main.c (read_command_line): Cast the assignment to
+ image_header.hres to type two_bytes.
+ * imageto/image-header.h, input-*.[hc], main.[hc]: Changed
+ `img-header.h' to `image-header.h'.
+ * imageto/main.c: Replaced all instances of `img_header*' with
+ `image_header*'. Moved `img_' and `pbm_' to the front of the
+ function names.
+ * imageto/img-header.h: Moved to image_header.h and replaced all
+ instances of `img_header*' with `image_header*'.
+ * imageto/input-img.[hc] (*_img_*): Moved `img_' to the front of the
+ variable names. Replaced instances of `img_header_type' with
+ `image_header_type'.
+ * imageto/input-pbm.[hc] (*_pbm_*): Moved `pbm_' to the front of the
+ variable names.
+ * imageto/extract.c, strips.c: (ptr_get_scanline): Removed `ptr_' from
+ in front of this function's name and replaced it with `image'.
+ Replaced instances of `img_header*' with `image_header*', if any.
+ * imageto/main.h (ptr_open_input_file, ptr_close_input_file,
+ ptr_get_header, ptr_get_scanline): Removed `ptr_' from the front of
+ all these names and replaced it with `image'. Replaced
+ `img_header_type' with `image_header_type'.
+ * imageto/main.c (ptr_open_input_file, ptr_close_input_file,
+ ptr_get_header, ptr_get_scanline): Moved and set all to NULL.
+ Removed `ptr_' from the front of all these names and replaced it
+ with `image'.
+ (read_command_line): Remove "img-input-format" from option
+ structure.
+ Removed variable need_resolutions, as don't need it.
+ Force them to specify the input format on the command line
+ rather than having a default.
+
+Wed May 29 16:19:57 1991 Kathy Hargreaves (kathy at hayley)
+
+ * imageto/input-pbm.c (line_in_bytes): Deleted this global variable, as
+ don't need it. (pbm_readpbmrow reads right into line_in_bits in
+ get_pbm_scanline.)
+ * imageto/pbm.h: Took out #include for types.h.
+ * imageto/input-pbm.c (get_pbm_scanline): Check if at EOF before calling
+ pbm_readpbmrow.
+ * imageto/libpbm2.c (pbm_readpbmrow): Restored to original; can test if
+ at EOF in the wrapper get_pbm_scanline.
+ Took out #include for types.h.
+ * imageto/input-pbm.c (get_pbm_scanline): Hooked up to libpbm2.c routine
+ * imageto/main.c (read_command_line): Combined some options and changed
+ their names and their input.
+ Make input-format take an argument.
+
+Wed May 29 15:54:41 1991 Kathy Hargreaves (kathy at hayley)
+
+ * include/cmdline.h (ARGUMENT_IS): Remove unnecesary surrounding parens.
+
+Mon May 27 14:52:45 1991 Kathy Hargreaves (kathy at hayley)
+
+ * imageto/main.c (read_commandline): If both resolutions are missing and
+ are required on the commandline, print that they both are, not
+ just that the horizontal one is.
+ * imageto/bb-outline.c (is_outline_edge): Changed VALID_LOCATION to
+ BITMAP_VALID_PIXEL.
+ * imageto/pbmplus.h: Commented out malloc, etc. declarations.
+ * imageto/libpbm2.c (pbmreadpbmrow): Make it return a boolean instead of
+ a void, so will fit into our code.
+ Make it return false instead of an error message.
+ * imageto/pbm.h (top): pbmplus.h is in the current directory, so take
+ out the `../' before it in the #include.
+ (pbmreadpbmrow): Make it return a boolean instead of a void, so
+ will fit into our code.
+ * imageto/extract.c (top): Now #include input-pbm.h.
+ (some_black_to_all_white_row): Changed all instances of
+ get_img_scanline to get_scanline.
+ * imageto/input-img.c (top): Now #include img-header.h.
+ (get_img_header): Got rid of variable format, as now put that in
+ the header.
+ * imageto/main.c: (open_input_file, close_input_file, get_header,
+ get_scanline): Declared these pointers to functions so could set
+ them to a set of routines belonging to the type of input we're
+ using. Set them to .pbm input format routines as a default.
+ (font_name_extension): Added this static variable so could set
+ it when get read the input format on the command line. Set to
+ `.pbm' by default.
+ (main): Initialize img_header to all zeros so will know if the
+ user set them using the command line.
+ Changed call to open_img_input_file to open_input_file and
+ concat font_name_extension instead of ".img" for the argument.
+ Changed some comments.
+ Changed the call to get_img_header to get_header.
+ Changed the call to close_img_input_file to close_input_file.
+ (USAGE): Added horz-resolution, img-input-format,
+ pbm-input-format, and vert-resolution.
+ (read_command_line): Added boolean variable need_resolutions to
+ keep track of whether or not the user needs to input the
+ horizontal and vertical resolutions on the command line.
+ Added horz-resolution, img-input-format, pbm-input-format, and
+ vert-resolution to the option variable long_options.
+ If the argument is horz-resolution or vert-resolution, then set
+ the appropriate field in the header.
+ If the argument if img-input-format or pbm-input-format, the set
+ the input function pointers in main to the appropriate set of
+ functions that belong to the input format. If the argument is
+ the former, then set needs_resolution to false; if it's the latter,
+ set it to true.
+ If the user wants .pbm input format, then check that the header's
+ resolutions are set; if not, issue an error message and exit.
+ * imageto/main.h (open_input_file, close_input_file, get_header,
+ get_scanline):
+ Added these function pointer declarations so extract.c and strips.c
+ could use them.
+ * imageto/strips.c (top): Now #include input-pbm.h.
+ (write_chars_as_strips): Changed the call to get_img_scanline to
+ a call to get_scanline.
+
+Tue May 21 10:49:16 1991 Karl Berry (karl at hayley)
+
+ * include/tfm.h (tfm_get_char): new routine.
+ * include/types.h (file_descriptor_type): delete.
+ (charcode_type): new type definition.
+
+Thu May 16 07:36:07 1991 Karl Berry (karl at hayley)
+
+ * include/font.h: doc fix.
+ * include/xmessage.h: new file.
+
+Thu May 16 07:35:47 1991 Karl Berry (karl at hayley)
+
+ * lib/GNUmakefile (files): include `xmessage' (from xbce).
+ * lib/xmessage.c: new file.
+
+Fri Apr 26 15:29:32 1991 Karl Berry (karl at hayley)
+
+ * include/global.h (SIGN, MAX_EQUALS, MIN_EQUALS): new macros.
+
+Tue Apr 23 13:39:09 1991 Karl Berry (karl at ra.cs.umb.edu)
+
+ * gf/gf_input.c (get_paint): remove assertion that we're at a valid
+ location.
+
+Sun Apr 21 17:38:48 1991 Karl Berry (karl at hayley)
+
+ * lib/bitmap.c (bitmap_to_bb): declare the arg as const.
+
+Sun Apr 21 17:34:20 1991 Karl Berry (karl at hayley)
+
+ * include/bitmap.h (VALID_LOCATION): rename to `BITMAP_VALID_PIXEL'.
+ (bitmap_to_bb): declare the arg as const.
+
+Mon Apr 15 14:06:32 1991 Karl Berry (karl at hayley)
+
+ * include/encoding.h: doc fix.
+
+Sun Apr 14 13:45:29 1991 Karl Berry (karl at hayley)
+
+ * lib/bitmap.c (print_bitmap): use `bitmap_to_bb' instead of
+ `dimensions_to_bb'.
+
+Sat Apr 13 17:38:43 1991 Karl Berry (karl at hayley)
+
+ * include/libfile.h: doc fix.
+
+Sat Apr 13 17:13:51 1991 Karl Berry (karl at hayley)
+
+ * imageto/main.c (get_image_info): use the libfile routines to read the
+ image info files.
+ * imageto/main.c, input-img.c: new includes from the library
+ rearrangements.
+
Sat Apr 13 17:06:15 1991 Karl Berry (karl at hayley)
* data/cmtext.enc: rename to textext.enc.
+Fri Apr 12 15:12:32 1991 Karl Berry (karl at hayley)
+
+ * lib/math.c: doc fix.
+ * lib/GNUmakefile (files): add `report' and `logreport'.
+ * lib/{log,}report.c: new files.
+
+Fri Apr 12 15:12:12 1991 Karl Berry (karl at hayley)
+
+ * include/logreport.h: new file.
+
+Wed Apr 10 11:27:49 1991 Karl Berry (karl at hayley)
+
+ * lib/font.c (save_internal_font): omit needless casts.
+
+Mon Apr 8 08:39:19 1991 Karl Berry (karl at hayley)
+
+ * include/font.h (ascender_part): remove declaration.
+
Mon Apr 8 08:34:13 1991 Karl Berry (karl at hayley)
* data/cmtext.enc: add ligatures.
+Mon Apr 8 07:57:20 1991 Karl Berry (karl at hayley)
+
+ * lib/font.c (ascender_part): move to ospace.
+ * lib/encoding.c (parse_encoding_line): make a copy of the character
+ name, since the line gets freed.
+ * lib/encoding.c (read_encoding_file): reinitialize the character
+ code, so we fill up the right array.
+ * lib/libfile.c (libfile_start): prepend the `.' to the suffix.
+
+Sun Apr 7 14:34:06 1991 Karl Berry (karl at hayley)
+
+ * lib/file-output.c (put_signed_four): declare this as a macro in the
+ .h file.
+
+Sun Apr 7 14:30:30 1991 Karl Berry (karl at hayley)
+
+ * include/file-output.c (put_signed_two, put_signed_byte): new routines.
+ (put_signed_four): make a #define.
+
+Thu Apr 4 07:03:36 1991 Karl Berry (karl at hayley)
+
+ * lib/font.c (get_char): don't allocate any space unless the character
+ actually exists in the font.
+
+Thu Apr 4 05:48:15 1991 Karl Berry (karl at hayley)
+
+ * tfm/tfm_util.c (tfm_new_chars): call `tfm_new_char'.
+ * tfm/tfm_output.c (put_pl_lig_kern_table): test different characters
+ as we go through the loop! How did this one get past? Ohh, now
+ I see -- I was incrementing the pointer.
+ * tfm/tfm_output.c (put_pl_lig_kern_table): test >0 instead of !=0 on
+ the (unsigned) count variables.
+
+Wed Apr 3 11:43:28 1991 Karl Berry (karl at hayley)
+
+ * tfm/tfm_output.c (tfm_init_global_info): initialize the number of
+ parameters to zero.
+ * tfm/tfm_output.c (put_pl_lig_kern_table): don't output a lig/kern
+ program for a character that doesn't exist -- either the left or
+ the right.
+
+Tue Apr 2 06:48:27 1991 Karl Berry (karl at hayley)
+
+ * tfm/tfm_util.c (tfm_set_fontdimens): assign zero to all the
+ intervening fontdimens when we set the fontsize; reset the
+ parameter count.
+ * tfm/tfm_output.c (tfm_put_global_info): output the number of
+ parameters we have, instead of trying to find the last nonzero
+ one.
+ * tfm/tfm_output.c (put_string_prop): don't output a space if there is
+ no value to the string property.
+
+Tue Apr 2 06:40:10 1991 Karl Berry (karl at hayley)
+
+ * include/tfm.h (TFM_AXISHEIGHT_PARAMETER): I omitted the parameter
+ number for this (22).
+
+Mon Apr 1 07:57:58 1991 Karl Berry (karl at hayley)
+
+ * lib/{encoding,libfile}.c: new files.
+ GNUmakefile (files): add them to the list.
+
+Mon Apr 1 07:53:15 1991 Karl Berry (karl at hayley)
+
+ * include/encoding.h, libfile.h: new files.
+
+Sun Mar 31 14:45:03 1991 Karl Berry (karl at hayley)
+
+ * include/font.h (get_char): doc fix.
+
Sat Mar 30 03:54:14 1991 Karl Berry (karl at hayley)
* data/texlatin.enc: change `quoteright' to `caron', on the advice of
@@ -1566,10 +4753,32 @@ Sun Mar 24 16:59:49 1991 Karl Berry (karl at hayley)
* data/texlatin.enc: new file.
+Sun Mar 24 16:22:44 1991 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c (read_command_line): don't concatenate with the old
+ fontdimens, just assign `fontdimens' from the argument.
+ * fontconvert/output-tfm.c (fontdimens): move definition of global here
+ from `main.c'.
+ * fontconvert/output-tfm.h (fontdimens): declare it.
+
Sun Mar 24 16:17:03 1991 Karl Berry (karl at hayley)
* GNUmakefile (dist): new dependencies `depend' and `TAGS'.
+Sat Mar 23 16:42:39 1991 Karl Berry (karl at hayley)
+
+ * lib/font.c (delete_internal_font): free the memory for the internal
+ font, and for the font name.
+
+Sat Mar 23 16:23:31 1991 Karl Berry (karl at hayley)
+
+ * include/tfm.h: doc fix.
+
+Mon Mar 11 09:24:01 1991 Karl Berry (karl at hayley)
+
+ * include/bzr.h (bzr_preamble_type): remove the member `space'.
+ (BZR_SPACE): remove this macro.
+
Mon Mar 11 08:19:59 1991 Karl Berry (karl at hayley)
* GNUmakefile (dist): put bzrto/KKBuildChar.PS in the
@@ -1579,6 +4788,55 @@ Sun Mar 10 16:26:14 1991 Karl Berry (karl at hayley)
* GNUmakefile (DEFAULT_TFM_PATH): change the default to `.'.
+Sun Mar 10 13:12:51 1991 Karl Berry (karl at hayley)
+
+ * tfm/tfm_input.c (get_tfm_params): save the number of parameters we
+ read.
+ * tfm/tfm_output.c (tfm_put_global_info): output as many parameters as
+ we have, instead of just the first six.
+ * tfm/tfm_input.c (get_tfm_params): likewise, for reading.
+ * tfm/tfm_output.c (tfm_init_global_info): new routine.
+
+Sun Mar 10 10:21:52 1991 Karl Berry (karl at hayley)
+
+ * fontconvert/output-tfm.c (tfm_start_output): call
+ `tfm_init_global_info' and don't bother setting the checksum and
+ coding scheme.
+
+Sun Mar 10 10:19:39 1991 Karl Berry (karl at hayley)
+
+ * include/tfm.h (tfm_global_info_type): new member `parameter_count'.
+ (TFM_FONT_PARAMETER_COUNT): new macro to get it.
+ * include/tfm.h (tfm_init_global_info): declare this.
+
+Sat Mar 9 17:23:42 1991 Karl Berry (karl at hayley)
+
+ * tfm/tfm_util.c (tfm_set_fontdimens): new routine.
+
+Sat Mar 9 17:06:57 1991 Karl Berry (karl at hayley)
+
+ * lib/string.c: declare args to routines as const.
+ * lib/string.c (lowercasify): new routine.
+
+Sat Mar 9 17:00:11 1991 Karl Berry (karl at hayley)
+
+ * include/tfm.h (TFM_CHECKSUM, TFM_DESIGN_SIZE, TFM_CODING_SCHEME): new
+ accessor macros for `tfm_global_info_type'.
+ (TFM_MAX_FONT_PARAMETERS): define this.
+ (tfm_global_info_type): define the parameters as an array, instead
+ of as separate members.
+ (TFM_FONT_PARAMETER): new macro to get at the parameters.
+ * include/kbase.h (string functions): declare args as const.
+ * include/kbase.h (lowercasify): declare this.
+
+Sat Mar 9 16:17:39 1991 Karl Berry (karl at hayley)
+
+ * fontconvert/GNUmakefile (files): add main, since we now have main.h.
+ * fontconvert/main.h: new file.
+ * fontconvert/main.c (read_command_line): new option `-fontdimens'.
+ * fontconvert/output-tfm.c (tfm_start_output): set the font parameters
+ according to -fontdimens.
+
Fri Mar 8 08:42:49 1991 Karl Berry (karl at hayley)
* GNUmakefile (install): pass bindir as an arg to make.
@@ -1588,37 +4846,192 @@ Fri Mar 8 08:42:49 1991 Karl Berry (karl at hayley)
sake of people who might have a system config earlier in their
path. (from ian@sq.com)
+Thu Mar 7 07:33:33 1991 Karl Berry (karl at hayley)
+
+ * tfm: Version 0.2.
+
+Thu Mar 7 07:33:24 1991 Karl Berry (karl at hayley)
+
+ * pk: Version 0.2.
+
Thu Mar 7 07:33:13 1991 Karl Berry (karl at hayley)
* data: Version 0.2.
+Thu Mar 7 07:33:05 1991 Karl Berry (karl at hayley)
+
+ * lib: Version 0.2.
+
+Thu Mar 7 07:32:38 1991 Karl Berry (karl at hayley)
+
+ * gf: Version 0.2.
+
+Thu Mar 7 07:32:21 1991 Karl Berry (karl at hayley)
+
+ * fontconvert: Version 0.2.
+
Thu Mar 7 07:30:59 1991 Karl Berry (karl at hayley)
* Version 0.2.
+Thu Mar 7 07:26:19 1991 Karl Berry (karl at hayley)
+
+ * include: Version 0.2.
+ * include/cmdline.h: include filename.h.
+
+Wed Mar 6 10:23:28 1991 Kathy Hargreaves (kathy at hayley)
+
+ * include/global.h (LIB_ENVVAR): define to be `FONTUTIL_LIB' instead of
+ `FIT_OUTLINES'.
+
Wed Mar 6 10:05:28 1991 Kathy Hargreaves (kathy at hayley)
* config: use `sunosNNN' instead of `sunNNN'.
+Tue Mar 5 15:34:26 1991 Karl Berry (karl at hayley)
+
+ * tfm/tfm_output.c (tfm_convert_pl): use output redirection instead of
+ -v to make tftopl be quiet.
+
+Tue Mar 5 15:19:04 1991 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c (scan_baseline_adjust): new routine.
+ (baseline_adjust): new global variable.
+ (read_command_line): new option `-baseline-adjust'.
+ (do_char): adjust the baselines of each character before we
+ process it.
+
+Tue Mar 5 14:39:35 1991 Karl Berry (karl at hayley)
+
+ * include/font.h (CHAR_HEIGHT, CHAR_DEPTH): use CHAR_MAX_ROW and
+ CHAR_MIN_ROW.
+ * include/tfm.h: doc fix.
+
Mon Mar 4 15:14:41 1991 Karl Berry (karl at hayley)
* GNUmakefile (programs): fontconcat is gone.
+Mon Mar 4 15:06:59 1991 Karl Berry (karl at hayley)
+
+ * lib/font.c (delete_internal_font): new routine.
+ (close_font): call it, thus preventing us from finding a font that
+ has been closed.
+
+Mon Mar 4 15:00:02 1991 Karl Berry (karl at hayley)
+
+ * pk/pk_input.c: doc fix.
+
+Mon Mar 4 14:42:30 1991 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c (do_char): don't do a character if we've already
+ done it.
+ * fontconvert/main.c (fontname_list): new global variable to hold all
+ the fonts we deal with.
+ (read_command_line): new option `-concat-lists'.
+
Fri Mar 1 09:53:28 1991 Karl Berry (karl at hayley)
* GNUmakefile (completedirs, topfiles): new variables to help in
`make dist'.
+Tue Feb 26 06:45:57 1991 Karl Berry (karl at hayley)
+
+ * fontconvert/output-tfm.c (tfm_finish_output): call `tfm_convert_pl'
+ with the argument `verbose'.
+
+Mon Feb 25 16:32:45 1991 Karl Berry (karl at hayley)
+
+ * imageto/main.c, strips.c: use `gf_...' instead of `..._gf_...'.
+
+Mon Feb 25 16:15:06 1991 Karl Berry (karl at hayley)
+
+ * gf/gf_output.c (put_boc): declare static
+ * gf/gf_{input,output}.c: change names to `gf_...' from `..._gf_...'.
+ * gf/GNUmakefile (sources): remove `gf_common.c'.
+ * gf/gf_input.c (gf_get_postamble): initialize the postamble inline.
+
+Mon Feb 25 16:04:52 1991 Karl Berry (karl at hayley)
+
+ * pk/pk_input.c: use `pk_...' instead of `..._pk_...'.
+
+Mon Feb 25 15:58:21 1991 Karl Berry (karl at hayley)
+
+ * lib/font.c (get_font): use `tfm_...' instead of `..._tfm_...'; use
+ `pk_...' instead of `..._pk_...'; use `gf_...' instead of
+ `..._gf_...'.
+
+Mon Feb 25 15:42:09 1991 Karl Berry (karl at hayley)
+
+ * tfm/tfm_output.c (tfm_convert_pl): take a new parameter which says
+ whether to operate silently.
+ * tfm/tfm_output.c (INDENT_INCR): define as 2.
+ * tfm/tfm_input.c (tfm_open_filename): give an error if the caller
+ tries to open more than one file.
+ * tfm/tfm_{input,output,util}.c: rename external routines to start with
+ `tfm'; change error messages, etc.
+
+Mon Feb 25 15:15:56 1991 Karl Berry (karl at hayley)
+
+ * include/font.h: doc fix.
+ * include/gf.h (new_gf_postamble): remove declaration.
+ * include/gf.h: change names to start with `gf_'.
+ * include/pk.h: change names to start with `pk_'.
+ * include/tfm.h (tfm_convert_pl): take a new parameter to say whether we
+ should run silently.
+ * include/tfm.h: change names to start with `tfm_'.
+ * include/bzr.h: change names to start with `bzr_'.
+
+Mon Feb 25 13:30:57 1991 Karl Berry (karl at hayley)
+
+ * fontconvert/output-gf.c: use `gf_...' instead of `..._gf_...'.
+ * fontconvert/output-tfm.c: use `tfm_...' instead of `..._tfm_...'.
+ * fontconvert/output-gf.c: include file-misc.h.
+
Mon Feb 25 09:20:37 1991 Karl Berry (karl at hayley)
* GNUmakefile (programs): include `bzrto'.
-
* GNUmakefile (DEFAULT_LIB_PATH): include `pwd`/lib.
+Sun Feb 24 15:34:36 1991 Karl Berry (karl at ra.cs.umb.edu)
+
+ * lib/math.c (int_distance): cast the arguments to `double'.
+
+Sun Feb 24 12:40:22 1991 Karl Berry (karl at ra.cs.umb.edu)
+
+ * include/global.h (scanf) [!POSIX]: declare for SunOS4.1.
+ * include/global.h (abs, atoi, free, malloc, rand) [BSD4 || SUNOS4_0]:
+ declare conditionally.
+ * include/global.h [HAVE_STDLIB_H]: include <stdlib.h> based on this,
+ instead of _POSIX_SOURCE.
+
Sun Feb 17 09:54:28 1991 Karl Berry (karl at hayley)
* GNUmakefile (realclean): remove include/{s,paths}.h.
+Sun Feb 17 09:51:50 1991 Karl Berry (karl at hayley)
+
+ * tfm/*.c: include config.h.
+
+Sun Feb 17 09:48:32 1991 Karl Berry (karl at hayley)
+
+ * pk/pk_input.c: include config.h.
+
+Sun Feb 17 09:43:06 1991 Karl Berry (karl at hayley)
+
+ * lib/*.c: include config.h.
+
+Sun Feb 17 09:39:20 1991 Karl Berry (karl at hayley)
+
+ * imageto/*.c: include config.h.
+
+Sun Feb 17 09:31:14 1991 Karl Berry (karl at hayley)
+
+ * gf/*.c: include config.h.
+
+Sun Feb 17 09:30:23 1991 Karl Berry (karl at hayley)
+
+ * fontconvert/*.c: include config.h.
+
Sat Feb 16 17:43:01 1991 Karl Berry (karl at hayley)
* data/defs.make (OS): remove this, since we use a configuration file
@@ -1630,6 +5043,151 @@ Sat Feb 16 17:21:39 1991 Karl Berry (karl at hayley)
and include/s.h.
* GNUmakefile (include/paths.h): new target.
+Sat Feb 16 16:54:18 1991 Karl Berry (karl at hayley)
+
+ * lib/dirio.c (checked_lstat) [HAVE_SYMBOLIC_LINKS]: change
+ conditional from being on S_ISLNK and S_IFLNK.
+
+Sat Feb 16 16:50:14 1991 Karl Berry (karl at hayley)
+
+ * include/global.h [USE_MEMORY_H]: change conditional for including
+ <memory.h>.
+ * include/dirio.h (directory_entry_type) [DIRENT]: change conditional
+ from being on `BSD43'.
+ (checked_lstat) [HAVE_SYMBOLIC_LINKS]: change conditional from
+ being on S_IFLNK and S_ISLNK.
+ * include/global.h (LIB_ENVVAR): new symbol to define the envvar with
+ which we look up our auxiliary files.
+
+Tue Jan 29 10:06:33 1991 Karl Berry (karl at hayley)
+
+ * include/vector.h: doc fix.
+
+Mon Jan 28 16:53:21 1991 Karl Berry (karl at hayley)
+
+ * include/global.h [!RAND_MAX]: define it.
+
+Wed Jan 23 16:25:00 1991 Karl Berry (karl at hayley)
+
+ * include/Bitmap.h: document the new actions.
+
+Tue Jan 22 15:44:43 1991 Karl Berry (karl at hayley)
+
+ * lib/bitmap.c (extract_subbitmap): new routine from imgtogf.
+
+Tue Jan 22 15:44:20 1991 Karl Berry (karl at hayley)
+
+ * include/bitmap.h (extract_subbitmap): new routine from imgtogf.
+
+Tue Jan 22 15:43:19 1991 Karl Berry (karl at hayley)
+
+ * imageto/extract.[ch] (extract_subimage): move to kbase.
+
+Mon Jan 21 16:11:23 1991 Karl Berry (karl at hayley)
+
+ * include/xt-common.h (action_proc_type): new typedef.
+
+Sat Jan 19 06:34:59 1991 Karl Berry (karl at hayley)
+
+ * include/Item.h (ItemGetValueWidget): new routine.
+ * include/Bitmap.h (BitmapExpansion): new routine.
+
+Fri Jan 18 08:14:23 1991 Karl Berry (karl at hayley)
+
+ * lib/vector.c (all routines): declare args to be const.
+ * lib/vector.c (Vabs): new routine.
+
+Fri Jan 18 08:03:23 1991 Karl Berry (karl at hayley)
+
+ * include/vector.h: declare args to be const.
+ * include/vector.h (Vabs): new routine.
+
+Thu Jan 17 10:32:09 1991 Karl Berry (karl at hayley)
+
+ * imageto/main.c (main): don't put the day of the week in the font
+ comment.
+
+Tue Jan 15 15:29:38 1991 Karl Berry (karl at hayley)
+
+ * lib/spline.c (append_spline): use LAST_SPLINE_LIST_ELT.
+ * lib/spline.c (new_spline_list_array, free_spline_list_array,
+ append_spline_list): new routines.
+ * lib/spline.c (append_spline_list): rename to concat_spline_lists.
+
+Tue Jan 15 15:26:29 1991 Karl Berry (karl at hayley)
+
+ * include/spline.h (NEXT_SPLINE_LIST_ELT, PREV_SPLINE_LIST_ELT): new
+ macros.
+ * include/bzr.h (bzr_char_type): the shape is now a spline list array.
+ * include/spline.h (LAST_SPLINE_LIST_ELT): new macro.
+ * include/spline.h (spline_list_array_type): new type, plus the macros
+ to access the fields.
+ (new_spline_list_array, free_spline_list_array,
+ append_spline_list): declare the new routines.
+ * include/spline.h (append_spline_list): rename to concat_spline_lists.
+
+Sun Jan 13 16:49:03 1991 Karl Berry (karl at hayley)
+ * fontconvert/main.c (read_command_line): set `explicit_dpi' via the
+ option table.
+
+Sun Jan 13 15:29:36 1991 Karl Berry (karl at hayley)
+
+ * include/font.h (raw_char_type): move raw_gf_char_type to here, plus
+ the macros. Add the `bitmap_format' field, and `bitmap_format_type'
+ from font.c.
+ (get_raw_char, free_raw_char): declare these.
+
+Sun Jan 13 09:48:56 1991 Karl Berry (karl at hayley)
+
+ * lib/font.c (bitmap_format_type): move to font.h.
+ * lib/file-output.c (put_n_bytes): give the arguments to fwrite in the
+ correct order.
+
+Sun Jan 13 09:37:11 1991 Karl Berry (karl at hayley)
+
+ * gf/gf_input.c (get_raw_gf_char, append_byte, append_n_bytes): use
+ `raw_char_type' instead of `raw_gf_char_type', and RAW_...
+ macros instead of GF_RAW...
+ * gf/gf_output.c (put_raw_gf_char): likewise.
+ * gf/gf_input.c (get_raw_gf_char): loop until eoc reading the
+ character, instead of while (0).
+ * gf/gf_input.c (ENSURE_AVAILABLE): loop as long as we need more
+ space, instead of testing once.
+ * gf/gf_input.c (get_raw_gf_char): allocate the space for the new
+ character before storing into it.
+
+Sat Jan 12 16:46:44 1991 Karl Berry (karl at hayley)
+
+ * lib/file-output.c (put_n_bytes): use fwrite to do all the bytes at
+ one shot.
+
+Sat Jan 12 14:56:18 1991 Karl Berry (karl at hayley)
+
+ * gf/gf_input.c (get_raw_gf_char, append_byte, append_n_bytes,
+ new_gf_raw_char): new routines to handle reading raw characters.
+ * gf/gf_output.c (start_put_char, put_raw_gf_char): more new
+ routines.
+
+Sat Jan 12 14:54:18 1991 Karl Berry (karl at hayley)
+
+ * include/gf.h (raw_gf_char_type): new type, plus macros to access the
+ fields.
+ (get_raw_gf_char, put_raw_gf_char): declare these new routines.
+
+Mon Jan 7 15:54:11 1991 Karl Berry (karl at hayley)
+
+ * include/spline.h (spline_type): add a `linearity' member and accessor
+ macro.
+
+Mon Jan 7 15:09:15 1991 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c: include file-misc.h.
+
+Mon Jan 7 10:42:22 1991 Karl Berry (karl at hayley)
+
+ * lib/spline.c (evaluate_spline): no compiler bug anymore without
+ temporaries (as of gcc 1.38).
+
Mon Jan 7 09:20:23 1991 Karl Berry (karl at hayley)
* data/defs.make [HOSTNAME=hayley] (sys_libraries): do not include
@@ -1638,24 +5196,105 @@ Mon Jan 7 09:20:23 1991 Karl Berry (karl at hayley)
anymore.]
* data/defs.make: doc fix.
+Sat Dec 29 17:43:40 1990 Karl Berry (karl at hayley)
+
+ * lib/spline.c (print_spline): make the output lines shorter.
+
+Wed Dec 26 15:13:26 1990 Karl Berry (karl at hayley)
+
+ * lib/math.c (find_bounds): use MAXFLOAT and MINFLOAT, instead of
+ MAXDOUBLE and MINDOUBLE, since Sun's atof can't deal with
+ the latter.
+
+Wed Dec 12 15:49:43 1990 Karl Berry (karl at ra.cs.umb.edu)
+
+ * include/global.h (random) [not _POSIX_SOURCE]: declare it.
+ * include/global.h (S_ISDIR) [not S_ISDIR]: change condition from
+ POSIX_SOURCE, since some non-POSIX systems define it.
+ * include/global.h: make declarations based on SunOS4_0 instead of
+ SunOS 4, because now we have to distinguish SunOS 4.1, also.
+
Wed Dec 12 15:49:27 1990 Karl Berry (karl at ra.cs.umb.edu)
* data/defs.make (OS): allow for SunOS 4.1.
+Sun Dec 9 15:08:57 1990 Karl Berry (karl at hayley)
+
+ * tfm/tfm_input.c, tfm_output.c: doc fix.
+
+Sun Dec 9 11:08:49 1990 Karl Berry (karl at hayley)
+
+ * include/bzr.h (bzr_char_type): change the member name to `bb', so the
+ CHAR_... macros will work.
+ (BZR_CHAR_BB): change accordingly.
+ * include/bzr.h (BZR_CHAR_CODE, BZR_SET_WIDTH): remove, the CHAR_...
+ routines will do.
+ * include/dirio.h (checked_chdir, checked_stat, checked_lstat, getwd):
+ declare these new routines.
+ (checked_opendir, is_dir): declare the arguments const.
+
+Sun Dec 9 11:02:20 1990 Karl Berry (karl at hayley)
+
+ * lib/spline.c: doc fix.
+ * lib/dirio.c (getwd): close each directory after we read it.
+ * lib/filename.c (find_subdir_path_filename): use getwd instead of
+ getcwd, and use checked_chdir.
+ * lib/dirio.c (checked_opendir, is_dir): make arguments be const strings
+ * lib/dirio.c (checked_chdir, checked_stat, checked_lstat, getwd): new
+ routines.
+
Fri Nov 23 09:45:16 1990 Karl Berry (karl at hayley)
* data/defs.make (research_libraries): add bzr.
(LOADLIBES): don't use `libraries'.
+Sat Nov 17 12:54:02 1990 Karl Berry (karl at hayley)
+
+ * tfm/tfm_input.c, tfm_output.c: include appropriate file-...h files.
+
+Sat Nov 17 12:52:59 1990 Karl Berry (karl at hayley)
+
+ * pk/pk_input.c: include appropriate file-...h files.
+
+Sat Nov 17 12:46:52 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_input.c, gf_output.c: include appropriate file-...h files.
+
Sat Nov 17 11:28:25 1990 Karl Berry (karl at hayley)
* GNUmakefile (programs): add fit-outlines.
+Sat Nov 17 11:10:13 1990 Karl Berry (karl at hayley)
+
+ * include/kbase.h: don't include the file routines.
+ * include/kbase.h (distance): declare this.
+
+Sat Nov 17 11:09:56 1990 Karl Berry (karl at hayley)
+
+ * lib/file-*.c: include the appropriate file-....h file.
+ * lib/math.c (distance): put this back; it's too annoying to call
+ hypot with the x and y arguments.
+
+Sun Nov 4 09:23:28 1990 Karl Berry (karl at hayley)
+
+ * fontconvert/filter.c (read_command_line): use atou to do -filter-size.
+ * These changes suggested by rich@rice.edu:
+ * fontconvert/filter.h (filter_passes): declare it.
+ * fontconvert/filter.c (filter_passes): new variable.
+ (filter_bitmap): loop through the number of passes.
+ (filter_once): new routine.
+ * fontconvert/main.c (read_command_line): new option, `filter-passes'.
+ * fontconvert/README: warn that filtering rounds off corners.
+
Thu Nov 1 08:51:29 1990 Karl Berry (karl at hayley)
* INSTALL: DEFAULT_TFM_PATH has moved from kbase/filename.c to
kbase/font.c.
+Wed Oct 24 14:58:15 1990 Karl Berry (karl at aten)
+
+ * fontconvert: Version 0.1.
+
Wed Oct 24 14:57:57 1990 Karl Berry (karl at aten)
* Version 0.1.
@@ -1664,23 +5303,237 @@ Sun Oct 21 16:23:20 1990 Karl Berry (karl at hayley)
* GNUmakefile (libraries): add gnuw.
+Thu Oct 18 15:00:32 1990 Karl Berry (karl at hayley)
+
+ * lib/filename.c (find_subdir_path_filename): initialize the list of
+ subdirectories to the empty string.
+
+Wed Oct 17 18:06:17 1990 Karl Berry (karl at aten)
+
+ * gf/gf_input.c (deblank): when the bitmap is all zero, ensure that
+ all its dimensions are also zero.
+
+Wed Oct 17 17:54:40 1990 Karl Berry (karl at aten)
+
+ * lib/filename.c (find_subdir_path_filename): do not do strlen when
+ the path is empty.
+
+Sun Oct 14 07:05:51 1990 Karl Berry (karl at hayley)
+
+ * fontconvert/filter.c (filter_bitmap): don't invert the pixel, set it
+ to the right intensity.
+
+Tue Oct 9 09:43:03 1990 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c (read_command_line): new option, -output-file.
+ (output_name): new global.
+ (main): use it, if it's set.
+ * fontconvert/main.c (do_split_char, do_char, scan_column_split): new
+ routines.
+ (read_command_line): new argument, -column-split.
+ (main): split each character at given columns, if requested.
+
+Tue Oct 9 09:07:02 1990 Karl Berry (karl at hayley)
+
+ * imageto/main.c (scan_baseline_list): move to kbase.
+ (baseline_list): make a vector of ints, not unsigneds.
+ (main): test for the end of the baseline list being -1, not 0.
+
+Tue Oct 9 08:59:43 1990 Karl Berry (karl at hayley)
+
+ * lib/filename.c (find_dpi): don't crash if the argument doesn't have
+ a `.' at all.
+ * lib/cmdline.c: new file.
+ * lib/GNUmakefile (files): add it.
+
+Tue Oct 9 08:56:06 1990 Karl Berry (karl at hayley)
+
+ * include/cmdline.h (scan_integer_list): declare this.
+
+Mon Oct 8 16:37:07 1990 Karl Berry (karl at hayley)
+
+ * imageto/main.c: #include cmdline.h.
+ (read_command_line): call FINISH_COMMAND_LINE.
+
+Mon Oct 8 09:08:30 1990 Karl Berry (karl at hayley)
+
+ * lib/filename.c (find_dpi): new routine.
+
+Mon Oct 8 09:01:36 1990 Karl Berry (karl at hayley)
+
+ * include/cmdline.h (FINISH_COMMAND_LINE): only look for the resolution
+ if CMDLINE_NO_DPI is undefined.
+ * include/cmdline.h: new file.
+ * include/global.h (ARGUMENT_IS, GET_PERCENT, GET_RANGE): move to
+ cmdline.h.
+ * include/filename.h (find_dpi): new routine.
+
+Mon Oct 8 05:55:50 1990 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c: include cmdline.h.
+ * fontconvert/main.c (main): filter the character, if desired.
+ (read_command_line): new options -filter, -filter-size,
+ -filter-threshold.
+ * fontconvert/filter.h, filter.c: new files.
+ * fontconvert/GNUmakefile (files): add filter.
+ (This stuff contributed by rich@rice.edu.)
+
Fri Oct 5 07:13:30 1990 Karl Berry (karl at hayley)
* data/defs.make (INCLUDES): use XINCLUDES to get extra directories
into the list.
+Fri Oct 5 07:03:35 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_input.c (close_gf_input_file): null the elements of
+ `char_list'.
+ (get_given_gf_char): make `char_list' global to the file.
+
+Wed Oct 3 07:33:07 1990 Karl Berry (karl at hayley)
+
+ * lib/filename.c (find_tfm_filename, find_pk_filename,
+ find_gf_filename): new routines.
+
+Wed Oct 3 07:20:57 1990 Karl Berry (karl at hayley)
+
+ * include/file-misc.h (same_file_p): doc fix.
+ * include/filename.h (find_pk_filename, find_gf_filename,
+ find_tfm_filename): new routines.
+
+Tue Oct 2 17:25:22 1990 Karl Berry (karl at hayley)
+
+ * fontconvert/output-gf.c (gf_start_output): assign to gf_name after the
+ warning, not before.
+
+Sun Sep 30 09:15:25 1990 Karl Berry (karl at hayley)
+
+ * imageto/main.c (do_image_line): don't give a report when we read part
+ of the line, after all.
+
Sun Sep 30 08:43:44 1990 Karl Berry (karl at hayley)
* GNUmakefile (programs): add fontconcat.
+Sat Sep 29 09:01:25 1990 Karl Berry (karl at hayley)
+
+ * pk/pk_input.c (find_internal_font): return null at the end.
+
+Sat Sep 29 08:34:52 1990 Karl Berry (karl at hayley)
+
+ * lib/bitmap.c (new_bitmap): don't use memset if the bitmap is null.
+ * lib/font.c (find_internal_font): use STREQ.
+
+Sat Sep 29 07:10:11 1990 Karl Berry (karl at hayley)
+
+ * fontconvert/output-gf.c (gf_start_output): announce it to the user
+ when we change the output filename.
+ * fontconvert/main.c (main): use atou (dpi), not atoi.
+
+Fri Sep 28 13:47:34 1990 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c (read_command_line): new argument, `omit'.
+ (scan_remap_list): don't make a target character code of -1 mean
+ omit the original.
+ (scan_omit_list): new routine.
+
+Fri Sep 28 13:47:15 1990 Karl Berry (karl at hayley)
+
+ * imageto/main.c (scan_integer_list): use strtok, instead of doing the
+ work ourselves.
+
+Fri Sep 28 10:15:59 1990 Karl Berry (karl at hayley)
+
+ * include/global.h (M_PI) [!_POSIX_SOURCE]: define this.
+
+Fri Sep 28 08:30:04 1990 Karl Berry (karl at hayley)
+
+ * lib/filename.c (next_component): return NULL after we've read all
+ the directories in the list.
+ * lib/filename.c (next_component): omit the path separator from the
+ returned directory.
+
+Thu Sep 27 11:59:55 1990 Karl Berry (karl at hayley)
+
+ * include/global.h (chdir): declare it.
+ * include/filename.h (find_subdir_path_filename): new routine.
+
+Thu Sep 27 11:45:36 1990 Karl Berry (karl at hayley)
+
+ * lib/font.c (DEFAULT_SUBDIR_PATH): new macro.
+ (get_bitmap_font): try to open the PK and GF files using
+ subdirectories if opening without them fails.
+ (get_font): likewise, for the TFM file.
+ * lib/filename.c (get_subdir_path_filename): new routine.
+ (next_component): new routine, replaces `find_components'.
+
Mon Sep 24 16:40:17 1990 Karl Berry (karl at claude)
* data/defslib.make (install): remove the library after installing it.
* data/defs.make: use `SunOS41', not `SUNOS4'.
+Mon Sep 24 16:39:39 1990 Karl Berry (karl at claude)
+
+ * include/global.h [!_POSIX_SOURCE] (S_ISDIR): don't give the
+ `.st_mode'.
+ * include/global.h [SunOS40]: include <memory.h>.
+ * include/global.h: use the symbol SunOS40, not SunOS4.
+
+Sun Sep 23 20:18:56 1990 Karl Berry (karl at claude)
+
+ * include/global.h: always include <string.h>; define stdio functions if
+ either BSD43 or SunOS4 are defined.
+
+Sat Sep 22 06:16:49 1990 Karl Berry (karl at hayley)
+
+ * imageto/main.c (output_chars): don't increment `current_char' if we've
+ already seen the box.
+
+Fri Sep 21 11:32:45 1990 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c (read_command_line): return NULL at the end.
+
+Fri Sep 21 09:15:28 1990 Karl Berry (karl at hayley)
+
+ * lib/dirio.o (is_dir): use S_ISDIR.
+
+Fri Sep 21 08:40:49 1990 Karl Berry (karl at hayley)
+
+ * imageto/img-char.h (img_char_type): new element, `alternating'.
+ (IMG_CHAR_BB_ALTERNATING): macro to access it.
+ * main.c (get_image_info): if the bb count is negative, set
+ `alternating' (and make it positive).
+ (output_chars): handle the bounding boxes alternating.
+ * imageto/main.c (do_image_line): give a progress report when we read
+ part of the line.
+ * imageto/main.c (read_command_line): return NULL at the end; the POSIX
+ include files don't declare `exit' as volatile, more's the pity.
+ * imageto/bb-output.c (is_outline_edge): return false at the end, for
+ the same reason.
+
+Fri Sep 21 08:25:22 1990 Karl Berry (karl at hayley)
+
+ * include/global.h (S_ISDIR) [!_POSIX_SOURCE]: new macro.
+ * include/global.h [BSD43]: conditionally include <string.h> or else
+ <memory.h> and <strings.h>.
+ * include/global.h [!USG]: declare functions conditionally based on
+ BSD43, not !USG.
+ * include/dirio.h: likewise.
+
Mon Sep 17 18:56:34 1990 Karl Berry (karl at aten)
* data/defs.make (gnu_libraries): only use malloc if I'm at home.
+
+Sun Sep 16 11:13:43 1990 Karl Berry (karl at hayley)
+
+ * imageto/main.c: include "getopt.h" instead of <getopt.h>.
+ * imageto/main.c (read_command_line): change call of PARSE_CHAR_CODE to
+ xparse_char_code.
+ * imageto/main.c (main): make the default info filename `imginf.<name>',
+ not `imginfo.<name>'.
+
+Fri Sep 14 12:01:26 1990 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c: include "getopt.h", not <getopt.h>.
Fri Sep 14 10:41:38 1990 Karl Berry (karl at hayley)
@@ -1688,7 +5541,75 @@ Fri Sep 14 10:41:38 1990 Karl Berry (karl at hayley)
`$(fileinstall)', not `mv'; use `$(AR)', not `ar'.
* data/defsprog.make (install): use `$(proginstall)', not `mv'.
* data/defs.make (researchdir): rename to libdir.
-
+
+Thu Sep 13 10:58:45 1990 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c (main): report omitted characters.
+
+Thu Sep 13 10:38:43 1990 Karl Berry (karl at hayley)
+
+ * include/convert.h (xparse_char_code): new routine.
+ (parse_char_code): return a status indicator.
+ * include/global.h (GET_RANGE): use it.
+ * include/convert.h (all routines): declare parameters as const.
+ * include/font.h (PARSE_CHAR_CODE): rewrite as a routine, in
+ kbase/convert.c.
+ * include/convert.h (parse_char_code): declare it.
+
+Thu Sep 13 10:38:32 1990 Karl Berry (karl at hayley)
+
+ * lib/convert.c (parse_char_code): new routine to replace the
+ PARSE_CHAR_CODE macro; return a status indicator.
+ (xparse_char_code): like the above, but gives a fatal error.
+
+Wed Sep 12 18:19:13 1990 Karl Berry (karl at aten)
+
+ * lib/font.c (get_font): set `bitmap_only' to false.
+ (save_internal_font): overwrite the old value if we're called with
+ the same key twice.
+
+Tue Sep 11 07:02:50 1990 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c (scan_remap_list): set `omit' if a target
+ ``character code'' is -1. Also, parse the character codes correctly.
+ (omit): new global variable.
+ (main): if `omit' is true, skip the character.
+
+Sun Sep 9 12:37:53 1990 Karl Berry (karl at hayley)
+
+ * pk/pk_input.c (pk_get_string): append a trailing null to the
+ string.
+
+Sun Sep 9 07:14:02 1990 Karl Berry (karl at hayley)
+
+ * include/font.h (PARSE_CHAR_CODE): test if the character code is less
+ than zero, not less than -1.
+ * include/convert.h: new file.
+ * include/kbase.h: include it.
+
+Sun Sep 9 07:10:29 1990 Karl Berry (karl at hayley)
+
+ * lib/convert.c: new file for some numeric conversions.
+ * lib/math.c: move atou to convert.c.
+
+Sat Sep 8 10:58:03 1990 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c (scan_remap_list): use PARSE_CHAR_CODE.
+ * fontconvert/main.c (read_command_line): use GET_RANGE.
+
+Sat Sep 8 10:06:44 1990 Karl Berry (karl at hayley)
+
+ * include/global.h (GET_RANGE): new macro to read a character range
+ argument.
+ * include/font.h (PARSE_CHAR_CODE): new macro.
+
+Sat Sep 8 10:06:19 1990 Karl Berry (karl at hayley)
+
+ * imageto/main.c (read_command_line): remove any suffix on the font name
+ before returning it.
+ * imageto/main.c (read_command_line): use GET_RANGE.
+ * imageto/main.c (get_image_info): use PARSE_CHAR_CODE to get the
+ character code from the file.
Sat Sep 8 09:01:02 1990 Karl Berry (karl at hayley)
@@ -1698,6 +5619,169 @@ Fri Sep 7 13:43:18 1990 Karl Berry (karl at hayley)
* data/defs.make (LINT): remove this.
+Thu Sep 6 09:01:01 1990 Karl Berry (karl at hayley)
+
+ * include/bitmap.h (new_bitmap): say that the bitmap is initialized to
+ white.
+
+Thu Sep 6 06:42:24 1990 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c (scan_remap_list): new routine.
+ (read_command_line): new option, -remap.
+ (translate): new global to remap character codes.
+ (main): map each character as we read it.
+
+Thu Sep 6 06:16:29 1990 Karl Berry (karl at hayley)
+
+ * imageto/main.c (scan_integer_list): doc fix.
+
+Wed Sep 5 06:22:18 1990 Karl Berry (karl at hayley)
+
+ * fontconvert/output-gf.c (gf_start_output): don't overwrite the input
+ file.
+ * fontconvert/main.c (main): pass the filename of the input font.
+ * fontconvert/main.c (main): output a GF file if asked.
+ (read_command_line): new option, -gf.
+ * fontconvert/output-gf.[ch]: new files.
+ * fontconvert/GNUmakefile (files): add them.
+ * fontconvert/main.c (main): free the bitmap for each character. */
+ * fontconvert/main.c (main): output a TFM file if asked.
+ (read_command_line): new option, -tfm.
+ * fontconvert/output-tfm.[ch]: new files.
+ * fontconvert/GNUmakefile (files): add them.
+
+Wed Sep 5 06:19:53 1990 Karl Berry (karl at hayley)
+
+ * imageto/main.c (USAGE): doc fix in -range.
+
+Tue Sep 4 09:33:49 1990 Karl Berry (karl at hayley)
+
+ * imageto/main.c (do_image_line): pass the current character to
+ output_chars, not the current box count.
+ * imageto/extract.c (REPORT_SCANLINE): output to stderr instead of
+ stdout.
+ * imageto/main.c (get_image_info): always assign to the character code
+ and omit fields.
+
+Mon Sep 3 16:57:02 1990 Karl Berry (karl at hayley)
+
+ * imageto/main.c (get_image_info): use NULL in subsequent calls to
+ strtok.
+ * imageto/main.c (get_encoding): replace with get_image_info; change
+ callers.
+ * imageto/img-char.[ch]: new files to support the data structure.
+
+Mon Sep 3 11:06:25 1990 Karl Berry (karl at hayley)
+
+ * include/line.h (read_line): say the string is dynamically allocated.
+
+Mon Sep 3 11:05:19 1990 Karl Berry (karl at hayley)
+
+ * lib/line.c (read_line): doc fix.
+
+Sat Sep 1 09:38:31 1990 Karl Berry (karl at hayley)
+
+ * include/report.h (REPORT*): print to stderr, instead of stdout.
+
+Sat Sep 1 09:27:14 1990 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c (main): output a newline at the end of the program
+ if warranted.
+ * fontconvert/main.c (main): use `get_bitmap_font' instead of `get_font'
+
+Fri Aug 31 11:04:02 1990 Karl Berry (karl at hayley)
+
+ * lib/font.c (get_bitmap_font): new routine, taken from get_font.
+
+Fri Aug 31 08:38:31 1990 Karl Berry (karl at hayley)
+
+ * include/global.h: declare getpid and unlink.
+ * include/font.h (get_bitmap_font, bitmap_font_type): new routine, and
+ the structure it returns.
+
+Thu Aug 30 16:32:25 1990 Karl Berry (karl at hayley)
+
+ * lib/file-misc.c (same_file_p): new function.
+
+Thu Aug 30 16:29:51 1990 Karl Berry (karl at hayley)
+
+ * tfm/tfm_input.c (tfm_get_byte, ...): pass the input filename, and
+ rewrite as macros.
+
+Thu Aug 30 16:29:33 1990 Karl Berry (karl at hayley)
+
+ * include/systypes.h: define __TYPES__, for the sake of X.
+
+Wed Aug 29 14:23:26 1990 Karl Berry (karl at hayley)
+
+ * pk/pk_input.c (pk_get_byte, ...): add the filename argument, and
+ rewrite as macros.
+
+Wed Aug 29 14:13:08 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_input.c (gf_get_byte, ...): pass gf_input_filename, and
+ rewrite as macros.
+ * gf/gf_output.c (gf_put_byte, ...): likewise.
+
+Wed Aug 29 11:37:24 1990 Karl Berry (karl at hayley)
+
+ * lib/fileio.c: split up into several new files: file-open.c,
+ file-input.c, file-output.c, file-misc.c.
+
+Wed Aug 29 11:05:25 1990 Karl Berry (karl at hayley)
+
+ * include/kbase.h: split up declarations of file functions into new
+ files `file-input.h', `file-output.h', `file-open.h', and
+ `file-misc.h'.
+
+Sat Aug 25 13:52:43 1990 Karl Berry (karl at hayley)
+
+ * fontconvert/main.c (main): print a newline before each character
+ output as text.
+
+Sat Aug 25 13:42:42 1990 Karl Berry (karl at hayley)
+
+ * pk/pk_input.c (get_bitmap): ignore bits remaining in the last byte.
+
+Thu Aug 23 07:26:58 1990 Karl Berry (karl at hayley)
+
+ * lib/filename.c (remove_suffix): new routine.
+ (make_suffix): if the `.' is before a `/', it doesn't start the
+ extension.
+
+Thu Aug 23 07:15:38 1990 Karl Berry (karl at hayley)
+
+ * include/filename.h (remove_suffix): new routine. Also, declare all
+ the others to take `const string's instead of just `string's.
+
+Tue Aug 21 11:30:14 1990 Karl Berry (karl at hayley)
+
+ * include/report.h: new file.
+ * include/global.h (STREQ): new macro.
+
+Thu Aug 16 08:00:19 1990 Karl Berry (karl at hayley)
+
+ * imageto/bb-outline.c (free_bounding_box_list): check if the list is
+ allocated before freeing it.
+ * imageto/main.c (do_image_line): only say that we've read too many
+ boxes once.
+
+Thu Aug 16 07:10:48 1990 Karl Berry (karl at hayley)
+
+ * lib/memory.c (safe_free): use fprintf instead of FATAL, so the core
+ dump will happen.
+
+Wed Aug 8 08:06:53 1990 Karl Berry (karl at hayley)
+
+ * imageto/main.c (read_command_line): change `encoding-file' to
+ `info-file'.
+
+Tue Aug 7 08:53:13 1990 Karl Berry (karl at hayley)
+
+ * imageto/main.c (main): use the basename of the image filename to
+ construct the output name, instead of the full name.
+ * imageto/main.c (USAGE): explain `-baselines' better.
+
Sat Aug 4 14:01:09 1990 Karl Berry (karl at hayley)
* data/defs.make (OPT) [i386]: define USG instead of USGr3, for the
@@ -1705,15 +5789,314 @@ Sat Aug 4 14:01:09 1990 Karl Berry (karl at hayley)
(LDFLAGS): search /usr/local/lib.
(INCLUDES): search /usr/local/include.
+Sat Aug 4 14:00:13 1990 Karl Berry (karl at hayley)
+
+ * include/global.h: use `USG' for the conditional, instead of `USGr3'.
+ * include/dirio.h: likewise.
+
+Thu Jul 26 06:54:56 1990 Karl Berry (karl at hayley)
+
+ * imageto/extract.c (find_transitions): move to kbase.
+
+Thu Jul 26 06:53:33 1990 Karl Berry (karl at hayley)
+
+ * lib/bitmap.c (bitmap_find_transitions): new routine (from imgtogf).
+
+Wed Jul 25 08:20:12 1990 Karl Berry (karl at hayley)
+
+ * lib/string.c (concat5): new routine.
+
+Wed Jul 25 08:19:28 1990 Karl Berry (karl at hayley)
+
+ * include/kbase.h (concat5): new routine.
+
+Tue Jul 24 13:19:40 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_output.c (put_gf_postamble): the pointer after the POST byte
+ is still wrong.
+
+Tue Jul 24 13:09:38 1990 Karl Berry (karl at hayley)
+
+ * imageto/main.c: don't include time.h.
+
+Tue Jul 24 11:09:46 1990 Karl Berry (karl at hayley)
+
+ * tfm/tfm_output.c: include filename.h.
+
+Tue Jul 24 10:24:59 1990 Karl Berry (karl at hayley)
+
+ * lib/font.c (get_font): save the design size in points instead of
+ pixels.
+ * lib/filename.c: new file.
+ * lib/fileio.c (find_path_filename): move there.
+ * lib/string.c (make_suffix): ditto.
+ * lib/font.c (get_char): retrieve the TFM width also.
+
+Tue Jul 24 10:24:35 1990 Karl Berry (karl at hayley)
+
+ * include/font.c (font_info_type): new member for the design size in
+ points.
+ * include/filename.h: new file.
+ * include/kbase.h (make_suffix, find_path_filename): move declarations
+ to it.
+ * include/gf.h (put_gf_postamble): doc fix.
+ * include/font.h (char_info_type): define a new field for the TFM width
+ and a macro to get it.
+
+Sun Jul 22 10:44:31 1990 Karl Berry (karl at hayley)
+
+ * include/font.h (get_char): doc fix.
+
+Sat Jul 21 08:57:24 1990 Karl Berry (karl at hayley)
+
+ * include/global.h (sleep): declare this standard library function.
+
+Fri Jul 20 15:20:43 1990 Karl Berry (karl at hayley)
+
+ * include/global.h (PIXELS_TO_POINTS): define this.
+
+Thu Jul 19 15:22:29 1990 Karl Berry (karl at aten)
+
+ * imageto/main.c (main): don't dereference baseline_list if it's null.
+
+Thu Jul 19 15:10:08 1990 Karl Berry (karl at aten)
+
+ * include/global.h [!USGr3]: declare sscanf.
+ * include/global.h: include <memory.h>
+
+Mon Jul 16 08:56:41 1990 Karl Berry (karl at hayley)
+
+ * imageto/main.c (clean_bitmap): only print the `. ' if we're printing
+ the cleaning info.
+
+Mon Jul 16 07:30:33 1990 Karl Berry (karl at hayley)
+
+ * lib/bitmap.c (bitmap_to_bb): new routine.
+
+Mon Jul 16 07:25:06 1990 Karl Berry (karl at hayley)
+
+ * include/bitmap.h (bitmap_to_bb): new routine.
+
+Sun Jul 15 08:27:52 1990 Karl Berry (karl at hayley)
+
+ * imageto/bb-outline.c (append_bounding_box_list): don't change anything
+ if we're appending a list of length zero.
+
Fri Jul 13 16:52:35 1990 Karl Berry (karl at hayley)
* data/defsprog.make (library_files): compose list from both
$(libraries) and $(research_libraries), not just the former.
+Fri Jul 13 16:48:56 1990 Karl Berry (karl at hayley)
+
+ * tfm/tfm_input.c (get_tfm_chars): declare `this_char' as unsigned,
+ not one_byte, since it might have to become 256.
+
+Fri Jul 13 11:35:15 1990 Karl Berry (karl at hayley)
+
+ * imageto/main.c (clean_bitmap): also potentially clean bounding boxes
+ on the bottom edge.
+ * imageto/main.c (SET_EDGES): make coordinates relative to the bitmap of
+ the character.
+ * imageto/main.c (clean_bitmap): only test the gray value for bounding
+ boxes that are on the edge.
+ * imageto/main.c (output_chars): return the number of characters
+ actually output, omitting the ones out of range.
+ * imageto/main.c (clean_bitmap): print gray values for the bounding
+ boxes if requested.
+ (read_command_line): new option, `print_clean_info'.
+
Thu Jul 12 09:05:47 1990 Karl Berry (karl at hayley)
* data/defs.make (realclean): remove .dvi and .log files.
+Thu Jul 12 06:08:33 1990 Karl Berry (karl at hayley)
+
+ * imageto/extract.c (some_black_to_all_white_row): don't output a
+ newline after reading the scanlines.
+ * imageto/main.h: new file.
+ * imageto/extract.c: include it, remove declaration of verbose.
+ * imageto/strips.[ch]: new files.
+ * imageto/main.c (main): cut the image into strips if requested.
+ (read_command_line): new option `strips'.
+ * imageto/extract.c (find_transitions): new routine.
+ (some_black_to_all_white_row): call it, at the end, with a new
+ variable that is the logical or of all the rows we read.
+ (some_black_to_all_white_column, found_color_in_column): these
+ routines aren't needed any more.
+ * imageto/main.c (do_image_line): use the transition vector to set
+ `char_bitmap'.
+ * imageto/main.c (scan_integer_list): increment length after checking
+ the exit condition.
+ * imageto/main.c (do_image_line): new routine, consisting of a lot of
+ the main loop.
+ * imageto/main.c (bitmap_to_gf_char): determine the baseline.
+ (read_command_line): new option `baselines' to set the baselines.
+ (scan_integer_list): new routine.
+ * imageto/extract.c (found_color_in_column): start halfway down the
+ bitmap.
+
+Thu Jul 12 06:01:16 1990 Karl Berry (karl at hayley)
+
+ * lib/bitmap.c (copy_bitmap): don't use `new_bitmap', to avoid setting
+ all the bits twice.
+
+Wed Jul 11 06:19:51 1990 Karl Berry (karl at hayley)
+
+ * imageto/main.c (bitmap_to_gf_char): take another argument, the
+ characters code, to consolidate where the GF char is set.
+ * imageto/main.c (nchars_per_line): new static to say how many
+ characters we can report on per line; different for `print_guidelines'
+ being set and not set.
+ * imageto/main.c (print_guidelines): new global.
+ (read_command_line): new option to set it.
+ (bitmap_to_gf_char): print the row numbers if it's set.
+ * imageto/bb-outline.c (find_outline_bbs): take two additional
+ arguments: column numbers between which we don't look.
+ * imageto/bb-outline.h (find_outline_bbs): change the declaration.
+ * imageto/main.c (main), (clean_bitmap): change the calls.
+ * imageto/bb-outline.c (append_bounding_box_list): reallocate based on
+ the element size, not the list size.
+ * imageto/bb-outline.c (set_bounding_box_list_offset): replace by
+ `offset_bounding_box_list'.
+ (append_bb): don't offset the bounding boxes as they come in.
+ * imageto/bb-outline.h (set_bounding_box_list_offset): likewise.
+ * imageto/main.c (main): change call.
+ * imageto/main.c (output_chars): set char_code to *next_code at the
+ bottom of the loop, and increment next_code.
+
+Tue Jul 10 06:23:54 1990 Karl Berry (karl at hayley)
+
+ * lib/bitmap.c (concat_bitmaps): new routine.
+
+Tue Jul 10 06:10:05 1990 Karl Berry (karl at hayley)
+
+ * imageto/bb-outline.c (set_bounding_box_list_offset): new routine.
+ (append_bb): move the bounding box to the right by the offset.
+ * imageto/bb-outline.h (set_bounding_box_list_offset): declare it.
+ * imageto/main.c (get_char_code): rename to get_encoding, and read the
+ whole file.
+ * imageto/bb-outline.h (init_bounding_box_list, append_bounding_box_list ):
+ declare new routines.
+ bb-outline.c (same): define them.
+
+Tue Jul 10 06:09:55 1990 Karl Berry (karl at hayley)
+
+ * include/bitmap.h (BITMAP_ROW): new macro.
+ * include/bitmap.h (concat_bitmaps): declare this.
+ * include/spline.h: doc fix.
+
+Mon Jul 9 11:04:20 1990 Karl Berry (karl at hayley)
+
+ * include/bitmap.h (get_bitmap_bounding_box): remove declaration.
+
+Mon Jul 9 08:27:09 1990 Karl Berry (karl at hayley)
+
+ * lib/bitmap.c (get_bitmap_bounding_box): delete this.
+ (print_bitmap): use dimensions_to_bb.
+ * lib/bitmap.c (free_bitmap): don't free the bitmap if it's null.
+ * lib/bitmap.c (new_bitmap): use memset.
+ (copy_bitmap): use memcpy if the bitmap's size is greater than
+ zero.
+
+Mon Jul 9 08:10:20 1990 Karl Berry (karl at hayley)
+
+ * imageto/main.c (main): don't split each line at white columns.
+ * imageto/extract.c (clean_bitmap): set verbose to false before calling
+ find_outline_bbs.
+ * imageto/main.c (get_char_code): make sure we actually find a character
+ code.
+ * imageto/main.c (output_chars): don't extract or clean anything if the
+ character isn't within range.
+ * imageto/extract.c (REPORT_SCANLINE): report every 100 scanlines.
+ * imageto/main.c (output_chars): only give the status report if we
+ actually output the character.
+
+Sat Jul 7 18:22:55 1990 Karl Berry (karl at hayley)
+
+ * lib/memory.c (safe_free): dump core if we are freeing a null item.
+
+Sat Jul 7 11:37:21 1990 Karl Berry (karl at hayley)
+
+ * include/line.h (read_line): doc fix.
+ * include/global.h (GET_PERCENT): new macro.
+
+Sat Jul 7 10:43:18 1990 Karl Berry (karl at hayley)
+
+ * imageto/bb-outline.c (append_bb): changed MAX_ROW, instead of MAX_COL.
+ * imageto/main.c (clean_bitmap): new routine.
+ (output_gf_chars): call it.
+ * imageto/bb-outline.c (find_outline_bbs): take an additional parameter
+ to determine whether to look for inside outlines or not.
+ * imageto/extract.c (REPORT_SCANLINE): report every 50 scanlines,
+ instead of every 10.
+ * imageto/bb-outline.c (find_outline_bbs): look for outlines in
+ column-major order, instead of row-major.
+
+Fri Jul 6 14:21:07 1990 Karl Berry (karl at hayley)
+
+ * lib/bounding-box.c (bb_to_dimensions): ensure that the dimensions
+ are nonnegative.
+
+Thu Jul 5 06:30:56 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_output.c (put_gf_postamble): output the right pointer after
+ the POST byte.
+
+Wed Jul 4 12:06:49 1990 Karl Berry (karl at hayley)
+
+ * lib/memory.c (allocate): dump core if we run out of memory.
+ (reallocate): ditto.
+ * lib/bounding-box.c (dimensions_to_bb): don't subtract one from the
+ width, so it will work with the GF routines.
+ (bb_to_dimensions): use BB_WIDTH and BB_HEIGHT, instead of doing
+ the subtraction out here.
+ * lib/bounding-box.c (update_bounding_box): new routine.
+
+Wed Jul 4 12:05:41 1990 Karl Berry (karl at hayley)
+
+ * include/bounding-box.h (BB_WIDTH): don't add 1, to make it work with
+ the GF routines.
+ * include/bounding-box.h (update_bounding_box): declare this.
+
+Wed Jul 4 09:00:19 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_input.c (get_full_boc): allow the character with code
+ MAX_CHAR_CODE.
+
+Wed Jul 4 08:39:28 1990 Karl Berry (karl at hayley)
+
+ * tfm/tfm_output.c (put_tfm_chars): look at the `exists' member of the
+ character structure, instead of checking for the width being zero.
+
+Sun Jul 1 15:11:56 1990 Karl Berry (karl at hayley)
+
+ * lib/font.c (ascender_part): new routine.
+
+Sun Jul 1 15:11:46 1990 Karl Berry (karl at hayley)
+
+ * include/font.h (ascender_part): declare this.
+
+Tue Jun 26 11:27:15 1990 Karl Berry (karl at hayley)
+
+ * lib/spline.c (evaluate_spline): use temporaries in the computation
+ to avoid a compiler bug.
+ * lib/vector.c (Padd, Pmult_scalar): remove definitions, since they
+ are defined as macros now.
+
+Tue Jun 26 11:27:03 1990 Karl Berry (karl at hayley)
+
+ * include/vector.h (Padd, Pmult_scalar): define as macros.
+
+Sun Jun 24 15:31:34 1990 Karl Berry (karl at claude)
+
+ * lib/font.c (get_font): don't check the checksums if either one is
+ zero.
+
+Sat Jun 23 12:11:47 1990 Karl Berry (karl at hayley)
+
+ * lib/font.c (print_char): change precision for printing the row numbers
+
Fri Jun 22 15:16:52 1990 Karl Berry (karl at hayley)
* data/defsprog.make ($(program)): make dependent on the libraries as
@@ -1730,6 +6113,56 @@ Thu Jun 21 14:27:14 1990 Karl Berry (karl at claude)
program doesn't get installed by default.
* data/defs.make (LDFLAGS): use LDOPT, not LOPT.
+Wed Jun 20 07:32:49 1990 Karl Berry (karl at hayley)
+
+ * tfm/tfm_input.c (tfm_cur_pos): rename to tfm_ftell, and use
+ checked_ftell.
+ (tfm_set_pos): rename to tfm_fseek.
+
+Wed Jun 20 07:24:23 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_output.c (put_gf_preamble): just output the characters of the
+ comment here, instead of calling gf_put_string. Also, don't give
+ a fatal message if the comment is too long.
+ (gf_put_string): delete this.
+ * gf/gf_input.c (gf_cur_pos): use checked_ftell; rename to gf_ftell,
+ and change callers.
+ (gf_set_pos): rename to gf_fseek.
+ * gf/gf_output.c (gf_cur_pos): likewise.
+
+Tue Jun 19 11:50:52 1990 Karl Berry (karl at hayley)
+
+ * lib/fileio.c (move_to_byte): delete this.
+ * lib/fileio.c (cur_pos): rename to checked_ftell, and take a filename
+ argument for perror.
+
+Tue Jun 19 10:56:10 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_input.c (open_gf_input_file): complain if the input file
+ already exists and the caller tries to open a second.
+
+Tue Jun 19 10:18:48 1990 Karl Berry (karl at hayley)
+
+ * include/kbase.h (move_to_byte): delete this.
+ (cur_pos): rename to `checked_ftell', and take a string argument.
+ * include/bzr.h (bzr_preamble_type): add the interword space.
+ (bzr_postamble_type): add the number of characters.
+ (get_next_bzr_char): delete this, and add get_bzr_char, to get a
+ specific character.
+
+Mon Jun 18 12:47:17 1990 Karl Berry (karl at hayley)
+
+ * lib/font.c (find_internal_font): return a pointer to an
+ internal_font_type, instead of a structure, and change callers.
+ (get_font): if we have already saved the font, return it, instead
+ of opening the files again.
+
+Mon Jun 4 16:20:32 1990 Karl Berry (karl at hayley)
+
+ * lib/math.c (find_bounds): use MAXDOUBLE and MINDOUBLE, instead of
+ MAXFLOAT and MINFLOAT.
+ * lib/spline.c (spline_bounding_box): remove this routine.
+
Mon Jun 4 15:40:00 1990 Karl Berry (karl at hayley)
* data/defs.make (load_libraries): change the name to $(LOADLIBES).
@@ -1737,23 +6170,367 @@ Mon Jun 4 15:40:00 1990 Karl Berry (karl at hayley)
* data/defs.make (LFLAGS): don't include $(OPT); instead, make a new
variable, $(LDOPT). Also, change the name to $(LDFLAGS).
+Mon Jun 4 16:21:56 1990 Karl Berry (karl at hayley)
+
+ * include/spline.h (spline_bounding_box): remove this declaration.
+
+Sun Jun 3 11:22:58 1990 Karl Berry (karl at hayley)
+
+ * include/kbase.h, include/vector.h: add const declarations.
+ * include/all files: use `(void)' in the prototypes where appropriate.
+
+Sun Jun 3 11:06:31 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_input.c (get_character_bitmap): ignore NO_OPs before the EOC
+ of a blank character.
+
+Sun Jun 3 10:51:28 1990 Karl Berry (karl at hayley)
+
+ * lib/arith.c, math.c, vector.c: add const declarations.
+ * lib/fileio.c (get_two, get_four): don't bother to initialize the
+ variable before we read it.
+ * lib/fileio.c (get_n_bytes): improve the error message if the read
+ fails.
+
Sat Jun 2 16:09:22 1990 Karl Berry (karl at hayley)
* data/defs.make (link_libraries): add $(libraries) back in.
+Sat Jun 2 07:56:01 1990 Karl Berry (karl at hayley)
+
+ * include/bounding-box (update_real_bounding_box): declare this.
+ * include/bounding-box.h (increase_int_bound): remove this.
+ * include/font.h, spline.h: include <stdio.h>, since we use FILE.
+ * include/spline.h (SPLINE_LIST_LENGTH, SPLINE_LIST_DATA,
+ SPLINE_LIST_ELT): new accessor macros.
+
+Sat Jun 2 07:51:08 1990 Karl Berry (karl at hayley)
+
+ * lib/bounding-box.c (increase_int_bound): remove this.
+ * lib/spline.c (print_spline): print different things for lines and
+ splines.
+
+Fri Jun 1 15:36:38 1990 Karl Berry (karl at hayley)
+
+ * tfm/tfm_input.c (close_tfm_input_file): use checked_fclose.
+ * tfm/tfm_output.c (close_pl_output_file): likewise.
+
+Fri Jun 1 15:14:29 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_output.c (close_gf_output_file): use checked_fclose.
+ * gf/gf_output.c (open_gf_output_file): make sure the output file
+ hasn't already been opened.
+
+Wed May 30 16:21:43 1990 Karl Berry (karl at hayley)
+
+ * tfm/tfm_input.c (get_tfm_char): set the `exists' member of the
+ character structure.
+ * tfm/tfm_util.c (new_tfm_char): initialize the `exists' member.
+
+Wed May 30 16:20:35 1990 Karl Berry (karl at hayley)
+
+ * include/tfm.h (tfm_char_type): add a new member, `exists', since a
+ width of zero does not imply the character does not exist.
+
+Wed May 30 16:02:26 1990 Karl Berry (karl at hayley)
+
+ * lib/bitmap.c (new_bitmap): if the bitmap is going to be zero bits,
+ don't try to allocate it.
+ * lib/font.c (get_font): figure out how many characters are in the
+ font by testing the `exists' member of the TFM structure.
+ * lib/font.c (get_font): don't try to open the GF file if we couldn't
+ find it.
+
+Wed May 30 15:36:46 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_input.c (get_full_boc): make sure the character code is in
+ range.
+
+Wed May 30 15:32:37 1990 Karl Berry (karl at hayley)
+
+ * pk/pk_input.c (get_one_pk_char): give a better error message if the
+ character code is out of range; allow for it to be negative.
+
+Sat May 26 08:19:24 1990 Karl Berry (karl at hayley)
+
+ * include/varstring.h (variable_string): remove the structure tag, since
+ it was only needed for an old version of gdb.
+
+Tue May 22 09:51:20 1990 Karl Berry (karl at hayley)
+
+ * lib/fileio.c (find_path_filename): close the directories in the path.
+
+Sat May 19 12:27:35 1990 Karl Berry (karl at hayley)
+
+ * include/global.h: declare the functions if USGr3 is not defined,
+ instead of the hardware types.
+
+Sat May 19 10:30:39 1990 Karl Berry (karl at hayley)
+
+ * lib/fileio.c (find_path_filename): return NULL if we can't find the
+ file, instead of the original name.
+ * lib/font.c (get_font): rewrite the file-opening code.
+
+Wed May 16 18:02:54 1990 Karl Berry (karl at aten)
+
+ * lib/font.c (string_to_bitmap): if the character doesn't exist in the
+ font, don't crash.
+ * lib/fileio.c (find_path_filename): don't get a fatal error when a
+ directory in the path doesn't exist.
+
+Sun May 13 14:33:52 1990 Karl Berry (karl at hayley)
+
+ * include/dirio.h (is_dir): declare this.
+
+Sun May 13 13:45:12 1990 Karl Berry (karl at hayley)
+
+ * lib/dirio.c (is_dir): new routine.
+ * lib/fileio.c (find_path_filename): just return the name we're given
+ if the path is relative; move the suffix concatenation out of the
+ loop; search in subdirectories.
+
+Sat May 12 08:35:44 1990 Karl Berry (karl at hayley)
+
+ * include/list.h (LIST_DATA): new macro to get the entire array.
+
+Tue May 8 12:08:57 1990 Karl Berry (karl at hayley)
+
+ * lib/math.c: doc fix.
+
+Thu May 3 10:45:05 1990 Karl Berry (karl at hayley)
+
+ * lib/line.c (read_line): use VS_CHARS.
+
+Thu May 3 09:29:17 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_common.c (new_gf_char): delete this.
+ * gf/gf_input.c (get_gf_char): don't call it.
+
+Thu May 3 08:40:53 1990 Karl Berry (karl at hayley)
+
+ * include/tfm.h (TFM_FIX_WIDTH): new accessor macro.
+ * include/gf.h (new_gf_char): remove declaration.
+
+Wed May 2 12:25:08 1990 Karl Berry (karl at claude)
+
+ * lib/font.c (string_to_bitmap): don't close the font when we're done.
+
+Wed May 2 12:14:57 1990 Karl Berry (karl at claude)
+
+ * pk/pk_input.c (delete_internal_font): new routine.
+ (close_pk_input_file): call it, instead of doing the work here.
+
Wed May 2 11:53:13 1990 Karl Berry (karl at claude)
* data/defslib.make (researchinstall): do mv -f, not just mv.
+Wed Apr 25 13:16:28 1990 Karl Berry (karl at aten)
+
+ * lib/font.c (string_to_bitmap): don't asked for chars[x] when x is a
+ character that isn't there.
+
+Tue Apr 24 18:35:08 1990 Karl Berry (karl at hayley)
+
+ * lib/math.c (real_to_int_coord): new routine.
+
+Sun Apr 22 14:51:51 1990 Karl Berry (karl at aten)
+
+ * include/font.h (CHAR_HEIGHT): don't return the boolean value.
+ Also, forgot to include the baseline row.
+ * include/font.h (font_info_type): remove the `height' and `depth'
+ members.
+
+Sun Apr 22 07:04:07 1990 Karl Berry (karl at hayley)
+
+ * pk/pk_input.c (unpack): off by one in calculation of the minimum row.
+
+Sun Apr 22 06:42:37 1990 Karl Berry (karl at hayley)
+
+ * lib/font.c (string_to_bitmap): initialize char_y properly.
+ [whoops, I mean test it properly, and initialize y.]
+ Pass the row and column to BITMAP_PIXEL in the right order.
+ Give the row and column to the constructor in the right order,
+ too. Use MAX to find the depth, not MIN.
+ * lib/font.c (print_char): print the bitmap here, so we can print out
+ the Cartesian row number, instead of calling `print_bitmap'.
+
+Sat Apr 21 09:49:42 1990 Karl Berry (karl at hayley)
+
+ * lib/fileio.c (get_n_bytes): use fread to read the whole block,
+ instead of getting them one byte at a time.
+
+Sat Apr 21 09:43:34 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_input.c (gf_get_string): add a trailing null to the end of
+ the returned string.
+
+Thu Apr 19 16:19:33 1990 Karl Berry (karl at hayley)
+
+ * lib/font.c (get_font): do checksum test before getting the
+ postamble.
+
+Thu Apr 19 16:10:21 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_common.c (new_gf_postamble): forgot to initialize character
+ #255 in a new postamble.
+ * gf/gf_input.c (get_postamble): don't ignore the checksum.
+
+Wed Apr 18 15:54:09 1990 Karl Berry (karl at aten)
+
+ * include/global.h [!i386]: declare sprintf, scanf.
+
+Tue Apr 17 16:53:31 1990 Karl Berry (karl at hayley)
+
+ * lib/font.c (print_char): new routine to print a text representation
+ of a character.
+
+Tue Apr 17 07:17:33 1990 Karl Berry (karl at hayley)
+
+ * pk/pk_input.c (pk_get_two): new routine.
+ (get_one_pk_char): call it to get the packet length in the
+ extended short format.
+ * pk/pk_input.c (unpack): get the h and v_offset values as signed
+ numbers.
+ * pk/pk_input.c: make `do_upper_nybble' visible to the file, so that
+ we can set it to true before reading each character.
+
+Mon Apr 16 16:53:36 1990 Karl Berry (karl at hayley)
+
+ * pk/pk_input.c (get_packed_bitmap): don't overwrite the repeat count
+ for a row on a subsequent run count.
+ * pk/pk_input.c (get_run_count): forgot to initialize *repeat_count
+ to zero, and to only look for it once.
+ * pk/pk_input.c (data_get_nybble): returned the upper nybble when we
+ wanted the lower, and vice versa.
+ * pk/pk_input.c (get_one_pk_char): tested wrong bit to see which
+ preamble format we were supposed to read.
+ * pk/pk_input.c (get_one_pk_char): allocate the space for each packed
+ character before we fill it in.
+ * pk/pk_input.c (get_one_pk_char): the flag byte has already been
+ read; get it as a parameter, not by reading it from the file.
+ * pk/pk_input.c (get_all_pk_chars): test for a non-command first,
+ since that is so common. And give a fatal error if we hit a
+ command that isn't undefined.
+
+Mon Apr 16 11:12:28 1990 Karl Berry (karl at hayley)
+
+ * lib/font.c (get_font): get the design size from the TFM file,
+ instead of the bitmap file.
+
+Mon Apr 16 07:21:42 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_opcodes.h: add #pragma once.
+
+Sun Apr 15 07:34:19 1990 Karl Berry (karl at hayley)
+
+ * lib/font.c (get_font): do not set the font bounding box.
+
+Sat Apr 14 17:04:40 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_input.c (get_character_bitmap): call get_specials when we see
+ a special opcode, so that we skip over the arguments.
+
+Sat Apr 14 15:11:19 1990 Karl Berry (karl at hayley)
+
+ * lib/fileio.c (checked_fseek): make argument type be
+ seek_direction_type.
+ * lib/fileio.c (checked_fclose): new (trivial) routine.
+
+Sat Apr 14 14:53:23 1990 Karl Berry (karl at hayley)
+
+ * include/kbase.h (checked_fclose): declare it.
+
+Thu Apr 12 14:58:24 1990 Karl Berry (karl at hayley)
+
+ * tfm/tfm_input.c (get_interword_space): rename to
+ `tfm_get_interword_space'.
+
Thu Apr 12 14:28:39 1990 Karl Berry (karl at hayley)
* data/defs.make: always link with the font libraries, since
kbase/font.c needs them.
+Thu Apr 12 12:19:19 1990 Karl Berry (karl at hayley)
+
+ * include/list.h (LIST_ELT, LIST_SIZE): define these macros to use the
+ list_type structure.
+ * include/types.h (REAL): take this type out; `real' will suffice.
+ (COMPLEX): rename this type to `complex'.
+ * include/kbase.h (find_path_name): new argument for a default path.
+ * include/global.h: declare access(2) and an access_bit_type for its
+ second argument.
+
+Thu Apr 12 12:06:17 1990 Karl Berry (karl at hayley)
+
+ * lib/GNUmakefile: do not define USG and USGr3.
+ * lib/time.c: include <sys/types.h> and declare time(2) and ctime(3)
+ using time_t.
+ * lib/fileio.c (find_path_filename): use access(2) instead of
+ fopen(3); pass the default path to find_components.
+ (find_components): use a default path if the environment variable
+ doesn't exist.
+
+Tue Apr 10 07:14:38 1990 Karl Berry (karl at hayley)
+
+ * include/global.h (MAX): only define it if it's not already defined.
+
+Mon Apr 9 12:10:26 1990 Karl Berry (karl at hayley)
+
+ * tfm/(all files): upcase macro names.
+
+Mon Apr 9 08:19:53 1990 Karl Berry (karl at hayley)
+
+ * lib/math.c (distance): remove this, I came across hypot(3).
+ * lib: all files: upcase macro names.
+
+Mon Apr 9 07:11:48 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_common.c (new_gf_postamble): remove references to the
+ specials; upcase `max_char_code' and `null_byte_ptr'.
+ (new_gf_char): new name for `new_generic_char'; remove references
+ to the specials.
+ gf/gf_input.c (thoughout): use macros to look at the postamble and
+ character structures; upcase `fatal' and other global macros.
+ gf/gf_output.c: likewise.
+ gf/GNUmakefile: remove references to gf_util.c and generic.h.
+
+Sun Apr 8 11:42:53 1990 Karl Berry (karl at hayley)
+
+ * tfm/tfm_input.c (get_tfm_global_info): if we've already read the
+ global info, just return the structure, instead of reading it
+ again.
+
+Sun Apr 8 10:32:18 1990 Karl Berry (karl at hayley)
+
+ * include/bitmap.h (BITMAP_DIMENSIONS, ...): upcase names.
+ (BITMAP_BITS): new macro to access the bitmap pointer itself.
+ * include/global.h: (max, min, ...): upcase names.
+ * include/global.h (MAX_BOUND): only define it if it isn't already
+ defined.
+ * include/types.h (dimensions_width, dimensions_height): upcase names.
+ * include/bounding-box.h (get_min_row, ...): change names to MIN_ROW, ..
+ * include/gf.h (GF_CHECKSUM, GF_FONT_BB): new accessor macros.
+ * include/tfm.h (tfm_get_checksum): declare this new routine.
+ * include/types.h (fix_word): describe it as well as define it.
+ * include/gf.h (gf_postamble_type): remove the special parameters; they
+ aren't needed anymore.
+ generic.h (generic_char_type): ditto.
+ * include/generic.h (generic_char_type): change the names of some of the
+ members, for consistency with the pk names.
+
+Fri Apr 6 11:55:26 1990 Karl Berry (karl at hayley)
+
+ * include/tfm.h: rename `get_interword_space' to
+ `tfm_get_interword_space'.
+
Wed Apr 4 16:45:36 1990 Karl Berry (karl at aten)
* data/defsprog.make: do mv -f, not just mv.
+Tue Apr 3 17:32:24 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_input.c (deblank): forgot to initialize width and height.
+
Tue Apr 3 08:59:09 1990 Karl Berry (karl at hayley)
* data/defs.make: new variables `gnu_libraries', `X_libraries',
@@ -1763,14 +6540,271 @@ Sun Mar 25 12:00:43 1990 Karl Berry (karl at aten)
* data/defs.make: don't define the `libraries' variable to be empty.
+Sun Mar 18 14:58:23 1990 Kathy Hargreaves (kathy at hayley)
+
+ * lib/bounding_box.[hc] (increase_int_bound): added this to increase a
+ bounding boxes bounds nicely, i.e., if the bound is negative, it
+ gets decreased, and increased otherwise.
+
+Fri Mar 16 19:52:12 1990 Karl Berry (karl at hayley)
+
+ * include/global.h (ARGUMENT_IS): update for new version of getopt.
+
+Thu Mar 1 11:19:06 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_output.c (put_gf_char): don't fail when a character is output
+ more than once; just give a warning (and only outpt the first one).
+ * gf/gf_input.c (deblank): don't fail if the character is all white
+ (in which case white_on_right=white_on_left, and we don't want to
+ subtract them both from the width).
+ * gf/gf_input.c (get_character_bitmap): and fix the same off-by-one
+ bug fixed on Feb 23, this time for the height. Will I ever get
+ this right?
+ [no, rescind that. The height IS inclusive, and the width is NOT
+ inclusive.]
+ * gf/gf_input.c (get_character_bitmap): if the character is zero
+ wide, read the EOC following.
+ * gf/gf_input.c (get_character_bitmap): don't assert that the
+ max_row >= min_row (or col), because if the character is zero
+ high (or wide), it won't be.
+ (deblank): make this_col be int, not unsigned, since we subtract
+ one from it.
+
+Tue Feb 27 21:01:24 1990 Kathy Hargreaves (kathy at hayley)
+
+ * lib/fileio.c (get_n_bytes): don't try to read zero bytes.
+
+Tue Feb 27 20:58:52 1990 Kathy Hargreaves (kathy at hayley)
+
+ * gf/gf_input.c (gf_get_string): if the length is zero, don't try to
+ read anything from the file.
+
+Fri Feb 23 13:28:07 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_input.c (get_character_bitmap): fix off-by-one in deciding how
+ wide the bitmap should be.
+
+Fri Feb 23 08:43:02 1990 Karl Berry (karl at hayley)
+
+ * tfm/tfm_input.c (get_tfm_char): remember the dimensions in their
+ original fix_word units, as well as in points.
+
+Fri Feb 23 08:16:34 1990 Karl Berry (karl at hayley)
+
+ * include/tfm.h (tfm_char_type): add fix_width et al. to the structure.
+ * include/all files: add #pragma once.
+
+Wed Feb 7 17:22:27 1990 Karl Berry (karl at hayley)
+
+ * tfm/tfm_input.c (tfm_get_design_size): new routine.
+ (tfm_get_coding_scheme): rename `get_coding_scheme'.
+
+Wed Feb 7 17:20:51 1990 Karl Berry (karl at hayley)
+
+ * include/tfm.h (tfm_get_design_size): new routine.
+ (tfm_get_coding_scheme): rename `get_coding_scheme'.
+
+Wed Feb 7 17:00:47 1990 Karl Berry (karl at hayley)
+
+ * lib/time.c (now): chop off the trailing space.
+
+Sat Feb 3 10:28:28 1990 Karl Berry (karl at hayley)
+
+ * gf/Makefile: rename to GNUmakefile.
+
+Mon Jan 29 12:46:56 1990 Karl Berry (karl at hayley)
+
+ * lib/bounding-box.c (bb_to_dimensions): new routine.
+ * lib/math.c (atou): like atoi but < 0 is a fatal error.
+
+Mon Jan 29 12:27:32 1990 Karl Berry (karl at hayley)
+
+ * include/dirio.h: use USGr3 instead of i386 for the conditional.
+ * include/kbase.h (atou): declare it.
+ * include/global.h (ARGUMENT_IS): macro for use with getopt.
+
+Sun Jan 28 14:48:35 1990 Karl Berry (karl at hayley)
+
+ * tfm/tfm_util.c (set_kern): move this routine from tfm_input.c.
+ * tfm/tfm_output.c (change_pl_to_tfm): check that pl_output_filename
+ is non-NULL.
+
+Wed Jan 24 17:49:01 1990 Karl Berry (karl at hayley)
+
+ * gf/gf_util.c (ascender_part): new routine.
+
+Wed Jan 24 17:43:36 1990 Karl Berry (karl at hayley)
+
+ * include/gf.h (ascender_part): declare it.
+
+Sun Jan 21 09:55:14 1990 Karl Berry (karl at hayley)
+
+ * lib/Makefile: rename to GNUmakefile.
+ * lib/bounding_box.c (dimensions_to_bounding_box): rename to
+ dimensions_bb. Remove other conversion routines. And rename to
+ bounding-box.c.
+
+Sun Jan 21 09:52:23 1990 Karl Berry (karl at hayley)
+
+ * include/bounding_box.h (dimensions_to_bounding_box): rename to
+ dimensions_to_bb. Also, remove various other conversion routines
+ that are now unused. And rename the file to bounding-box.h.
+
+Fri Dec 22 17:33:30 1989 Karl Berry (karl at hayley)
+
+ * tfm/tfm_input.c (tfm_get_x_height): new routine.
+
+Fri Dec 22 17:32:04 1989 Karl Berry (karl at hayley)
+
+ * include/tfm.h (tfm_get_x_height): new routine.
+
+Fri Nov 17 07:46:51 1989 Karl Berry (karl at hayley)
+
+ * include/types.h: only #define FALSE and TRUE if they are not already
+ defined. (The X library defines them.)
+
+Tue Nov 14 22:57:50 1989 Karl Berry (karl at hayley)
+
+ * include/global.h: add declaration for putenv.
+
+Mon Nov 13 08:18:21 1989 Karl Berry (karl at hayley)
+
+ * include/global.h: add declaration for calloc.
+
Mon Nov 13 08:16:53 1989 Karl Berry (karl at hayley)
* data/defs.make (realclean): delete #* and *~, also.
+Sun Nov 12 20:19:07 1989 Karl Berry (karl at hayley)
+
+ * include/global.h (get_string_argument, get_real_argument,
+ get_integer_argument): give error message if we don't have an
+ argument to get.
+
+Sat Nov 11 17:37:57 1989 Karl Berry (karl at hayley)
+
+ * include/global.h (max, min): parenthesize arguments properly.
+
+Sun Nov 5 08:28:25 1989 Karl Berry (karl at hayley)
+
+ * include/global.h (start_fatal, start_warning, end_fatal, end_warning):
+ swallow a trailing semicolon.
+ (print?): delete these.
+
+Tue Oct 31 07:24:05 1989 Karl Berry (karl at hayley)
+
+ * lib/math.c (int_to_real_coordinate): remove this.
+
Mon Oct 30 19:18:40 1989 Karl Berry (karl at hayley)
* data/ all files: add the copyleft.
+Mon Oct 30 18:41:42 1989 Karl Berry (karl at hayley)
+
+ * gf/all files: add the copyleft.
+
+Mon Oct 30 14:03:57 1989 Karl Berry (karl at hayley)
+
+ * lib: all files: add the copyleft.
+ * lib/string.c (concat4): define this.
+
+Mon Oct 30 12:37:02 1989 Karl Berry (karl at hayley)
+
+ * tfm: all files: add the copyleft.
+ * tfm/tfm_util.c: define new_tfm_chars.
+ * tfm/tfm_output.c (put_tfm_global_info): take a structure as input,
+ not a pointer.
+ (new_tfm_char): move to tfm_util.c.
+
+Mon Oct 30 12:36:38 1989 Karl Berry (karl at hayley)
+
+ * include/all files: add the copyleft.
+ * include/kbase.h (concat4): declare this.
+ * include/tfm.h (put_tfm_global_info): take a structure, not a pointer.
+ (new_tfm_chars, new_tfm_char): declare these.
+ (TFM_SIZE): use this, instead of 256, even though it will never change
+
+Sun Oct 29 18:37:33 1989 Karl Berry (karl at claude)
+
+ * lib/math.c (undefined_real_coordinate): remove this.
+
+Sun Oct 29 08:13:05 1989 Karl Berry (karl at hayley)
+
+ * tfm/tfm_output.c (put_pl_file): remove this, and add put_tfm_chars
+ and put_tfm_global_info in its place.
+
+Sun Oct 29 08:03:46 1989 Karl Berry (karl at hayley)
+
+ * include/global.h [! i386 || sun386]: declaration for strtok. Also add
+ prototypes for most routines.
+ * include/tfm.h (put_pl_output_file): break this up into two new
+ routines, put_tfm_global_info and put_tfm_chars.
+
+Sun Oct 29 07:33:50 1989 Karl Berry (karl at hayley)
+
+ * gf/gf_output.c (put_boc): have to test the maximums of the bounding
+ box for sign, as well as the deltas.
+
+Sat Oct 28 15:55:59 1989 Karl Berry (karl at hayley)
+
+ * lib/arith.c (real_to_scaled, real_to_fix): multiply the integer part
+ by scaled_one and fix_one, respectively.
+ * lib/fileio.c (put_three): define this.
+ (put_three, put_four): had the mask wrong for the
+ low-order byte.
+ (put_two, put_three, put_four): a & b >> c is
+ a & (b >> c), not (a & b) >> c.
+
+Sat Oct 28 15:36:41 1989 Karl Berry (karl at hayley)
+
+ * include/kbase.h (put_three): declaration for this.
+ * include/types.h (THREE_BYTES_BIG): define this (1 << 24).
+
+Sat Oct 28 15:20:26 1989 Karl Berry (karl at hayley)
+
+ * gf/gf_output.c (put_skip): correct misinterpretation of the SKIP0
+ opcode.
+ * gf/gf_output.c (put_paint, put_skip, put_new_row): define these.
+ * gf/gf_output.c (font_bb): initialize using MAXINT, from <values.h>.
+
+Fri Oct 27 22:14:37 1989 Karl Berry (karl at hayley)
+
+ * include/types.h, bitmap.h, gf.h, generic.h: cosmetic changes
+ (via indent -gnu).
+
+Fri Oct 27 22:14:05 1989 Karl Berry (karl at hayley)
+
+ * lib/bitmap.c (new_bitmap): use the bitmap_dimensions macro.
+
+Wed Oct 18 18:43:38 1989 Karl Berry (karl at ice9)
+
+ * include/global.h: the externs previously conditional on __i386__ are
+ now included also if the machine is a Sun 386i, i.e., they are
+ conditional on ! __i386__ || __sun386__.
+
+Tue Oct 17 21:36:31 1989 Karl Berry (karl at hayley)
+
+ * gf/gf_input.c (get_locators): CHAR_LOC commands take a one-byte
+ character residue, like CHAR_LOC0 commands, not four-byte
+ character codes.
+
+Sat Oct 14 16:04:31 1989 Kathy Hargreaves (kathy at hayley)
+
+ * include/types.h: added dimensions_height and dimensions_width macros.
+
+Fri Oct 13 21:33:15 1989 Kathy Hargreaves (kathy at hayley)
+
+ * include/global.h: define POINTS_PER_INCH.
+ * include/global.h: change preprocessor symbol to __i386__ for -ansi's
+ sake.
+
+Wed Oct 11 17:00:02 1989 Karl Berry (karl at mote)
+
+ * include/global.h [not i386]: externs for fflush, ungetc, and fscanf.
+ * include/dirio.h: system V calls a directory entry a `struct dirent *',
+ but BSD calls it a `struct direct *'. Make directory_entry_type
+ typedef to handle this, ifdefed on i386.
+
Tue Oct 10 10:05:53 1989 Karl Berry (karl at hayley)
* data/defs.make: delete the ifdef profile definitions, and define OPT,
@@ -1779,6 +6813,38 @@ Tue Oct 10 10:05:53 1989 Karl Berry (karl at hayley)
* data/defsprogram.make: rename this to defsprog.make, for the sake of
system V.
+Sun Oct 8 18:52:10 1989 Karl Berry (karl at hayley)
+
+ * include/kbase.h (epsilon_equal): declare this.
+ (REAL_EPSILON): define this for use by epsilon_equal and clients.
+ * include/bitmap.h (free_bitmap): declare this.
+
+Sun Oct 8 15:41:01 1989 Karl Berry (karl at hayley)
+
+ * lib/math.c (epsilon_equal): new function to test if two values are
+ within epsilon of each other.
+ (acosd): changed to call that one.
+ * lib/bitmap.c (free_bitmap): new function to deallocate storage
+ used in a bitmap_type.
+ * lib/math.c (acosd): normalize to 1.0 or -1.0 if the argument is
+ within an epsilon of that anyway.
+
+Fri Oct 6 22:12:05 1989 Karl Berry (karl at hayley)
+
+ * lib/line.c (read_line): overwrite the newline at the end of the
+ string with a null.
+
+Fri Oct 6 19:18:58 1989 Karl Berry (karl at hayley)
+
+ * gf/gf_util.c (print_gf_char): pass in a file parameter, instead of
+ always writing to stdout.
+
+Fri Oct 6 19:15:31 1989 Karl Berry (karl at hayley)
+
+ * include/global.h: fflush stdout and stderr after warnings, to prevent
+ timing problems.
+ * include/gf.h (print_gf_char): take a FILE * parameter.
+
Copyright (C) 1990, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
diff --git a/charspace/GNUmakefile b/charspace/GNUmakefile
index b7a4584..6e5de27 100644
--- a/charspace/GNUmakefile
+++ b/charspace/GNUmakefile
@@ -2,10 +2,10 @@
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
#
-# This program is free software; you can redistribute it and/or modify
+# 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.
+# 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
@@ -13,8 +13,8 @@
# 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.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
program = charspace
diff --git a/charspace/char.c b/charspace/char.c
index 0d53a54..0130f6a 100644
--- a/charspace/char.c
+++ b/charspace/char.c
@@ -1,20 +1,20 @@
-/* char.c: functions to muck with `char_type's.
-
-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. */
+# char.c: functions to muck with `char_type's.
+#
+# 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"
@@ -34,7 +34,7 @@ static void update_sidebearings (char_type *, char_info_type *,
tfm_char_type *);
static char_type *update_via_name (string, char_info_type *, tfm_char_type *);
static void update_width (char_type *, char_info_type *, tfm_char_type *);
-
+
/* Initialize the parts of the character structure. */
char_type
@@ -50,7 +50,7 @@ init_char ()
return c;
}
-
+
/* Our goal here is to extract the information about the character CODE
from the symbol table, and fill in the information from the bitmap
and TFM fonts. We also read ligature information from the encoding
@@ -131,7 +131,7 @@ do_char (charcode_type code, char_type **c_ptr_addr)
return;
}
-
+
/* Assume that CHAR_NAME exists in the encoding vector. If looking up
CHAR_NAME in the symbol table yields a character, return a pointer to
the `char_type' in the symbol table with updated side bearing
@@ -185,7 +185,7 @@ update_via_name (string char_name, char_info_type *bitmap_char,
return c_ptr;
}
-
+
/* Update the set width and sidebearings for a character defined with
`char-width'. We take the RSB info in C_PTR to be the desired set
width and the LSB to be the percentage of whitespace to make the left
@@ -277,7 +277,7 @@ update_sidebearings (char_type *c_ptr, char_info_type *bitmap_char,
update_metrics (real_width, lsb, bitmap_char, tfm_char);
}
}
-
+
/* Following routines are called by both `update_sidebearings' and
`update_width'. */
@@ -332,7 +332,7 @@ update_metrics (real real_width, real lsb, char_info_type *bitmap_char,
CHAR_MIN_COL (*bitmap_char) = lsb;
CHAR_MAX_COL (*bitmap_char) = lsb + CHAR_BITMAP_WIDTH (*bitmap_char);
}
-
+
/* Update the kern list in TFM_CHAR from any kerns in *C_PTR. */
static void
@@ -368,7 +368,7 @@ update_kerns (char_type *c_ptr, tfm_char_type *tfm_char)
}
}
}
-
+
/* We need to do this several times, so... Have to use the global
`dpi-real'. */
diff --git a/charspace/char.h b/charspace/char.h
index a424a4c..135d8c6 100644
--- a/charspace/char.h
+++ b/charspace/char.h
@@ -1,20 +1,20 @@
-/* char.h: the definition of `char_type'.
-
-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. */
+# char.h: the definition of `char_type'.
+#
+# 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/>.
+#
#ifndef CHAR_H
#define CHAR_H
diff --git a/charspace/cmi.h b/charspace/cmi.h
index 5ce36fd..60541e9 100644
--- a/charspace/cmi.h
+++ b/charspace/cmi.h
@@ -1,24 +1,22 @@
-/* A Bison parser, made by GNU Bison 2.3. */
-
-/* Skeleton interface for Bison's Yacc-like parsers in C
-
- Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
- 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 2, 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., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA. */
+# A Bison parser, made by GNU Bison 2.3.
+# Skeleton interface for Bison's Yacc-like parsers in C
+#
+# Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+# 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/>.
+#
/* As a special exception, you may create a larger work that contains
part or all of the Bison parser skeleton and distribute that work
diff --git a/charspace/cmi.y b/charspace/cmi.y
index 3281188..28e3827 100644
--- a/charspace/cmi.y
+++ b/charspace/cmi.y
@@ -1,37 +1,32 @@
-%{
-/* cmi.y: parse a character metric information file, entering what we
- find into the symbol table.
-
-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. */
+# cmi.y: parse a character metric information file, entering what we
+# find into the symbol table.
+#
+# 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"
-
#include <kpathsea/c-ctype.h>
#include "libfile.h"
#include "varstring.h"
-
#include "input-cmi.h"
#include "main.h"
#include "symtab.h"
-
static void yyerror (string);
static int yylex (void);
-%}
%union
{
@@ -46,7 +41,7 @@ static int yylex (void);
/* A <symval> is not a symbol, it's the value of a symbol. */
%type <symval> expr
-
+
%%
statements:
/* empty */
@@ -129,7 +124,7 @@ expr:
{ $$ = symtab_real_string_node ($1, $2); }
;
%%
-
+
/* Let's hope Bison will never use this value as a token code. */
#define NOT_A_TOKEN (-1)
@@ -209,7 +204,7 @@ yyerror (string s)
{
fprintf (stderr, "%s:%u: %s\n", libfilename (), lineno, s);
}
-
+
/* Read a numeric decimal constant from the file F. Always return T_REAL
and set yylval.realval. */
@@ -255,7 +250,7 @@ get_numeric_token (FILE *f)
return T_REAL;
}
-
+
/* Read a string constant from the file F. We make no provision for
quoting " characters; the string just consists of everything from one
" to the next. We return T_STRING and set yylval.strval. */
@@ -279,7 +274,7 @@ get_string_token (FILE *f)
return T_STRING;
}
-
+
/* Return the Bison-defined value for the token equal to the
next (space-delimited) identifier in the file F. That is, if it's a
reserved word return the corresponding value TR_..., else return
diff --git a/charspace/input-cmi.c b/charspace/input-cmi.c
index 25da5ec..25f1e39 100644
--- a/charspace/input-cmi.c
+++ b/charspace/input-cmi.c
@@ -1,33 +1,30 @@
-/* input-cmi.c: routines to control the CMI parsing.
-
-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. */
+# input-cmi.c: routines to control the CMI parsing.
+#
+# 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"
-
#include "libfile.h"
-
#include "input-cmi.h"
-
/* Font-specific sidebearing and other information. (-cmi-files)
`cmi_file' is used as the input file in `cmi.y'. */
FILE *cmi_file;
string *cmi_names = NULL;
-
+
/* Call `read_cmi_file' on each CMI file in CMI_NAMES. DPI is
simply passed along. */
diff --git a/charspace/input-cmi.h b/charspace/input-cmi.h
index 67b46da..e844807 100644
--- a/charspace/input-cmi.h
+++ b/charspace/input-cmi.h
@@ -1,20 +1,20 @@
-/* input-cmi.h: declarations for top-level CMI reading.
-
-Copyright (C) 1992, 1993, 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. */
+# input-cmi.h: declarations for top-level CMI reading.
+#
+# Copyright (C) 1992, 1993, 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/>.
+#
#ifndef INPUT_CMI_H
#define INPUT_CMI_H
diff --git a/charspace/kern.c b/charspace/kern.c
index 099fa3b..c8eb2f8 100644
--- a/charspace/kern.c
+++ b/charspace/kern.c
@@ -1,23 +1,22 @@
-/* kern.c: kerns in the CMI 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. */
+# kern.c: kerns in the CMI 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"
-
#include "kern.h"
diff --git a/charspace/kern.h b/charspace/kern.h
index 6efa093..853da30 100644
--- a/charspace/kern.h
+++ b/charspace/kern.h
@@ -1,20 +1,20 @@
-/* kern.h: handle kerns in the CMI 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. */
+# kern.h: handle kerns in the CMI 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/>.
+#
#ifndef KERN_H
#define KERN_H
diff --git a/charspace/main.c b/charspace/main.c
index 8ca559d..7e70f48 100644
--- a/charspace/main.c
+++ b/charspace/main.c
@@ -1,20 +1,20 @@
-/* charspace -- find intercharacter spacing based on user information.
-
-Copyright (C) 1992, 2004, 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. */
+# charspace -- find intercharacter spacing based on user information.
+#
+# Copyright (C) 1992, 2004, 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"
diff --git a/charspace/main.h b/charspace/main.h
index c38b333..3db93d8 100644
--- a/charspace/main.h
+++ b/charspace/main.h
@@ -1,20 +1,20 @@
-/* main.h: global variable declarations.
-
-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. */
+# main.h: global variable declarations.
+#
+# 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/>.
+#
#ifndef MAIN_H
#define MAIN_H
diff --git a/charspace/old-output.c b/charspace/old-output.c
index be6c4ce..9c0d744 100644
--- a/charspace/old-output.c
+++ b/charspace/old-output.c
@@ -1,20 +1,20 @@
-/* output.c: output
-
-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.c: output
+#
+# 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"
diff --git a/charspace/output.c b/charspace/output.c
index 5083ffe..45b28e6 100644
--- a/charspace/output.c
+++ b/charspace/output.c
@@ -1,20 +1,20 @@
-/* output.c: use the `char_type's' information to output a new font.
-
-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.c: use the `char_type's' information to output a new font.
+#
+# 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"
@@ -49,7 +49,7 @@ static void update_tfm_info_from_symtab (tfm_global_info_type *);
static void write_gf (bitmap_font_type, char_type *[]);
static void write_tfm (char_type *[]);
static boolean write_tfm_char (charcode_type, char_type *[]);
-
+
/* Output a TFM and (optionally) GF file with the characters in CHARS.
Use the characters from BITMAP_FONT for the shapes. We use an
existing TFM file, the encoding file, and command line arguments to
@@ -63,7 +63,7 @@ output_font (bitmap_font_type bitmap_font, char_type *chars[])
if (!no_gf)
write_gf (bitmap_font, chars);
}
-
+
/* Write a TFM file with CHARS. */
static void
@@ -298,7 +298,7 @@ finalize_lig_list (tfm_char_type *c, char_type *chars[])
/* Insert the good list. */
TFM_LIGATURE (*c) = good_list;
}
-
+
/* Write a GF file using BITMAP_FONT and CHARS. Don't overwrite an
existing file named `BITMAP_FONT_FILENAME (FONT)'. */
diff --git a/charspace/output.h b/charspace/output.h
index 52fb5fd..0dad348 100644
--- a/charspace/output.h
+++ b/charspace/output.h
@@ -1,20 +1,20 @@
-/* output.h: declarations for outputting the newly spaced font.
-
-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.h: declarations for outputting the newly spaced font.
+#
+# 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/>.
+#
#ifndef OUTPUT_H
#define OUTPUT_H
diff --git a/charspace/realstrval.h b/charspace/realstrval.h
index b6dfef6..9a956e1 100644
--- a/charspace/realstrval.h
+++ b/charspace/realstrval.h
@@ -1,20 +1,20 @@
-/* realstrval.h: types common to `char.h' and `symtab.h'.
-
-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. */
+# realstrval.h: types common to `char.h' and `symtab.h'.
+#
+# 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/>.
+#
#ifndef REALSTRVAL_H
#define REALSTRVAL_H
diff --git a/charspace/symtab.c b/charspace/symtab.c
index 9e45217..b7739fa 100644
--- a/charspace/symtab.c
+++ b/charspace/symtab.c
@@ -1,26 +1,28 @@
-/* symtab.c: create and update a symbol table. We use a simple linear
- representation, since there will be a few hundred entries at
- the very most.
-
- The numbers which get stored in the symbol table should all be in
- pixels. That's what the rest of the program expects. (Unfortunately
- there's no way to check this at the time of definition.)
-
-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. */
+# symtab.c: create and update a symbol table.
+#
+# 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/>.
+#
+
+
+# We use a simple linear representation, since there will be a few hundred
+# entries at the very most.
+#
+# The numbers which get stored in the symbol table should all be in
+# pixels. That's what the rest of the program expects. (Unfortunately
+# there's no way to check this at the time of definition.)
#include "config.h"
@@ -55,7 +57,7 @@ static symbol_type *symbol_table = NULL;
static symbol_type *symtab_find (string);
static boolean resolve_string (symval_type *, real);
-
+
/* Routines to create symval nodes. */
symval_type
@@ -113,7 +115,7 @@ symtab_string_node (string s)
return sv;
}
-
+
/* Define the identifier KEY to be the value V. We do no checking on V,
we just plop it in. Overwrite any previous definition of KEY. If
KEY was not previously defined, we malloc a new symbol. */
@@ -137,7 +139,7 @@ symtab_define (string key, symval_type v)
/* Whether we just created it or not, put in the new value. */
SYM_VAL (s) = v;
}
-
+
/* Define a kern of K pixels between the characters named LEFT and
RIGHT. If no kern for that pair previously existed, we create it.
If the character LEFT was not previously in the symbol table, we add
@@ -171,7 +173,7 @@ symtab_define_kern (string left, string right, symval_type k)
symtab_define (left, sv);
}
-
+
/* Look up KEY in `symbol_table'. If found, return a pointer to the
corresponding symval, else NULL. */
@@ -223,7 +225,7 @@ symtab_find (string key)
return s;
}
-
+
/* Resolve (to a real) the symbol value SV. Change SV if we succeed.
Return success. */
@@ -281,7 +283,7 @@ resolve_string (symval_type *sv, real factor)
return ok;
}
-
+
/* Return a description of SV as a string. */
string
diff --git a/charspace/symtab.h b/charspace/symtab.h
index 00bb392..813088d 100644
--- a/charspace/symtab.h
+++ b/charspace/symtab.h
@@ -1,20 +1,20 @@
-/* symtab.h: declarations for our symbol table manipulations.
-
-Copyright (C) 1992, 1993, 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. */
+# symtab.h: declarations for our symbol table manipulations.
+#
+# Copyright (C) 1992, 1993, 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/>.
+#
#ifndef SYMTAB_H
#define SYMTAB_H
@@ -25,7 +25,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* What a single symbol looks like. */
-
typedef struct
{
symval_tag_type tag;
diff --git a/charspace/version.c b/charspace/version.c
index a1fdeaa..37672f1 100644
--- a/charspace/version.c
+++ b/charspace/version.c
@@ -1,18 +1,19 @@
-/*version.c
-
-Copyright (C) 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/>. */
+# version.c: Holds the version number for the package.
+#
+# Copyright (C) 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/>.
+#
char *version_string = "charspace version REPLACE-WITH-VERSION";
diff --git a/data/defs.make b/data/defs.make
index ad2c9ed..3dc515c 100644
--- a/data/defs.make
+++ b/data/defs.make
@@ -1,11 +1,11 @@
-# Common definitions for Makefiles in this directory hierarchy.
+# defs.make: Common definitions for Makefiles in this directory hierarchy.
#
# Copyright (C) 1992, 2004, 2011 Free Software Foundation, Inc.
#
-# This program is free software; you can redistribute it and/or modify
+# 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.
+# 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
@@ -13,8 +13,8 @@
# 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.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
# A GNUmakefile in this hierarchy should first include this file, and
@@ -30,7 +30,7 @@ LDFLAGS = $(XLDFLAGS)
LIBS = -lm
RANLIB = ranlib
srcdir = .
-
+
# Here is the rule to make `foo.o' from `foo.c'. We want CFLAGS to be
# user-settable, so we can't use the default implicit rule.
kpathsea_srcdir = ../../kpathsea
@@ -77,7 +77,7 @@ kpathsea = $(kpathsea_dir)/libkpathsea.a
sources := $(addsuffix .c, $(c_and_h) $(c_only))
headers := $(addsuffix .h, $(c_and_h) $(h_only))
objects := $(addsuffix .o, $(basename $(y) $(sources)))
-
+
# The real default target is in either defslib.make or defsprog.make.
default: all
.PHONY: default
diff --git a/data/defsprog.make b/data/defsprog.make
index 25af0d1..0f3e190 100644
--- a/data/defsprog.make
+++ b/data/defsprog.make
@@ -1,12 +1,12 @@
-# Additional definitions for programs, to be included after defs.make
-# and the definitions of $(sources) and $(program).
+# defsprog.make: Additional definitions for programs, to be included after
+# defs.make and the definitions of $(sources) and $(program).
#
# Copyright (C) 1992, 2004, 2011 Free Software Foundation, Inc.
#
-# This program is free software; you can redistribute it and/or modify
+# 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.
+# 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
@@ -14,8 +14,8 @@
# 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.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
all: $(program)
diff --git a/fontconvert/ChangeLog b/fontconvert/ChangeLog
index ec8be64..7a5c861 100644
--- a/fontconvert/ChangeLog
+++ b/fontconvert/ChangeLog
@@ -1,604 +1,3 @@
-Sat Mar 30 07:17:23 1996 Kathy Hargreaves <letters@cs.umb.edu>
+DEPRECATED - USE ROOT CHANGELOG
- * output-epsf.c: don't assign NAME to OUTPUT_NAME, as NAME is
- already it. Doc fix.
-
- * output-gf.c (gf_start_output): copy gf_name and write actual
- filenames when prepending an `x' to the output filename.
-
-Fri Nov 24 07:03:53 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * main.c: call kpse_set_progname(argv[0]).
-
-Thu Nov 23 06:25:51 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * output-tfm.c: (tfm_start_output): call kpse_find_tfm instead of
- find_tfm_filename.
-
- * main.c (tfm): Added warning about below to help.
-
- * output-tfm.c: (tfm_start_output): Added warning about outputting
- to a file with the input PL filename except with an `x' prepended,
- analogous to the one for the GF output filename.
-
-Mon Oct 16 06:11:45 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * output-tfm.c (tfm_start_output): no longer extend output_root to
- have .pl for pl_name, as pltotf adds it (which may be a bug).
-
-Sat Aug 7 11:55:02 1993 Karl Berry (karl@cs.umb.edu)
-
- * *.h: types.h now in kpathsea.
-
-Thu Dec 3 15:40:46 1992 Karl Berry (karl@cs.umb.edu)
-
- * main.c: Don't bother to include getopt.h, cmdline.h already does.
-
-Tue Oct 27 13:01:55 1992 Karl Berry (karl@cs.umb.edu)
-
- * Version 0.6.
-
-Fri Oct 23 14:15:22 1992 Karl Berry (karl@cs.umb.edu)
-
- * main.c (main): Remove the -space option.
- * output-gf.c (gf_finish_output): And remove the code that
- implemented it.
- (space_char): And this global.
- * output-gf.h (space_char): And the decl.
-
-Tue Oct 20 11:54:55 1992 Karl Berry (karl@cs.umb.edu)
-
- * main.c (main): Change the reporting so the space or newline
- comes before the character, not after.
-
- * main.c (main): Don't remove the suffix when making the output
- filename, as we already did; pass the input name to
- `gf_start_output', not the full bitmap filename.
-
-Mon Oct 5 10:12:03 1992 Karl Berry (karl@cs.umb.edu)
-
- * main.c (read_command_line): If -text is given, set `report_file'
- to stderr.
-
-Sun Oct 4 14:03:53 1992 Karl Berry (karl@cs.umb.edu)
-
- * output-tfm.c (tfm_start_output): Report the TFM filename if we
- are reading one.
-
- * main.c (main): Report the full pathname of the font, not just
- what the user gave us.
-
- * main.c (main): Call `tfm_finish_output' before `gf_finish_output'.
-
-Tue Sep 22 16:30:25 1992 Karl Berry (karl@cs.umb.edu)
-
- * output-gf.c (gf_finish_output): output a newline after the space
- char's code.
-
-Thu Sep 3 09:30:31 1992 Karl Berry (karl@hayley)
-
- * Version 0.5.
-
-Mon Aug 24 16:41:02 1992 Karl Berry (karl@hayley)
-
- * random.c (random_number): seed the random number with the
- process ID.
-
-Sun Aug 23 13:37:00 1992 Karl Berry (karl@hayley)
-
- * main.c (USAGE): put a newline before concatenating GETOPT_USAGE.
-
-Fri Jul 3 19:12:36 1992 Karl Berry (karl@hayley)
-
- * main.c (encoding_name, encoding_info_ptr): delete these globals.
- (most parsing routines): just use `encoding_info'.
-
- * main.c (read_command_line): use xparse_charspec for -space.
-
-Sat Jun 27 11:10:01 1992 Kathy Hargreaves (kathy@hayley)
-
- * main.c (charspec.h, encoding.h, libfile.h): included.
- (encoding_name, encoding_info, encoding_info_ptr): added.
- (main): added newline after font_name report.
- (USAGE): added `encoding', updated `omit'
- (read_command_line): added `encoding' option.
- (scan_*): use ARG_SEP instead of a comma. Use xparse_charspec
- instead of xparse_charcode.
-
-Sun Jun 14 08:45:21 1992 Karl Berry (karl@hayley)
-
- * output-tfm.c (tfm_output_char): compare elt of `baseline_adjust'
- to 0, not NULL.
-
- * output-tfm.c (tfm_do_chars_defaults): update for new tfm routines.
-
-Mon Jun 8 15:24:49 1992 Karl Berry (karl@hayley)
-
- * output-tfm.c (tfm_do_chars_defaults): pass kern list to
- tfm_set_kern instead of the whole TFM char.
-
-Fri Jun 5 09:19:27 1992 Karl Berry (karl@hayley)
-
- * filter.c (filter_once): look at all the pixels, and don't crash
- when `filter_size' is bigger than the bitmap.
-
- * main.c (main): `return 0' instead of `exit (0)'. (From Paul Eggert)
-
-Sun May 31 08:04:27 1992 Karl Berry (karl@hayley)
-
- * main.c: rename `design-size' option to `designsize'.
-
- * main.c (read_command_line): have the arg to -space be optional,
- and make the default 32.
- * output-gf.c (gf_finish_output): report the charcode of the space
- if we output it.
-
- * output-tfm.c (tfm_start_font): new routine.
- (main_input_font_p): new static.
- (tfm_output_char): don't look in TFM file for the main font if
- we're on some subsequent (concatenated) font.
- * output-tfm.h (tfm_start_font): declare it.
- * main.c (main): call it as we start each font.
-
- * main.c (main): report the input font names as we process them.
-
- * main.c (USAGE): doc fix.
-
-Sat May 30 14:54:37 1992 Karl Berry (karl@hayley)
-
- * output-tfm.c (tfm_start_output): remove any suffix before adding
- `pl'; prepend an `x' if we'd overwrite the input.
- (output_tfm_name): new static.
-
-Fri May 29 11:45:05 1992 Karl Berry (karl@hayley)
-
- * main.c (main): change return type to `int'.
-
-Wed May 27 10:38:45 1992 Karl Berry (karl@hayley)
-
- * main.c (main): remove `output_basename', and redo the code for
- deciding on the output name.
-
-Sun May 24 12:40:38 1992 Kathy Hargreaves (kathy@hayley)
-
- * main.c (fontname_list): doc change.
-
-Fri May 15 09:04:39 1992 Karl Berry (karl@hayley)
-
- * random.c (random_number): `srand' is now `seed_rand', `rand'
- is `k_rand'.
-
-Mon May 4 09:31:34 1992 Karl Berry (karl@hayley)
-
- * output-tfm.c (tfm_do_chars_defaults, tfm_output_char,
- tfm_finish_output): if we don't have an existing file, don't
- read from it.
-
- * output-tfm.c (tfm_start_output): fix designsize algorithm.
-
- * main.c (report): remove; it's defined in report.c.
-
-Wed Apr 15 15:26:30 1992 Karl Berry (karl@hayley)
-
- * output-{gf,tfm}.c: `make_output_filename' is now `extend_filename'.
-
-Thu Apr 9 08:20:46 1992 Karl Berry (karl@hayley)
-
- * output-gf.c (gf_finish_output): convert the space width from
- points to fixes.
-
-Wed Apr 8 15:16:17 1992 Karl Berry (karl@hayley)
-
- * output-gf.c (gf_finish_output): output a space character, if
- desired.
- (space_char): new global.
- * gf-output.h (space_char): declare it.
- * main.c (read_command_line): new option `-space' to set it.
- (USAGE): document it.
-
-Fri Apr 3 13:30:02 1992 Karl Berry (karl@hayley)
-
- * random.c: include rand.h; remove conditional decls of RAND_MAX,
- rand, srand.
-
-Sun Mar 29 19:10:18 1992 Karl Berry (karl at hayley)
-
- * main.c (read_command_line): remove empty else.
-
-Sat Mar 28 07:48:07 1992 Karl Berry (karl at hayley)
-
- * Version 0.4.
-
- * Change copyright years to 1992 only.
-
-Wed Mar 25 08:30:41 1992 Karl Berry (karl at hayley)
-
- * random.c [!STDC_HEADERS]: declare rand, srand.
- [!RAND_MAX]: define RAND_MAX.
- (random_number): use rand instead of drand48.
-
-Mon Mar 23 14:59:49 1992 Kathy Hargreaves (kathy at hayley)
-
- * output-tfm.c (tfm_start_output): only try to set design size to
- user's if it's been set.
-
-Sun Mar 22 13:46:31 1992 Kathy Hargreaves (kathy at hayley)
-
- * output_gf.[hc] (gf_output_char): added DESIGN_SIZE_RATIO.
- Multiply char's TFM width by this.
-
- * main.c [design_size_ratio]: added.
-
- * main.c (main): if unset, set design_size to the bitmap one *after*
- calling tfm_set_design_size, and then check that it's in range.
-
- * output_tfm.c (tfm_start_output): added USER_DESIGN_SIZE.
- Call with `design_size' for USER_DESIGN_SIZE and the bitmap's
- design size for DEFAULT_DESIGN_SIZE.
- After saving value in new variable `tfm_file_design_size', zero
- out tfm_info's design size if got it from a TFM file. After
- calling tfm_set_header, try setting design_size in following
- order: to USER_DESIGN_SIZE, tfm_file_design_size,
- DEFAULT_DESIGN_SIZE.
-
-Sat Mar 21 11:53:04 1992 Kathy Hargreaves (kathy at hayley)
-
- * output_tfm.c (tfm_start_output): set the fontsize if wasn't done
- already as a TFM header option.
- Move TFM_CHECK_DESIGNSIZE from main.
- Set design size to the default only if it isn't set yet.
-
-Thu Mar 19 12:52:46 1992 Kathy Hargreaves (kathy at hayley)
-
- * output_tfm.c (tfm_output_char): OR (not AND) the conditions for
- recalculating dimensions and italic corrections.
-
-Wed Mar 18 12:20:38 1992 Kathy Hargreaves (kathy at hayley)
-
- * output-tfm.c (tfm_do_chars_defaults): added.
-
- * output-tfm.c (tfm_output_char): only recalculate dimensions and
- initialize the italic correction if we've altered the bitmap;
- otherwise, use that of the original TFM character.
-
- * output-tfm.c (tfm_finish_output): moved tfm_close_input_file
- from tfm_start_output to here.
-
-Tue Mar 17 16:01:09 1992 Kathy Hargreaves (kathy at hayley)
-
- * main.c [USAGE], (read_command_line): added design-size option.
- (global): moved `design_size' from main.
-
- * main.c (do_char): filter bitmap if `filter_passes' > 0.
-
- * filter.[hc]: deleted `wants_filter'; default `filter_passes' to 0.
-
- * main.c [USAGE], (read_command_line): deleted -filter option.
-
- * output_tfm.c (tfm_start_ouput): fill in nonrequested TFM header
- items and fontdimens with tfm_info from input_basename.tfm, if
- it exists. If it does, zero out the checksum.
-
-
-Mon Mar 16 12:28:15 1992 Kathy Hargreaves (kathy at hayley)
-
- * output_tfm.c (tfm_start_ouput): call tfm_set_header.
- Set tfm_info's design size only if unset.
-
- * main.c [USAGE], (read_command_line): added -tfm-header option.
-
-Sun Mar 15 16:49:32 1992 Karl Berry (karl at hayley)
-
- * main.c: doc fix.
-
-Sat Mar 7 13:11:59 1992 Kathy Hargreaves (kathy at hayley)
-
- * main.c (main): fatal if wants_gf and want_tfm and the output
- filename has a suffix.
-
-Sat Mar 7 09:52:57 1992 Karl Berry (karl at hayley)
-
- * GNUmakefile (libraries): define again.
- (files, headers, sources): replace with `c_and_h', etc.
-
-Thu Mar 5 17:50:04 1992 Karl Berry (karl at claude.cs.umb.edu)
-
- * main.c (do_char): do the baseline adjustment after
- randomization, to preserve the baselines when randomizing.
- * random.c (randomize_bitmap): return the number of rows/columns
- added at each side of the bitmap.
- * random.h (randomize_bitmap): change declaration.
-
- * main.c (do_char): use puts instead of printf where possible.
-
-Wed Mar 4 15:31:23 1992 Kathy Hargreaves (kathy at hayley)
-
- * output_tfm.c (tfm_start_output): changed OUTPUT_BASENAME to
- OUTPUT_NAME and call make_output_filename to make pl_name.
-
- * output_epst.c (epsf_start_output): changed global
- `output_basename' to `output_name' and BASE_NAME to NAME.
- Fatal if NAME has a suffix.
-
- * output-gf.c (gf_start_output): changed `font_basename' to
- `output_name' and call make_output_filename to make gf_name.
-
-Wed Mar 4 11:18:22 1992 Karl Berry (karl at hayley)
-
- * GNUmakefile (libraries): remove.
-
-Mon Feb 10 16:09:25 1992 Karl Berry (karl at claude.cs.umb.edu)
-
- * random.c (random_threshold): new global to say how often to move a
- pixel at all.
- * random.h (random_threshold): declare it.
- * main.c (read_command_line): new option `random-threshold.
-
- * output-tfm.c (tfm_start_output): check for a TFM file if the
- user hasn't given us a fontdimen string. Take the input
- filename to construct the TFM name.
- * output-tfm.h (tfm_start_output): change declaration.
- * main.c (main): change call.
-
-Mon Feb 10 10:04:00 1992 Karl Berry (karl at hayley)
-
- * main.c (do_split_char, do_char): free the bitmap here.
- (main): not here.
-
- * random.c (randomize_bitmap): fix algorithm for pixels moved more
- than one.
-
-Thu Feb 6 18:26:11 1992 Karl Berry (karl at claude.cs.umb.edu)
-
- * random.c (enlarge_bitmap): return the result, of changing an arg.
-
- * random.c: do not include global.h and <math.h>; they already are.
-
-Sat Feb 1 15:16:13 1992 Karl Berry (karl at hayley)
-
- * output-gf.c: include filename.h.
-
-Fri Jan 31 17:07:31 1992 Karl Berry (karl at hayley)
-
- * main.c (read_command_line): declare `option_index' (for new
- getopt).
-
-Wed Jan 22 12:49:25 1992 Kathy Hargreaves (kathy at hayley)
-
- * output-gf.c (gf_start_output): use make_prefix instead of concat
- when prepending an `x' onto a filename.
-
-Thu Jan 9 08:30:12 1992 Karl Berry (karl at hayley)
-
- * main.c (scan_column_split): rename `scan_integer_list' to
- `scan_unsigned_list'.
-
- * *.c: do not include global.h.
-
- * *.h: remove #pragma once.
-
-Wed Jan 8 15:28:56 1992 Karl Berry (karl at hayley)
-
- * update copyright messages.
-
- * change `allocate to `xmalloc', `reallocate' to `xrealloc', and
- `string_copy' to `strdup'.
-
-Mon Jan 6 16:49:26 1992 Karl Berry (karl at claude.cs.umb.edu)
-
- * main.c (USAGE): new option `randomize'.
- (do_char): if set, call `randomize_bitmap'.
- * random.[ch]: new files.
- (random_max): new global.
-
-Thu Sep 12 10:24:14 1991 Karl Berry (karl at hayley)
-
- * main.c (read_command_line): new option, `-epsf'.
- (main): initialize and finalize epsf output (if desired).
- (do_char): output the characters in epsf (if desired).
- * epsf-output.[ch]: new files.
- * GNUmakefile (files): add `epsf-output'.
-
- * output-tfm.c (tfm_output_char): set the character code.
-
-Tue Jul 30 13:17:47 1991 Karl Berry (karl at ra.cs.umb.edu)
-
- * Version 0.3.
-
-Mon Jun 17 15:21:49 1991 Karl Berry (karl at hayley)
-
- * output-tfm.c (tfm_output_char): change calls to `PIXELS_TO_POINTS'.
-
-Thu Jun 6 07:26:13 1991 Karl Berry (karl at hayley)
-
- * All files: change to version 2 of the GPL.
-
-Sun Mar 24 16:22:44 1991 Karl Berry (karl at hayley)
-
- * main.c (read_command_line): don't concatenate with the old
- fontdimens, just assign `fontdimens' from the argument.
- * output-tfm.c (fontdimens): move definition of global here from
- `main.c'.
- * output-tfm.h (fontdimens): declare it.
-
-Sun Mar 10 10:21:52 1991 Karl Berry (karl at hayley)
-
- * output-tfm.c (tfm_start_output): call `tfm_init_global_info',
- and don't bother setting the checksum and coding scheme.
-
-Sat Mar 9 16:17:39 1991 Karl Berry (karl at hayley)
-
- * GNUmakefile (files): add main, since we now have main.h.
- * main.h: new file.
- * main.c (read_command_line): new option `-fontdimens'.
- * output-tfm.c (tfm_start_output): set the font parameters
- according to -fontdimens.
-
-Thu Mar 7 07:32:21 1991 Karl Berry (karl at hayley)
-
- * Version 0.2.
-
-Tue Mar 5 15:19:04 1991 Karl Berry (karl at hayley)
-
- * main.c (scan_baseline_adjust): new routine.
- (baseline_adjust): new global variable.
- (read_command_line): new option `-baseline-adjust'.
- (do_char): adjust the baselines of each character before we
- process it.
-
-Mon Mar 4 14:42:30 1991 Karl Berry (karl at hayley)
-
- * main.c (do_char): don't do a character if we've already done it.
-
- * main.c (fontname_list): new global variable to hold all the
- fonts we deal with.
- (read_command_line): new option `-concat-lists'.
-
-Tue Feb 26 06:45:57 1991 Karl Berry (karl at hayley)
-
- * output-tfm.c (tfm_finish_output): call `tfm_convert_pl' with the
- argument `verbose'.
-
-Mon Feb 25 13:30:57 1991 Karl Berry (karl at hayley)
-
- * output-gf.c: use `gf_...' instead of `..._gf_...'.
-
- * output-tfm.c: use `tfm_...' instead of `..._tfm_...'.
-
- * output-gf.c: include file-misc.h.
-
-Sun Feb 17 09:30:23 1991 Karl Berry (karl at hayley)
-
- * *.c: include config.h.
-
-Sun Jan 13 16:49:03 1991 Karl Berry (karl at hayley)
-
- * main.c (read_command_line): set `explicit_dpi' via the option
- table.
-
-Mon Jan 7 15:09:15 1991 Karl Berry (karl at hayley)
-
- * main.c: include file-misc.h.
-
-Sun Nov 4 09:23:28 1990 Karl Berry (karl at hayley)
-
- * filter.c (read_command_line): use atou to do -filter-size.
-
- * These changes suggested by rich@rice.edu:
- * filter.h (filter_passes): declare it.
- * filter.c (filter_passes): new variable.
- (filter_bitmap): loop through the number of passes.
- (filter_once): new routine.
- * main.c (read_command_line): new option, `filter-passes'.
- * README: warn that filtering rounds off corners.
-
-Wed Oct 24 14:58:15 1990 Karl Berry (karl at aten)
-
- * Version 0.1.
-
-Sun Oct 14 07:05:51 1990 Karl Berry (karl at hayley)
-
- * filter.c (filter_bitmap): don't invert the pixel, set it to the
- right intensity.
-
-Tue Oct 9 09:43:03 1990 Karl Berry (karl at hayley)
-
- * main.c (read_command_line): new option, -output-file.
- (output_name): new global.
- (main): use it, if it's set.
-
- * main.c (do_split_char, do_char, scan_column_split): new
- routines.
- (read_command_line): new argument, -column-split.
- (main): split each character at given columns, if requested.
-
-Mon Oct 8 05:55:50 1990 Karl Berry (karl at hayley)
-
- * main.c: include cmdline.h.
-
- * main.c (main): filter the character, if desired.
- (read_command_line): new options -filter, -filter-size,
- -filter-threshold.
- * filter.h, filter.c: new files.
- * GNUmakefile (files): add filter.
- (This stuff contributed by rich@rice.edu.)
-
-Tue Oct 2 17:25:22 1990 Karl Berry (karl at hayley)
-
- * output-gf.c (gf_start_output): assign to gf_name after the
- warning, not before.
-
-Sat Sep 29 07:10:11 1990 Karl Berry (karl at hayley)
-
- * output-gf.c (gf_start_output): announce it to the user when we
- change the output filename.
-
- * main.c (main): use atou (dpi), not atoi.
-
-Fri Sep 28 13:47:34 1990 Karl Berry (karl at hayley)
-
- * main.c (read_command_line): new argument, `omit'.
- (scan_remap_list): don't make a target character code of -1 mean
- omit the original.
- (scan_omit_list): new routine.
-
-Fri Sep 21 11:32:45 1990 Karl Berry (karl at hayley)
-
- * main.c (read_command_line): return NULL at the end.
-
-Fri Sep 14 12:01:26 1990 Karl Berry (karl at hayley)
-
- * main.c: include "getopt.h", not <getopt.h>.
-
-Thu Sep 13 10:58:45 1990 Karl Berry (karl at hayley)
-
- * main.c (main): report omitted characters.
-
-Tue Sep 11 07:02:50 1990 Karl Berry (karl at hayley)
-
- * main.c (scan_remap_list): set `omit' if a target ``character
- code'' is -1. Also, parse the character codes correctly.
- (omit): new global variable.
- (main): if `omit' is true, skip the character.
-
-Sat Sep 8 10:58:03 1990 Karl Berry (karl at hayley)
-
- * main.c (scan_remap_list): use PARSE_CHAR_CODE.
-
- * main.c (read_command_line): use GET_RANGE.
-
-Thu Sep 6 06:42:24 1990 Karl Berry (karl at hayley)
-
- * main.c (scan_remap_list): new routine.
- (read_command_line): new option, -remap.
- (translate): new global to remap character codes.
- (main): map each character as we read it.
-
-Wed Sep 5 06:22:18 1990 Karl Berry (karl at hayley)
-
- * output-gf.c (gf_start_output): don't overwrite the input file.
- * main.c (main): pass the filename of the input font.
-
- * main.c (main): output a GF file if asked.
- (read_command_line): new option, -gf.
- * output-gf.[ch]: new files.
- * GNUmakefile (files): add them.
-
- * main.c (main): free the bitmap for each character. */
-
- * main.c (main): output a TFM file if asked.
- (read_command_line): new option, -tfm.
- * output-tfm.[ch]: new files.
- * GNUmakefile (files): add them.
-
-Sat Sep 1 09:27:14 1990 Karl Berry (karl at hayley)
-
- * main.c (main): output a newline at the end of the program if
- warranted.
-
- * main.c (main): use `get_bitmap_font' instead of `get_font'.
-
-Sat Aug 25 13:52:43 1990 Karl Berry (karl at hayley)
-
- * main.c (main): print a newline before each character output as
- text.
+For historical purposes you can view ChangeLog.old.
diff --git a/fontconvert/GNUmakefile b/fontconvert/GNUmakefile
index 46e5906..fd7d1a3 100644
--- a/fontconvert/GNUmakefile
+++ b/fontconvert/GNUmakefile
@@ -2,10 +2,10 @@
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
#
-# This program is free software; you can redistribute it and/or modify
+# 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.
+# 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
@@ -13,8 +13,8 @@
# 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.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
program = fontconvert
diff --git a/fontconvert/filter.c b/fontconvert/filter.c
index d965671..be814b9 100644
--- a/fontconvert/filter.c
+++ b/fontconvert/filter.c
@@ -1,21 +1,21 @@
-/* filter.c: run an averaging filter over a bitmap.
- This code is based on an initial implementation written by Richard Murphey.
-
-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. */
+# filter.c: run an averaging filter over a bitmap. This code is based on an
+# initial implementation written by Richard Murphey.
+#
+# 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"
#include "filter.h"
diff --git a/fontconvert/filter.h b/fontconvert/filter.h
index 58bcf13..0c83316 100644
--- a/fontconvert/filter.h
+++ b/fontconvert/filter.h
@@ -1,20 +1,20 @@
-/* filter.h: declarations for filtering a bitmap.
-
-Copyright (C) 1992, 1993, 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. */
+# filter.h: declarations for filtering a bitmap.
+#
+# Copyright (C) 1992, 1993, 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/>.
+#
#ifndef FILTER_H
#define FILTER_H
diff --git a/fontconvert/main.c b/fontconvert/main.c
index c7118b0..d2b69a6 100644
--- a/fontconvert/main.c
+++ b/fontconvert/main.c
@@ -1,20 +1,20 @@
-/* fontconvert -- various operations on a bitmap font.
-
-Copyright (C) 1992, 2004, 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. */
+# main.c: various operations on a bitmap font.
+#
+# Copyright (C) 1992, 2004, 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"
diff --git a/fontconvert/main.h b/fontconvert/main.h
index 5505635..a4b50a3 100644
--- a/fontconvert/main.h
+++ b/fontconvert/main.h
@@ -1,20 +1,20 @@
-/* main.h: global variable declarations.
-
-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. */
+# main.h: global variable declarations.
+#
+# 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/>.
+#
#ifndef MAIN_H
#define MAIN_H
@@ -30,5 +30,3 @@ extern charcode_type translate[MAX_CHARCODE + 1];
extern boolean verbose;
#endif /* not MAIN_H */
-
-
diff --git a/fontconvert/output-epsf.c b/fontconvert/output-epsf.c
index c108d8b..6b6ce63 100644
--- a/fontconvert/output-epsf.c
+++ b/fontconvert/output-epsf.c
@@ -1,20 +1,20 @@
-/* output-epsf.c: output EPS files.
-
-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-epsf.c: output EPS files.
+#
+# 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"
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 ();
}
-
diff --git a/fontconvert/output-gf.h b/fontconvert/output-gf.h
index f993187..f8ef7b6 100644
--- a/fontconvert/output-gf.h
+++ b/fontconvert/output-gf.h
@@ -1,20 +1,20 @@
-/* output-gf.h: declarations for writing a GF file.
-
-Copyright (C) 1992, 1993, 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.h: declarations for writing a GF file.
+#
+# Copyright (C) 1992, 1993, 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/>.
+#
#ifndef OUTPUT_GF_H
#define OUTPUT_GF_H
diff --git a/fontconvert/output-tfm.c b/fontconvert/output-tfm.c
index a15fbc2..91674bd 100644
--- a/fontconvert/output-tfm.c
+++ b/fontconvert/output-tfm.c
@@ -1,20 +1,20 @@
-/* output-tfm.c: write a TFM 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-tfm.c: write a TFM 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"
@@ -57,7 +57,7 @@ static string output_tfm_name;
static void tfm_do_chars_defaults (void);
-
+
/* At the beginning, we can set up the output file and write the fontwide
information. This includes the fontdimen parameters (in the global
`fontdimens'), and the header bytes (in `tfm_header'), if the user
@@ -147,7 +147,7 @@ output_tfm_name);
/* Initialize the array where we will store the character information. */
tfm_chars = tfm_new_chars ();
}
-
+
/* We could do something more complicated here, if we wanted to get the
TFM information for each input font: close the first font (after
first getting everything we need), open the next one, then close it
@@ -166,7 +166,7 @@ tfm_start_font (string font_name)
if (main_input_font_p)
main_input_font_p = false;
}
-
+
/* Store the relevant information about the character C into `tfm_chars'. */
void
@@ -262,7 +262,7 @@ tfm_do_chars_defaults ()
} /* new TFM char exists */
}
}
-
+
/* Output `tfm_chars' and close up. */
void
diff --git a/fontconvert/output-tfm.h b/fontconvert/output-tfm.h
index 2e510f0..3de2c57 100644
--- a/fontconvert/output-tfm.h
+++ b/fontconvert/output-tfm.h
@@ -1,20 +1,20 @@
-/* output-tfm.h: declarations for writing a TFM 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-tfm.h: declarations for writing a TFM 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/>.
+#
#ifndef OUTPUT_TFM_H
#define OUTPUT_TFM_H
diff --git a/fontconvert/random.c b/fontconvert/random.c
index 00d67b1..9ed695c 100644
--- a/fontconvert/random.c
+++ b/fontconvert/random.c
@@ -1,20 +1,20 @@
-/* random.c: distort a bitmap.
-
-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. */
+# random.c: distort a bitmap.
+#
+# 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"
@@ -30,8 +30,6 @@ real random_threshold = 0.2;
static bitmap_type enlarge_bitmap (bitmap_type, int, int);
static real random_number (void);
-
-
/* Randomize the bitmap B by moving each black pixel a randomly chosen
distance between -random_max and random_max (both horizontally and
vertically). Return the enlargement of B on all four side in ADJUST.
@@ -144,7 +142,6 @@ enlarge_bitmap (bitmap_type b, int row_delta, int col_delta)
}
-
/* Return a random number between -random_max and random_max. */
static real
diff --git a/fontconvert/random.h b/fontconvert/random.h
index 0d03caa..7b5d967 100644
--- a/fontconvert/random.h
+++ b/fontconvert/random.h
@@ -1,20 +1,20 @@
-/* random.h: declarations for randomizing a bitmap.
-
-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. */
+# random.h: declarations for randomizing a bitmap.
+#
+# 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/>.
+#
#ifndef RANDOM_H
#define RANDOM_H
diff --git a/fontconvert/version.c b/fontconvert/version.c
index 70c5611..d348d5e 100644
--- a/fontconvert/version.c
+++ b/fontconvert/version.c
@@ -1,18 +1,19 @@
-/*version.c
-
-Copyright (C) 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/>. */
+# version.c: Store the package version.
+#
+# Copyright (C) 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/>.
+#
char *version_string = "fontconvert version REPLACE-WITH-VERSION";
diff --git a/gf/ChangeLog b/gf/ChangeLog
index b7178de..7a5c861 100644
--- a/gf/ChangeLog
+++ b/gf/ChangeLog
@@ -1,308 +1,3 @@
-Sun Feb 20 17:08:21 1994 Kathy Hargreaves (karl@cs.umb.edu)
+DEPRECATED - USE ROOT CHANGELOG
- * gf_output.c: changed doc.
-
-Tue Oct 27 12:56:09 1992 Karl Berry (karl@cs.umb.edu)
-
- * Version 0.6.
-
-Mon Sep 21 13:20:29 1992 Karl Berry (karl@cs.umb.edu)
-
- * gf_output.c (start_put_char): don't claim we are part of the
- nonexistent put_gf_char in the warning.
-
-Thu Sep 3 09:30:43 1992 Karl Berry (karl@hayley)
-
- * Version 0.5.
-
-Sat Jun 6 10:03:52 1992 Karl Berry (karl@hayley)
-
- * gf_input.c (gf_get_postamble): if the input file is empty, give
- a decent error message.
-
-Mon May 4 09:28:57 1992 Karl Berry (karl@hayley)
-
- * gf_output.c (start_put_char): use `put_gf_char' in the warning.
-
-Sat Apr 4 13:53:55 1992 Karl Berry (karl@hayley)
-
- * gf_output.c (gf_put_char): remove unneeded local `charcode'.
-
-Sat Mar 28 07:48:16 1992 Karl Berry (karl at hayley)
-
- * Version 0.4.
-
- * Change copyright years to 1992 only.
-
-Sat Mar 7 13:18:42 1992 Karl Berry (karl at fosse)
-
- * gf_input.c (gf_get_three): complete prototype.
- * gf_output.c (init_locators, put_locators): likewise.
-
-Sat Mar 7 09:12:14 1992 Karl Berry (karl at hayley)
-
- * GNUmakefile (files, headers, sources): replace with `c_and_h', etc.
-
- * gf_input.c (get_character_bitmap): use puts instead of printf
- where possible.
-
-Thu Jan 9 08:30:06 1992 Karl Berry (karl at hayley)
-
- * *.c: do not include global.h.
-
- * *.h: remove #pragma once.
-
-Wed Jan 8 15:28:34 1992 Karl Berry (karl at hayley)
-
- * update copyright messages.
-
- * change `allocate to `xmalloc', `reallocate' to `xrealloc', and
- `string_copy' to `strdup'.
-
-Wed Jan 1 16:45:14 1992 Kathy Hargreaves (kathy at hayley)
-
- * gf_output.c (gf_put_preamble): Just truncate comment if it's too
- long, instead of fataling.
-
-Tue Oct 1 07:52:47 1991 Karl Berry (karl at hayley)
-
- * gf_input.c (deblank): remove blank rows at the top and bottom.
-
-Tue Jul 30 13:18:02 1991 Karl Berry (karl at ra.cs.umb.edu)
-
- * Version 0.3.
-
-Sat Jun 15 09:50:04 1991 Karl Berry (karl at hayley)
-
- * all files: change `checked_' to `x'.
-
-Thu Jun 6 07:28:10 1991 Karl Berry (karl at hayley)
-
- * all files: change to version 2 of the GPL.
-
-Tue Apr 23 13:39:09 1991 Karl Berry (karl at ra.cs.umb.edu)
-
- * gf_input.c (get_paint): remove assertion that we're at a valid
- location.
-
-Thu Mar 7 07:32:38 1991 Karl Berry (karl at hayley)
-
- * Version 0.2.
-
-Mon Feb 25 16:15:06 1991 Karl Berry (karl at hayley)
-
- * gf_output.c (put_boc): declare static
-
- * gf_{input,output}.c: change names to `gf_...' from `..._gf_...'.
-
- * GNUmakefile (sources): remove `gf_common.c'.
- * gf_input.c (gf_get_postamble): initialize the postamble inline.
-
-Sun Feb 17 09:31:14 1991 Karl Berry (karl at hayley)
-
- * *.c: include config.h.
-
-Sun Jan 13 09:37:11 1991 Karl Berry (karl at hayley)
-
- * gf_input.c (get_raw_gf_char, append_byte, append_n_bytes): use
- `raw_char_type' instead of `raw_gf_char_type', and RAW_...
- macros instead of GF_RAW...
- * gf_output.c (put_raw_gf_char): likewise.
-
- * gf_input.c (get_raw_gf_char): loop until eoc reading the
- character, instead of while (0).
-
- * gf_input.c (ENSURE_AVAILABLE): loop as long as we need more
- space, instead of testing once.
-
- * gf_input.c (get_raw_gf_char): allocate the space for the new
- character before storing into it.
-
-Sat Jan 12 14:56:18 1991 Karl Berry (karl at hayley)
-
- * gf_input.c (get_raw_gf_char, append_byte, append_n_bytes,
- new_gf_raw_char): new routines to handle reading raw characters.
- * gf_output.c (start_put_char, put_raw_gf_char): more new
- routines.
-
-Sat Nov 17 12:46:52 1990 Karl Berry (karl at hayley)
-
- * gf_input.c, gf_output.c: include appropriate file-...h files.
-
-Wed Oct 17 18:06:17 1990 Karl Berry (karl at aten)
-
- * gf_input.c (deblank): when the bitmap is all zero, ensure that
- all its dimensions are also zero.
-
-Fri Oct 5 07:03:35 1990 Karl Berry (karl at hayley)
-
- * gf_input.c (close_gf_input_file): null the elements of
- `char_list'.
- (get_given_gf_char): make `char_list' global to the file.
-
-Wed Aug 29 14:13:08 1990 Karl Berry (karl at hayley)
-
- * gf_input.c (gf_get_byte, ...): pass gf_input_filename, and
- rewrite as macros.
- * gf_output.c (gf_put_byte, ...): likewise.
-
-Tue Jul 24 13:19:40 1990 Karl Berry (karl at hayley)
-
- * gf_output.c (put_gf_postamble): the pointer after the POST byte
- is still wrong.
-
-Thu Jul 5 06:30:56 1990 Karl Berry (karl at hayley)
-
- * gf_output.c (put_gf_postamble): output the right pointer after
- the POST byte.
-
-Wed Jul 4 09:00:19 1990 Karl Berry (karl at hayley)
-
- * gf_input.c (get_full_boc): allow the character with code
- MAX_CHAR_CODE.
-
-Wed Jun 20 07:24:23 1990 Karl Berry (karl at hayley)
-
- * gf_output.c (put_gf_preamble): just output the characters of the
- comment here, instead of calling gf_put_string. Also, don't give
- a fatal message if the comment is too long.
- (gf_put_string): delete this.
-
- * gf_input.c (gf_cur_pos): use checked_ftell; rename to gf_ftell,
- and change callers.
- (gf_set_pos): rename to gf_fseek.
- * gf_output.c (gf_cur_pos): likewise.
-
-Tue Jun 19 10:56:10 1990 Karl Berry (karl at hayley)
-
- * gf_input.c (open_gf_input_file): complain if the input file
- already exists and the caller tries to open a second.
-
-Sun Jun 3 11:06:31 1990 Karl Berry (karl at hayley)
-
- * gf_input.c (get_character_bitmap): ignore NO_OPs before the EOC
- of a blank character.
-
-Fri Jun 1 15:14:29 1990 Karl Berry (karl at hayley)
-
- * gf_output.c (close_gf_output_file): use checked_fclose.
-
- * gf_output.c (open_gf_output_file): make sure the output file
- hasn't already been opened.
-
-Wed May 30 15:36:46 1990 Karl Berry (karl at hayley)
-
- * gf_input.c (get_full_boc): make sure the character code is in
- range.
-
-Thu May 3 09:29:17 1990 Karl Berry (karl at hayley)
-
- * gf_common.c (new_gf_char): delete this.
- * gf_input.c (get_gf_char): don't call it.
-
-Sat Apr 21 09:43:34 1990 Karl Berry (karl at hayley)
-
- * gf_input.c (gf_get_string): add a trailing null to the end of
- the returned string.
-
-Thu Apr 19 16:10:21 1990 Karl Berry (karl at hayley)
-
- * gf_common.c (new_gf_postamble): forgot to initialize character
- #255 in a new postamble.
-
- * gf_input.c (get_postamble): don't ignore the checksum.
-
-Mon Apr 16 07:21:42 1990 Karl Berry (karl at hayley)
-
- * gf_opcodes.h: add #pragma once.
-
-Sat Apr 14 17:04:40 1990 Karl Berry (karl at hayley)
-
- * gf_input.c (get_character_bitmap): call get_specials when we see
- a special opcode, so that we skip over the arguments.
-
-Mon Apr 9 07:11:48 1990 Karl Berry (karl at hayley)
-
- * gf_common.c (new_gf_postamble): remove references to the
- specials; upcase `max_char_code' and `null_byte_ptr'.
- (new_gf_char): new name for `new_generic_char'; remove references
- to the specials.
- gf_input.c (thoughout): use macros to look at the postamble and
- character structures; upcase `fatal' and other global macros.
- gf_output.c: likewise.
- GNUmakefile: remove references to gf_util.c and generic.h.
-
-Tue Apr 3 17:32:24 1990 Karl Berry (karl at hayley)
-
- * gf_input.c (deblank): forgot to initialize width and height.
-
-Thu Mar 1 11:19:06 1990 Karl Berry (karl at hayley)
-
- * gf_output.c (put_gf_char): don't fail when a character is output
- more than once; just give a warning (and only outpt the first one).
-
- * gf_input.c (deblank): don't fail if the character is all white
- (in which case white_on_right=white_on_left, and we don't want to
- subtract them both from the width).
-
- * gf_input.c (get_character_bitmap): and fix the same off-by-one
- bug fixed on Feb 23, this time for the height. Will I ever get
- this right?
- [no, rescind that. The height IS inclusive, and the width is NOT
- inclusive.]
-
- * gf_input.c (get_character_bitmap): if the character is zero
- wide, read the EOC following.
-
- * gf_input.c (get_character_bitmap): don't assert that the
- max_row >= min_row (or col), because if the character is zero
- high (or wide), it won't be.
- (deblank): make this_col be int, not unsigned, since we subtract
- one from it.
-
-Tue Feb 27 20:58:52 1990 Kathy Hargreaves (kathy at hayley)
-
- * gf_input.c (gf_get_string): if the length is zero, don't try to
- read anything from the file.
-
-Fri Feb 23 13:28:07 1990 Karl Berry (karl at hayley)
-
- * gf_input.c (get_character_bitmap): fix off-by-one in deciding how
- wide the bitmap should be.
-
-Sat Feb 3 10:28:28 1990 Karl Berry (karl at hayley)
-
- * Makefile: rename to GNUmakefile.
-
-Wed Jan 24 17:49:01 1990 Karl Berry (karl at hayley)
-
- * gf_util.c (ascender_part): new routine.
-
-Mon Oct 30 18:41:42 1989 Karl Berry (karl at hayley)
-
- * all files: add the copyleft.
-
-Sun Oct 29 07:33:50 1989 Karl Berry (karl at hayley)
-
- * gf_output.c (put_boc): have to test the maximums of the bounding
- box for sign, as well as the deltas.
-
-Sat Oct 28 15:20:26 1989 Karl Berry (karl at hayley)
-
- * gf_output.c (put_skip): correct misinterpretation of the SKIP0
- opcode.
-
- * gf_output.c (put_paint, put_skip, put_new_row): define these.
-
- * gf_output.c (font_bb): initialize using MAXINT, from <values.h>.
-
-Tue Oct 17 21:36:31 1989 Karl Berry (karl at hayley)
-
- * gf_input.c (get_locators): CHAR_LOC commands take a one-byte
- character residue, like CHAR_LOC0 commands, not four-byte
- character codes.
-
-Fri Oct 6 19:18:58 1989 Karl Berry (karl at hayley)
-
- * gf_util.c (print_gf_char): pass in a file parameter, instead of
- always writing to stdout.
+For historical purposes you can view ChangeLog.old.
diff --git a/gf/GNUmakefile b/gf/GNUmakefile
index 90f6c53..dc125c9 100644
--- a/gf/GNUmakefile
+++ b/gf/GNUmakefile
@@ -1,11 +1,11 @@
-# Makefile for the GF library.
+# GNUmakefile: Makefile for the GF library.
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
#
-# This program is free software; you can redistribute it and/or modify
+# 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.
+# 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
@@ -13,9 +13,9 @@
# 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.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+
library = gf
h_only = gf_opcodes
diff --git a/gf/gf_input.c b/gf/gf_input.c
index be30941..1ba0d19 100644
--- a/gf/gf_input.c
+++ b/gf/gf_input.c
@@ -1,20 +1,20 @@
-/* gf_input.c: read objects from one GF file.
-
-Copyright (C) 1992, 2004, 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. */
+# gf_input.c: read objects from one GF file.
+#
+# Copyright (C) 1992, 2004, 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"
@@ -33,7 +33,6 @@ static boolean tracing_gf_input = false;
static string gf_input_filename;
static FILE *gf_input_file;
-
/* Low-level input. These macros call the corresponding routines in
kbase, using the static variables for the input file and filename. */
@@ -87,7 +86,7 @@ static void get_new_row
static void append_byte (raw_char_type *, one_byte);
static void append_n_bytes (raw_char_type *, four_bytes, one_byte *);
static raw_char_type new_raw_gf_char (gf_char_locator_type);
-
+
/* Start reading FILENAME. Return false if it can't be opened. */
boolean
@@ -120,7 +119,7 @@ gf_close_input_file ()
for (code = 0; code <= MAX_CHARCODE; code++)
char_list[code] = NULL;
}
-
+
/* The only interesting thing in the preamble, either to the user or to
us, is the comment.
@@ -145,7 +144,7 @@ gf_get_preamble ()
return answer;
}
-
+
/* Reading the postamble. This is the user-level call. We make no
assumptions about the current position of the file pointer. */
@@ -256,7 +255,7 @@ get_locators ()
}
while (true);
}
-
+
/* Unlike `gf_get_next_char' (which comes next), this routine will get any
character by its code. It is meant to be called by the user. We
save all the characters we read in the static `char_list', to avoid
@@ -718,7 +717,7 @@ get_new_row (coordinate_type *current, boolean *painting_black,
printf ("\nnew_row %u (x,y now %d,%d) ", command - NEW_ROW_0,
current->x, current->y);
}
-
+
/* Instead of building a bitmap, this routine just reads the bytes that
define the character CHARCODE. If the character doesn't exist, we
return NULL. */
@@ -906,7 +905,7 @@ new_raw_gf_char (gf_char_locator_type locator)
bounding box information in the character isn't lost.) */
return c;
}
-
+
/* Read all specials beginning from the given location, leaving the file
pointer at the first non-special. We do not save the specials,
though. */
diff --git a/gf/gf_opcodes.h b/gf/gf_opcodes.h
index a1c8558..fc765e5 100644
--- a/gf/gf_opcodes.h
+++ b/gf/gf_opcodes.h
@@ -1,20 +1,20 @@
-/* gf_opcodes.h: symbolic names for the GF commands.
-
-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. */
+# gf_opcodes.h: symbolic names for the GF commands.
+#
+# 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/>.
+#
#ifndef GF_OPCODES_H
#define GF_OPCODES_H
diff --git a/gf/gf_output.c b/gf/gf_output.c
index 60a93e4..3978df4 100644
--- a/gf/gf_output.c
+++ b/gf/gf_output.c
@@ -1,20 +1,20 @@
-/* gf_output.c: write objects to one 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. */
+# gf_output.c: write objects to one 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"
@@ -53,7 +53,7 @@ static void put_bitmap (bitmap_type);
static void put_paint (unsigned);
static void put_skip (unsigned);
static void put_new_row (unsigned);
-
+
/* Low-level output. These macros call the corresponding routines in
fontutils, using the static variables for the input file and filename. */
@@ -64,7 +64,7 @@ static void put_new_row (unsigned);
#define GF_PUT_FOUR(n) put_four (n, gf_output_file, gf_output_filename)
#define GF_PUT_SIGNED_FOUR(n) \
put_signed_four (n, gf_output_file, gf_output_filename);
-
+
/* Routines to start and end writing a file. (For the user to call.)
We make sure the caller can't have two output files open
simultaneously. */
@@ -97,7 +97,7 @@ gf_close_output_file ()
gf_output_filename = NULL;
gf_output_file = NULL;
}
-
+
/* Write the preamble. */
void
@@ -121,7 +121,7 @@ gf_put_preamble (string comment)
for (c = 0; c < comment_length; c++)
GF_PUT_BYTE (*(comment + c));
}
-
+
/* Write the postamble. */
void
@@ -210,7 +210,7 @@ init_locators ()
for (this_char = 0; this_char <= MAX_CHARCODE; this_char++)
char_loc[this_char].char_pointer = NULL_BYTE_PTR;
}
-
+
/* Do what's necessary to prepare for outputting a character. */
static void
diff --git a/imageto/ChangeLog b/imageto/ChangeLog
index 7870509..7a5c861 100644
--- a/imageto/ChangeLog
+++ b/imageto/ChangeLog
@@ -1,1113 +1,3 @@
-Mon Apr 8 09:25:30 1996 Kathy Hargreaves <letters@cs.umb.edu>
-
- * out-chars.c: doc fix.
-
-Sat Dec 9 07:21:29 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * out-chars.c: (do_image_line): doc fix.
-
-Wed Dec 6 08:28:15 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * out-chars.c: (output_chars): doc fix.
-
-Tue Dec 5 09:40:23 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * out-chars.c: doc fix.
-
-Mon Dec 4 07:40:24 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * main.c (USAGE): doc fix.
-
- * out-chars.c: doc fix. Changed image_bitmap to image_line_bitmap.
- (do_image_line): Changed original_box_count to previous_box_count.
-
-Sun Dec 3 09:05:05 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * out-chars.c: (do_image_line): doc fix.
-
-Thu Nov 30 09:03:47 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * out-chars.c: (output_chars): doc fix.
-
-Tue Nov 28 09:47:19 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * out-chars.c: (output_chars): reconsider the current bounding box
- if the current character is ignored.
-
-Thu Nov 23 08:36:07 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * out-chars.c: (bitmap_to_gf_char): call kpse_find_tfm instead of
- find_tfm_filename.
-
-Thu Nov 16 09:01:31 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * out-chars.c: (bitmap_to_gf_char): Remove output_name's suffix
- before calling find_tfm_filename with it.
-
- * main.c: (OUTPUT_NAME): Made on-static so could do below.
-
- * main.h: Added output_name extern declaration.
-
- * out-chars.c: (bitmap_to_gf_char): Call kpse_find_tfm with
- find_tfm_filename(output_name) instead of something built with
- input_name, so that will have the design size in the name.
-
-Tue Nov 14 07:28:21 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * ifi.c: (read_ifi_file): increment n after setting the charcode,
- not before, so first character will have charcode 0.
-
-Sat Oct 14 14:54:27 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * out-chars.c: (bitmap_to_gf_char): Also have to call
- remove_suffix on input name passed to kpse_find_tfm.
-
-Thu Oct 12 10:44:23 1995 Karl Berry <karl@cs.umb.edu>
-
- * out-chars.c (bitmap_to_gf_char): Have to call basename on the
- input name passed to kpse_find_tfm.
-
-Sun Aug 13 18:01:11 1995 Karl Berry <karl@cs.umb.edu>
-
- * main.c: Call kpse_set_progname.
-
-Sun May 15 11:32:54 1994 Karl Berry (karl@cs.umb.edu)
-
- * out-chars.c (output_chars): Change `x' to `<ignored>'.
-
-Fri May 13 15:27:29 1994 Karl Berry (karl@cs.umb.edu)
-
- * out-chars.c (bitmap_to_gf_char): Call kpse_find_tfm, now that it
- exists.
-
-Sun Aug 22 13:32:49 1993 Karl Berry (karl@cs.umb.edu)
-
- * out-epsf.c (PIXELS_TO_BP): No longer needed.
-
-Sat Aug 7 13:44:10 1993 Karl Berry (karl@cs.umb.edu)
-
- * input-img.c (img_get_header): Allow grayscale images.
-
- * *.h: types.h now in kpathsea.
-
-Tue Jul 27 09:04:12 1993 Karl Berry (karl@cs.umb.edu)
-
- * GNUmakefile (libraries): Add tfm.
-
-Sun Jul 25 19:20:04 1993 Karl Berry (karl@cs.umb.edu)
-
- * out-chars.c (bitmap_to_gf_char): Get TFM width from existing TFM
- file, if we can find one. Convert for use with kpathsea.
-
-Thu May 20 17:11:25 1993 Karl Berry (karl@cs.umb.edu)
-
- * ifi.c: Doc fix.
-
-Mon Nov 9 09:46:32 1992 Karl Berry (karl@cs.umb.edu)
-
- * image-header.h: Doc fix.
-
-Tue Oct 27 13:02:04 1992 Karl Berry (karl@cs.umb.edu)
-
- * Version 0.6.
-
-Sat Oct 24 05:13:02 1992 Karl Berry (karl@cs.umb.edu)
-
- * ifi.c (read_ifi_file): Just do successive character codes if we
- don't have an encoding file.
- * main.c (USAGE): Change doc.
-
-Fri Oct 23 10:43:46 1992 Karl Berry (karl@cs.umb.edu)
-
- * out-chars.c (output_chars): Free the bounding box list we construct.
-
- * out-chars.c (output_chars): If the IFI struct says no bounding
- boxes, don't read any of the bitmap, and reconsider the current bb.
-
-Tue Oct 20 17:17:26 1992 Karl Berry (karl@cs.umb.edu)
-
- * GNUmakefile (install): Make the second arg a file, not a directory.
-
-Fri Oct 16 15:40:53 1992 Karl Berry (karl@cs.umb.edu)
-
- * out-epsf.c: Doc fix.
-
-Mon Oct 5 09:31:30 1992 Karl Berry (karl@cs.umb.edu)
-
- * main.c (read_command_line): Make -print-clean-info imply -verbose.
- (main): Remove now-redundant test for `print_clean_info'.
-
- * out-chars.c (write_image_chars): Only report "+" if we have to
- keep reading vertically, not horizontally.
- (do_image_line): Remove the report from here.
-
-Sun Oct 4 08:59:55 1992 Karl Berry (karl@cs.umb.edu)
-
- * out-chars.c (write_image_chars): Don't keep adding to
- `row_height' for appended image rows, just assign.
-
- * main.c (main): Test for zero resolution here.
- (set_input_format): Not here.
-
- * out-chars.c (clean_threshold): Remove.
- * out-chars.h: Likewise.
- * main.c (USAGE, read_command_line): And here.
-
- * out-chars.c (bb_equal_p): New fn.
-
- * out-chars.c (offset_bb_list): Function moved here from bb-outline.c.
-
- * out-chars.c (clean_bitmap): Rewrite to take a list of known
- boxes, and remove those that aren't in the list.
- (output_chars): Only call `clean_bitmap' once, after we've
- combined everything.
- (image_to_bitmap_bbs): New fn.
-
-Sat Oct 3 13:54:39 1992 Karl Berry (karl@cs.umb.edu)
-
- * out-chars.c (write_image_chars): Don't abort if the image ends
- prematurely, just give a warning and return.
-
- * out-chars.c (OUTPUT_CHAR_P): New macro.
- (output_chars): Use it, instead of repeating the same expr several
- times.
-
-Fri Oct 2 16:14:03 1992 Karl Berry (karl@cs.umb.edu)
-
- * out-chars.[ch]: New files constructed from main.[ch].
- * main.c: Include out-chars.h.
-
- * extract.c (REPORT_SCANLINE): use REPORT.
-
- * main.c (-info-filename): remove this option.
-
- * {epsf,strips}.[ch]: Rename to out-*.
- * GNUmakefile (c_and_h): Likewise.
-
- * ifi.[ch]: New files constructed from image-char.[ch] and main.c.
- * main.c: include ifi.h.
- (extract_chars): Change call to read_ifi_file.
- * GNUmakefile (c_and_h): add `ifi', remove `image-char'.
-
-Mon Sep 28 11:11:59 1992 Karl Berry (karl@cs.umb.edu)
-
- * main.c: change `fprintf (stderr's to use REPORT*.
-
- * main.c (clean_bitmap): print the size of the bounding box being
- cleaned, not that of the enclosing character. (halvers@sol.crd.ge.com)
-
-Tue Sep 22 13:01:54 1992 Karl Berry (karl@cs.umb.edu)
-
- * main.c (read_ifi_file): call make_suffix to make the default IFI
- filename, instead of appending to the root.
- (input_rootname): remove.
- (main): don't assign to input_rootname; just set output_name to
- the fn call.
- (input_name): new static.
-
- * main.c (clean_bitmap): if clean_threshold is 1.0, do nothing;
- else only clean if the gray value is > threshold, not >=.
-
- * main.c: make diagnostic messages consistent.
-
- * main.c (do_image_line): set `bb_offset' to just the width
- of the previous bb, since we're already incorporating the
- interbb whitespace in the second bb.
-
-Mon Sep 21 10:32:07 1992 Karl Berry (karl@cs.umb.edu)
-
- * main.c (read_command_line): new option -ifi-file, a synonym for
- -info-file.
- (USAGE): document it.
-
- * main.c (set_input_format): don't call strcmp on NULL if the
- input filename lacks an extension.
-
-Thu Sep 3 09:30:54 1992 Karl Berry (karl@hayley)
-
- * Version 0.5.
-
-Sat Aug 29 16:14:35 1992 Karl Berry (karl@hayley)
-
- * GNUmakefile (dist, install): new targets to deal with strips.tex.
-
-Fri Aug 21 16:14:10 1992 Karl Berry (karl@hayley)
-
- * main.c (read_ifi_file): improve warning message.
-
-Mon Jul 13 16:58:44 1992 Karl Berry (karl@hayley)
-
- * epsf.c (write_epsf): use `width_used' for the width of image buffer.
-
-Thu Jul 2 14:06:09 1992 Kathy Hargreaves (kathy@hayley)
-
- * main.c (BB_TO_CARTESIAN): subtract IMAGE_CHAR_BASELINE_ADJUST(.)
- instead of adding it.
-
- * main.c (bitmap_to_gf_char): removed `char_baseline'.
-
-Sun Jun 28 11:54:23 1992 Kathy Hargreaves (kathy@hayley)
-
- * main.c (bitmap_to_gf_char): added cartesian_bb; fill it using
- BB_TO_CARTESIAN and assign to the GF char. Print out the GF
- char's rows for baseline adjustment.
-
-Fri Jun 26 13:45:20 1992 Kathy Hargreaves (kathy@hayley)
-
- * main.c (read_ifi_file): changed warning to include encoding name.
-
-Mon Jun 15 07:37:29 1992 Karl Berry (karl@hayley)
-
- * extract.c (get_image_row): allocate more than one row at a time.
-
- * extract.c (get_image_row): don't realloc if we're keeping
- leading white rows.
-
- * main.c (extract_chars): change `nchars_per_line' to one if
- `print_guidelines' is true.
-
- * main.c (read_ifi_file): if the character name is undefined in
- the encoding, omit it from the output.
-
- * main.c (get_image_info): rename to `read_ifi_file'.
-
- * main.c (get_image_info): make `.notdef' mean omission, instead
- of `-1'.
-
- * image-char.h (image_char_type): new field `charname'.
- (IMAGE_CHARNAME): new accessor macro.
- * main.c (bitmap_to_gf_char): print the character name, instead of
- relying on %c.
- (get_image_info): set it.
-
- * main.h (print_scanline): new routine.
- * main.c (print_scanline): define it.
- * input-img.c (img_get_scanline): print the scanlines if
- `trace_scanlines' is set.
- * input-pbm.c (pbm_get_scanline): call it, instead of doing the
- printing inline.
-
-Sat Jun 13 12:04:00 1992 Kathy Hargreaves (kathy@hayley)
-
- * main.c (get_image_info): renamed charcode_str to charname_str.
- Removed comment-handling stuff.
-
- * main.c (encoding_name, encoding_info): added.
- (get_image_info): added `encoding_info'; call `encoding_number'
- on `charcode_str' instead of `xparse_charcode'.
- (USAGE, read_command_line): added -encoding option.
-
-Tue Jun 9 13:45:42 1992 Kathy Hargreaves (kathy@hayley)
-
- * main.c (output_chars): deleted clean_all_bbs.
- (clean_bitmap): deleted CLEAN_ALL_BBS; call find_outline_bbs
- with false instead of this. Updated doc. Now only check
- bounding boxes which don't enclose the whole character, instead
- of those which also are on the edge, unless clean_all_bbs is
- true, whereupon check those also.
- (get_image_info): don't handle CLEAN_ALL_BBS_FLAG anymore.
-
- * image-char.h (image_char_type): deleted clean_inner_bbs field.
- (IMAGE_CHAR_CLEAN_ALL_BBS, CLEAN_ALL_BBS_FLAG): deleted
-
-Mon Jun 8 12:33:45 1992 Kathy Hargreaves (kathy@hayley)
-
- * input-pbm.c (pbm_get_scanline): increment scanline_count after
- printing it.
-
- * main.c (BB_TO_CARTESIAN): added.
- (bitmap_to_gf_char): when print-guidelines is true, print the
- bounding box's max and min (in that order) row in Cartesian
- coordinates, not the GF char's min and max row.
-
-Fri Jun 5 21:18:12 1992 Kathy Hargreaves (kathy@hayley)
-
- * main.c (output_chars): don't clean bounding boxes unless
- outputting the character.
-
- * main.c (get_image_info): set clean_all_bbs field of `c' false if
- there's not a CLEAN_ALL_BBS_FLAG at the end of the character string.
-
-Fri Jun 5 09:19:48 1992 Karl Berry (karl@hayley)
-
- * main.c (main): `return 0' instead of `exit (0)'. (From Paul Eggert)
-
-Tue Jun 2 18:03:52 1992 Kathy Hargreaves (kathy@hayley)
-
- * main.c (output_chars): call clean_bitmap with 0's for LEFT_MARK
- and RIGHT_MARK if clean_all_bbs is true.
-
-Mon Jun 1 11:19:46 1992 Kathy Hargreaves (kathy@hayley)
-
- * main.c (output_chars): added clean_all_bbs to send to clean_bitmap.
-
- * main.c (clean_bitmap): clean only those boxes which are on the
- edges only if CLEAN_ALL_BBS is false; otherwise, clean them all.
-
- * main.c (get_image_info): if there's a CLEAN_ALL_BBS_FLAG appended
- to the character code, then set the clean_all_bbs field of c.
-
- * image-char.h (image_char_type): added clean_all_bbs field.
-
-Sun May 31 13:10:48 1992 Karl Berry (karl@hayley)
-
- * main.c: rename `design-size' option to `designsize'.
-
- * epsf.c (write_epsf): change the EPS output to not write one
- gigantic image.
-
-Sat May 30 11:58:02 1992 Kathy Hargreaves (kathy@hayley)
-
- * main.c (USAGE -clean-threshold): doc fix.
-
-Fri May 29 11:34:52 1992 Karl Berry (karl@hayley)
-
- * main.c (main): declare to return an int.
-
-Tue May 26 07:56:34 1992 Karl Berry (karl@hayley)
-
- * main.c: simplify comments on IFI file format, since now the real
- documentation describes it.
-
-Mon May 25 11:45:49 1992 Karl Berry (karl@hayley)
-
- * main.c (clean_bitmap): wasn't printing clean info for bbs that
- weren't cleared.
-
- * main.c (read_command_line): make -print-guidelines => -verbose.
- (USAGE): document this.
- (main): don't bother to test `print_guidelines' anymore when we
- doing verbose things.
-
- * main.c (main): use `output_name', not `gf_name' (which we no
- longer need).
-
- * main.c (set_{pbm,img}_input_format): set `input_extension' to
- just `pbm' or `img', omitting the leading `.'.
-
-Sun May 24 18:03:09 1992 Karl Berry (karl@hayley)
-
- * main.c (read_command_line): in -input-format, complain if they
- give an unrecognized input format.
- (main): call set_input_format.
- (set_input_format): new routine to intuit the input format from
- the input filename if they didn't specify.
- (set_{pbm,img}_input_format): new routines.
-
-Thu May 21 10:59:23 1992 Karl Berry (karl@hayley)
-
- * GNUmakefile, version.c, main.c: change `imagetofont' to `imageto'.
-
- * strips.c (write_chars_as_strips): don't bother to initialize
- `gf_row'.
-
-Wed May 20 07:34:38 1992 Karl Berry (karl@hayley)
-
- * strips.h: include image-header.h, not input-img.h.
-
- * main.c (extract_chars): new fn (to shorten main).
- (main): call it.
-
- * main.c (do_epsf): new global.
- (read_command_line): new option `-epsf'.
- (main): call `write_epsf' if set.
- * GNUmakefile (c_and_h): add epsf.
- * epsf.[ch]: new files.
-
-Mon May 4 09:27:55 1992 Karl Berry (karl@hayley)
-
- * main.c (main): don't lose the `<dpi>gf' from the output name.
-
- * strips.c (write_chars_as_strips): add one to `lines_per_char' to
- compensate for roundoff error.
-
- * main.c (verbose): remove this, as it's defined in report.c.
-
-Sun May 3 19:31:29 1992 Karl Berry (karl@hayley)
-
- * strips.c (write_chars_as_strips): use REPORT for the progress
- report.
-
-Tue Apr 21 07:44:36 1992 Karl Berry (karl@hayley)
-
- * extract.c (append_next_image_row): use XTALLOC1.
-
-Mon Apr 20 12:53:43 1992 Karl Berry (karl@hayley)
-
- * main.c (main): simplify logic again for figuring out the output
- filename; remove any suffix from the input filename before it is
- used to make the IFI or output filename.
- (get_image_info): the variable is named `input_rootname' now, not
- `input_basename'.
-
-Wed Apr 15 15:26:53 1992 Karl Berry (karl@hayley)
-
- * main.c (main): `make_output_filename' is now `extend_filename'.
-
-Wed Apr 8 12:28:59 1992 Karl Berry (karl@hayley)
-
- * main.c (do_image_line): don't increment the max_col transition
- in the horizontally concatenated block, either.
-
- * main.c: make most of the globals static.
- * main.h: remove declarations for unneeded globals.
-
- * main.c (debug): add this.
-
-Mon Apr 6 16:43:39 1992 Karl Berry (karl@hayley)
-
- * extract.c (get_image_row): count white rows in image size; free
- the scanline storage after we've copied it.
-
-Sun Apr 5 11:46:33 1992 Karl Berry (karl@hayley)
-
- * main.c (do_image_line): don't increment the transition which we
- use for the maximum column.
-
-Sat Apr 4 12:57:15 1992 Karl Berry (karl@hayley)
-
- * main.c (do_image_line): move test for enough boxes to above
- dealing with the current bitmap, so garbage at the end doesn't
- mess us up. (from wales@cs.ucla.edu)
-
-Wed Apr 1 16:17:18 1992 Karl Berry (karl at hayley)
-
- * main.c (main): simplify the output name creation code.
-
- * main.c (font_name_extension): rename to `input_extension', and
- don't bother to initialize it.
-
-Sat Mar 28 07:48:43 1992 Karl Berry (karl at hayley)
-
- * Version 0.4.
-
- * Change copyright years to 1992 only.
-
-Mon Mar 9 16:46:10 1992 Kathy Hargreaves (kathy at hayley)
-
- * main.c (main): move setting of dpi to above (and out of)
- do_strips test.
-
- * main.c (main): set output_name_suffix with static strings
- and xmalloc dpi and design_size_str.
-
- * main.c (main): if output_name has no suffix, append either
- output_name_suffix or design_size to its stem before appending
- a suffix.
-
-Sat Mar 7 09:55:42 1992 Karl Berry (karl at hayley)
-
- * GNUmakefile (libraries): define again.
- (files, headers, sources): replace with `c_and_h', etc.
-
-Thu Mar 5 06:47:26 1992 Karl Berry (karl at hayley)
-
- * main.c (output_filename): rename to `output_name', and remove
- the other `output_name' declaration.
-
-Wed Mar 4 17:21:32 1992 Kathy Hargreaves (kathy at hayley)
-
- * main.c (main) changed `output_basename' to `output_name'.
- Deleted add_suffix and add_design_size.
- Added dpi, design_size_str, and output_name_suffix.
- Use make_output_filename to check if output name has a suffix.
- If output_name not given and not doing strips, set design_size_str.
- If doing strips, set output_name_suffix to "sp".
- Always set dpi.
-
-Mon Mar 2 12:15:52 1992 Karl Berry (karl at hayley)
-
- * main.c (main): decrease nchars_per_line to 11.
-
-Sun Mar 1 13:03:23 1992 Karl Berry (karl at hayley)
-
- * GNUmakefile (files): remove bb-outline.
-
- * GNUmakefile (need_pbm_library): define.
- (sources): remove the PBM stuff.
-
-Fri Feb 28 07:53:09 1992 Karl Berry (karl at hayley)
-
- * extract.c (image_row_transitions): new routine.
- (some_black_to_all_white_row): call it after getting the image row.
- (append_next_image_row): call it after appending.
- (get_image_row): do not compute the transitions here.
-
- * main.c (bitmap_to_gf_char): the GF min_row is the depth, the GF
- max_row is the height; we had it the other way around. Also,
- `row_baseline' is one-origin, but char rows are 0-origin.
-
-Tue Feb 25 14:40:54 1992 Karl Berry (karl at hayley)
-
- * main.c (main): decrease number of chars reported without
- guidelines to 12.
-
- * input-pbm.c (pbm_get_scanline): declare the test character for
- EOF as int, not char. Also, print the scanlines if
- trace_scanlines is set.
- * main.c (trace_scanlines): new global.
- (read_command_line): new option.
-
- * bitmap2.c (bitmap_vconcat): put one blank row between the
- bitmaps, to compensate for what some_black... removed.
-
- * extract.c (get_image_row): don't keep leading white rows if
- there weren't any; always append scanline, even if there were.
-
-Fri Jan 31 17:08:38 1992 Karl Berry (karl at hayley)
-
- * main.c (read_command_line): declare `option_index' (for new
- getopt).
-
-Tue Jan 21 11:47:26 1992 Kathy Hargreaves (kathy at hayley)
-
- * main.c (main): wasn't putting the suffix on the gf name when
- gave an output filename without a suffix because was finding the
- dot in the pathname `../fonts'.
-
- * main.c (bitmap_to_gf_char): were switching the minimum and
- maximum rows when assigning to the gf char.
-
- * main.c (main): malloc gf_name more precisely.
-
- * main.c (bitmap_to_gf_char): fixed calculation of gf char's rows.
- (main): changed how build the gf output filename: if the user
- specifies an output file, don't ever add on a design size and don't
- add a suffix if there's one already.
-
- * main.c (bitmap_to_gf_char): now print gf character's (baseline-
- adjusted) row instead of the bounding box's (unadjusted) ones.
-
-Mon Jan 20 14:46:16 1992 Kathy Hargreaves (kathy at hayley)
-
- * main.c (main): added variable `output_basename' so user could
- specify an output file basename.
- (read_command_line): Added `output-file' option.
-
-Tue Jan 14 13:14:46 1992 Kathy Hargreaves (kathy at hayley)
-
- * main.c (get_image_info): when call libfile_start with
- info_filename, specify "ifi" as the (now-default) suffix.
-
- * main.c [USAGE] (info-file): use <filename>.ifi if <filename>
- doesn't have a dotted suffix; otherwise use <filename>.
-
-Thu Jan 9 08:29:52 1992 Karl Berry (karl at hayley)
-
- * main.c (read_command_line): rename `scan_integer_list' to
- `scan_unsigned_list'.
-
- * *.c: do not include global.h.
-
- * *.h: remove #pragma once.
-
-Wed Jan 8 15:28:00 1992 Karl Berry (karl at hayley)
-
- * update copyright messages.
-
- * change `allocate to `xmalloc', `reallocate' to `xrealloc', and
- `string_copy' to `strdup'.
-
-Tue Jul 30 13:18:48 1991 Karl Berry (karl at ra.cs.umb.edu)
-
- * Version 0.3.
-
-Fri Jul 26 07:02:28 1991 Karl Berry (karl at hayley)
-
- * main.c (get_image_info): read the left and side bearings from
- the IFI file, if present.
- (bitmap_to_gf_char): use these numbers.
- * image-char.h (image_char_type): new members `lsb' and `rsb'.
- (IMAGE_CHAR_{L,R}SB): new accessor macros.
-
-Wed Jul 24 06:07:11 1991 Karl Berry (karl at hayley)
-
- * bitmap2.c (bitmap_concat): the height of the result is the
- height of one, not twice that.
-
- * main.c (do_image_line): rename `concat_bitmaps' to
- `bitmap_concat'.
- * GNUmakefile (files): new file `bitmap2'.
-
- * main.c (do_image_line): return a boolean saying if we need
- another image row.
- (main): if `do_image_line' fails, read more of the image.
- * extract.h (append_next_image_row): declare new routine.
- * extract.c (append_next_image_row): define it.
- (get_image_row): new routine.
- (some_black_to_all_white_row): call `get_image_row'.
-
- * make-gsfont.ps (octal-value): prepend 0 to the character code.
-
- * extract.c (some_black_to_all_white_row): use xcalloc to initialize
- `or_of_all', not allocate. We need it to be all zeroes
- initially.
-
- * main.c, version.c: change `imgtogf' to `imagetofont'.
-
- * make-gsfont.ps: remove all the if-verbose's.
-
- * main.c: doc fix.
-
-Mon Jul 22 07:54:42 1991 Karl Berry (karl at hayley)
-
- * make-gsfont.ps (output-encoding): set /output-encoding to the
- dictionary.
-
- * main.c: output ``imagetofont'' as our name in the GF file header,
- instead of ``IMGtoGF''.
-
- * make-gsfont.ps (print-char-dimensions-if-verbose): lose the
- `-if-verbose'.
-
- * make-gsfont.ps (octal-value): `get' the character name, don't
- `load' it, so we find it in the right dictionary.
-
- * libpbm1.c: declare parms, external functions to avoid warnings.
-
-Sat Jun 15 09:50:46 1991 Karl Berry (karl at hayley)
-
- * input-*.c: change `checked_' to `x'.
-
-Thu Jun 6 07:29:06 1991 Karl Berry (karl at hayley)
-
- * All files: change to version 2 of the GPL.
-
-Sat Jun 1 15:18:11 1991 Kathy Hargreaves (kathy at hayley)
-
- * main.c (get_image_info): Now build an info filename if the
- variable info_filename *is* NULL, not when it's not.
- (USAGE): Deleted that resolution was set only for pbm input.
- Stated that input-format is required and shortened comment.
-
-Fri May 31 14:30:01 1991 Kathy Hargreaves (kathy at hayley)
-
- * imgtogf: Moved directory to `imagetofont'.
-
- * GNUmakefile: Changed program name from `imgtogf' to `imagetofont'.
-
- * main.c (get_image_info): Make default image info file be
- <fontname>.ifi instead of imginf.<fontname>.
-
- * main.[hc], input-*.[hc]: *_get_header now don't return a
- header but rather modify the global header in main.c. Changed
- all references to `[img, pbm]_header->' to `image_header.'.
-
- * main.c, image-char.[hc]: Replaced all instances of `img_char'
- with `image_char'.
-
- * image-char.[hc]: Moved from img-char.[hc].
-
- * main.h (image_header): Made this visible to the outside.
-
- * input-[pbm, img].c ([pbm, img]_get_header): Set h to
- image_header in main.c. #include main.h.
-
- * main.c (read_command_line): Cast the assignment to
- image_header.hres to type two_bytes.
-
- * image-header.h, input-*.[hc], main.[hc]: Changed `img-header.h'
- to `image-header.h'.
-
- * main.c: Replaced all instances of `img_header*' with
- `image_header*'. Moved `img_' and `pbm_' to the front of the
- function names.
-
- * img-header.h: Moved to image_header.h and replaced all
- instances of `img_header*' with `image_header*'.
-
- * input-img.[hc] (*_img_*): Moved `img_' to the front of the
- variable names. Replaced instances of `img_header_type' with
- `image_header_type'.
-
- * input-pbm.[hc] (*_pbm_*): Moved `pbm_' to the front of the
- variable names.
-
- * extract.c, strips.c: (ptr_get_scanline): Removed `ptr_' from in
- front of this function's name and replaced it with `image'.
- Replaced instances of `img_header*' with `image_header*', if any.
-
- * main.h (ptr_open_input_file, ptr_close_input_file, ptr_get_header,
- ptr_get_scanline): Removed `ptr_' from the front of all these
- names and replaced it with `image'. Replaced `img_header_type'
- with `image_header_type'.
-
- * main.c (ptr_open_input_file, ptr_close_input_file, ptr_get_header,
- ptr_get_scanline): Moved and set all to NULL.
- Removed `ptr_' from the front of all these names and replaced it
- with `image'.
- (read_command_line): Remove "img-input-format" from option
- structure.
- Removed variable need_resolutions, as don't need it.
- Force them to specify the input format on the command line
- rather than having a default.
-
-Wed May 29 16:19:57 1991 Kathy Hargreaves (kathy at hayley)
-
- * input-pbm.c (line_in_bytes): Deleted this global variable, as
- don't need it. (pbm_readpbmrow reads right into line_in_bits in
- get_pbm_scanline.)
-
- * pbm.h: Took out #include for types.h.
-
- * input-pbm.c (get_pbm_scanline): Check if at EOF before calling
- pbm_readpbmrow.
-
- * libpbm2.c (pbm_readpbmrow): Restored to original; can test if at
- EOF in the wrapper get_pbm_scanline.
- Took out #include for types.h.
-
- * input-pbm.c (get_pbm_scanline): Hooked up to libpbm2.c routine.
-
- * main.c (read_command_line): Combined some options and changed
- their names and their input.
- Make input-format take an argument.
-
-Mon May 27 14:52:45 1991 Kathy Hargreaves (kathy at hayley)
-
- * main.c (read_commandline): If both resolutions are missing and
- are required on the commandline, print that they both are, not
- just that the horizontal one is.
-
- * bb-outline.c (is_outline_edge): Changed VALID_LOCATION to
- BITMAP_VALID_PIXEL.
-
- * pbmplus.h: Commented out malloc, etc. declarations.
-
- * libpbm2.c (pbmreadpbmrow): Make it return a boolean instead of a
- void, so will fit into our code.
- Make it return false instead of an error message.
-
- * pbm.h (top): pbmplus.h is in the current directory, so take out
- the `../' before it in the #include.
- (pbmreadpbmrow): Make it return a boolean instead of a void, so
- will fit into our code.
-
- * extract.c (top): Now #include input-pbm.h.
- (some_black_to_all_white_row): Changed all instances of
- get_img_scanline to get_scanline.
-
- * input-img.c (top): Now #include img-header.h.
- (get_img_header): Got rid of variable format, as now put that in
- the header.
-
- * main.c: (open_input_file, close_input_file, get_header,
- get_scanline): Declared these pointers to functions so could set
- them to a set of routines belonging to the type of input we're
- using. Set them to .pbm input format routines as a default.
- (font_name_extension): Added this static variable so could set
- it when get read the input format on the command line. Set to
- `.pbm' by default.
- (main): Initialize img_header to all zeros so will know if the
- user set them using the command line.
- Changed call to open_img_input_file to open_input_file and
- concat font_name_extension instead of ".img" for the argument.
- Changed some comments.
- Changed the call to get_img_header to get_header.
- Changed the call to close_img_input_file to close_input_file.
- (USAGE): Added horz-resolution, img-input-format,
- pbm-input-format, and vert-resolution.
- (read_command_line): Added boolean variable need_resolutions to
- keep track of whether or not the user needs to input the
- horizontal and vertical resolutions on the command line.
- Added horz-resolution, img-input-format, pbm-input-format, and
- vert-resolution to the option variable long_options.
- If the argument is horz-resolution or vert-resolution, then set
- the appropriate field in the header.
- If the argument if img-input-format or pbm-input-format, the set
- the input function pointers in main to the appropriate set of
- functions that belong to the input format. If the argument is
- the former, then set needs_resolution to false; if it's the latter,
- set it to true.
- If the user wants .pbm input format, then check that the header's
- resolutions are set; if not, issue an error message and exit.
-
- * main.h (open_input_file, close_input_file, get_header, get_scanline):
- Added these function pointer declarations so extract.c and strips.c
- could use them.
-
- * strips.c (top): Now #include input-pbm.h.
- (write_chars_as_strips): Changed the call to get_img_scanline to
- a call to get_scanline.
-
-Sat Apr 13 17:13:51 1991 Karl Berry (karl at hayley)
-
- * main.c (get_image_info): use the libfile routines to read the
- image info files.
-
- * main.c, input-img.c: new includes from the library
- rearrangements.
-
-Mon Feb 25 16:32:45 1991 Karl Berry (karl at hayley)
-
- * main.c, strips.c: use `gf_...' instead of `..._gf_...'.
-
-Sun Feb 17 09:39:20 1991 Karl Berry (karl at hayley)
-
- * *.c: include config.h.
-
-Tue Jan 22 15:43:19 1991 Karl Berry (karl at hayley)
-
- * extract.[ch] (extract_subimage): move to kbase.
-
-Thu Jan 17 10:32:09 1991 Karl Berry (karl at hayley)
-
- * main.c (main): don't put the day of the week in the font comment.
-
-Tue Oct 9 09:07:02 1990 Karl Berry (karl at hayley)
-
- * main.c (scan_baseline_list): move to kbase.
- (baseline_list): make a vector of ints, not unsigneds.
- (main): test for the end of the baseline list being -1, not 0.
-
-Mon Oct 8 16:37:07 1990 Karl Berry (karl at hayley)
-
- * main.c: #include cmdline.h.
- (read_command_line): call FINISH_COMMAND_LINE.
-
-Sun Sep 30 09:15:25 1990 Karl Berry (karl at hayley)
-
- * main.c (do_image_line): don't give a report when we read part of
- the line, after all.
-
-Fri Sep 28 13:47:15 1990 Karl Berry (karl at hayley)
-
- * main.c (scan_integer_list): use strtok, instead of doing the
- work ourselves.
-
-Sat Sep 22 06:16:49 1990 Karl Berry (karl at hayley)
-
- * main.c (output_chars): don't increment `current_char' if we've
- already seen the box.
-
-Fri Sep 21 08:40:49 1990 Karl Berry (karl at hayley)
-
- * img-char.h (img_char_type): new element, `alternating'.
- (IMG_CHAR_BB_ALTERNATING): macro to access it.
- * main.c (get_image_info): if the bb count is negative, set
- `alternating' (and make it positive).
- (output_chars): handle the bounding boxes alternating.
-
- * main.c (do_image_line): give a progress report when we read part
- of the line.
-
- * main.c (read_command_line): return NULL at the end; the POSIX
- include files don't declare `exit' as volatile, more's the pity.
- * bb-output.c (is_outline_edge): return false at the end, for the
- same reason.
-
-Sun Sep 16 11:13:43 1990 Karl Berry (karl at hayley)
-
- * main.c: include "getopt.h" instead of <getopt.h>.
-
- * main.c (read_command_line): change call of PARSE_CHAR_CODE to
- xparse_char_code.
-
- * main.c (main): make the default info filename `imginf.<name>',
- not `imginfo.<name>'.
-
-Sat Sep 8 10:06:19 1990 Karl Berry (karl at hayley)
-
- * main.c (read_command_line): remove any suffix on the font name
- before returning it.
-
- * main.c (read_command_line): use GET_RANGE.
-
- * main.c (get_image_info): use PARSE_CHAR_CODE to get the
- character code from the file.
-
-Thu Sep 6 06:16:29 1990 Karl Berry (karl at hayley)
-
- * main.c (scan_integer_list): doc fix.
-
-Wed Sep 5 06:19:53 1990 Karl Berry (karl at hayley)
-
- * main.c (USAGE): doc fix in -range.
-
-Tue Sep 4 09:33:49 1990 Karl Berry (karl at hayley)
-
- * main.c (do_image_line): pass the current character to
- output_chars, not the current box count.
-
- * extract.c (REPORT_SCANLINE): output to stderr instead of stdout.
-
- * main.c (get_image_info): always assign to the character code and
- omit fields.
-
-Mon Sep 3 16:57:02 1990 Karl Berry (karl at hayley)
-
- * main.c (get_image_info): use NULL in subsequent calls to strtok.
-
- * main.c (get_encoding): replace with get_image_info; change
- callers.
- * img-char.[ch]: new files to support the data structure.
-
-Thu Aug 16 08:00:19 1990 Karl Berry (karl at hayley)
-
- * bb-outline.c (free_bounding_box_list): check if the list is
- allocated before freeing it.
-
- * main.c (do_image_line): only say that we've read too many boxes
- once.
-
-Wed Aug 8 08:06:53 1990 Karl Berry (karl at hayley)
-
- * main.c (read_command_line): change `encoding-file' to
- `info-file'.
-
-Tue Aug 7 08:53:13 1990 Karl Berry (karl at hayley)
-
- * main.c (main): use the basename of the image filename to
- construct the output name, instead of the full name.
-
- * main.c (USAGE): explain `-baselines' better.
-
-Thu Jul 26 06:54:56 1990 Karl Berry (karl at hayley)
-
- * extract.c (find_transitions): move to kbase.
-
-Tue Jul 24 13:09:38 1990 Karl Berry (karl at hayley)
-
- * main.c: don't include time.h.
-
-Thu Jul 19 15:22:29 1990 Karl Berry (karl at aten)
-
- * main.c (main): don't dereference baseline_list if it's null.
-
-Mon Jul 16 08:56:41 1990 Karl Berry (karl at hayley)
-
- * main.c (clean_bitmap): only print the `. ' if we're printing the
- cleaning info.
-
-Sun Jul 15 08:27:52 1990 Karl Berry (karl at hayley)
-
- * bb-outline.c (append_bounding_box_list): don't change anything
- if we're appending a list of length zero.
-
-Fri Jul 13 11:35:15 1990 Karl Berry (karl at hayley)
-
- * main.c (clean_bitmap): also potentially clean bounding boxes on
- the bottom edge.
-
- * main.c (SET_EDGES): make coordinates relative to the bitmap of
- the character.
-
- * main.c (clean_bitmap): only test the gray value for bounding
- boxes that are on the edge.
-
- * main.c (output_chars): return the number of characters actually
- output, omitting the ones out of range.
-
- * main.c (clean_bitmap): print gray values for the bounding boxes
- if requested.
- (read_command_line): new option, `print_clean_info'.
-
-Thu Jul 12 06:08:33 1990 Karl Berry (karl at hayley)
-
- * extract.c (some_black_to_all_white_row): don't output a newline
- after reading the scanlines.
-
- * main.h: new file.
- * extract.c: include it, remove declaration of verbose.
-
- * strips.[ch]: new files.
- * main.c (main): cut the image into strips if requested.
- (read_command_line): new option `strips'.
-
- * extract.c (find_transitions): new routine.
- (some_black_to_all_white_row): call it, at the end, with a new
- variable that is the logical or of all the rows we read.
- (some_black_to_all_white_column, found_color_in_column): these
- routines aren't needed any more.
- * main.c (do_image_line): use the transition vector to set
- `char_bitmap'.
-
- * main.c (scan_integer_list): increment length after checking the
- exit condition.
-
- * main.c (do_image_line): new routine, consisting of a lot of the
- main loop.
-
- * main.c (bitmap_to_gf_char): determine the baseline.
- (read_command_line): new option `baselines' to set the baselines.
- (scan_integer_list): new routine.
-
- * extract.c (found_color_in_column): start halfway down the
- bitmap.
-
-Wed Jul 11 06:19:51 1990 Karl Berry (karl at hayley)
-
- * main.c (bitmap_to_gf_char): take another argument, the character
- code, to consolidate where the GF char is set.
-
- * main.c (nchars_per_line): new static to say how many characters
- we can report on per line; different for `print_guidelines' being
- set and not set.
-
- * main.c (print_guidelines): new global.
- (read_command_line): new option to set it.
- (bitmap_to_gf_char): print the row numbers if it's set.
-
- * bb-outline.c (find_outline_bbs): take two additional arguments:
- column numbers between which we don't look.
- * bb-outline.h (find_outline_bbs): change the declaration.
- * main.c (main), (clean_bitmap): change the calls.
-
- * bb-outline.c (append_bounding_box_list): reallocate based on the
- element size, not the list size.
-
- * bb-outline.c (set_bounding_box_list_offset): replace by
- `offset_bounding_box_list'.
- (append_bb): don't offset the bounding boxes as they come in.
- * bb-outline.h (set_bounding_box_list_offset): likewise.
- * main.c (main): change call.
-
- * main.c (output_chars): set char_code to *next_code at the bottom
- of the loop, and increment next_code.
-
-Tue Jul 10 06:10:05 1990 Karl Berry (karl at hayley)
-
- * bb-outline.c (set_bounding_box_list_offset): new routine.
- (append_bb): move the bounding box to the right by the offset.
- * bb-outline.h (set_bounding_box_list_offset): declare it.
-
- * main.c (get_char_code): rename to get_encoding, and read the
- whole file.
-
- * bb-outline.h (init_bounding_box_list, append_bounding_box_list):
- declare new routines.
- bb-outline.c (same): define them.
-
-Mon Jul 9 08:10:20 1990 Karl Berry (karl at hayley)
-
- * main.c (main): don't split each line at white columns.
-
- * extract.c (clean_bitmap): set verbose to false before calling
- find_outline_bbs.
-
- * main.c (get_char_code): make sure we actually find a character
- code.
-
- * main.c (output_chars): don't extract or clean anything if the
- character isn't within range.
-
- * extract.c (REPORT_SCANLINE): report every 100 scanlines.
-
- * main.c (output_chars): only give the status report if we
- actually output the character.
-
-Sat Jul 7 10:43:18 1990 Karl Berry (karl at hayley)
-
- * bb-outline.c (append_bb): changed MAX_ROW, instead of MAX_COL.
-
- * main.c (clean_bitmap): new routine.
- (output_gf_chars): call it.
- * bb-outline.c (find_outline_bbs): take an additional parameter to
- determine whether to look for inside outlines or not.
-
- * extract.c (REPORT_SCANLINE): report every 50 scanlines, instead
- of every 10.
-
- * bb-outline.c (find_outline_bbs): look for outlines in
- column-major order, instead of row-major.
+DEPRECATED - USE ROOT CHANGELOG
+For historical purposes you can view ChangeLog.old.
diff --git a/imageto/GNUmakefile b/imageto/GNUmakefile
index 7f75fc1..e14dcd3 100644
--- a/imageto/GNUmakefile
+++ b/imageto/GNUmakefile
@@ -2,10 +2,10 @@
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
#
-# This program is free software; you can redistribute it and/or modify
+# 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.
+# 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
@@ -13,8 +13,8 @@
# 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.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
program = imageto
@@ -39,5 +39,3 @@ install::
$(INSTALL_DATA) strips.tex $(texinputdir)/strips.tex
include M.depend
-
-
diff --git a/imageto/bitmap2.c b/imageto/bitmap2.c
index 78be75b..ee823cc 100644
--- a/imageto/bitmap2.c
+++ b/imageto/bitmap2.c
@@ -1,29 +1,25 @@
-/* bitmap2.c: extra bitmap manipulation routines.
-
-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. */
+# bitmap2.c: extra bitmap manipulation routines.
+#
+# 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"
-
#include "bitmap.h"
-
#include "bitmap2.h"
-
-
/* Put B2 to the right of B1, changing B1. For example, if B1 looked
like `A' and B2 like `B', the result would look like `AB'. The two
bitmaps must have the same number of rows. */
diff --git a/imageto/bitmap2.h b/imageto/bitmap2.h
index b7b1f3d..3e1faf1 100644
--- a/imageto/bitmap2.h
+++ b/imageto/bitmap2.h
@@ -1,20 +1,20 @@
-/* bitmap2.h: declare extra bitmap manipulation routines.
-
-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. */
+# bitmap2.h: declare extra bitmap manipulation routines.
+#
+# 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/>.
+#
#ifndef BITMAP2_H
#define BITMAP2_H
diff --git a/imageto/extract.c b/imageto/extract.c
index e6866c3..154e993 100644
--- a/imageto/extract.c
+++ b/imageto/extract.c
@@ -1,22 +1,23 @@
-/* extract.c: operations on bitmaps. These could be put in
- lib/bitmap.c, but since they are not particularly common
- operations, we may as well define them separately for now.
-
-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. */
+# extract.c: operations on bitmaps.
+#
+# 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/>.
+#
+
+# These could be put in lib/bitmap.c, but since they are not particularly
+# common operations, we may as well define them separately for now.
#include "config.h"
@@ -33,9 +34,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
static bitmap_type *get_image_row (boolean, unsigned);
static unsigned *image_row_transitions (bitmap_type);
-
-
-
/* Combine the images in the bitmaps B1 and B2, returning the result in
B1. The relative position of the bitmaps is given by the bounding
boxes BB1 and BB2. We update the bounding box, also. */
@@ -94,7 +92,7 @@ combine_images (bitmap_type *b1, bitmap_type b2,
*b1 = whole_bitmap;
*bb1 = whole_bb;
}
-
+
/* Get the next image row of width WIDTH, ignoring leading white rows.
Return the columns at which there are black-to-white or white-black
transitions in TRANSITIONS. */
@@ -128,7 +126,7 @@ append_next_image_row (bitmap_type b, unsigned width, unsigned **transitions)
*transitions = image_row_transitions (*new);
return new;
}
-
+
/* Because scanlines take a relatively long time to read, we will want
some kind of status report. */
diff --git a/imageto/extract.h b/imageto/extract.h
index 77b92c5..5cfb1f8 100644
--- a/imageto/extract.h
+++ b/imageto/extract.h
@@ -1,20 +1,20 @@
-/* extract.h: declare operations on bitmaps.
-
-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. */
+# extract.h: declare operations on bitmaps.
+#
+# 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/>.
+#
#ifndef EXTRACT_H
#define EXTRACT_H
diff --git a/imageto/ifi.c b/imageto/ifi.c
index 41b72ab..655cad7 100644
--- a/imageto/ifi.c
+++ b/imageto/ifi.c
@@ -1,20 +1,21 @@
-/* ifi.c: read an IFI file.
+# ifi.c: read an IFI 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/>.
+#
-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. */
#include "config.h"
@@ -35,7 +36,7 @@ string ifi_filename = NULL;
static void append_image_char (image_char_list_type *l, image_char_type c);
static image_char_list_type new_image_char_list (void);
-
+
/* Read the IFI file `ifi_filename' (or construct the IFI filename from
`input_name'), which gives us information about the image we are
going to read.
@@ -162,7 +163,7 @@ read_ifi_file (unsigned *total_count)
return image_char_list;
}
-
+
/* Return an initialized, empty list. */
static image_char_list_type
diff --git a/imageto/ifi.h b/imageto/ifi.h
index 34565ea..3275b4e 100644
--- a/imageto/ifi.h
+++ b/imageto/ifi.h
@@ -1,20 +1,21 @@
-/* ifi.h: information about the characters in the image.
+# ifi.h: information about the characters in the image.
+#
+# 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/>.
+#
-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. */
#ifndef IFI_H
#define IFI_H
diff --git a/imageto/image-char.c b/imageto/image-char.c
index 4e0aafd..da34691 100644
--- a/imageto/image-char.c
+++ b/imageto/image-char.c
@@ -1,20 +1,21 @@
-/* image-char.c: manipulate information about the characters in the image.
+# image-char.c: manipulate information about the characters in the image.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/imageto/image-header.h b/imageto/image-header.h
index 7a62961..b2bf2dc 100644
--- a/imageto/image-header.h
+++ b/imageto/image-header.h
@@ -1,20 +1,21 @@
-/* image-header.h: declarations for a generic image header.
+# image-header.h: declarations for a generic image header.
+#
+# 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/>.
+#
-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. */
#ifndef IMAGE_HEADER_H
#define IMAGE_HEADER_H
diff --git a/imageto/input-img.c b/imageto/input-img.c
index a1b967b..522ea50 100644
--- a/imageto/input-img.c
+++ b/imageto/input-img.c
@@ -1,20 +1,20 @@
-/* input-img.c: read Interleaf .img files.
-
-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. */
+# input-img.c: read Interleaf .img files.
+#
+# 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"
@@ -42,7 +42,7 @@ static unsigned pixel_depth;
#define IMG_GET_TWO() get_two (img_input_file, img_input_filename)
#define IMG_GET_FOUR() get_four (img_input_file, img_input_filename)
-
+
/* Only one file can be open at a time. We do no path searching. If
FILENAME can't be opened, we quit. */
@@ -66,7 +66,7 @@ img_close_input_file ()
xfclose (img_input_file, img_input_filename);
img_input_file = NULL;
}
-
+
/* Read the header information.
Modifies the global image_header in main.c. */
@@ -115,7 +115,7 @@ img_get_header ()
byte_width = short_width * 2;
line_in_bytes = xmalloc (byte_width);
}
-
+
/* Read one scanline of the image, returning each bit of the scanline in
a separate byte. We may use the `line_in_bytes' variable, allocated in
`img_get_header' just above, to read into. */
diff --git a/imageto/input-img.h b/imageto/input-img.h
index 324e080..8fc1576 100644
--- a/imageto/input-img.h
+++ b/imageto/input-img.h
@@ -1,20 +1,21 @@
-/* input-img.h: declarations for reading an IMG file.
+# input-img.h: declarations for reading an IMG 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/>.
+#
-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. */
#ifndef INPUT_IMG_H
#define INPUT_IMG_H
diff --git a/imageto/input-pbm.c b/imageto/input-pbm.c
index 6143214..c08647e 100644
--- a/imageto/input-pbm.c
+++ b/imageto/input-pbm.c
@@ -1,20 +1,20 @@
-/* input-pbm.c: read PBM files.
-
-Copyright (C) 1990, 1991, 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. */
+# input-pbm.c: read PBM files.
+#
+# Copyright (C) 1990, 1991, 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"
@@ -33,7 +33,7 @@ static FILE *pbm_input_file;
static string pbm_input_filename;
-
+
/* Only one file can be open at a time. We do no path searching. If
FILENAME can't be opened, we quit. */
@@ -59,7 +59,7 @@ pbm_close_input_file ()
}
-
+
/* Read the header information.
Modifies the global image_header in main.c. */
@@ -76,7 +76,7 @@ pbm_get_header ()
}
-
+
/* Read one scanline of the image. */
boolean
diff --git a/imageto/input-pbm.h b/imageto/input-pbm.h
index 37c95ef..e6f8021 100644
--- a/imageto/input-pbm.h
+++ b/imageto/input-pbm.h
@@ -1,20 +1,21 @@
-/* input-pbm.h: declarations for reading an PBM file.
+# input-pbm.h: declarations for reading an PBM 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/>.
+#
-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. */
#ifndef INPUT_PBM_H
#define INPUT_PBM_H
@@ -41,4 +42,3 @@ extern void pbm_get_header (void);
extern boolean pbm_get_scanline (one_byte *p);
#endif /* not INPUT_PBM_H */
-
diff --git a/imageto/main.c b/imageto/main.c
index 15b3906..51cfb92 100644
--- a/imageto/main.c
+++ b/imageto/main.c
@@ -1,20 +1,20 @@
-/* imageto -- convert a scanned image.
-
-Copyright (C) 1992, 2004, 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. */
+# imageto -- convert a scanned image.
+#
+# Copyright (C) 1992, 2004, 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"
#include "lib.h"
@@ -52,7 +52,7 @@ string input_name;
/* Show every scanline on the terminal as we read it? (-trace-scanlines) */
boolean trace_scanlines = false;
-
+
/* Private variables. */
/* The design size of the font we're creating. (-designsize) */
@@ -76,7 +76,7 @@ static string read_command_line (int, string[]);
static void set_img_input_format (void);
static void set_input_format (string);
static void set_pbm_input_format (void);
-
+
/* We have three different strategies for processing the image:
1) (normal) analyze the image and write out the ``true'' characters,
2) (-strips) takes a constant number of scanlines as each character,
@@ -182,7 +182,7 @@ main (int argc, string argv[])
return 0;
}
-
+
/* We are semi-clever about printing this, for the sake of huge images. */
void
@@ -217,7 +217,7 @@ print_scanline (one_byte line[], unsigned width)
putchar ('\n');
}
}
-
+
/* Reading the options. */
/* This is defined in version.c. */
@@ -358,7 +358,7 @@ read_command_line (int argc, string argv[])
FINISH_COMMAND_LINE ();
}
-
+
/* If the input format wasn't explicitly set on the command line,
attempt to intuit it from FILENAME, and set the necessary variables.
If we can't tell what the format should be, quit. */
diff --git a/imageto/main.h b/imageto/main.h
index 2ee3123..467d1c8 100644
--- a/imageto/main.h
+++ b/imageto/main.h
@@ -1,20 +1,21 @@
-/* main.h: global variable declarations.
+# main.h: global variable declarations.
+#
+# 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/>.
+#
-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. */
#ifndef MAIN_H
#define MAIN_H
diff --git a/imageto/out-chars.c b/imageto/out-chars.c
index 2ad9325..6c2f8da 100644
--- a/imageto/out-chars.c
+++ b/imageto/out-chars.c
@@ -1,20 +1,21 @@
-/* out-chars.c: try to extract the real characters from the image.
+# out-chars.c: try to extract the real characters from the image.
+#
+# Copyright (C) 1992, 1993, 2004, 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/>.
+#
-Copyright (C) 1992, 1993, 2004, 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. */
#include "config.h"
@@ -68,7 +69,7 @@ boolean print_guidelines = false;
ordering in the font file. (-range) */
int starting_char = 0;
int ending_char = MAX_CHARCODE;
-
+
/* The design size of the font we're creating. */
static real design_size;
@@ -91,7 +92,7 @@ static void image_to_bitmap_bbs (bb_list_type *);
extern void offset_bb_list (bb_list_type *l, int offset);
static unsigned output_chars
(bb_list_type, bitmap_type, real, image_char_list_type, unsigned);
-
+
/* Analyze the input image, outputting the characters we find. */
void
@@ -170,7 +171,7 @@ write_image_chars (image_header_type image_header, real ds)
free_bitmap (image_line_bitmap);
}
}
-
+
/* Analyze and output all of the bitmap IMAGE, which is one line of type
in the original. The resolution of the image is H_RESOLUTION, and
we've read NCHARS characters (including .notdefs) so far. We use
@@ -359,7 +360,7 @@ fclose(testfileptr);
return true;
}
-
+
/* Move all the elements in BB_LIST to the right by OFFSET. */
void
@@ -387,7 +388,7 @@ bb_equal_p (bounding_box_type bb1, bounding_box_type bb2)
&& MAX_COL (bb1) == MAX_COL (bb2)
&& MAX_ROW (bb1) == MAX_ROW (bb2);
}
-
+
/* For each bounding box in the list BOXES, extract from IMAGE_LINE_BITMAP
and turn the resulting bitmap into a single character in the font.
The information in IMAGE_CHAR_LIST maps bounding boxes to character codes;
@@ -568,7 +569,7 @@ fclose(testfileptr);
return nchars_written;
}
-
+
/* Remove bits of adjacent characters that may have crept into B because
of overlapping characters in the original image. KNOWN_BOXES lists
all the known parts of B; if we find other bounding boxes in B, we
@@ -662,7 +663,7 @@ image_to_bitmap_bbs (bb_list_type *boxes)
MAX_ROW (*bb) -= min_row;
}
}
-
+
/* Derive the information necessary to output the font character from
the bitmap B, and return it. The resolution of the bitmap is given
in pixels per inch as H_RESOLUTION. The bounding box BB encloses the
diff --git a/imageto/out-chars.h b/imageto/out-chars.h
index eb41326..768cf15 100644
--- a/imageto/out-chars.h
+++ b/imageto/out-chars.h
@@ -1,20 +1,21 @@
-/* out-chars.h: extract the characters from the image.
+# out-chars.h: extract the characters from the image.
+#
+# 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/>.
+#
-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. */
#ifndef OUT_CHARS_H
#define OUT_CHARS_H
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,
diff --git a/imageto/out-epsf.h b/imageto/out-epsf.h
index 6c75633..f644caf 100644
--- a/imageto/out-epsf.h
+++ b/imageto/out-epsf.h
@@ -1,20 +1,21 @@
-/* out-epsf.h: output the whole image as an EPS file.
+# out-epsf.h: 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/>.
+#
-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. */
#ifndef OUT_EPSF_H
#define OUT_EPSF_H
diff --git a/imageto/out-strips.c b/imageto/out-strips.c
index 948f508..389db42 100644
--- a/imageto/out-strips.c
+++ b/imageto/out-strips.c
@@ -1,20 +1,20 @@
-/* out-strips.c: cut the entire image into strips.
-
-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-strips.c: cut the entire image into strips.
+#
+# 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"
@@ -23,7 +23,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "main.h"
#include "out-strips.h"
-
+
/* Output a ``font'' in which each ``character'' is a constant number of
scanlines from the image. This might use less than resources than
the giant PostScript file that -epsf outputs.
diff --git a/imageto/version.c b/imageto/version.c
index bc45a43..39012f2 100644
--- a/imageto/version.c
+++ b/imageto/version.c
@@ -1,19 +1,19 @@
-/*version.c
-
-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. */
+# version.c: Provides version of package.
+#
+# 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/>.
+#
char *version_string = "imageto version REPLACE-WITH-VERSION";
diff --git a/include/Bitmap.h b/include/Bitmap.h
index b378c9e..f58fa2d 100644
--- a/include/Bitmap.h
+++ b/include/Bitmap.h
@@ -1,21 +1,22 @@
-/* Bitmap.h: public header file for a bitmap widget, implemented as a
- subclass of Athena's Label widget.
+# Bitmap.h: public header file for a bitmap widget, implemented as a
+# subclass of Athena's Label widget.
+#
+# 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/>.
+#
-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. */
#ifndef BITMAP_WIDGET_H
#define BITMAP_WIDGET_H
@@ -110,7 +111,6 @@ extern bitmap_type *BitmapBits (Widget);
extern Boolean BitmapModified (Widget);
-
/* The class variable, for arguments to XtCreateWidget et al. */
extern WidgetClass bitmapWidgetClass;
diff --git a/include/ChangeLog b/include/ChangeLog
index 8391280..7a5c861 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,1533 +1,3 @@
-Tue Dec 26 10:15:54 1995 Kathy Hargreaves <kathy@cs.umb.edu>
+DEPRECATED - USE ROOT CHANGELOG
- * identity.h (get_identity): Added.
-
-Sat Nov 25 09:34:01 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * bitmap.h: (BITMAP_INTERIOR_PIXEL): added to comment.
-
-Thu Oct 12 10:42:17 1995 Karl Berry <karl@cs.umb.edu>
-
- * xt-common.h: Add FOIL_X_WCHAR_T.
-
-Sat May 27 13:52:42 1995 Karl Berry <karl@cs.umb.edu>
-
- * global.h (atou): Now in kpathsea.
-
-Mon Oct 24 19:08:52 1994 Karl Berry <karl@cs.umb.edu>
-
- * global.h (basename): Now in kpathsea.
-
-Sat Sep 25 18:03:44 1993 Karl Berry (karl@red.cs.umb.edu)
-
- * config.h (ALLOC_RETURN_TYPE): Do not define this.
-
-Sun Aug 22 14:15:01 1993 Karl Berry (karl@cs.umb.edu)
-
- * rand.h (RAND_MAX): Cast to unsigned before doing a 31-bit shift.
-
-Sun Aug 8 15:30:57 1993 Karl Berry (karl@cs.umb.edu)
-
- * global.h (ROUND): Do not cast arg to int.
-
-Sat Aug 7 11:52:18 1993 Karl Berry (karl@cs.umb.edu)
-
- * Item.h: types.h now in kpathsea.
-
-Sun Aug 1 09:41:41 1993 Karl Berry (karl@cs.umb.edu)
-
- * Most include files: Use <kpathsea/types.h> instead of "types.h".
-
- * config.h: Include kpathsea/config.h.
-
-Tue Jul 27 09:38:13 1993 Karl Berry (karl@cs.umb.edu)
-
- * types.h: Just include <kpathsea/types.h> (in lieu of deleting
- this file altogether, which would be the right thing).
-
-Fri Apr 23 16:09:28 1993 Karl Berry (karl@cs.umb.edu)
-
- * moretypes.h: Create from types.h.
- * types.h: Make identical to other distributions.
-
-Tue Apr 6 20:12:03 1993 Karl Berry (karl@cs.umb.edu)
-
- * getpagesize.h: Remove, as malloc.c no longer needs it.
-
-Wed Mar 3 06:19:46 1993 Karl Berry (karl@cs.umb.edu)
-
- * lib.h (xftell): Back to unsigned long.
-
-Sun Feb 28 15:41:59 1993 Karl Berry (karl@cs.umb.edu)
-
- * lib.h (xftell): Declare as four_bytes.
-
-Sun Feb 7 08:17:26 1993 Karl Berry (karl@cs.umb.edu)
-
- * lib.h (xfopen, etc.): Use P?H.
-
-Sat Jan 30 16:47:59 1993 Karl Berry (karl@cs.umb.edu)
-
- * lib.h (xfopen, xfclose, xfseek, xftell): Move here.
- * global.h: From here.
-
-Wed Jan 20 09:18:36 1993 Karl Berry (karl@cs.umb.edu)
-
- * lib.h (FATAL_PERROR, WARNING*, FATAL*): Move from global.h.
-
-Sun Jan 3 19:35:32 1993 Karl Berry (karl@cs.umb.edu)
-
- * config.h: Move some includes to c-std.h.
-
- * c-seek.h: Rename to c-unistd.h and add more constants.
-
-Sat Dec 12 13:06:47 1992 Karl Berry (karl@cs.umb.edu)
-
- * c-fopen.h (FOPEN_W_MODE): New defn.
-
-Fri Dec 11 15:14:58 1992 Karl Berry (karl@cs.umb.edu)
-
- * c-ctype.h: New file.
-
-Sat Dec 5 15:46:42 1992 Karl Berry (karl@cs.umb.edu)
-
- * c-minmax.h: Define all the ANSI constants except CHAR_{MIN,MAX}.
-
-Sun Nov 29 17:04:22 1992 Karl Berry (karl@cs.umb.edu)
-
- * global.h (dtoa): Rename to `xdtoa', to avoid Linux conflict.
- (awasthi@cps.msu.edu)
-
-Tue Oct 27 13:02:44 1992 Karl Berry (karl@cs.umb.edu)
-
- * Version 0.6.
-
-Sun Oct 25 06:27:11 1992 Karl Berry (karl@cs.umb.edu)
-
- * getopt.h: New version.
-
-Sat Oct 17 19:36:59 1992 Karl Berry (karl@cs.umb.edu)
-
- * c-memstr.h (bcmp, bcopy, bzero): Only #define if they are not
- already #define'd.
-
-Tue Oct 6 09:04:23 1992 Karl Berry (karl@cs.umb.edu)
-
- * bzr.h (BZR_CHAR_BB, etc.): Remove, as the CHAR_... macros work fine.
-
- * tfm.h (TFM_SAFE_FONTDIMEN): Fully parenthesize.
-
-Mon Oct 5 10:06:28 1992 Karl Berry (karl@cs.umb.edu)
-
- * report.h (report_file): New variable.
- (REPORT*): Use it.
-
-Sun Oct 4 09:03:07 1992 Karl Berry (karl@cs.umb.edu)
-
- * font.h (CHAR_HEIGHT): Just return the max row, don't add one for
- the baseline. Why did we want to do this?
-
- * lib.h: Doc fix.
-
- * bb-list.h: New file, taken from bb-outline.h; rename
- `bounding_box_list' to prefix `bb_list'.
-
-Fri Oct 2 17:01:25 1992 Karl Berry (karl@cs.umb.edu)
-
- * report.h (REPORT): Use fputs instead of fprintf.
- * logreport.h (LOG): Likewise.
-
-Tue Sep 15 08:38:19 1992 Karl Berry (karl@hayley)
-
- * pbmplus.h: include config.h, and remove the old sysv/bsd
- configuration stuff.
-
-Tue Sep 8 17:05:33 1992 Karl Berry (karl@hayley)
-
- * c-auto.h.in (_MINIX, _{ALL,POSIX,POSIX_1}_SOURCE): add #undef's
- for configure to define.
-
-Sun Sep 6 16:54:48 1992 Karl Berry (karl@hayley)
-
- * global.h (MAX_INT_LENGTH): increase to 21, for 64-bit numbers.
-
-Thu Sep 3 09:31:02 1992 Karl Berry (karl@hayley)
-
- * Version 0.5.
-
-Mon Aug 31 20:04:12 1992 Karl Berry (karl@hayley)
-
- * bzr.h (BZR_CHAR_...): remove unneeded parens.
-
-Sun Aug 23 15:06:34 1992 Karl Berry (karl@hayley)
-
- * cmdline.h (FINISH_COMMAND_LINE): use `fputs' for the constant
- string, instead of `fprintf'.
-
-Mon Aug 17 16:30:42 1992 Karl Berry (karl@hayley)
-
- * libfile.h (LIBFILE_WARN*): just use fprintf, instead of the
- WARNING macros.
-
-Fri Aug 14 16:42:33 1992 Karl Berry (karl@hayley)
-
- * bzr.h: doc fix.
-
-Mon Aug 10 11:12:41 1992 Karl Berry (karl@hayley)
-
- * rand.h (RAND_MAX): missing parens.
-
-Wed Jul 22 08:35:56 1992 Karl Berry (karl@hayley)
-
- * dirio.h: don't bother using the `defined' operator.
- * c-pathch.h: `pathchar' => `pathch', since the file was renamed
- (a long time ago).
- * c-memstr.h (bcmp) [USG || STDC_HEADERS]: define.
- (memcmp) [!(USG || STDC_HEADERS)]: define.
- * c-std.h: use #if instead of #ifdef.
-
-Tue Jul 7 16:41:19 1992 Karl Berry (karl@hayley)
-
- * tfm.h (tfm_input_filename): new routine.
-
-Fri Jul 3 17:45:30 1992 Karl Berry (karl@hayley)
-
- * encoding.h (DEFAULT_ENCODING): document.
-
-Mon Jun 29 09:15:30 1992 Karl Berry (karl@hayley)
-
- * cmdline.h (GETOPT_USAGE): terminate with a newline.
-
-Sat Jun 27 11:18:52 1992 Kathy Hargreaves (kathy@hayley)
-
- * cmdline.h (ARG_SEP): added.
-
-Fri Jun 26 16:47:23 1992 Karl Berry (karl@hayley)
-
- * charspec.h: new file.
-
- * global.h ({,x}parse_charcode): change return type to
- `charcode_type'.
-
-Sun Jun 21 15:33:30 1992 Karl Berry (karl@io)
-
- * tfm.h (TFM_SAFE_FONTDIMEN): new macro; if NUMBER is past the end
- of the array, return zero.
-
- * xt-common.h (DECLARE_BUTTON): cast NULL to (XtArgVal) to avoid
- warning.
-
-Mon Jun 15 15:38:40 1992 Karl Berry (karl@hayley)
-
- * bitmap.h (BITMAP_INTERIOR_PIXEL): assume the pixel at [row,col]
- is black.
-
-Sun Jun 14 07:42:00 1992 Karl Berry (karl@hayley)
-
- * font.h (font_info_type): remove the `nchars' member.
- (FONT_NCHARS): remove macro.
-
- * global.h (POINTS_TO_REAL_PIXELS): new macro for when we want
- fractional pixels.
-
- * tfm.h (SAFE_TFM_FONT_PARAMETER): remove.
-
-Sat Jun 13 16:29:26 1992 Karl Berry (karl@hayley)
-
- * libfile.h (libfile_start): return the FILE *.
-
-Sat Jun 13 13:52:04 1992 Kathy Hargreaves (kathy@hayley)
-
- * encoding.h (DEFAULT_ENCODING): added.
-
-Sat Jun 13 07:57:57 1992 Karl Berry (karl@hayley)
-
- * str-casefold.h: rename to str-lcase.h and remove str_to_upper.
-
- * gf.h: change `one_byte' to `charcode_type' where appropriate.
-
- * list.h (new_list): rename to `list_init'.
- (append_element): rename to `list_append'.
- (LIST_{TAPPEND,LAST_ELT}): new macros.
- (list_free): new routine.
-
- * tfm.h (tfm_fontdimen_number): new routine.
-
- * tfm.h (TFM_MAX_FONT_PARAMETERS): rename to `TFM_MAX_FONTDIMENS'.
-
-Fri Jun 12 10:33:56 1992 Karl Berry (karl@hayley)
-
- * tfm.h (tfm_set_fontdimen): rename from `tfm_set_font_parameter',
- and rearrange args.
-
- * tfm.h (tfm_set_ligature): change to take a lig list.
-
-Tue Jun 9 13:27:12 1992 Karl Berry (karl@hayley)
-
- * tfm.h (tfm_fontdimen_number): declare.
-
-Mon Jun 8 15:27:15 1992 Karl Berry (karl@hayley)
-
- * tfm.h (tfm_set_kern): take a kern list as the parameter instead
- of the whole TFM character.
-
-Sun Jun 7 19:33:10 1992 Karl Berry (karl@hayley)
-
- * encoding.h: doc fix.
-
-Sun Jun 7 15:09:06 1992 Kathy Hargreaves (kathy@hayley)
-
- * bitmap.h (BITMAP_INTERIOR_PIXEL): added.
-
-Sun Jun 7 10:55:40 1992 Karl Berry (karl@hayley)
-
- * font.h (font_info_type): remove `interword_space'.
- (FONT_SPACE): remove the accessor macro.
-
- * font.h: don't include <stdio.h>.
-
-Wed Jun 3 08:17:47 1992 Karl Berry (karl@hayley)
-
- * tfm.h: doc fix.
-
-Tue Jun 2 11:21:31 1992 Karl Berry (karl@hayley)
-
- * encoding.h (encoding_number): document that NULL is ok as an arg.
-
- * global.h (FATAL4, WARNING4): new macros.
-
- * libfile.h (LIBFILE_ERROR2): new macro.
-
-Mon Jun 1 15:41:46 1992 Karl Berry (karl@hayley)
-
- * global.h (float_ok, integer_ok): declare new routines.
-
- * encoding.h: doc fix.
-
- * libfile.h (LIBFILE_WARN1): new macro.
-
- * cmdline.h: doc fix.
-
- * report.h: doc fix.
-
- * font.h (CHAR_[LR]SB) [!CHAR_[LR]SB]: define conditionally.
-
-Sun May 31 10:58:30 1992 Karl Berry (karl@hayley)
-
- * global.h (REAL_EPSILON): decrease, to be less than can be
- represented in a fix_word.
-
-Sat May 30 15:19:49 1992 Karl Berry (karl@hayley)
-
- * tfm.h (tfm_convert_pl): declare the new TFM_NAME parameter.
-
-Tue May 26 15:30:55 1992 Kathy Hargreaves (kathy@hayley)
-
- * tfm.h (SAFE_TFM_FONT_PARAMETER): added.
-
-Sun May 24 17:58:51 1992 Karl Berry (karl@hayley)
-
- * cmdline.h (MAYBE_REMOVE_SUFFIX): define, corresponding with
- `CMDLINE_NO_DPI'.
- (FINISH_COMMAND_LINE): use it, instead of always removing it.
-
-Thu May 21 11:42:43 1992 Karl Berry (karl@hayley)
-
- * hexify.h (hexify): take a block of data and a length instead of
- a varstring.
-
-Sat May 16 21:23:12 1992 Kathy Hargreaves (kathy@hayley)
-
- * varstring.h (vs_concat): added.
-
-Sat May 16 12:42:11 1992 Karl Berry (karl@hayley)
-
- * tfm.h (tfm_set_fontsize): don't declare static.
-
-Fri May 15 10:22:57 1992 Karl Berry (karl@hayley)
-
- * getopt.h: new version.
-
-Thu May 14 22:02:41 1992 Karl Berry (karl@claude.cs.umb.edu)
-
- * c-minmax.h (FLT_MAX): define as 1e+37, not 1e-37!
-
- * tfm.h (tfm_set_fontsize): declare this.
-
- * rand.h (RAND_MAX): always define.
- (srand): -> seed_rand, to avoid conflicts with headers.
- (rand): -> k_rand, same reason.
-
-Sun May 10 10:03:29 1992 Karl Berry (karl@hayley)
-
- * encoding.h: doc fix.
-
-Wed Apr 29 15:39:11 1992 Karl Berry (karl@hayley)
-
- * lib.h: add P?H calls for non-prototype systems.
-
-Thu Apr 23 07:37:16 1992 Karl Berry (karl@hayley)
-
- * c-auto.h.in: new file.
-
-Wed Apr 22 08:47:49 1992 Karl Berry (karl@hayley)
-
- * c-std.h: include <math.h> and <stdio.h> first, and include
- <stdlib.h> before <stddef.h>, to try avoid redefining NULL.
-
-Tue Apr 21 07:38:19 1992 Karl Berry (karl@hayley)
-
- * lib.h (XTALLOC1): new macro.
-
- * bzr.h: doc fix.
-
-Sat Apr 18 12:24:15 1992 Kathy Hargreaves (kathy@hayley)
-
- * str-casefold.h: added.
-
-Wed Apr 15 15:22:21 1992 Karl Berry (karl@hayley)
-
- * lib.h (make_output_filename): rename to `extend_filename'.
-
-Tue Apr 14 12:43:50 1992 Karl Berry (karl@hayley)
-
- * bounding-box.h (init_real_bounding_box): remove this.
-
-Fri Apr 10 16:35:30 1992 Karl Berry (karl@hayley)
-
- * pathsrch.h (initialize_path_list): remove cwd_first_p.
-
-Wed Apr 8 15:00:56 1992 Karl Berry (karl@hayley)
-
- * tfm.h (TFM_CHECK_DESIGNSIZE): change msg wording.
-
-Fri Apr 3 13:20:14 1992 Karl Berry (karl@hayley)
-
- * config.h (RAND_MAX): remove this.
- * rand.h: new file.
-
-Wed Apr 1 14:14:23 1992 Karl Berry (karl at hayley)
-
- * (pathshare from web2c)
-
- * filename.h (make_output_filename): don't say we always return a
- mallocated string.
-
- * filename.h (make_stem_suffix): remove.
-
- * edge.h: new file.
-
-Sun Mar 29 08:47:33 1992 Karl Berry (karl at fosse)
-
- * config.h (ALLOC_RETURN_TYPE): define as void.
- * c-std.h (*alloc): use ALLOC_RETURN_TYPE to declare.
- (ALLOC_RETURN_TYPE): define as char if not otherwise defined.
-
-Sun Mar 29 11:07:17 1992 Karl Berry (karl at hayley)
-
- * c-memstr.h (bzero,bcopy) [USG or STDC_HEADERS]: define these
- using the mem fns.
-
-Sat Mar 28 07:49:02 1992 Karl Berry (karl at hayley)
-
- * Version 0.4.
-
- * Change copyright years to 1992 only.
-
-Fri Mar 27 17:33:01 1992 Karl Berry (karl at hayley)
-
- * c-memstr.h (memcpy) [!(USG or STDC_HEADERS)]: change condition.
-
-Thu Mar 26 19:40:46 1992 Karl Berry (karl at jeeves.math.utah.edu)
-
- * c-minmax.h: make all #definitions conditional
-
- * c-limits.h: only include <float.h> if we don't have FLT_MAX
- already.
-
- * c-memstr.h [!NEED_MEMORY_H]: do not declare memchr.
-
-Thu Mar 26 14:36:08 1992 Karl Berry (karl at claude.cs.umb.edu)
-
- * Bitmap.h [!XtCBitmap]: make the definition conditional.
-
- * c-memstr.h: move #include <memory.h> outside of #if
- STDC_HEADERS.
-
-Sat Mar 21 11:11:18 1992 Kathy Hargreaves (kathy at hayley)
-
- * tfm.h (tfm_set_design_size): added.
-
- * tfm.h (tfm_set_header): deleted DEFAULT_DESIGN_SIZE;
-
- * tfm.h [TFM_CHECK_DESIGNSIZE]: changed name from CHECK_DESIGNSIZE.
-
-Thu Mar 19 17:28:34 1992 Kathy Hargreaves (kathy at hayley)
-
- * tfm.h: doc fix.
-
-Thu Mar 19 07:47:58 1992 Karl Berry (karl at hayley)
-
- * config.h: don't include paths.h, c-pathmx.h, c-namemx.h,
- c-pathch.h; just include them in the files where they are
- needed.
-
- * c-{path,name}_max.h: rename to c-*mx.h; new versions.
- * pathsearch.h => pathsrch.h.
-
-Wed Mar 18 12:27:27 1992 Kathy Hargreaves (kathy at hayley)
-
- * tfm.h (tfm_set_ligature): added.
-
- * tfm.h (tfm_set_header): doc fix.
-
-Mon Mar 16 11:42:14 1992 Kathy Hargreaves (kathy at hayley)
-
- * tfm.h [TFM_MIN_DESIGNSIZE]: added.
-
- * tfm.h [TFM_MAX_DESIGNSIZE_PLUS_ONE]: added.
-
-Sun Mar 15 16:59:02 1992 Karl Berry (karl at hayley)
-
- * font.h: doc fix.
-
-Sun Mar 15 13:50:40 1992 Kathy Hargreaves (kathy at hayley)
-
- * paths.h [DEFAULT_LIB_PATH]: change /u/research/data to /w/data.
-
-Tue Mar 10 15:02:27 1992 Karl Berry (karl at hayley)
-
- * cmdline.h (GETOPT_USAGE): new macro.
-
-Mon Mar 9 16:33:34 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.h (make_stem_suffix): added.
-
-Sun Mar 8 17:09:03 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.h (make_output_filename): changed comment.
-
-Sun Mar 8 05:11:50 1992 Karl Berry (karl at fosse)
-
- * global.h (dtoa): rename from `ftoa'.
-
- * c-memstr.h (strstr) [!USG or STDC_HEADERS]: declare it.
-
- * global.h (ROUND): cast the result to int, and simplify.
-
-Sat Mar 7 16:59:04 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.h (sizeless_font_name): removed.
-
-Sat Mar 7 11:26:59 1992 Karl Berry (karl at fosse)
-
- * c-std.h [!STDC_HEADERS]: declare getenv.
-
- * varstring.h (vs_set_char): change parameter name to avoid
- warnings.
-
- * c-minmax.h [!FLT_MIN]: define FLT_MIN and FLT_MAX.
-
- * c-memstr.h [NEED_MEMORY_H]: include <memory.h> instead of
- #defining memcpy.
- Also declare strtok if including <strings.h>, and memchr if
- using #define of memcpy.
-
-Sat Mar 7 10:02:24 1992 Karl Berry (karl at hayley)
-
- * pbmplus.h, c-proto.h: use #if __STDC__, not #ifdef.
-
- * config.h: break out into various files.
-
-Tue Mar 3 16:28:26 1992 Karl Berry (karl at hayley)
-
- * filename.h (find_suffix): new routine.
-
-Sun Mar 1 14:48:41 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.h (make_output_file): added.
-
-Sun Mar 1 13:00:17 1992 Karl Berry (karl at hayley)
-
- * bb-outline.h, pbm.h, pbmplus.h: new files from imagetofont.
-
-Mon Feb 24 08:07:47 1992 Karl Berry (karl at hayley)
-
- * lib.h (X{RE,}TALLOC): cast the result to the right pointer type,
- for the benefit of broken compilers which don't cast void *'s.
-
- * config.h (P...): new macros to omit prototypes if not __STDC__.
- * lib.h: new file with some declarations moved from global.h.
- * {pathsearch,xstat,dirio}.h: use un/prototyping macros.
-
- * global.h (ARE_EQUAL_POINTS): remove, as no one uses this anymore.
-
- * global.h ({START,END}_{FATAL,WARNING}): use fputs instead of
- fprintf for constant strings.
-
-Mon Feb 17 07:26:13 1992 Karl Berry (karl at hayley)
-
- * filename.h (sizeless_font_name): new routine.
-
- * bzr.h (bzr_char_type): declare the character code as
- `charcode_type'.
-
- * hexify.h: new file.
-
- * tfm.h: doc fixes.
-
- * varstring.h (vs_{set,append}_char): doc fix.
-
-Sun Feb 16 11:47:27 1992 Kathy Hargreaves (kathy at hayley)
-
- * tfm.h (TFM_KERN): added.
-
-Sun Feb 16 10:38:56 1992 Karl Berry (karl at hayley)
-
- * config.h: figure out NAME_MAX like we figure out PATH_MAX.
-
-Fri Feb 14 08:29:42 1992 Karl Berry (karl at hayley)
-
- * varstring.h (variable_string): add `used' field; rename `length'
- to `allocated'.
- (VS_USEd): new macro.
-
- * varstring.h (vs_free): new routine.
-
- * encoding.h (ENCODING_VECTOR_SIZE): define this.
- (encoding_info_type): use it to define the array.
-
-Tue Feb 11 10:23:43 1992 Karl Berry (karl at hayley)
-
- * config.h [NEED_MEMORY_H]: include <memory.h>.
-
- * config.h [LIMITS_H_MISSING]: include <sys/param.h>.
-
- * config.h [STDC_HEADERS]: include <string.h> if this is defined.
-
-Thu Feb 6 17:25:55 1992 Karl Berry (karl at claude.cs.umb.edu)
-
- * global.h (MIN) [!MIN]: define it conditionally.
-
-Sat Feb 1 14:54:51 1992 Karl Berry (karl at hayley)
-
- * filename.h (depath): remove.
-
- * pathsearch.h (initialize_path_list): change decl to remove
- subdir paths; that's now indicated by // ending a path element.
- * paths.h-dist (DEFAULT_SUBDIR_PATH): remove.
- * filename.h: doc fix.
-
-Thu Jan 16 09:27:16 1992 Karl Berry (karl at hayley)
-
- * global.h (MAX, MIN): remove unnecessary parens.
-
-Tue Jan 14 16:04:05 1992 Karl Berry (karl at hayley)
-
- * config.h: include <sys/types.h> before <unistd.h>.
- * types.h: don't include <sys/types.h> again.
-
-Sun Jan 12 14:58:11 1992 Karl Berry (karl at hayley)
-
- * pathsearch.h (initialize_path_list): doc fix.
-
-Sat Jan 11 15:02:09 1992 Karl Berry (karl at hayley)
-
- * pathsearch.h (initialize_path_list): declare additional arg.
-
-Fri Jan 10 07:41:51 1992 Karl Berry (karl at hayley)
-
- * config.h (PATH_MAX): define this as the maximum length of a
- filename.
-
- * types.h (const_string): new type.
-
- * config.h (DBL_MIN) [!DBL_MIN]: define it.
-
- * tfm.h: include fix-num.h.
-
- * varstring.h: change names to start with `vs'.
-
- * filename.h (find_dpi): move decl to cmdline.h.
- (basename): move to global.h.
-
-Thu Jan 9 08:41:59 1992 Karl Berry (karl at hayley)
-
- * global.h: don't include kbase.h; declare commonly-used routines here.
- * kbase.h, convert.h: remove.
-
- * cmdline.h: include getopt.h.
- (scan_integer_list): rename to `scan_unsigned_list'.
-
- * scaled-num.h, fix-num.h: new files.
-
- * *.h: remove #pragma once.
-
- * config.h: include global.h.
-
- * config.h: update for new configuration stuff.
-
- * types.h: include <sys/types.h>.
-
-Wed Jan 8 15:30:11 1992 Karl Berry (karl at hayley)
-
- * config.h: do not include conf-sys.h, as we don't need it
- any more; change `conf-sysauto.h' to `config-auto.h'.
-
- * update copyright messages.
-
- * change `allocate to `xmalloc', `reallocate' to `xrealloc', and
- `string_copy' to `strdup'.
-
-Tue Jan 7 17:26:38 1992 Karl Berry (karl at hayley)
-
- * bitmap.h: doc fix.
-
-Mon Dec 23 16:47:05 1991 Karl Berry (karl at hayley)
-
- * encoding.h (encoding_number): new declaration.
-
-Fri Nov 22 16:38:13 1991 Karl Berry (karl at hayley)
-
- * tfm.h (TFM_VERSION_PARAMETER): new font parameter.
-
-Wed Nov 20 08:38:28 1991 Karl Berry (karl at hayley)
-
- * varstring.h: doc fix.
-
-Tue Oct 1 11:55:29 1991 Karl Berry (karl at hayley)
-
- * Bitmap.h: document FillSelection.
-
-Tue Jul 30 13:18:57 1991 Karl Berry (karl at ra.cs.umb.edu)
-
- * Version 0.3.
-
-Fri Jul 26 10:37:51 1991 Karl Berry (karl at hayley)
-
- * vector.h: doc fix.
-
-Wed Jul 24 06:32:44 1991 Karl Berry (karl at hayley)
-
- * bitmap.h (concat_bitmaps): remove.
-
- * kbase.h (xcalloc): new fn declaration.
-
-Fri Jul 19 09:39:58 1991 Karl Berry (karl at hayley)
-
- * paths.h-dist (DEFAULT_LIB_PATH): the envvar is FONTUTIL_LIB, not
- AUX_FONT_FILES.
-
- * global.h [STDLIB_H]: reverse conditional, to STDLIB_H_MISSING.
-
-Tue Jul 16 08:25:49 1991 Karl Berry (karl at hayley)
-
- * bitmap.h: doc fix.
-
-Mon Jul 15 18:02:28 1991 Karl Berry (karl at hayley)
-
- * convert.h (POINTS_TO_PIXELS): round the result after adding .5,
- not before.
-
-Fri Jul 5 07:54:04 1991 Karl Berry (karl at hayley)
-
- * xt-common.h (DEFINE_RESOURCE): take the field name as an arg.
- (IMMEDIATE_RESOURCE2): new macro.
- (IMMEDIATE_RESOURCE): call above.
-
- * xt-common.h (Pointer): define to be a synonym for XtPointer.
-
- * kbase.h (XRETALLOC): new macro to go with XTALLOC.
-
-Thu Jul 4 16:20:53 1991 Karl Berry (karl at hayley)
-
- * convert.h (POINTS_TO_PIXELS): round the result.
-
-Sun Jun 30 09:13:26 1991 Karl Berry (karl at hayley)
-
- * xt-common.h (DEFINE_RESOURCE, IMMEDIATE_RESOURCE,
- STRING_RESOURCE): new macros.
-
- * Item.h: include types.h.
-
-Thu Jun 27 11:26:58 1991 Karl Berry (karl at hayley)
-
- * xt-common.h (XFIND_WIDGET): improve error message.
-
- * Bitmap.h: include bitmap.h.
-
- * font.h (get_char, get_raw_char, raw_char_type): use
- `charcode_type' for the character codes.
-
-Tue Jun 25 08:54:57 1991 Karl Berry (karl at hayley)
-
- * Bitmap.h (BITMAP_DEFAULT_EXPANSION): new symbol.
-
-Thu Jun 20 08:06:07 1991 Karl Berry (karl at hayley)
-
- * xt-common.h (XFIND_WIDGET): safeguard against a collision with
- the name `w'.
-
- * types.h (charcode_type): define to be `one_byte', not `int'.
-
- * tfm.h (tfm_global_info_type): use `charcode_type' for the
- character codes.
- * font.h (char_info_type): likewise.
-
-Tue Jun 18 07:05:03 1991 Karl Berry (karl at hayley)
-
- * xt-common.h (XFIND_WIDGET): new macro.
-
-Mon Jun 17 09:52:44 1991 Karl Berry (karl at hayley)
-
- * xt-common.h (XTPARSE_CHAR_CODE): new macro.
-
- * Item.h (ItemGetLabelString): new fn.
-
- * global.h (PIXELS_TO_POINTS): move to convert.h.
- * convert.h (POINTS_TO_PIXELS): new macro.
-
- * xt-common.h (XTARG, SINGLE_CALLBACK, DECLARE_BUTTON,
- DEFINE_BUTTON): new macros.
-
-Sat Jun 15 09:23:41 1991 Karl Berry (karl at hayley)
-
- * font.h (font_info_type): new member `tfm_filename'.
- (FONT_TFM_FILENAME): new macro to get it.
-
- * file-misc.h (xmove_file): new routine.
-
- * tfm.h (tfm_char_type): new member `code'.
-
- * tfm.h (tfm_put_char): new routine.
-
- * font.h (get_bitmap_font): doc fix.
-
- * {dirio,font-open,font-misc}.h: change `checked_' to `x'.
-
- * font.h (font_info_type): new member `tfm_font'.
- (FONT_TFM_FONT): new macro to get it.
-
-Wed Jun 12 10:48:42 1991 Karl Berry (karl at hayley)
-
- * font.h (CHAR_BITMAP_{WIDTH,HEIGHT}, CHAR_{MIN,MAX}_{COL,ROW}):
- remove extra parentheses.
-
-Tue Jun 11 15:06:04 1991 Karl Berry (karl at hayley)
-
- * tfm.h (tfm_ligature_type, tfm_kern_type): use `charcode_type'
- instead of `one_byte'.
- (tfm_{g,s}et_kern): likewise.
-
- * kbase.h (XTALLOC): new macro to allocate N items of a particular
- type.
-
-Sun Jun 9 11:14:40 1991 Karl Berry (karl at hayley)
-
- * font.h (CHAR_BITMAP_PIXEL): remove this.
-
-Thu Jun 6 07:29:43 1991 Karl Berry (karl at hayley)
-
- * All files: change to version 2 of the GPL.
-
-Fri May 31 14:31:51 1991 Kathy Hargreaves (kathy at hayley)
-
- * cmdline.h (GET_PERCENT): Changed test of temp to be > 100, not
- >= 100.
-
-Wed May 29 15:54:41 1991 Kathy Hargreaves (kathy at hayley)
-
- * cmdline.h (ARGUMENT_IS): Remove unnecesary surrounding parens.
-
-Tue May 21 10:49:16 1991 Karl Berry (karl at hayley)
-
- * tfm.h (tfm_get_char): new routine.
-
- * types.h (file_descriptor_type): delete.
- (charcode_type): new type definition.
-
-Thu May 16 07:36:07 1991 Karl Berry (karl at hayley)
-
- * font.h: doc fix.
-
- * xmessage.h: new file.
-
-Fri Apr 26 15:29:32 1991 Karl Berry (karl at hayley)
-
- * global.h (SIGN, MAX_EQUALS, MIN_EQUALS): new macros.
-
-Sun Apr 21 17:34:20 1991 Karl Berry (karl at hayley)
-
- * bitmap.h (VALID_LOCATION): rename to `BITMAP_VALID_PIXEL'.
- (bitmap_to_bb): declare the arg as const.
-
-Mon Apr 15 14:06:32 1991 Karl Berry (karl at hayley)
-
- * encoding.h: doc fix.
-
-Sat Apr 13 17:38:43 1991 Karl Berry (karl at hayley)
-
- * libfile.h: doc fix.
-
-Fri Apr 12 15:12:12 1991 Karl Berry (karl at hayley)
-
- * logreport.h: new file.
-
-Mon Apr 8 08:39:19 1991 Karl Berry (karl at hayley)
-
- * font.h (ascender_part): remove declaration.
-
-Sun Apr 7 14:30:30 1991 Karl Berry (karl at hayley)
-
- * file-output.c (put_signed_two, put_signed_byte): new routines.
- (put_signed_four): make a #define.
-
-Tue Apr 2 06:40:10 1991 Karl Berry (karl at hayley)
-
- * tfm.h (TFM_AXISHEIGHT_PARAMETER): I omitted the parameter number
- for this (22).
-
-Mon Apr 1 07:53:15 1991 Karl Berry (karl at hayley)
-
- * encoding.h, libfile.h: new files.
-
-Sun Mar 31 14:45:03 1991 Karl Berry (karl at hayley)
-
- * font.h (get_char): doc fix.
-
-Sat Mar 23 16:23:31 1991 Karl Berry (karl at hayley)
-
- * tfm.h: doc fix.
-
-Mon Mar 11 09:24:01 1991 Karl Berry (karl at hayley)
-
- * bzr.h (bzr_preamble_type): remove the member `space'.
- (BZR_SPACE): remove this macro.
-
-Sun Mar 10 10:19:39 1991 Karl Berry (karl at hayley)
-
- * tfm.h (tfm_global_info_type): new member `parameter_count'.
- (TFM_FONT_PARAMETER_COUNT): new macro to get it.
-
- * tfm.h (tfm_init_global_info): declare this.
-
-Sat Mar 9 17:00:11 1991 Karl Berry (karl at hayley)
-
- * tfm.h (TFM_CHECKSUM, TFM_DESIGN_SIZE, TFM_CODING_SCHEME): new
- accessor macros for `tfm_global_info_type'.
- (TFM_MAX_FONT_PARAMETERS): define this.
- (tfm_global_info_type): define the parameters as an array, instead
- of as separate members.
- (TFM_FONT_PARAMETER): new macro to get at the parameters.
-
- * kbase.h (string functions): declare args as const.
-
- * kbase.h (lowercasify): declare this.
-
-Thu Mar 7 07:26:19 1991 Karl Berry (karl at hayley)
-
- * Version 0.2.
-
- * cmdline.h: include filename.h.
-
-Wed Mar 6 10:23:28 1991 Kathy Hargreaves (kathy at hayley)
-
- * global.h (LIB_ENVVAR): define to be `FONTUTIL_LIB' instead of
- `FIT_OUTLINES'.
-
-Tue Mar 5 14:39:35 1991 Karl Berry (karl at hayley)
-
- * font.h (CHAR_HEIGHT, CHAR_DEPTH): use CHAR_MAX_ROW and
- CHAR_MIN_ROW.
-
- * tfm.h: doc fix.
-
-Mon Feb 25 15:15:56 1991 Karl Berry (karl at hayley)
-
- * font.h: doc fix.
-
- * gf.h (new_gf_postamble): remove declaration.
-
- * gf.h: change names to start with `gf_'.
-
- * pk.h: change names to start with `pk_'.
-
- * tfm.h (tfm_convert_pl): take a new parameter to say whether we
- should run silently.
-
- * tfm.h: change names to start with `tfm_'.
-
- * bzr.h: change names to start with `bzr_'.
-
-Sun Feb 24 12:40:22 1991 Karl Berry (karl at ra.cs.umb.edu)
-
- * global.h (scanf) [!POSIX]: declare for SunOS4.1.
-
- * global.h (abs, atoi, free, malloc, rand) [BSD4 || SUNOS4_0]:
- declare conditionally.
-
- * global.h [HAVE_STDLIB_H]: include <stdlib.h> based on this,
- instead of _POSIX_SOURCE.
-
-Sat Feb 16 16:50:14 1991 Karl Berry (karl at hayley)
-
- * global.h [USE_MEMORY_H]: change conditional for including
- <memory.h>.
-
- * dirio.h (directory_entry_type) [DIRENT]: change conditional from
- being on `BSD43'.
- (checked_lstat) [HAVE_SYMBOLIC_LINKS]: change conditional from
- being on S_IFLNK and S_ISLNK.
-
- * global.h (LIB_ENVVAR): new symbol to define the envvar with
- which we look up our auxiliary files.
-
-Tue Jan 29 10:06:33 1991 Karl Berry (karl at hayley)
-
- * vector.h: doc fix.
-
-Mon Jan 28 16:53:21 1991 Karl Berry (karl at hayley)
-
- * global.h [!RAND_MAX]: define it.
-
-Wed Jan 23 16:25:00 1991 Karl Berry (karl at hayley)
-
- * Bitmap.h: document the new actions.
-
-Tue Jan 22 15:44:20 1991 Karl Berry (karl at hayley)
-
- * bitmap.h (extract_subbitmap): new routine from imgtogf.
-
-Mon Jan 21 16:11:23 1991 Karl Berry (karl at hayley)
-
- * xt-common.h (action_proc_type): new typedef.
-
-Sat Jan 19 06:34:59 1991 Karl Berry (karl at hayley)
-
- * Item.h (ItemGetValueWidget): new routine.
-
- * Bitmap.h (BitmapExpansion): new routine.
-
-Fri Jan 18 08:03:23 1991 Karl Berry (karl at hayley)
-
- * vector.h: declare args to be const.
-
- * vector.h (Vabs): new routine.
-
-Tue Jan 15 15:26:29 1991 Karl Berry (karl at hayley)
-
- * spline.h (NEXT_SPLINE_LIST_ELT, PREV_SPLINE_LIST_ELT): new
- macros.
-
- * bzr.h (bzr_char_type): the shape is now a spline list array.
-
- * spline.h (LAST_SPLINE_LIST_ELT): new macro.
-
- * spline.h (spline_list_array_type): new type, plus the macros to
- access the fields.
- (new_spline_list_array, free_spline_list_array,
- append_spline_list): declare the new routines.
-
- * spline.h (append_spline_list): rename to concat_spline_lists.
-
-Sun Jan 13 15:29:36 1991 Karl Berry (karl at hayley)
-
- * font.h (raw_char_type): move raw_gf_char_type to here, plus the
- macros. Add the `bitmap_format' field, and `bitmap_format_type'
- from font.c.
- (get_raw_char, free_raw_char): declare these.
-
-Sat Jan 12 14:54:18 1991 Karl Berry (karl at hayley)
-
- * gf.h (raw_gf_char_type): new type, plus macros to access the
- fields.
- (get_raw_gf_char, put_raw_gf_char): declare these new routines.
-
-Mon Jan 7 15:54:11 1991 Karl Berry (karl at hayley)
-
- * spline.h (spline_type): add a `linearity' member and accessor
- macro.
-
-Wed Dec 12 15:49:43 1990 Karl Berry (karl at ra.cs.umb.edu)
-
- * global.h (random) [not _POSIX_SOURCE]: declare it.
-
- * global.h (S_ISDIR) [not S_ISDIR]: change condition from
- POSIX_SOURCE, since some non-POSIX systems define it.
-
- * global.h: make declarations based on SunOS4_0 instead of SunOS4,
- because now we have to distinguish SunOS 4.1, also.
-
-Sun Dec 9 11:08:49 1990 Karl Berry (karl at hayley)
-
- * bzr.h (bzr_char_type): change the member name to `bb', so the
- CHAR_... macros will work.
- (BZR_CHAR_BB): change accordingly.
-
- * bzr.h (BZR_CHAR_CODE, BZR_SET_WIDTH): remove, the CHAR_...
- routines will do.
-
- * dirio.h (checked_chdir, checked_stat, checked_lstat, getwd):
- declare these new routines.
- (checked_opendir, is_dir): declare the arguments const.
-
-Sat Nov 17 11:10:13 1990 Karl Berry (karl at hayley)
-
- * kbase.h: don't include the file routines.
-
- * kbase.h (distance): declare this.
-
-Tue Oct 9 08:56:06 1990 Karl Berry (karl at hayley)
-
- * cmdline.h (scan_integer_list): declare this.
-
-Mon Oct 8 09:01:36 1990 Karl Berry (karl at hayley)
-
- * cmdline.h (FINISH_COMMAND_LINE): only look for the resolution if
- CMDLINE_NO_DPI is undefined.
-
- * cmdline.h: new file.
- * global.h (ARGUMENT_IS, GET_PERCENT, GET_RANGE): move to cmdline.h.
-
- * filename.h (find_dpi): new routine.
-
-Wed Oct 3 07:20:57 1990 Karl Berry (karl at hayley)
-
- * file-misc.h (same_file_p): doc fix.
-
- * filename.h (find_pk_filename, find_gf_filename,
- find_tfm_filename): new routines.
-
-Fri Sep 28 10:15:59 1990 Karl Berry (karl at hayley)
-
- * global.h (M_PI) [!_POSIX_SOURCE]: define this.
-
-Thu Sep 27 11:59:55 1990 Karl Berry (karl at hayley)
-
- * global.h (chdir): declare it.
-
- * filename.h (find_subdir_path_filename): new routine.
-
-Mon Sep 24 16:39:39 1990 Karl Berry (karl at claude)
-
- * global.h [!_POSIX_SOURCE] (S_ISDIR): don't give the `.st_mode'.
-
- * global.h [SunOS40]: include <memory.h>.
-
- * global.h: use the symbol SunOS40, not SunOS4.
-
-Sun Sep 23 20:18:56 1990 Karl Berry (karl at claude)
-
- * global.h: always include <string.h>; define stdio functions if
- either BSD43 or SunOS4 are defined.
-
-Fri Sep 21 08:25:22 1990 Karl Berry (karl at hayley)
-
- * global.h (S_ISDIR) [!_POSIX_SOURCE]: new macro.
-
- * global.h [BSD43]: conditionally include <string.h> or else
- <memory.h> and <strings.h>.
-
- * global.h [!USG]: declare functions conditionally based on BSD43,
- not !USG.
- * dirio.h: likewise.
-
-Thu Sep 13 10:38:43 1990 Karl Berry (karl at hayley)
-
- * convert.h (xparse_char_code): new routine.
- (parse_char_code): return a status indicator.
- * global.h (GET_RANGE): use it.
-
- * convert.h (all routines): declare parameters as const.
-
- * font.h (PARSE_CHAR_CODE): rewrite as a routine, in
- kbase/convert.c.
- * convert.h (parse_char_code): declare it.
-
-Sun Sep 9 07:14:02 1990 Karl Berry (karl at hayley)
-
- * font.h (PARSE_CHAR_CODE): test if the character code is less
- than zero, not less than -1.
-
- * convert.h: new file.
- * kbase.h: include it.
-
-Sat Sep 8 10:06:44 1990 Karl Berry (karl at hayley)
-
- * global.h (GET_RANGE): new macro to read a character range
- argument.
-
- * font.h (PARSE_CHAR_CODE): new macro.
-
-Thu Sep 6 09:01:01 1990 Karl Berry (karl at hayley)
-
- * bitmap.h (new_bitmap): say that the bitmap is initialized to
- white.
-
-Mon Sep 3 11:06:25 1990 Karl Berry (karl at hayley)
-
- * line.h (read_line): say the string is dynamically allocated.
-
-Sat Sep 1 09:38:31 1990 Karl Berry (karl at hayley)
-
- * report.h (REPORT*): print to stderr, instead of stdout.
-
-Fri Aug 31 08:38:31 1990 Karl Berry (karl at hayley)
-
- * global.h: declare getpid and unlink.
-
- * font.h (get_bitmap_font, bitmap_font_type): new routine, and the
- structure it returns.
-
-Thu Aug 30 16:29:33 1990 Karl Berry (karl at hayley)
-
- * systypes.h: define __TYPES__, for the sake of X.
-
-Wed Aug 29 11:05:25 1990 Karl Berry (karl at hayley)
-
- * kbase.h: split up declarations of file functions into new files
- `file-input.h', `file-output.h', `file-open.h', and `file-misc.h'.
-
-Thu Aug 23 07:15:38 1990 Karl Berry (karl at hayley)
-
- * filename.h (remove_suffix): new routine. Also, declare all the
- others to take `const string's instead of just `string's.
-
-Tue Aug 21 11:30:14 1990 Karl Berry (karl at hayley)
-
- * report.h: new file.
-
- * global.h (STREQ): new macro.
-
-Sat Aug 4 14:00:13 1990 Karl Berry (karl at hayley)
-
- * global.h: use `USG' for the conditional, instead of `USGr3'.
- * dirio.h: likewise.
-
-Wed Jul 25 08:19:28 1990 Karl Berry (karl at hayley)
-
- * kbase.h (concat5): new routine.
-
-Tue Jul 24 10:24:35 1990 Karl Berry (karl at hayley)
-
- * font.c (font_info_type): new member for the design size in
- points.
-
- * filename.h: new file.
- * kbase.h (make_suffix, find_path_filename): move declarations to
- it.
-
- * gf.h (put_gf_postamble): doc fix.
-
- * font.h (char_info_type): define a new field for the TFM width
- and a macro to get it.
-
-Sun Jul 22 10:44:31 1990 Karl Berry (karl at hayley)
-
- * font.h (get_char): doc fix.
-
-Sat Jul 21 08:57:24 1990 Karl Berry (karl at hayley)
-
- * global.h (sleep): declare this standard library function.
-
-Fri Jul 20 15:20:43 1990 Karl Berry (karl at hayley)
-
- * global.h (PIXELS_TO_POINTS): define this.
-
-Thu Jul 19 15:10:08 1990 Karl Berry (karl at aten)
-
- * global.h [!USGr3]: declare sscanf.
-
- * global.h: include <memory.h>
-
-Mon Jul 16 07:25:06 1990 Karl Berry (karl at hayley)
-
- * bitmap.h (bitmap_to_bb): new routine.
-
-Tue Jul 10 06:09:55 1990 Karl Berry (karl at hayley)
-
- * bitmap.h (BITMAP_ROW): new macro.
-
- * bitmap.h (concat_bitmaps): declare this.
-
- * spline.h: doc fix.
-
-Mon Jul 9 11:04:20 1990 Karl Berry (karl at hayley)
-
- * bitmap.h (get_bitmap_bounding_box): remove declaration.
-
-Sat Jul 7 11:37:21 1990 Karl Berry (karl at hayley)
-
- * line.h (read_line): doc fix.
-
- * global.h (GET_PERCENT): new macro.
-
-Wed Jul 4 12:05:41 1990 Karl Berry (karl at hayley)
-
- * bounding-box.h (BB_WIDTH): don't add 1, to make it work with the
- GF routines.
-
- * bounding-box.h (update_bounding_box): declare this.
-
-Sun Jul 1 15:11:46 1990 Karl Berry (karl at hayley)
-
- * font.h (ascender_part): declare this.
-
-Tue Jun 26 11:27:03 1990 Karl Berry (karl at hayley)
-
- * vector.h (Padd, Pmult_scalar): define as macros.
-
-Tue Jun 19 10:18:48 1990 Karl Berry (karl at hayley)
-
- * kbase.h (move_to_byte): delete this.
- (cur_pos): rename to `checked_ftell', and take a string argument.
-
- * bzr.h (bzr_preamble_type): add the interword space.
- (bzr_postamble_type): add the number of characters.
- (get_next_bzr_char): delete this, and add get_bzr_char, to get a
- specific character.
-
-Mon Jun 4 16:21:56 1990 Karl Berry (karl at hayley)
-
- * spline.h (spline_bounding_box): remove this declaration.
-
-Sun Jun 3 11:22:58 1990 Karl Berry (karl at hayley)
-
- * kbase.h, vector.h: add const declarations.
-
- * all files: use `(void)' in the prototypes where appropriate.
-
-Sat Jun 2 07:56:01 1990 Karl Berry (karl at hayley)
-
- * bounding-box (update_real_bounding_box): declare this.
-
- * bounding-box.h (increase_int_bound): remove this.
-
- * font.h, spline.h: include <stdio.h>, since we use FILE.
-
- * spline.h (SPLINE_LIST_LENGTH, SPLINE_LIST_DATA,
- SPLINE_LIST_ELT): new accessor macros.
-
-Wed May 30 16:20:35 1990 Karl Berry (karl at hayley)
-
- * tfm.h (tfm_char_type): add a new member, `exists', since a width
- of zero does not imply the character does not exist.
-
-Sat May 26 08:19:24 1990 Karl Berry (karl at hayley)
-
- * varstring.h (variable_string): remove the structure tag, since
- it was only needed for an old version of gdb.
-
-Sat May 19 12:27:35 1990 Karl Berry (karl at hayley)
-
- * global.h: declare the functions if USGr3 is not defined, instead
- of the hardware types.
-
-Sun May 13 14:33:52 1990 Karl Berry (karl at hayley)
-
- * dirio.h (is_dir): declare this.
-
-Sat May 12 08:35:44 1990 Karl Berry (karl at hayley)
-
- * list.h (LIST_DATA): new macro to get the entire array.
-
-Thu May 3 08:40:53 1990 Karl Berry (karl at hayley)
-
- * tfm.h (TFM_FIX_WIDTH): new accessor macro.
-
- * gf.h (new_gf_char): remove declaration.
-
-Sun Apr 22 14:51:51 1990 Karl Berry (karl at aten)
-
- * font.h (CHAR_HEIGHT): don't return the boolean value.
- Also, forgot to include the baseline row.
-
- * font.h (font_info_type): remove the `height' and `depth' members.
-
-Wed Apr 18 15:54:09 1990 Karl Berry (karl at aten)
-
- * global.h [!i386]: declare sprintf, scanf.
-
-Sat Apr 14 14:53:23 1990 Karl Berry (karl at hayley)
-
- * kbase.h (checked_fclose): declare it.
-
-Thu Apr 12 12:19:19 1990 Karl Berry (karl at hayley)
-
- * list.h (LIST_ELT, LIST_SIZE): define these macros to use the
- list_type structure.
-
- * types.h (REAL): take this type out; `real' will suffice.
- (COMPLEX): rename this type to `complex'.
-
- * kbase.h (find_path_name): new argument for a default path.
-
- * global.h: declare access(2) and an access_bit_type for its
- second argument.
-
-Tue Apr 10 07:14:38 1990 Karl Berry (karl at hayley)
-
- * global.h (MAX): only define it if it's not already defined.
-
-Sun Apr 8 10:32:18 1990 Karl Berry (karl at hayley)
-
- * bitmap.h (BITMAP_DIMENSIONS, ...): upcase names.
- (BITMAP_BITS): new macro to access the bitmap pointer itself.
-
- * global.h: (max, min, ...): upcase names.
-
- * global.h (MAX_BOUND): only define it if it isn't already defined.
-
- * types.h (dimensions_width, dimensions_height): upcase names.
-
- * bounding-box.h (get_min_row, ...): change names to MIN_ROW, ...
-
- * gf.h (GF_CHECKSUM, GF_FONT_BB): new accessor macros.
-
- * tfm.h (tfm_get_checksum): declare this new routine.
-
- * types.h (fix_word): describe it as well as define it.
-
- * gf.h (gf_postamble_type): remove the special parameters; they
- aren't needed anymore.
- generic.h (generic_char_type): ditto.
-
- * generic.h (generic_char_type): change the names of some of the
- members, for consistency with the pk names.
-
-Fri Apr 6 11:55:26 1990 Karl Berry (karl at hayley)
-
- * tfm.h: rename `get_interword_space' to `tfm_get_interword_space'.
-
-Fri Mar 16 19:52:12 1990 Karl Berry (karl at hayley)
-
- * global.h (ARGUMENT_IS): update for new version of getopt.
-
-Fri Feb 23 08:16:34 1990 Karl Berry (karl at hayley)
-
- * tfm.h (tfm_char_type): add fix_width et al. to the structure.
-
- * all files: add #pragma once.
-
-Wed Feb 7 17:20:51 1990 Karl Berry (karl at hayley)
-
- * tfm.h (tfm_get_design_size): new routine.
- (tfm_get_coding_scheme): rename `get_coding_scheme'.
-
-Mon Jan 29 12:27:32 1990 Karl Berry (karl at hayley)
-
- * dirio.h: use USGr3 instead of i386 for the conditional.
-
- * kbase.h (atou): declare it.
-
- * global.h (ARGUMENT_IS): macro for use with getopt.
-
-Wed Jan 24 17:43:36 1990 Karl Berry (karl at hayley)
-
- * gf.h (ascender_part): declare it.
-
-Sun Jan 21 09:52:23 1990 Karl Berry (karl at hayley)
-
- * bounding_box.h (dimensions_to_bounding_box): rename to
- dimensions_to_bb. Also, remove various other conversion routines
- that are now unused. And rename the file to bounding-box.h.
-
-Fri Dec 22 17:32:04 1989 Karl Berry (karl at hayley)
-
- * tfm.h (tfm_get_x_height): new routine.
-
-Fri Nov 17 07:46:51 1989 Karl Berry (karl at hayley)
-
- * types.h: only #define FALSE and TRUE if they are not already
- defined. (The X library defines them.)
-
-Tue Nov 14 22:57:50 1989 Karl Berry (karl at hayley)
-
- * global.h: add declaration for putenv.
-
-Mon Nov 13 08:18:21 1989 Karl Berry (karl at hayley)
-
- * global.h: add declaration for calloc.
-
-Sun Nov 12 20:19:07 1989 Karl Berry (karl at hayley)
-
- * global.h (get_string_argument, get_real_argument,
- get_integer_argument): give error message if we don't have an
- argument to get.
-
-Sat Nov 11 17:37:57 1989 Karl Berry (karl at hayley)
-
- * global.h (max, min): parenthesize arguments properly.
-
-Sun Nov 5 08:28:25 1989 Karl Berry (karl at hayley)
-
- * global.h (start_fatal, start_warning, end_fatal, end_warning):
- swallow a trailing semicolon.
- (print?): delete these.
-
-Mon Oct 30 12:36:38 1989 Karl Berry (karl at hayley)
-
- * all files: add the copyleft.
-
- * kbase.h (concat4): declare this.
-
- * tfm.h (put_tfm_global_info): take a structure, not a pointer.
- (new_tfm_chars, new_tfm_char): declare these.
- (TFM_SIZE): use this, instead of 256, even though it will never change.
-
-Sun Oct 29 08:03:46 1989 Karl Berry (karl at hayley)
-
- * global.h [! i386 || sun386]: declaration for strtok. Also add
- prototypes for most routines.
-
- * tfm.h (put_pl_output_file): break this up into two new routines,
- put_tfm_global_info and put_tfm_chars.
-
-Sat Oct 28 15:36:41 1989 Karl Berry (karl at hayley)
-
- * kbase.h (put_three): declaration for this.
-
- * types.h (THREE_BYTES_BIG): define this (1 << 24).
-
-Fri Oct 27 22:14:37 1989 Karl Berry (karl at hayley)
-
- * types.h, bitmap.h, gf.h, generic.h: cosmetic changes
- (via indent -gnu).
-
-Wed Oct 18 18:43:38 1989 Karl Berry (karl at ice9)
-
- * global.h: the externs previously conditional on __i386__ are now
- included also if the machine is a Sun 386i, i.e., they are
- conditional on ! __i386__ || __sun386__.
-
-Sat Oct 14 16:04:31 1989 Kathy Hargreaves (kathy at hayley)
-
- * types.h: added dimensions_height and dimensions_width macros.
-
-Fri Oct 13 21:33:15 1989 Kathy Hargreaves (kathy at hayley)
-
- * global.h: define POINTS_PER_INCH.
-
- * global.h: change preprocessor symbol to __i386__ for -ansi's sake.
-
-Wed Oct 11 17:00:02 1989 Karl Berry (karl at mote)
-
- * global.h [not i386]: externs for fflush, ungetc, and fscanf.
-
- * dirio.h: system V calls a directory entry a `struct dirent *',
- but BSD calls it a `struct direct *'. Make directory_entry_type
- typedef to handle this, ifdefed on i386.
-
-Sun Oct 8 18:52:10 1989 Karl Berry (karl at hayley)
-
- * kbase.h (epsilon_equal): declare this.
- (REAL_EPSILON): define this for use by epsilon_equal and clients.
-
- * bitmap.h (free_bitmap): declare this.
-
-Fri Oct 6 19:15:31 1989 Karl Berry (karl at hayley)
-
- * global.h: fflush stdout and stderr after warnings, to prevent
- timing problems.
-
- * gf.h (print_gf_char): take a FILE * parameter.
+For historical purposes you can view ChangeLog.old.
diff --git a/include/Item.h b/include/Item.h
index c177ebf..93a2df3 100644
--- a/include/Item.h
+++ b/include/Item.h
@@ -1,23 +1,25 @@
-/* Item.h: public header file for an ``item widget'': a composite widget
- consisting of a label and a (string) value. Both subwidgets are
- created by the Item itself, and geometry requests from them are
- ignored.
+# Item.h: public header file for an ``item widget''.
+#
+# 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/>.
+#
+
+# A composite widget consisting of a label and a (string) value. Both
+# subwidgets are created by the Item itself, and geometry requests from them are
+# ignored.
-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. */
#ifndef ITEM_WIDGET_H
#define ITEM_WIDGET_H
@@ -61,7 +63,7 @@ extern string ItemGetValueString (Widget);
extern Widget ItemGetValueWidget (Widget);
-
+
/* The class variable, for arguments to XtCreateWidget et al. */
extern WidgetClass itemWidgetClass;
diff --git a/include/bb-list.h b/include/bb-list.h
index ecd4488..effb61b 100644
--- a/include/bb-list.h
+++ b/include/bb-list.h
@@ -1,20 +1,20 @@
-/* bb-list.h: bounding box lists.
-
-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. */
+# bb-list.h: bounding box lists.
+#
+# 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/>.
+#
#ifndef BB_LIST_H
#define BB_LIST_H
diff --git a/include/bb-outline.h b/include/bb-outline.h
index bc5d851..2e211ca 100644
--- a/include/bb-outline.h
+++ b/include/bb-outline.h
@@ -1,20 +1,20 @@
-/* bb-outline.h: find a list of bounding boxes enclosing outlines.
-
-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. */
+# bb-outline.h: find a list of bounding boxes enclosing outlines.
+#
+# 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/>.
+#
#ifndef BB_OUTLINE_H
#define BB_OUTLINE_H
diff --git a/include/bitmap.h b/include/bitmap.h
index f0d6c93..dc4bb98 100644
--- a/include/bitmap.h
+++ b/include/bitmap.h
@@ -1,23 +1,26 @@
-/* bitmap.h: definition for a bitmap type. No packing is done by
- default; each pixel is represented by an entire byte. Among other
- things, this means the type can be used for both grayscale and binary
- images.
-
-Copyright (C) 1992, 1993, 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. */
+# bitmap.h: definition for a bitmap type.
+#
+# Copyright (C) 1992, 1993, 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/>.
+#
+
+# No packing is done by
+# default; each pixel is represented by an entire byte. Among other
+# things, this means the type can be used for both grayscale and binary
+# images.
+
#ifndef BITMAP_H
#define BITMAP_H
diff --git a/include/bounding-box.h b/include/bounding-box.h
index c888476..15bdb16 100644
--- a/include/bounding-box.h
+++ b/include/bounding-box.h
@@ -1,20 +1,21 @@
-/* bounding-box.h: operations on both real- and integer-valued bounding boxes.
+# bounding-box.h: operations on both real- and integer-valued bounding boxes.
+#
+# 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/>.
+#
-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. */
#ifndef BOUNDING_BOX_H
#define BOUNDING_BOX_H
diff --git a/include/bzr.h b/include/bzr.h
index f6e2530..ae4a3ee 100644
--- a/include/bzr.h
+++ b/include/bzr.h
@@ -1,21 +1,22 @@
-/* bzr.h: manipulate Bezier-format font files. See ../bzr/README
- for the precise definition of the file format.
+# bzr.h: manipulate Bezier-format font files. See ../bzr/README
+# for the precise definition of the file format.
+#
+# 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/>.
+#
-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. */
#ifndef BZR_H
#define BZR_H
@@ -36,7 +37,7 @@ extern boolean bzr_open_input_file (string filename);
/* If no output (or input) file is open, a fatal error results. */
extern void bzr_close_output_file (void);
extern void bzr_close_input_file (void);
-
+
/* Fontwide information at the beginning of the file. */
typedef struct
{
@@ -61,7 +62,7 @@ extern void bzr_put_preamble (bzr_preamble_type);
(Because this is what reads the design size of the font, and other
values in the file are scaled by that.) */
extern bzr_preamble_type bzr_get_preamble (void);
-
+
/* Character information. */
typedef struct
@@ -102,7 +103,7 @@ extern bzr_char_type *bzr_get_next_char (void);
Each spline in the `shape' element is guaranteed to have degree
`LINEAR' or `CUBIC' (see `spline.h'). */
extern bzr_char_type *bzr_get_char (one_byte code);
-
+
/* More fontwide information, this at the end of the file. */
typedef struct
diff --git a/include/c-ctype.h b/include/c-ctype.h
index b01596f..687f663 100644
--- a/include/c-ctype.h
+++ b/include/c-ctype.h
@@ -1,20 +1,21 @@
-/* c-ctype.h: ASCII-safe versions of the <ctype.h> macros.
+# c-ctype.h: ASCII-safe versions of the <ctype.h> macros.
+#
+# Copyright (C) 1992, 2000, 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/>.
+#
-Copyright (C) 1992, 2000, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef KPATHSEA_C_CTYPE_H
#define KPATHSEA_C_CTYPE_H
diff --git a/include/c-dir.h b/include/c-dir.h
index 1a49e6e..253a3b7 100644
--- a/include/c-dir.h
+++ b/include/c-dir.h
@@ -1,20 +1,21 @@
-/* c-dir.h: directory headers.
+# c-dir.h: directory headers.
+#
+# Copyright (C) 1992, 1993, 1994, 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/>.
+#
-Copyright (C) 1992, 1993, 1994, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef KPATHSEA_C_DIR_H
#define KPATHSEA_C_DIR_H
diff --git a/include/c-errno.h b/include/c-errno.h
index c722bf9..df2865f 100644
--- a/include/c-errno.h
+++ b/include/c-errno.h
@@ -1,20 +1,21 @@
-/* c-errno.h: <errno.h> and the errno variable.
+# c-errno.h: <errno.h> and the errno variable.
+#
+# 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/>.
+#
-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. */
#ifndef C_ERRNO_H
#define C_ERRNO_H
diff --git a/include/c-fopen.h b/include/c-fopen.h
index 967785a..0d53db7 100644
--- a/include/c-fopen.h
+++ b/include/c-fopen.h
@@ -1,20 +1,21 @@
-/* c-fopen.h: how to open files with fopen.
+# c-fopen.h: how to open files with fopen.
+#
+# 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/>.
+#
-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. */
#ifndef C_FOPEN_H
#define C_FOPEN_H
diff --git a/include/c-limits.h b/include/c-limits.h
index f92bce4..e3ffe21 100644
--- a/include/c-limits.h
+++ b/include/c-limits.h
@@ -1,20 +1,21 @@
-/* c-limits.h: include the system parameter file.
+# c-limits.h: include the system parameter 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/>.
+#
-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. */
#ifndef C_LIMITS_H
#define C_LIMITS_H
diff --git a/include/c-memstr.h b/include/c-memstr.h
index fa7b059..f1df374 100644
--- a/include/c-memstr.h
+++ b/include/c-memstr.h
@@ -1,20 +1,21 @@
-/* c-memstr.h: memcpy, strchr, etc.
+# c-memstr.h: memcpy, strchr, etc.
+#
+# 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/>.
+#
-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. */
#ifndef C_MEMSTR_H
#define C_MEMSTR_H
diff --git a/include/c-minmax.h b/include/c-minmax.h
index 32abfb3..d4a7423 100644
--- a/include/c-minmax.h
+++ b/include/c-minmax.h
@@ -1,21 +1,22 @@
-/* c-minmax.h: define INT_MIN, etc. Assume a 32-bit machine if the
- values aren't defined.
+# c-minmax.h: define INT_MIN, etc. Assume a 32-bit machine if the
+# values aren't defined.
+#
+# 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/>.
+#
-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. */
#ifndef C_MINMAX_H
#define C_MINMAX_H
diff --git a/include/c-namemx.h b/include/c-namemx.h
index 21ae694..22234ac 100644
--- a/include/c-namemx.h
+++ b/include/c-namemx.h
@@ -1,21 +1,22 @@
-/* c-name_max.h: define NAME_MAX, the maximum length of a single
- component in a pathname.
+# c-name_max.h: define NAME_MAX, the maximum length of a single
+# component in a pathname.
+#
+# 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/>.
+#
-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. */
#ifndef C_NAME_MAX_H
#define C_NAME_MAX_H
diff --git a/include/c-pathch.h b/include/c-pathch.h
index 4c656a6..f40fc6d 100644
--- a/include/c-pathch.h
+++ b/include/c-pathch.h
@@ -1,21 +1,22 @@
-/* c-pathch.h: define the characters which separate components of
- pathnames and environment variable paths.
+# c-pathch.h: define the characters which separate components of
+# pathnames and environment variable paths.
+#
+# 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/>.
+#
-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. */
#ifndef C_PATHCH_H
#define C_PATHCH_H
diff --git a/include/c-pathmx.h b/include/c-pathmx.h
index e7de815..75c7c63 100644
--- a/include/c-pathmx.h
+++ b/include/c-pathmx.h
@@ -1,20 +1,21 @@
-/* c-path_max.h: define PATH_MAX, the maximum length of a pathname.
+# c-path_max.h: define PATH_MAX, the maximum length of a pathname.
+#
+# 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/>.
+#
-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. */
#ifndef C_PATH_MAX_H
#define C_PATH_MAX_H
diff --git a/include/c-proto.h b/include/c-proto.h
index 908d8b4..ebf0b83 100644
--- a/include/c-proto.h
+++ b/include/c-proto.h
@@ -1,20 +1,21 @@
-/* c-proto.h: macros to include or discard prototypes.
+# c-proto.h: macros to include or discard prototypes.
+#
+# 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/>.
+#
-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. */
#ifndef C_PROTO_H
#define C_PROTO_H
diff --git a/include/c-stat.h b/include/c-stat.h
index 43d549a..58e7bae 100644
--- a/include/c-stat.h
+++ b/include/c-stat.h
@@ -1,20 +1,21 @@
-/* c-stat.h: declarations for using stat(2).
+# c-stat.h: declarations for using stat(2).
+#
+# Copyright (C) 1993, 1996, 2000, 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/>.
+#
-Copyright (C) 1993, 1996, 2000, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef KPATHSEA_STAT_H
#define KPATHSEA_STAT_H
diff --git a/include/c-std.h b/include/c-std.h
index df38f00..35165a9 100644
--- a/include/c-std.h
+++ b/include/c-std.h
@@ -1,20 +1,21 @@
-/* c-std.h: the first header files.
+# c-std.h: the first header files.
+#
+# 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/>.
+#
-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. */
#ifndef C_STD_H
#define C_STD_H
diff --git a/include/c-time.h b/include/c-time.h
index d4a0007..c0624f9 100644
--- a/include/c-time.h
+++ b/include/c-time.h
@@ -1,20 +1,20 @@
-/* c-limits.h: include the system parameter file.
-
-Copyright (C) 2006, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+# c-limits.h: include the system parameter file.
+#
+# Copyright (C) 2006, 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/>.
+#
#ifndef C_TIME_H
#define C_TIME_H
diff --git a/include/c-unistd.h b/include/c-unistd.h
index 858acbc..bbe741e 100644
--- a/include/c-unistd.h
+++ b/include/c-unistd.h
@@ -1,21 +1,22 @@
-/* c-unistd.h: ensure we have constants from <unistd.h>. Included from
- c-std.h.
+# c-unistd.h: ensure we have constants from <unistd.h>. Included from
+# c-std.h.
+#
+# 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/>.
+#
-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. */
#ifndef C_UNISTD_H
#define C_UNISTD_H
diff --git a/include/c-vararg.h b/include/c-vararg.h
index 35f4304..b30a95a 100644
--- a/include/c-vararg.h
+++ b/include/c-vararg.h
@@ -1,20 +1,21 @@
-/* c-vararg.h: Top layer for stdarg and varargs.
+# c-vararg.h: Top layer for stdarg and varargs.
+#
+# Copyright (C) 1993, 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/>.
+#
-Copyright (C) 1993, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef C_VARARG_H
#define C_VARARG_H
diff --git a/include/charspec.h b/include/charspec.h
index 9ff1b55..7361ac6 100644
--- a/include/charspec.h
+++ b/include/charspec.h
@@ -1,20 +1,21 @@
-/* charspec.h:
+# charspec.h:
+#
+# 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/>.
+#
-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. */
#ifndef CHARSPEC_H
#define CHARSPEC_H
diff --git a/include/cmdline.h b/include/cmdline.h
index c61f376..34338bf 100644
--- a/include/cmdline.h
+++ b/include/cmdline.h
@@ -1,20 +1,21 @@
-/* cmdline.h: macros to help process command-line arguments.
+# cmdline.h: macros to help process command-line arguments.
+#
+# Copyright (C) 1992, 2004, 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/>.
+#
-Copyright (C) 1992, 2004, 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. */
#ifndef CMDLINE_H
#define CMDLINE_H
@@ -132,4 +133,3 @@ extern int *scan_unsigned_list (string);
extern string find_dpi (string s);
#endif /* not CMDLINE_H */
-
diff --git a/include/concatn.h b/include/concatn.h
index 846f2f7..56d8670 100644
--- a/include/concatn.h
+++ b/include/concatn.h
@@ -1,23 +1,24 @@
-/* concatn.h: concatenate a variable number of strings.
- This is a separate include file only because I don't see the point of
- having every source file include <c-vararg.h>. The declarations for
- the other concat routines are in lib.h.
-
-Copyright (C) 1993, 1996, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+# concatn.h: concatenate a variable number of strings.
+#
+# Copyright (C) 1993, 1996, 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/>.
+#
+
+# This is a separate include file only because I don't see the point of
+# having every source file include <c-vararg.h>. The declarations for
+# the other concat routines are in lib.h.
#ifndef KPATHSEA_CONCATN_H
#define KPATHSEA_CONCATN_H
diff --git a/include/config.h b/include/config.h
index 29253f2..af0b346 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1,21 +1,22 @@
-/* config.h: master configuration file, included first by all compilable
- source files (not headers).
+# config.h: master configuration file, included first by all compilable
+# source files (not headers).
+#
+# Copyright (C) 1992, 2004, 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/>.
+#
-Copyright (C) 1992, 2004, 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. */
#ifndef CONFIG_H
#define CONFIG_H
diff --git a/include/dirio.h b/include/dirio.h
index f46230e..54556d9 100644
--- a/include/dirio.h
+++ b/include/dirio.h
@@ -1,20 +1,21 @@
-/* dirio.h: checked directory operations.
+# dirio.h: checked directory operations.
+#
+# 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/>.
+#
-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. */
#ifndef DIRIO_H
#define DIRIO_H
diff --git a/include/edge.h b/include/edge.h
index f662c92..703930c 100644
--- a/include/edge.h
+++ b/include/edge.h
@@ -1,20 +1,21 @@
-/* edge.h: declarations for edge traversing.
+# edge.h: declarations for edge traversing.
+#
+# 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/>.
+#
-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. */
#ifndef EDGE_H
#define EDGE_H
diff --git a/include/encoding.h b/include/encoding.h
index df6437a..e8f9ed8 100644
--- a/include/encoding.h
+++ b/include/encoding.h
@@ -1,20 +1,21 @@
-/* encoding.h: parse a font encoding (.enc) file.
+# encoding.h: parse a font encoding (.enc) 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/>.
+#
-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. */
#ifndef ENCODING_H
#define ENCODING_H
@@ -82,4 +83,3 @@ extern string coding_scheme_to_filename (string codingscheme);
extern encoding_info_type read_encoding_file (string filename);
#endif /* not ENCODING_H */
-
diff --git a/include/file-input.h b/include/file-input.h
index d63c7db..304778e 100644
--- a/include/file-input.h
+++ b/include/file-input.h
@@ -1,20 +1,21 @@
-/* file-input.h: declarations for file reading.
+# file-input.h: declarations for file reading.
+#
+# 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/>.
+#
-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. */
#ifndef FILE_INPUT_H
#define FILE_INPUT_H
diff --git a/include/file-output.h b/include/file-output.h
index bdd5143..446de27 100644
--- a/include/file-output.h
+++ b/include/file-output.h
@@ -1,20 +1,21 @@
-/* file-output.h: declarations for file reading.
+# file-output.h: declarations for file reading.
+#
+# 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/>.
+#
-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. */
#ifndef FILE_OUTPUT_H
#define FILE_OUTPUT_H
diff --git a/include/filename.h b/include/filename.h
index 7f816de..248c634 100644
--- a/include/filename.h
+++ b/include/filename.h
@@ -1,20 +1,21 @@
-/* filename.h: declarations for manipulating filenames.
+# filename.h: declarations for manipulating filenames.
+#
+# 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/>.
+#
-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. */
#ifndef FILENAME_H
#define FILENAME_H
diff --git a/include/fix-num.h b/include/fix-num.h
index 074bf6e..89fc2c6 100644
--- a/include/fix-num.h
+++ b/include/fix-num.h
@@ -1,21 +1,22 @@
-/* fix-num.h: declarations for ``fix'' numbers, which are a 32-bit
- word with 20 bits of fraction.
+# fix-num.h: declarations for ``fix'' numbers, which are a 32-bit
+# word with 20 bits of fraction.
+#
+# 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/>.
+#
-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. */
#ifndef FIX_NUM_H
#define FIX_NUM_H
diff --git a/include/font.h b/include/font.h
index 5355177..3008000 100644
--- a/include/font.h
+++ b/include/font.h
@@ -1,20 +1,21 @@
-/* font.h: operations on fonts independent of a particular file format.
+# font.h: operations on fonts independent of a particular file format.
+#
+# 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/>.
+#
-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. */
#ifndef FONT_LIBRARY_H
#define FONT_LIBRARY_H
@@ -25,7 +26,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "types.h"
-
/* A font is a collection of characters, generally at a particular point
size and resolution. The `bitmap_font_type' structure holds
information that comes entirely from a bitmap file. */
@@ -62,7 +62,7 @@ typedef struct
extern bitmap_font_type get_bitmap_font (string font_name, unsigned dpi);
/* `close_font', below, works for bitmap fonts, too. */
-
+
/* The `font_info_type' holds a `bitmap_font_type', and additional
information that we get from a font metric file. */
typedef struct
@@ -100,7 +100,7 @@ extern font_info_type get_font (string font_name, unsigned dpi);
/* Close any open files associated with FONT_NAME, whether it was opened
with `get_bitmap_font' or `get_font'. */
extern void close_font (string font_name);
-
+
/* A character is a bitmap image, and is therefore at a particular size
and resolution. It is also at a particular position in a font.
Generally, characters also have `side bearings'---extra space at the
@@ -182,7 +182,7 @@ extern void print_char (FILE *f, char_info_type c);
/* Typeset the TEXT in the font FONT_NAME, at a resolution of DPI. */
extern bitmap_type string_to_bitmap (string text,
string font_name, unsigned dpi);
-
+
/* A raw character is the byte string that defines the character in the
font file, in some format. */
@@ -229,7 +229,7 @@ extern raw_char_type *get_raw_char (string font_name,
/* Free all allocated storage in the raw character RAW_CHAR, including
the character itself. */
extern void free_raw_char (raw_char_type *raw_char);
-
+
/* Miscellanous constants. */
/* We will only deal with fonts that have at most this many characters,
diff --git a/include/fontmap.h b/include/fontmap.h
index ed7d339..1d0dccc 100644
--- a/include/fontmap.h
+++ b/include/fontmap.h
@@ -1,20 +1,21 @@
-/* fontmap.h: declarations for reading a file to define additional font names.
+# fontmap.h: declarations for reading a file to define additional font names.
+#
+# Copyright (C) 1993, 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/>.
+#
-Copyright (C) 1993, 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. */
#ifndef FONTMAP_H
#define FONTMAP_H
diff --git a/include/gf.h b/include/gf.h
index 2a0ff4c..187b56f 100644
--- a/include/gf.h
+++ b/include/gf.h
@@ -1,22 +1,25 @@
-/* gf.h: manipulate generic font files. See Metafont: The Program, by
- Don Knuth, (Volume D of Computers & Typesetting), chapter 46, among
- other places, for the precise definition of this bitmap format.
+# gf.h: manipulate generic font files.
+#
+# 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/>.
+#
+
+# See Metafont: The Program, by
+# Don Knuth, (Volume D of Computers & Typesetting), chapter 46, among
+# other places, for the precise definition of this bitmap format.
-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. */
#ifndef GENERIC_FONT_LIBRARY_H
#define GENERIC_FONT_LIBRARY_H
@@ -27,7 +30,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "types.h"
-
/* At most one GF file can be open for reading (or writing) at a time.
You must call `gf_open_input_file' before using any of the `gf_get...'
routines; similarly for the output side. */
@@ -37,7 +39,7 @@ extern void gf_close_input_file (void);
extern boolean gf_open_output_file (string filename);
extern void gf_close_output_file (void);
-
+
/* The only interesting information in the preamble is the comment. */
extern string gf_get_preamble (void);
@@ -92,7 +94,7 @@ extern gf_postamble_type gf_get_postamble (void);
should be given in pixels per inch. */
extern void gf_put_postamble (fix_word design_size,
real h_resolution, real v_resolution);
-
+
/* The characters are the most important information in the GF file. */
typedef struct
diff --git a/include/global.h b/include/global.h
index 0442c50..770a6ca 100644
--- a/include/global.h
+++ b/include/global.h
@@ -1,21 +1,22 @@
-/* global.h: extend the standard programming environment a little. This
- is included from config.h, which everyone includes.
+# global.h: extend the standard programming environment a little.
+# This is included from config.h, which everyone includes.
+#
+# Copyright (C) 1992, 1993, 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/>.
+#
-Copyright (C) 1992, 1993, 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. */
#ifndef GLOBAL_H
#define GLOBAL_H
@@ -53,7 +54,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Too bad C doesn't define operators for these. */
#define MAX_EQUALS(var, expr) if ((expr) > (var)) (var) = (expr)
#define MIN_EQUALS(var, expr) if ((expr) < (var)) (var) = (expr)
-
+
/* Declarations for commonly-used routines we provide ourselves. The
ones here are only needed by us, so we do not provide them in
unprototyped form. Others are declared both ways in lib.h. */
@@ -141,7 +142,7 @@ extern charcode_type parse_charcode (string s, boolean *valid);
/* Like `parse_charcode', but gives a fatal error if the string isn't a
valid character code. */
extern charcode_type xparse_charcode (string s);
-
+
/* The environment variable name with which to look up auxiliary files. */
#ifndef LIB_ENVVAR
#define LIB_ENVVAR "FONTUTIL_LIB"
diff --git a/include/hash.h b/include/hash.h
index b2c2704..88899b6 100644
--- a/include/hash.h
+++ b/include/hash.h
@@ -1,20 +1,21 @@
-/* hash.h: declarations for a hash table.
+# hash.h: declarations for a hash table.
+#
+# Copyright (C) 1994, 1995, 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/>.
+#
-Copyright (C) 1994, 1995, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef HASH_H
#define HASH_H
@@ -37,7 +38,7 @@ typedef struct
hash_element_type **buckets;
unsigned size;
} hash_table_type;
-
+
#ifdef KPSE_DEBUG
/* How to print the hash results when debugging. */
extern boolean kpse_debug_hash_lookup_int;
diff --git a/include/hexify.h b/include/hexify.h
index 3daeeff..b10b6af 100644
--- a/include/hexify.h
+++ b/include/hexify.h
@@ -1,20 +1,20 @@
-/* hexify.h: change strings to ASCII hex characters.
-
-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. */
+# hexify.h: change strings to ASCII hex characters.
+#
+# 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/>.
+#
#ifndef HEXIFY_H
#define HEXIFY_H
@@ -30,4 +30,3 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
extern string hexify (one_byte *data, unsigned length);
#endif /* not HEXIFY_H */
-
diff --git a/include/identity.h b/include/identity.h
index 3ffd8f0..a0c6884 100644
--- a/include/identity.h
+++ b/include/identity.h
@@ -1,20 +1,21 @@
-/* identity.h.
+# identity.h.
+#
+# Copyright (C) 1995, 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/>.
+#
-Copyright (C) 1995, 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. */
#ifndef IDENTITY_H
#define IDENTITY_H
@@ -23,4 +24,3 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
extern string get_identity (void);
#endif /* not IDENTITY_H */
-
diff --git a/include/kpathsea-config.h b/include/kpathsea-config.h
index 9454eaa..40fd527 100644
--- a/include/kpathsea-config.h
+++ b/include/kpathsea-config.h
@@ -1,21 +1,22 @@
-/* config.h: master configuration file, included first by all compilable
- source files (not headers).
+# config.h: master configuration file, included first by all compilable
+# source files (not headers).
+#
+# Copyright (C) 1993, 1995, 1996, 1997, 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/>.
+#
-Copyright (C) 1993, 1995, 1996, 1997, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef KPATHSEA_CONFIG_H
#define KPATHSEA_CONFIG_H
diff --git a/include/lib.h b/include/lib.h
index 07c0798..ad4083b 100644
--- a/include/lib.h
+++ b/include/lib.h
@@ -1,20 +1,21 @@
-/* lib.h: declarations for common, low-level routines in kpathsea.
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 2000, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+# lib.h: declarations for common, low-level routines in kpathsea.
+#
+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 2000, 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/>.
+#
#ifndef KPATHSEA_LIB_H
#define KPATHSEA_LIB_H
@@ -89,7 +90,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* If the environment variable TEST is set, return it; otherwise,
DEFAULT. This is useful for paths that use more than one envvar. */
#define ENVVAR(test, default) (getenv (test) ? (test) : (default))
-
+
/* Return a fresh copy of S1 followed by S2, et al. */
extern string concat P2H(const_string s1, const_string s2);
extern string concat3 P3H(const_string, const_string, const_string);
diff --git a/include/libfile.h b/include/libfile.h
index d42ff1d..c74461b 100644
--- a/include/libfile.h
+++ b/include/libfile.h
@@ -1,20 +1,20 @@
-/* libfile.h: read auxiliary data files.
-
-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. */
+# libfile.h: read auxiliary data files.
+#
+# 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/>.
+#
#ifndef LIBFILE_H
#define LIBFILE_H
diff --git a/include/line.h b/include/line.h
index 013b173..7998087 100644
--- a/include/line.h
+++ b/include/line.h
@@ -1,20 +1,20 @@
-/* line.h: read an arbitrary-length input line.
-
-Copyright (C) 1992, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+# line.h: read an arbitrary-length input line.
+#
+# 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/>.
+#
#ifndef LINE_H
#define LINE_H
diff --git a/include/list.h b/include/list.h
index 2b0ffb5..c59e8a2 100644
--- a/include/list.h
+++ b/include/list.h
@@ -1,20 +1,21 @@
-/* list.h: simple list (represented as arrays) manipulation.
+# list.h: simple list (represented as arrays) manipulation.
+#
+# 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/>.
+#
-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. */
#ifndef LIST_H
#define LIST_H
diff --git a/include/logreport.h b/include/logreport.h
index 724bc46..f73d9d5 100644
--- a/include/logreport.h
+++ b/include/logreport.h
@@ -1,20 +1,21 @@
-/* logreport.h: status reporting routines.
+# logreport.h: status reporting routines.
+#
+# 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/>.
+#
-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. */
#ifndef LOGREPORT_H
#define LOGREPORT_H
diff --git a/include/moretypes.h b/include/moretypes.h
index 1478ee3..3859085 100644
--- a/include/moretypes.h
+++ b/include/moretypes.h
@@ -1,20 +1,21 @@
-/* moretypes.h: common types beyond types.h.
+# moretypes.h: common types beyond types.h.
+#
+# Copyright (C) 1993, 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/>.
+#
-Copyright (C) 1993, 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. */
#ifndef MORETYPES_H
#define MORETYPES_H
diff --git a/include/pathsrch.h b/include/pathsrch.h
index eb227e6..153456b 100644
--- a/include/pathsrch.h
+++ b/include/pathsrch.h
@@ -1,21 +1,22 @@
-/* pathsrch.h: environment-variable path searching for files, possibly
- in subdirectories.
+# pathsrch.h: environment-variable path searching for files, possibly
+# in subdirectories.
+#
+# 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/>.
+#
-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. */
#ifndef PATHSEARCH_H
#define PATHSEARCH_H
diff --git a/include/pbm.h b/include/pbm.h
index 74b4205..813c067 100644
--- a/include/pbm.h
+++ b/include/pbm.h
@@ -1,20 +1,21 @@
-/* pbm.h - header file for libpbm portable bitmap library
+# pbm.h - header file for libpbm portable bitmap library
+#
+# Copyright (C) 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/>.
+#
-Copyright (C) 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. */
#ifndef _PBM_H_
#define _PBM_H_
diff --git a/include/pbmplus.h b/include/pbmplus.h
index e9ebcdf..b70cafe 100644
--- a/include/pbmplus.h
+++ b/include/pbmplus.h
@@ -1,23 +1,22 @@
-/* pbmplus.h - header file for PBM, PGM, PPM, and PNM
-
-Copyright (C) 1988, 1989, 1991, 2011 Jef Poskanzer.
-
-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.
-
- Configuration options modified for GNU --karl.
-*/
+# pbmplus.h - header file for PBM, PGM, PPM, and PNM
+#
+# Copyright (C) 1988, 1989, 1991, 2011 Jef Poskanzer.
+#
+# 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/>.
+#
+
+# Configuration options modified for GNU --karl.
#ifndef _PBMPLUS_H_
#define _PBMPLUS_H_
diff --git a/include/pk.h b/include/pk.h
index 2c5d21e..9d3b1f8 100644
--- a/include/pk.h
+++ b/include/pk.h
@@ -1,22 +1,23 @@
-/* pk.h: manipulate packed format font files. See the PKtype source
- code (by Tomas Rokicki), among other places, for the precise
- definition of this bitmap format.
-
-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. */
+# pk.h: manipulate packed format font files.
+#
+# 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/>.
+#
+
+# See the PKtype source code (by Tomas Rokicki), among other places, for the
+# precise definition of this bitmap format.
#ifndef PACKED_FONT_LIBRARY_H
#define PACKED_FONT_LIBRARY_H
@@ -58,7 +59,7 @@ typedef struct
extern pk_preamble_type pk_get_preamble (string font_name);
-
+
/* The characters comprise the bulk of the file. */
typedef struct
{
diff --git a/include/progname.h b/include/progname.h
index 1c3b24d..dea7235 100644
--- a/include/progname.h
+++ b/include/progname.h
@@ -1,20 +1,21 @@
-/* progname.h: Declarations for argv[0] equivalents.
+# progname.h: Declarations for argv[0] equivalents.
+#
+# Copyright (C) 1994, 1996, 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/>.
+#
-Copyright (C) 1994, 1996, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef KPATHSEA_PROGNAME_H
#define KPATHSEA_PROGNAME_H
diff --git a/include/rand.h b/include/rand.h
index f7c66ff..05e155d 100644
--- a/include/rand.h
+++ b/include/rand.h
@@ -1,20 +1,21 @@
-/* rand.h: declarations for pseudo-random number generator.
+# rand.h: declarations for pseudo-random number generator.
+#
+# 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/>.
+#
-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. */
#ifndef RAND_H
#define RAND_H
diff --git a/include/report.h b/include/report.h
index 8d347ef..2c70681 100644
--- a/include/report.h
+++ b/include/report.h
@@ -1,20 +1,21 @@
-/* report.h: status reporting routines.
+# report.h: status reporting routines.
+#
+# 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/>.
+#
-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. */
#ifndef REPORT_H
#define REPORT_H
diff --git a/include/scaled-num.h b/include/scaled-num.h
index 5c308bd..de9c3b0 100644
--- a/include/scaled-num.h
+++ b/include/scaled-num.h
@@ -1,21 +1,22 @@
-/* scaled-num.h: declarations for ``scaled'' numbers, which are a 32-bit
- word with 16 bits of fraction.
+# scaled-num.h: declarations for ``scaled'' numbers, which are a 32-bit
+# word with 16 bits of fraction.
+#
+# 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/>.
+#
-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. */
#ifndef SCALED_NUM_H
#define SCALED_NUM_H
diff --git a/include/spline.h b/include/spline.h
index 92f557e..dc921c3 100644
--- a/include/spline.h
+++ b/include/spline.h
@@ -1,20 +1,21 @@
-/* spline.h: manipulate the spline representation.
+# spline.h: manipulate the spline representation.
+#
+# 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/>.
+#
-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. */
#ifndef SPLINE_H
#define SPLINE_H
@@ -62,7 +63,7 @@ extern void print_spline (FILE *, spline_type);
extern real_coordinate_type evaluate_spline (spline_type spline, real t);
-
+
/* Each outline in a character is typically represented by many
splines. So, here is a list structure for that: */
typedef struct
@@ -104,7 +105,7 @@ extern void append_spline (spline_list_type *s_list, spline_type s);
extern void concat_spline_lists (spline_list_type *s1, spline_list_type s2);
-
+
/* Each character is in general made up of many outlines. So here is one
more list structure. */
typedef struct
diff --git a/include/statistics.h b/include/statistics.h
index 8766df6..eead2e4 100644
--- a/include/statistics.h
+++ b/include/statistics.h
@@ -1,29 +1,26 @@
-/* statistics.h: find the first and second moments.
-
-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. */
+# statistics.h: find the first and second moments.
+#
+# 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/>.
+#
#ifndef STATISTICS_H
#define STATISTICS_H
#include "types.h"
-
-
-
typedef struct
{
real mean;
diff --git a/include/str-lcase.h b/include/str-lcase.h
index 864d8ec..7e809e1 100644
--- a/include/str-lcase.h
+++ b/include/str-lcase.h
@@ -1,22 +1,22 @@
-/* str-lcase.h: convert a string to lowercase.
-
-Copyright (C) 1992, 2011 Free Software Foundation, Inc.
-This file was part of the GNU C Library.
-
-The GNU C Library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public License as
-published by the Free Software Foundation; either version 3 of the
-License, or (at your option) any later version.
-
-The GNU C Library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with the GNU C Library; see the file COPYING.LIB. If
-not, write to the Free Software Foundation, Inc., 675 Mass Ave,
-Cambridge, MA 02139, USA. */
+# str-lcase.h: convert a string to lowercase.
+#
+# 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/>.
+#
+
+# This file was part of the GNU C Library.
#ifndef STR_LCASE_H
#define STR_LCASE_H
diff --git a/include/str-list.h b/include/str-list.h
index d57eabe..3e222c1 100644
--- a/include/str-list.h
+++ b/include/str-list.h
@@ -1,20 +1,21 @@
-/* str-list.h: Declarations for string lists.
+# str-list.h: Declarations for string lists.
+#
+# Copyright (C) 1993, 1994, 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/>.
+#
-Copyright (C) 1993, 1994, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef KPATHSEA_STR_LIST_H
#define KPATHSEA_STR_LIST_H
diff --git a/include/systypes.h b/include/systypes.h
index 521ea8d..b69e0c9 100644
--- a/include/systypes.h
+++ b/include/systypes.h
@@ -1,22 +1,24 @@
-/* c-systypes.h: include <sys/types.h>. It's too bad we need this file,
- but some systems don't protect <sys/types.h> from multiple
- inclusions, and I'm not willing to put up with that.
-
-Copyright (C) 1993, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+# c-systypes.h: include <sys/types.h>.
+#
+# Copyright (C) 1993, 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/>.
+#
+
+# It's too bad we need this file,
+# but some systems don't protect <sys/types.h> from multiple
+# inclusions, and I'm not willing to put up with that.
#ifndef C_SYSTYPES_H
#define C_SYSTYPES_H
diff --git a/include/tex-file.h b/include/tex-file.h
index bcb6040..83b0a5c 100644
--- a/include/tex-file.h
+++ b/include/tex-file.h
@@ -1,21 +1,22 @@
-/* tex-file.h: find files in a particular format.
+# tex-file.h: find files in a particular format.
+#
+# Copyright (C) 1993, 1994, 1995, 1996, 2011 Free Software Foundation, Inc.
+# Copyright (C) 1998, 1999 Olaf Weber.
+#
+# 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/>.
+#
-Copyright (C) 1993, 1994, 1995, 1996, 2011 Free Software Foundation, Inc.
-Copyright (C) 1998, 1999 Olaf Weber.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef KPATHSEA_TEX_FILE_H
#define KPATHSEA_TEX_FILE_H
@@ -42,7 +43,7 @@ extern unsigned *kpse_fallback_resolutions;
is set, it is used; otherwise, the envvar `TEXSIZES' is looked at; if
that's not set either, a compile-time default is used. */
extern void kpse_init_fallback_resolutions P1H(string envvar);
-
+
/* We put the glyphs first so we don't waste space in an array in
tex-glyph.c. Accompany a new format here with appropriate changes in
tex-file.c and kpsewhich.c (the suffix variable). */
diff --git a/include/tfm.h b/include/tfm.h
index cf4b257..452722b 100644
--- a/include/tfm.h
+++ b/include/tfm.h
@@ -1,22 +1,23 @@
-/* tfm.h: read and write TeX font metric files. See Metafont: The
- Program, by Don Knuth, (Volume D of Computers & Typesetting), chapter 45,
- among other places, for the precise definition of this format.
-
-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. */
+# tfm.h: read and write TeX font metric files.
+#
+# 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/>.
+#
+
+# See Metafont: The Program, by Don Knuth, (Volume D of Computers & Typesetting
+# , chapter 45, among other places, for the precise definition of this format.
#ifndef TFM_FONT_LIBRARY_H
#define TFM_FONT_LIBRARY_H
@@ -26,7 +27,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "types.h"
-
/* Only one input file may be open at a time. You therefore do not give a
file as a parameter to the routines. */
extern boolean tfm_open_input_file (string filename);
@@ -54,7 +54,7 @@ extern void tfm_convert_pl (string tfm_name, boolean verbose);
format, so this number should only be changed in the (very unlikely)
event that the file format changes. */
#define TFM_SIZE 256
-
+
/* Fontwide information. All real values are in printer's points:
72.27 points = 1 inch. */
@@ -144,7 +144,7 @@ typedef struct
#define TFM_LEADINGDEPTH_PARAMETER 24
#define TFM_FONTSIZE_PARAMETER 25
#define TFM_VERSION_PARAMETER 26
-
+
/* Return the global info from the current input font. */
extern tfm_global_info_type tfm_get_global_info (void);
@@ -205,7 +205,7 @@ extern void tfm_set_fontdimen (tfm_global_info_type *info, unsigned p, real v);
/* Set the `fontsize' fontdimen in TFM_INFO to the designsize, if the
latter is set. */
extern void tfm_set_fontsize (tfm_global_info_type *tfm_info);
-
+
/* We store the character dimensions we read as both approximate
floating point values, in printer's points, and as (unscaled by the
design_size) `fix_word' values. On output, we look only at the
@@ -264,7 +264,7 @@ extern void tfm_put_chars (tfm_char_type *);
/* Output the single TFM character C. */
extern void tfm_put_char (tfm_char_type c);
-
+
/* When typesetting, the current character + `character' leads to
`ligature'. The TFM format was extended in 1990 to allow for more
complicated ligatures than this, but we do not make those
diff --git a/include/types.h b/include/types.h
index 8832883..321230c 100644
--- a/include/types.h
+++ b/include/types.h
@@ -1,20 +1,21 @@
-/* types.h: general types.
+# types.h: general types.
+#
+# Copyright (C) 1993, 1995, 1996, 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/>.
+#
-Copyright (C) 1993, 1995, 1996, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef KPATHSEA_TYPES_H
#define KPATHSEA_TYPES_H
diff --git a/include/varstring.h b/include/varstring.h
index bade244..3255933 100644
--- a/include/varstring.h
+++ b/include/varstring.h
@@ -1,20 +1,21 @@
-/* varstring.h: variable-length strings.
+# varstring.h: variable-length strings.
+#
+# 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/>.
+#
-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. */
#ifndef VARSTRING_H
#define VARSTRING_H
@@ -22,7 +23,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "types.h"
-
/* Initialize a variable-length string. */
typedef struct
{
@@ -61,4 +61,3 @@ extern void vs_append_char (variable_string *v, char new_char);
extern variable_string vs_concat (variable_string vs1, variable_string vs2);
#endif /* not VARSTRING_H */
-
diff --git a/include/vector.h b/include/vector.h
index 81d7e9f..a10c355 100644
--- a/include/vector.h
+++ b/include/vector.h
@@ -1,20 +1,21 @@
-/* vector.h: operations on vectors and points.
+# vector.h: operations on vectors and points.
+#
+# 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/>.
+#
-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. */
#ifndef VECTOR_H
#define VECTOR_H
@@ -67,7 +68,7 @@ extern const coordinate_type Vadd_int_point
extern const vector_type Vabs (const vector_type);
-
+
/* Operations on points with real coordinates. It is not orthogonal,
but more convenient, to have the subtraction operator return a
vector, and the addition operator return a point. */
diff --git a/include/xmessage.h b/include/xmessage.h
index efeb5b1..ffb3045 100644
--- a/include/xmessage.h
+++ b/include/xmessage.h
@@ -1,20 +1,21 @@
-/* message.h: temporarily display a message under X11.
+# message.h: temporarily display a message under X11.
+#
+# 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/>.
+#
-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. */
#ifndef MESSAGE_H
#define MESSAGE_H
diff --git a/include/xt-common.h b/include/xt-common.h
index b253630..edfc2c2 100644
--- a/include/xt-common.h
+++ b/include/xt-common.h
@@ -1,20 +1,20 @@
-/* xt-common.h: declarations that all programs using Xt need.
-
-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. */
+# xt-common.h: declarations that all programs using Xt need.
+#
+# 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/>.
+#
#ifndef XT_COMMON_H
#define XT_COMMON_H
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 0f3ff5d..7a5c861 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,1414 +1,3 @@
-Tue Dec 26 10:16:08 1995 Kathy Hargreaves <kathy@cs.umb.edu>
+DEPRECATED - USE ROOT CHANGELOG
- * identity.c (get_identity): Added.
-
-Sun Nov 26 12:47:00 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * bb-outline.c: (find_outline_bbs): Doc fix.
-
- * edge.c: (next_unmarked_outline_edge): Doc fix.
-
-Fri Nov 24 05:48:20 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * concat*.c: made arguments const_string's to conform to .h files.
- Call assert on the arguments, that they aren't NULL, because it
- makes strlen blow up if they are. Set answer to NULL, and only
- work on it if all the arguments are non-NULL.
-
-Thu Nov 23 09:08:00 1995 Kathy Hargreaves <karl@cs.umb.edu>
-
- * font.c: (get_font): replaced find_tfm_filename with kpse_find_tfm.
-
-Thu Aug 24 16:00:46 1995 Karl Berry <karl@cs.umb.edu>
-
- * GNUmakefile (c_only): strstr is now in kpathsea.
-
-Sat May 27 13:52:19 1995 Karl Berry <karl@cs.umb.edu>
-
- * GNUmakefile (c_only): atou is in kpathsea.
-
-Fri Apr 14 15:56:43 1995 Karl Berry <karl@cs.umb.edu>
-
- * GNUmakefile (c_only): Remove xfseek and xftell.
-
-Mon Oct 24 19:04:34 1994 Karl Berry <karl@cs.umb.edu>
-
- * GNUmakefile (c_only): basename is in kpathsea now.
-
-Sun May 1 15:31:10 1994 Karl Berry (karl@cs.umb.edu)
-
- * vector.c (Vangle): Declare const.
-
-Thu Sep 30 10:13:45 1993 Karl Berry (karl@cs.umb.edu)
-
- * str-to-bit.c (string_to_bitmap): Call close_font.
-
-Sun Aug 1 09:56:42 1993 Karl Berry (karl@cs.umb.edu)
-
- * Most *.c: Include files now in kpathsea.
-
- * GNUmakefile (c_only): Add statistics, remove many things now in
- kpathsea.
-
-Tue Jul 27 09:24:08 1993 Karl Berry (karl@cs.umb.edu)
-
- * GNUmakefile (c_only): Remove dir-p and find-suffix (now in kpathsea).
-
-Fri May 21 13:45:30 1993 Karl Berry (karl@cs.umb.edu)
-
- * gmalloc.c (my_memmove): New routine, since ISC doesn't have a
- real memmove.
-
-Thu May 20 19:11:05 1993 Karl Berry (karl@cs.umb.edu)
-
- * gmalloc.c: New file from the malloc distribution (plus a few
- edits).
- * GNUmakefile (malloc): Define to be gmalloc, and toss the old
- malloc.c.
-
-Thu Apr 22 17:03:53 1993 Karl Berry (karl@cs.umb.edu)
-
- * remove-suffx.c (remove_suffix): If no suffix, return the string,
- not NULL.
-
-Tue Apr 6 19:58:45 1993 Karl Berry (karl@cs.umb.edu)
-
- * malloc.c (getpagesize.h): Do not include.
- (memalign, valloc): Remove, since we don't need them.
-
- * filename.c (find_tfm_filename): Call extend_filename to get the
- `.tfm', instead of just concatenating. Not sure if this is a good
- idea, but periods in font names are problematic all over, I think.
-
-Tue Mar 16 07:47:38 1993 Karl Berry (karl@cs.umb.edu)
-
- * fontmap.c (map_lookup): Don't extend the filename if there was
- no suffix.
-
-Wed Mar 3 06:20:09 1993 Karl Berry (karl@cs.umb.edu)
-
- * xftell.c (xftell): Declare as unsigned long.
-
-Mon Jan 18 15:43:02 1993 Karl Berry (karl@cs.umb.edu)
-
- * xrealloc.c: Doc fix.
-
-Sun Jan 3 19:36:39 1993 Karl Berry (karl@cs.umb.edu)
-
- * pathsrch.c (R_OK): Defined in the config files now.
-
-Fri Dec 11 15:00:31 1992 Karl Berry (karl@cs.umb.edu)
-
- * font.c (print_char): Change ctype references to use uppercase macros.
- * libfile.c (libfile_line),
- * pathsrch.c (absolute_p),
- * str-to-bit.c (string_to_bitmap),
- * float-ok.c (float_ok),
- * integer-ok.c (integer_ok),
- * charspec.c (xparse_charspec): Likewise.
-
-Sun Nov 29 17:05:40 1992 Karl Berry (karl@cs.umb.edu)
-
- * xmessage.c [X_DISPLAY_MISSING]: Conditionalize whole file.
-
- * numtoa.c (xdtoa): Rename from `dtoa', to avoid Linux conflict.
- (awasthi@cps.msu.edu)
-
-Tue Nov 17 09:25:58 1992 Karl Berry (karl@cs.umb.edu)
-
- * hexify.c: Doc fix.
-
-Mon Nov 16 16:08:39 1992 Karl Berry (karl@cs.umb.edu)
-
- * malloc.c (calloc): Complain if the malloc fails.
-
-Tue Oct 27 12:56:15 1992 Karl Berry (karl@cs.umb.edu)
-
- * Version 0.6.
-
-Sun Oct 25 06:26:42 1992 Karl Berry (karl@cs.umb.edu)
-
- * getopt.c: New version.
-
-Thu Oct 22 17:58:12 1992 Karl Berry (karl@cs.umb.edu)
-
- * make-suffix.c: Doc fix.
-
-Tue Oct 20 11:57:57 1992 Karl Berry (karl@cs.umb.edu)
-
- * filename.c (find_{gf,pk,tfm}_filename): Just concatenate the
- suffix onto the main font name, don't replace a suffix.
-
-Mon Oct 5 10:07:59 1992 Karl Berry (karl@cs.umb.edu)
-
- * report.c (report_file): New variable.
-
-Sun Oct 4 09:13:24 1992 Karl Berry (karl@cs.umb.edu)
-
- * bb-list.c: New file, from bb-outline.c.
- * GNUmakefile (c_only): Add it.
- * bb-outline.c: Change calls and decls for new improved names.
-
-Sat Oct 3 16:58:38 1992 Karl Berry (karl@cs.umb.edu)
-
- * bb-outline.c: Doc fix.
-
-Tue Sep 22 12:46:49 1992 Karl Berry (karl@cs.umb.edu)
-
- * malloc.c (realloc): abort if we can't malloc enough memory to do
- the realloc.
-
- * bitmap.c (bb_ensure_bounds): new routine.
- (extract_subbitmap): call it.
-
-Mon Sep 21 12:00:35 1992 Karl Berry (karl@cs.umb.edu)
-
- * malloc.c: define NO_NEW_HANDLER.
-
-Thu Sep 3 09:31:06 1992 Karl Berry (karl@hayley)
-
- * Version 0.5.
-
-Thu Aug 27 09:06:25 1992 Karl Berry (karl@hayley)
-
- * getopt.c: update from MIT.
-
-Mon Aug 24 15:50:03 1992 Karl Berry (karl@hayley)
-
- * rand.c (k_rand): use Ghostscript's algorithm exactly, to avoid
- overflow problems.
-
- * rand.c (seed_rand): Our simplification was a loser if the
- state ever became zero, so set the state to the seed + 1, and
- subtract again before output.
-
-Wed Aug 19 07:10:12 1992 Karl Berry (karl@hayley)
-
- * charspec.c: doc fix.
-
-Mon Aug 17 15:43:42 1992 Karl Berry (karl@hayley)
-
- * encoding.c: doc fix.
-
-Mon Aug 10 11:11:52 1992 Karl Berry (karl@hayley)
-
- * rand.c (x): change the default seed to 1.
-
-Mon Jul 27 15:29:33 1992 Karl Berry (karl@hayley)
-
- * charspec.c (xparse_charspec): use an `int' while figuring out
- the charcode.
-
-Sat Jul 25 14:38:23 1992 Karl Berry (karl@hayley)
-
- * getopt.c: new version.
-
- * pathsrch.c (expand_tilde): cast the result of getpwnam.
-
-Sat Jul 18 16:35:41 1992 Karl Berry (karl@hayley)
-
- * edge.c: add ^L's.
-
-Fri Jul 3 15:26:12 1992 Karl Berry (karl@hayley)
-
- * charspec.c (xparse_charspec): if arg is one character long, and
- undefined in the encoding, use its value in C.
-
-Fri Jun 26 16:53:39 1992 Karl Berry (karl@hayley)
-
- * charspec.c: new file.
- * GNUmakefile: add it.
-
-Thu Jun 25 07:04:49 1992 Karl Berry (karl@hayley)
-
- * pathsrch.c (readable) [ENAMETOOLONG]: conditionalize the test
- for doing our own truncating, since it appears not all systems
- have ENAMETOOLONG.
-
-Sun Jun 14 08:11:32 1992 Karl Berry (karl@hayley)
-
- * font.c (get_font): remove computation of NCHARS (and reading of
- all the TFM chars).
-
- * str-lcase.c (str_to_lower): assert the arg is non-null.
-
-Sat Jun 13 16:28:08 1992 Karl Berry (karl@hayley)
-
- * libfile.c (libfile_start): return the FILE * we open.
-
-Sat Jun 13 13:52:30 1992 Kathy Hargreaves (kathy@hayley)
-
- * encoding.c (DEFAULT_ENCODING): moved to .h file.
-
-Sat Jun 13 09:24:12 1992 Karl Berry (karl@hayley)
-
- * encoding.c: include `str-lcase.h', not `str-casefold.h'.
-
- * xmessage.c (x_message): cast initializer in `popup_args' to
- avoid warning.
-
- * str-to-bit.c (string_to_bitmap): `TFM_FONT_PARAMETER' is now
- `TFM_FONTDIMEN'.
-
- * pathsrch.c (absolute_p): add parens to stop GCC 2's stupid warning.
-
- * encoding.c: change for new list fn names.
- * font.c: likewise.
-
- * list.c (new_list): rename to `list_init', and rewrite to use
- accessor macros.
- (append_element): rename to `list_append', and likewise rewrite.
- (list_free): new routine.
-
-Sun Jun 7 17:25:43 1992 Karl Berry (karl@hayley)
-
- * encoding.c (coding_scheme_to_filename): rewrite to avoid
- sentinel boolean, lowercasing the passed codingscheme more than
- once, etc.
-
- * str-casefold.c (str_to_lower): rewrite to use ? :.
- (str_to_upper): remove this.
- Rename to str-lcase.c.
- * GNUmakefile (c_only): change str-casefold to str-lcase.
-
-Sun Jun 7 14:39:09 1992 Kathy Hargreaves (kathy@hayley)
-
- * bb-outline.c (find_outline_bbs): don't calculate edge if it's an
- interior pixel.
-
- * bb-outline.c (find_outline_bbs): deleted avoiding finding a
- bounding box which corresponds to a counterform by not looking
- inside existing bounding boxes.
- Added finding the bounding box for a counterform (i.e., marking
- its edges) but not adding it to the list unless find_all is true.
- Changed find_all to find_inner.
-
-Sun Jun 7 08:55:31 1992 Karl Berry (karl@hayley)
-
- * GNUmakefile (c_only): add `str-to-bit'.
- * font.c (string_to_bitmap): extract the interword space out of
- the TFM information, instead of expecting it in the main font
- structure. Also, move this fn to its own file, `str-to-bit.c'.
-
- * float-ok.c (float_ok): don't accept the empty string, or just a
- sign, or just a sign and a `.', etc.
- * integer-ok.c (integer_ok): likewise.
-
-Thu Jun 4 08:11:36 1992 Karl Berry (karl@hayley)
-
- * pathsrch.c (absolute_p): `k./' should not be considered
- explicitly relative.
-
-Tue Jun 2 11:40:32 1992 Karl Berry (karl@hayley)
-
- * encoding.c (encoding_number): don't crash if NAME is NULL.
-
-Mon Jun 1 15:16:15 1992 Karl Berry (karl@hayley)
-
- * GNUmakefile (c_only): add `integer-ok' and `float-ok'.
- * {integer,float}-ok.c: new files.
-
- * libfile.c (libfile_start): use extend_filename.
-
- * encoding.c (read_encoding_file): initialize the return structure
- after we know the file exists.
-
-Fri May 29 08:29:26 1992 Karl Berry (karl@hayley)
-
- * getopt*.c: new versions.
-
-Sat May 23 15:51:53 1992 Karl Berry (karl@hayley)
-
- * charcode.c (parse_charcode): ensure there are no extra
- characters at the end of the charcode; change return type to
- charcode_type.
- (xparse_charcode): change return type.
-
-Sat May 23 12:33:32 1992 Kathy Hargreaves (kathy@hayley)
-
- * str-casefold.c (str_to_lower): added variable `length'; put 0 at
- end of return string.
-
-Sat May 23 06:27:28 1992 Karl Berry (karl@hayley)
-
- * dir-p.c (leaf_dir_p): remove; `expand_subdir' now calls stat
- itself, for efficiency.
-
- * pathsrch.c (expand_subdir): rewrite to always look for subdirs.
- (initialize_path_list): check for the dir-ness of `foo' in
- `foo//'. This change makes symlinks under `foo' be considered.
-
- * pathsrch.c (add_directory): don't check for the arg being a
- directory.
- (initialize_path_list): check here for the directory-ness of a
- path element.
- (expand_subdir): check here, too.
-
- * pathsrch.c (expand_subdir): call closedir after we read the
- directory contents.
-
-Thu May 21 11:40:53 1992 Karl Berry (karl@hayley)
-
- * hexify.c (hexify): take a block of memory and a length, instead
- of a varstring.
-
-Tue May 19 16:43:43 1992 Kathy Hargreaves (kathy@hayley)
-
- * line.c (read_line): return a string if not at EOF.
-
-Sat May 16 21:22:57 1992 Kathy Hargreaves (kathy@hayley)
-
- * varstring.c (vs_concat): added.
-
-Fri May 15 10:22:27 1992 Karl Berry (karl@hayley)
-
- * getopt.c: new version.
-
-Thu May 14 22:05:10 1992 Karl Berry (karl@claude.cs.umb.edu)
-
- * rand.c (srand): -> seed_rand, to avoid header conflicts.
- (rand): -> k_rand, same reason.
-
-Sun May 10 10:05:36 1992 Karl Berry (karl@hayley)
-
- * encoding.c (coding_scheme_to_filename): don't xstrdup the return
- value.
- (DEFAULT_ENCODING): new macro.
-
-Fri May 8 15:38:38 1992 Karl Berry (karl@hayley)
-
- * pathshare from dvips.
-
-Thu May 7 16:44:14 1992 Karl Berry (karl@hayley)
-
- * GNUmakefile (c_only): add dlsym.
- * dlsym.c: new file.
-
-Wed May 6 10:08:09 1992 Karl Berry (karl@hayley)
-
- * bitmap.c (bitmap_find_transitions): don't look outside the
- current row when it's only one pixel long.
-
-Tue May 5 08:46:48 1992 Karl Berry (karl@hayley)
-
- * dir-p.c: doc fix.
-
-Sat May 2 07:51:53 1992 Karl Berry (karl@hayley)
-
- * pathsrch.c (add_directory): use ?:.
-
-Thu Apr 30 08:52:34 1992 Karl Berry (karl@hayley)
-
- * pathsrch.c (parse_envpath): expand the ~ here;
- (add_directory): not here.
-
- * pathsrch.c (expand_tilde): free space for the login name.
-
- * dir-p.c (leaf_dir_p): use stat, not xlstat, so we don't bomb
- out on missing directories in paths, and so we get info about
- the (potential) dir, not the link.
-
-Tue Apr 21 07:44:52 1992 Karl Berry (karl@hayley)
-
- * bitmap.c (bitmap_find_transitions): use XTALLOC1.
- * font.c (get_char): likewise.
-
-Mon Apr 20 08:35:23 1992 Karl Berry (karl@hayley)
-
- * pathsrch.c: doc fix.
-
- * malloc.c: don't include config.h.
- (my_bzero, my_bcopy): new routines to simplify things.
-
-Sat Apr 18 12:22:29 1992 Kathy Hargreaves (kathy@hayley)
-
- * str-casefold.c: added.
-
- * encoding.c (coding_scheme_to_filename): compare case-folded
- versions of the coding scheme and the mapped scheme.
-
-Wed Apr 15 15:23:20 1992 Karl Berry (karl@hayley)
-
- * make-output.c: rename to `extend-fname.c'; rename the fn to
- `extend_filename'.
- * GNUmakefile (c_only): analogously.
-
-Wed Apr 15 13:20:11 1992 Kathy Hargreaves (kathy@hayley)
-
- * encoding.c (coding_scheme_to_filename): changed some variable
- names; added `mapped_coding' and set it to a second call to
- strtok with `mapping'.
-
-Tue Apr 14 13:46:45 1992 Karl Berry (karl@hayley)
-
- * scaled-num.c (scaled_to_real): as below.
-
-Sun Apr 12 15:06:58 1992 Karl Berry (karl@hayley)
-
- * scaled-num.c (real_to_scaled): simplify to just multiply the
- real by SCALED_UNITY.
-
-Fri Apr 10 16:36:33 1992 Karl Berry (karl@hayley)
-
- * concat.c: put concat[345] in separate files.
- * GNUmakefile (c_only): update.
-
- * filename.c: remove prefix/suffix routines.
- ({make-{output,prefix,suffix},remove-suffx,find-suffix}.c): new files.
- * GNUmakefile (c_only): update.
-
- * pathsrch.c (initialize_path_list): remove cwd_first_p.
- * filename.c (find_*_filename): change calls.
- * libfile.c (libfile_start): change call.
-
-Mon Apr 6 13:46:36 1992 Kathy Hargreaves (kathy@fosse)
-
- * encoding.c (encoding_scheme_to_filename): added.
-
-Fri Apr 3 13:17:22 1992 Karl Berry (karl@hayley)
-
- * rand.c: new file.
- * GNUmakefile (c_only): include it.
-
-Wed Apr 1 14:14:01 1992 Karl Berry (karl at hayley)
-
- * (pathshare from web2c)
-
- * filename.c (make_output_filename): don't duplicate the input
- string, just return it.
-
- * filename.c (remove_suffix): remove.
-
- * edge.c: new file.
- * GNUmakefile (c_only): add it.
- * bb-outline.c: remove edge stuff in favor of this new file.
-
-Tue Mar 31 13:35:51 1992 Karl Berry (karl at hayley)
-
- * bitmap.c (bitmap_find_transitions): handle a row with a single
- black pixel at the end correctly.
-
-Sun Mar 29 10:58:27 1992 Karl Berry (karl at hayley)
-
- * xrealloc.c (xrealloc): cast the ptr.
-
- * file-input.c (get_n_bytes): had args switched to fatal.
-
- * bb-outline.c (is_outline_edge): remove the assertion that we're
- at a valid pixel, since it's half-implied by the types, anyway.
-
- * GNUmakefile (malloc.o): remove the special rule and vars.
- * malloc.c [STDC_HEADERS | USG]: add the former for memset etc.
-
-Sat Mar 28 07:49:09 1992 Karl Berry (karl at hayley)
-
- * malloc.c: new version, from libg++ 2.0.
-
- * GNUmakefile (malloc_stats): don't define this.
-
- * Version 0.4.
-
- * Change copyright years to 1992 only.
-
-Wed Mar 25 08:37:28 1992 Karl Berry (karl at hayley)
-
- * GNUmakefile (c_only): add fmod.
- * fmod.c: new file.
-
-Thu Mar 19 07:47:30 1992 Karl Berry (karl at hayley)
-
- * pathsearch.c, libfile.c, filename.c: include paths.h.
-
- * pathsearch.c: rename to pathsrch.c; new version.
-
-Wed Mar 11 10:03:12 1992 Karl Berry (karl at hayley)
-
- * bitmap.c (bitmap_find_transitions): handle the pixel at the end
- of the row specially, unfortunately.
-
-Tue Mar 10 12:17:09 1992 Kathy Hargreaves (kathy at hayley)
-
- * libfile.c (libfile_start): use find_suffix instead of finding a
- dot position.
-
-Mon Mar 9 16:42:49 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.c (make_stem_suffix): remove suffix from name before
- adding stem_suffix and putting suffix back on.
-
- * filename.c (make_stem_suffix): don't add a dot if no suffix.
-
- * filename.c (make_stem_suffix): added.
-
-Sun Mar 8 17:08:06 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.c (make_output_filename): put dot between NAME and
- DEFAULT_SUFFIX.
-
-Sun Mar 8 08:37:46 1992 Karl Berry (karl at fosse)
-
- * numtoa.c (dtoa): rename from ftoa.
-
- * strstr.c: new file.
- GNUmakefile (c_only): add strstr.
-
-Sat Mar 7 17:00:44 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.c (sizeless_font_name): removed.
-
-Sat Mar 7 13:21:33 1992 Karl Berry (karl at fosse)
-
- * xmessage.c: include xmessage.h.
-
- * GNUmakefile (c_only): remove statistics; we never use it.
-
- * pathsearch.c: add prototypes for the subroutines.
-
- * line.c: include line.h.
-
- * bb-outline.c (find_outlines_bbs): rename parameters to avoid
- shadow warnings.
-
-Sat Mar 7 09:14:00 1992 Karl Berry (karl at hayley)
-
- * GNUmakefile (files, headers, sources): replace with `c_and_h', etc.
-
- * scaled-num.c (print_scaled): use putchar instead of printf where
- possible.
-
-Wed Mar 4 10:40:02 1992 Karl Berry (karl at hayley)
-
- * filename.c (remove_suffix): don't include the `.' in what we
- return.
-
-Tue Mar 3 16:28:38 1992 Karl Berry (karl at hayley)
-
- * filename.c (find_suffix): new routine.
- (remove_suffix, make_output_filename, make_suffix): write in terms
- of it.
-
-Sun Mar 1 16:33:49 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.c (make_output_file): use concat instead of make_suffix.
-
-Sun Mar 1 15:17:28 1992 Karl Berry (karl at hayley)
-
- * GNUmakefile (files): add bb-outline.
-
-Sun Mar 1 14:48:41 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.c (make_output_file): added.
-
-Mon Feb 24 08:38:56 1992 Karl Berry (karl at hayley)
-
- * pathsearch.c (truncate_pathname): separate this out from `readable'.
-
- * concat.c dir-p.c file-p.c pathsearch.c xmalloc.c xopendir.c
- xrealloc.c xstat.c xstrdup.c: redo with (un)prototype macros.
-
-Wed Feb 19 10:00:35 1992 Karl Berry (karl at hayley)
-
- * varstring.c (vs_set_char): set the allocated field after we
- allocate more space.
-
- * hexify.c (hexify): add 'a' to each hex char to make it visible
- ASCII; shift the upper nybble down before adding.
-
-Mon Feb 17 07:38:27 1992 Karl Berry (karl at hayley)
-
- * filename.c (sizeless_font_name): new routine.
-
- * line.c (read_line): use vs_append_char, and generally simplify.
-
- * varstring.c (vs_append_char): don't append a null afterwards.
-
- * GNUmakefile (files): add it.
- * hexify.c: new file.
-
-Sun Feb 16 10:31:41 1992 Karl Berry (karl at hayley)
-
- * pathsearch.c (readable): keep track of the component lengths
- properly; do the second test on the new name, not the old.
-
-Sat Feb 15 16:10:30 1992 Karl Berry (karl at hayley)
-
- * pathsearch.c (READABLE): redo the macro as a function, and
- truncate the pathname if necessary.
-
-Fri Feb 14 07:26:35 1992 Karl Berry (karl at hayley)
-
- * varstring.c (vs_append_char): use VS_USED instead of strlen.
- (vs_init): initialize VS_USED to zero.
- (vs_set_char): set VS_USED.
- All routines: rename `VS_LENGTH to `VS_ALLOCATED'.
-
- * varstring.c (vs_free): new routine.
-
- * math.c (acosd): clear errno before testing it.
-
-Thu Feb 13 13:32:54 1992 Karl Berry (karl at hayley)
-
- * pathsearch.c (READABLE): call it readable if the error is
- ENAMETOOLONG; include <errno.h> and declare errno if that is
- undefined.
-
-Sun Feb 2 16:08:44 1992 Karl Berry (karl at hayley)
-
- * filename.c (find_{gf,pk}_filename): allocate enough space for
- the null sprintf writes.
-
-Sat Feb 1 14:53:39 1992 Karl Berry (karl at hayley)
-
- * filename.c (depath): remove.
-
- * pathsearch.c (initialize_path_list): subdirectories are now
- indicated by // terminating a path element, instead of as
- a separate envvar/path.
- * filename.c (find*filename): remove subdirectory stuff.
- * libfile.c (libfile_start): likewise.
-
-Mon Jan 20 11:09:10 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.c (depath): added this routine to take the path off the
- front of a filename.
-
- * filename.c (make_prefix): added this routine to add a prefix to
- a filename which may or may not be the full pathname.
-
-Wed Jan 15 16:57:36 1992 Kathy Hargreaves (kathy at hayley)
-
- * libfile.c (libfile_start): when FATAL, report `name', not it
- concatenated with the default suffix.
-
-Wed Jan 15 13:01:30 1992 Karl Berry (karl at hayley)
-
- * GNUmakefile (c_only): remove xchdir and xgetcwd, as we don't
- need them anymore.
- * pathsearch.c: changes from TeX.
-
-Wed Jan 15 11:59:56 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.c (find_*_filename): only free `name' if it's not the
- same string as `*_name'.
-
-Tue Jan 14 12:36:15 1992 Kathy Hargreaves (kathy at hayley)
-
- * bitmap.c (bitmap_find_transitions): make the last transition
- always imply a black-to-white transition, even if ROW's last
- pixel is black.
-
- * libfile.c (libfile_start): make FATAL2 report `name', not
- `filename' as the library file not found. Also, only add suffix
- to the library file name if it doesn't have one already.
-
-Sun Jan 12 16:29:11 1992 Kathy Hargreaves (kathy at hayley)
-
- * filename.c (make_suffix): copy suffix into new_s, not s.
-
-Sun Jan 12 14:57:24 1992 Karl Berry (karl at hayley)
-
- * pathsearch.c (check_subdir): add every existing subdirectory,
- even if it's not a leaf.
-
-Sun Jan 12 12:47:57 1992 Kathy Hargreaves (kathy at hayley)
-
- * libfile.c (libfile_start): don't prepend a dot to the suffix.
-
- * dir-p.c (dir_p): call stat instead of xstat.
-
-Sat Jan 11 15:01:02 1992 Karl Berry (karl at hayley)
-
- * filename.c (find_*_filename): set cwd_first_p.
-
- * pathsearch.c (initialize_path_list): take an additional
- argument, saying whether to search `.' first.
-
-Fri Jan 10 07:40:50 1992 Karl Berry (karl at hayley)
-
- * xgetcwd.c (xgetcwd) [GETWD_MISSING]: if it's not missing, use
- it.
-
- * filename.c (find_*_filename): only initialize the path lists
- once.
-
- * pathsearch.c (expand_colon): if env_path is null, return the
- default path.
-
- * file-input.c (MOVE_BACK): use xfseek.
-
- * filename.c (*_suffix): use strrchr instead of rpos.
-
- * varstring.c: change names to start with `vs'.
-
- * memory.c: split into various files.
-
- * math.c (adjacent_points): rename to `points_adjacent_p'.
-
- * math.c (find_bounds): use MAXDOUBLE and MINDOUBLE instead of
- MAXFLOAT and MINFLOAT.
-
- * filename.c (find_dpi): move to cmdline.c.
- (basename): move to basename.c.
-
-Thu Jan 9 08:57:39 1992 Karl Berry (karl at hayley)
-
- * convert.c: split into various files.
- * GNUmakefile: update.
-
- * cmdline.c (scan_integer_list): rename to `scan_unsigned_list'.
-
- * *.c: do not include global.h.
-
- * arith.c: split into `scaled-num.c' and `fix-num.c'.
- * GNUmakefile: update.
-
-Wed Jan 8 09:14:45 1992 Karl Berry (karl at hayley)
-
- * update copyright messages.
-
- * change `allocate to `xmalloc', `reallocate' to `xrealloc', and
- `string_copy' to `strdup'.
-
- * list.c: doc fix.
-
-Tue Jan 7 17:28:07 1992 Karl Berry (karl at hayley)
-
- * filename.c (expand_colon): don't put the default value at the
- end if we've already put it at the beginning.
-
-Thu Sep 12 11:06:58 1991 Karl Berry (karl at hayley)
-
- * malloc.c (malloc_sanity_check): new function.
-
- * bitmap.c (bitmap_find_transitions): rearrange logic for clarity.
-
- * malloc.c, getpagesize.h: new files.
- * GNUmakefile (c_only): add Doug Lea's malloc.
- (malloc_stats, malloc_inline): new variables.
- (malloc.o): rule to explicitly use them.
-
-Tue Jul 30 13:18:12 1991 Karl Berry (karl at ra.cs.umb.edu)
-
- * Version 0.3.
-
-Wed Jul 24 06:34:11 1991 Karl Berry (karl at hayley)
-
- * bitmap.c (concat_bitmaps): remove; it's only used in one program.
-
- * bitmap.c (new_bitmap): call it.
-
- * memory.c (xcalloc): new routine.
-
-Tue Jul 16 08:24:08 1991 Karl Berry (karl at hayley)
-
- * memory.c (allocate): don't do assignment inside if.
-
- * bitmap.c (bitmap_find_transitions): we don't need to look at the
- first black pixel twice.
-
-Fri Jun 28 09:09:59 1991 Karl Berry (karl at hayley)
-
- * font.c (close_font): only close the TFM file if the font is not
- bitmap-only.
-
-Sat Jun 15 09:51:45 1991 Karl Berry (karl at hayley)
-
- * font.c (get_font): set the new `tfm_font' and `tfm_filename'
- members.
-
- * {dirio,file-misc,file-open,filename,libfile}.c: change
- `checked_' to `x'.
-
-Tue Jun 11 16:46:25 1991 Karl Berry (karl at hayley)
-
- * font.c (get_char): use XTALLOC.
-
- * font.c (close_font): close the TFM file here, instead of in
- `get_font'.
-
-Sun Jun 9 13:23:59 1991 Karl Berry (karl at hayley)
-
- * font.c (string_to_bitmap): use `BITMAP_PIXEL (CHAR_BITMAP'...
- instead of `CHAR_BITMAP_PIXEL'.
-
-Thu Jun 6 07:30:07 1991 Karl Berry (karl at hayley)
-
- * All files: change to version 2 of the GPL.
-
-Sat Jun 1 16:00:03 1991 Kathy Hargreaves (kathy at hayley)
-
- * libfile.c (libfile_start): Don't concat a `.' to suffix if it's
- the empty string.
-
-Thu May 16 07:35:47 1991 Karl Berry (karl at hayley)
-
- * GNUmakefile (files): include `xmessage' (from xbce).
- * xmessage.c: new file.
-
-Sun Apr 21 17:38:48 1991 Karl Berry (karl at hayley)
-
- * bitmap.c (bitmap_to_bb): declare the arg as const.
-
-Sun Apr 14 13:45:29 1991 Karl Berry (karl at hayley)
-
- * bitmap.c (print_bitmap): use `bitmap_to_bb' instead of
- `dimensions_to_bb'.
-
-Fri Apr 12 15:12:32 1991 Karl Berry (karl at hayley)
-
- * math.c: doc fix.
-
- * GNUmakefile (files): add `report' and `logreport'.
- * {log,}report.c: new files.
-
-Wed Apr 10 11:27:49 1991 Karl Berry (karl at hayley)
-
- * font.c (save_internal_font): omit needless casts.
-
-Mon Apr 8 07:57:20 1991 Karl Berry (karl at hayley)
-
- * font.c (ascender_part): move to ospace.
-
- * encoding.c (parse_encoding_line): make a copy of the character
- name, since the line gets freed.
-
- * encoding.c (read_encoding_file): reinitialize the character
- code, so we fill up the right array.
-
- * libfile.c (libfile_start): prepend the `.' to the suffix.
-
-Sun Apr 7 14:34:06 1991 Karl Berry (karl at hayley)
-
- * file-output.c (put_signed_four): declare this as a macro in the
- .h file.
-
-Thu Apr 4 07:03:36 1991 Karl Berry (karl at hayley)
-
- * font.c (get_char): don't allocate any space unless the character
- actually exists in the font.
-
-Mon Apr 1 07:57:58 1991 Karl Berry (karl at hayley)
-
- * {encoding,libfile}.c: new files.
- GNUmakefile (files): add them to the list.
-
-Sat Mar 23 16:42:39 1991 Karl Berry (karl at hayley)
-
- * font.c (delete_internal_font): free the memory for the internal
- font, and for the font name.
-
-Sat Mar 9 17:06:57 1991 Karl Berry (karl at hayley)
-
- * string.c: declare args to routines as const.
-
- * string.c (lowercasify): new routine.
-
-Thu Mar 7 07:33:05 1991 Karl Berry (karl at hayley)
-
- * Version 0.2.
-
-Mon Mar 4 15:06:59 1991 Karl Berry (karl at hayley)
-
- * font.c (delete_internal_font): new routine.
- (close_font): call it, thus preventing us from finding a font that
- has been closed.
-
-Mon Feb 25 15:58:21 1991 Karl Berry (karl at hayley)
-
- * font.c (get_font): use `tfm_...' instead of `..._tfm_...'; use
- `pk_...' instead of `..._pk_...'; use `gf_...' instead of
- `..._gf_...'.
-
-Sun Feb 24 15:34:36 1991 Karl Berry (karl at ra.cs.umb.edu)
-
- * math.c (int_distance): cast the arguments to `double'.
-
-Sun Feb 17 09:43:06 1991 Karl Berry (karl at hayley)
-
- * *.c: include config.h.
-
-Sat Feb 16 16:54:18 1991 Karl Berry (karl at hayley)
-
- * dirio.c (checked_lstat) [HAVE_SYMBOLIC_LINKS]: change
- conditional from being on S_ISLNK and S_IFLNK.
-
-Tue Jan 22 15:44:43 1991 Karl Berry (karl at hayley)
-
- * bitmap.c (extract_subbitmap): new routine from imgtogf.
-
-Fri Jan 18 08:14:23 1991 Karl Berry (karl at hayley)
-
- * vector.c (all routines): declare args to be const.
-
- * vector.c (Vabs): new routine.
-
-Tue Jan 15 15:29:38 1991 Karl Berry (karl at hayley)
-
- * spline.c (append_spline): use LAST_SPLINE_LIST_ELT.
-
- * spline.c (new_spline_list_array, free_spline_list_array,
- append_spline_list): new routines.
-
- * spline.c (append_spline_list): rename to concat_spline_lists.
-
-Sun Jan 13 09:48:56 1991 Karl Berry (karl at hayley)
-
- * font.c (bitmap_format_type): move to font.h.
-
- * file-output.c (put_n_bytes): give the arguments to fwrite in the
- correct order.
-
-Sat Jan 12 16:46:44 1991 Karl Berry (karl at hayley)
-
- * file-output.c (put_n_bytes): use fwrite to do all the bytes at
- one shot.
-
-Mon Jan 7 10:42:22 1991 Karl Berry (karl at hayley)
-
- * spline.c (evaluate_spline): no compiler bug anymore without
- temporaries (as of gcc 1.38).
-
-Sat Dec 29 17:43:40 1990 Karl Berry (karl at hayley)
-
- * spline.c (print_spline): make the output lines shorter.
-
-Wed Dec 26 15:13:26 1990 Karl Berry (karl at hayley)
-
- * math.c (find_bounds): use MAXFLOAT and MINFLOAT, instead of
- MAXDOUBLE and MINDOUBLE, since Sun's atof can't deal with
- the latter.
-
-Sun Dec 9 11:02:20 1990 Karl Berry (karl at hayley)
-
- * spline.c: doc fix.
-
- * dirio.c (getwd): close each directory after we read it.
-
- * filename.c (find_subdir_path_filename): use getwd instead of
- getcwd, and use checked_chdir.
-
- * dirio.c (checked_opendir, is_dir): make arguments be const strings.
-
- * dirio.c (checked_chdir, checked_stat, checked_lstat, getwd): new
- routines.
-
-Sat Nov 17 11:09:56 1990 Karl Berry (karl at hayley)
-
- * file-*.c: include the appropriate file-....h file.
-
- * math.c (distance): put this back; it's too annoying to call
- hypot with the x and y arguments.
-
-Thu Oct 18 15:00:32 1990 Karl Berry (karl at hayley)
-
- * filename.c (find_subdir_path_filename): initialize the list of
- subdirectories to the empty string.
-
-Wed Oct 17 17:54:40 1990 Karl Berry (karl at aten)
-
- * filename.c (find_subdir_path_filename): do not do strlen when
- the path is empty.
-
-Tue Oct 9 08:59:43 1990 Karl Berry (karl at hayley)
-
- * filename.c (find_dpi): don't crash if the argument doesn't have
- a `.' at all.
-
- * cmdline.c: new file.
- * GNUmakefile (files): add it.
-
-Mon Oct 8 09:08:30 1990 Karl Berry (karl at hayley)
-
- * filename.c (find_dpi): new routine.
-
-Wed Oct 3 07:33:07 1990 Karl Berry (karl at hayley)
-
- * filename.c (find_tfm_filename, find_pk_filename,
- find_gf_filename): new routines.
-
-Sat Sep 29 08:34:52 1990 Karl Berry (karl at hayley)
-
- * bitmap.c (new_bitmap): don't use memset if the bitmap is null.
-
- * font.c (find_internal_font): use STREQ.
-
-Fri Sep 28 08:30:04 1990 Karl Berry (karl at hayley)
-
- * filename.c (next_component): return NULL after we've read all
- the directories in the list.
-
- * filename.c (next_component): omit the path separator from the
- returned directory.
-
-Thu Sep 27 11:45:36 1990 Karl Berry (karl at hayley)
-
- * font.c (DEFAULT_SUBDIR_PATH): new macro.
- (get_bitmap_font): try to open the PK and GF files using
- subdirectories if opening without them fails.
- (get_font): likewise, for the TFM file.
- * filename.c (get_subdir_path_filename): new routine.
- (next_component): new routine, replaces `find_components'.
-
-Fri Sep 21 09:15:28 1990 Karl Berry (karl at hayley)
-
- * dirio.o (is_dir): use S_ISDIR.
-
-Thu Sep 13 10:38:32 1990 Karl Berry (karl at hayley)
-
- * convert.c (parse_char_code): new routine to replace the
- PARSE_CHAR_CODE macro; return a status indicator.
- (xparse_char_code): like the above, but gives a fatal error.
-
-Wed Sep 12 18:19:13 1990 Karl Berry (karl at aten)
-
- * font.c (get_font): set `bitmap_only' to false.
- (save_internal_font): overwrite the old value if we're called with
- the same key twice.
-
-Sun Sep 9 07:10:29 1990 Karl Berry (karl at hayley)
-
- * convert.c: new file for some numeric conversions.
- * math.c: move atou to convert.c.
-
-Mon Sep 3 11:05:19 1990 Karl Berry (karl at hayley)
-
- * line.c (read_line): doc fix.
-
-Fri Aug 31 11:04:02 1990 Karl Berry (karl at hayley)
-
- * font.c (get_bitmap_font): new routine, taken from get_font.
-
-Thu Aug 30 16:32:25 1990 Karl Berry (karl at hayley)
-
- * file-misc.c (same_file_p): new function.
-
-Wed Aug 29 11:37:24 1990 Karl Berry (karl at hayley)
-
- * fileio.c: split up into several new files: file-open.c,
- file-input.c, file-output.c, file-misc.c.
-
-Thu Aug 23 07:26:58 1990 Karl Berry (karl at hayley)
-
- * filename.c (remove_suffix): new routine.
- (make_suffix): if the `.' is before a `/', it doesn't start the
- extension.
-
-Thu Aug 16 07:10:48 1990 Karl Berry (karl at hayley)
-
- * memory.c (safe_free): use fprintf instead of FATAL, so the core dump
- will happen.
-
-Thu Jul 26 06:53:33 1990 Karl Berry (karl at hayley)
-
- * bitmap.c (bitmap_find_transitions): new routine (from imgtogf).
-
-Wed Jul 25 08:20:12 1990 Karl Berry (karl at hayley)
-
- * string.c (concat5): new routine.
-
-Tue Jul 24 10:24:59 1990 Karl Berry (karl at hayley)
-
- * font.c (get_font): save the design size in points instead of
- pixels.
-
- * filename.c: new file.
- * fileio.c (find_path_filename): move there.
- * string.c (make_suffix): ditto.
-
- * font.c (get_char): retrieve the TFM width also.
-
-Mon Jul 16 07:30:33 1990 Karl Berry (karl at hayley)
-
- * bitmap.c (bitmap_to_bb): new routine.
-
-Thu Jul 12 06:01:16 1990 Karl Berry (karl at hayley)
-
- * bitmap.c (copy_bitmap): don't use `new_bitmap', to avoid setting
- all the bits twice.
-
-Tue Jul 10 06:23:54 1990 Karl Berry (karl at hayley)
-
- * bitmap.c (concat_bitmaps): new routine.
-
-Mon Jul 9 08:27:09 1990 Karl Berry (karl at hayley)
-
- * bitmap.c (get_bitmap_bounding_box): delete this.
- (print_bitmap): use dimensions_to_bb.
-
- * bitmap.c (free_bitmap): don't free the bitmap if it's null.
-
- * bitmap.c (new_bitmap): use memset.
- (copy_bitmap): use memcpy if the bitmap's size is greater than
- zero.
-
-Sat Jul 7 18:22:55 1990 Karl Berry (karl at hayley)
-
- * memory.c (safe_free): dump core if we are freeing a null item.
-
-Fri Jul 6 14:21:07 1990 Karl Berry (karl at hayley)
-
- * bounding-box.c (bb_to_dimensions): ensure that the dimensions
- are nonnegative.
-
-Wed Jul 4 12:06:49 1990 Karl Berry (karl at hayley)
-
- * memory.c (allocate): dump core if we run out of memory.
- (reallocate): ditto.
-
- * bounding-box.c (dimensions_to_bb): don't subtract one from the
- width, so it will work with the GF routines.
- (bb_to_dimensions): use BB_WIDTH and BB_HEIGHT, instead of doing
- the subtraction out here.
-
- * bounding-box.c (update_bounding_box): new routine.
-
-Sun Jul 1 15:11:56 1990 Karl Berry (karl at hayley)
-
- * font.c (ascender_part): new routine.
-
-Tue Jun 26 11:27:15 1990 Karl Berry (karl at hayley)
-
- * spline.c (evaluate_spline): use temporaries in the computation
- to avoid a compiler bug.
-
- * vector.c (Padd, Pmult_scalar): remove definitions, since they
- are defined as macros now.
-
-Sun Jun 24 15:31:34 1990 Karl Berry (karl at claude)
-
- * font.c (get_font): don't check the checksums if either one is
- zero.
-
-Sat Jun 23 12:11:47 1990 Karl Berry (karl at hayley)
-
- * font.c (print_char): change precision for printing the row numbers.
-
-Tue Jun 19 11:50:52 1990 Karl Berry (karl at hayley)
-
- * fileio.c (move_to_byte): delete this.
-
- * fileio.c (cur_pos): rename to checked_ftell, and take a filename
- argument for perror.
-
-Mon Jun 18 12:47:17 1990 Karl Berry (karl at hayley)
-
- * font.c (find_internal_font): return a pointer to an
- internal_font_type, instead of a structure, and change callers.
- (get_font): if we have already saved the font, return it, instead
- of opening the files again.
-
-Mon Jun 4 16:20:32 1990 Karl Berry (karl at hayley)
-
- * math.c (find_bounds): use MAXDOUBLE and MINDOUBLE, instead of
- MAXFLOAT and MINFLOAT.
-
- * spline.c (spline_bounding_box): remove this routine.
-
-Sun Jun 3 10:51:28 1990 Karl Berry (karl at hayley)
-
- * arith.c, math.c, vector.c: add const declarations.
-
- * fileio.c (get_two, get_four): don't bother to initialize the
- variable before we read it.
-
- * fileio.c (get_n_bytes): improve the error message if the read
- fails.
-
-Sat Jun 2 07:51:08 1990 Karl Berry (karl at hayley)
-
- * bounding-box.c (increase_int_bound): remove this.
-
- * spline.c (print_spline): print different things for lines and
- splines.
-
-Wed May 30 16:02:26 1990 Karl Berry (karl at hayley)
-
- * bitmap.c (new_bitmap): if the bitmap is going to be zero bits,
- don't try to allocate it.
-
- * font.c (get_font): figure out how many characters are in the
- font by testing the `exists' member of the TFM structure.
-
- * font.c (get_font): don't try to open the GF file if we couldn't
- find it.
-
-Tue May 22 09:51:20 1990 Karl Berry (karl at hayley)
-
- * fileio.c (find_path_filename): close the directories in the path.
-
-Sat May 19 10:30:39 1990 Karl Berry (karl at hayley)
-
- * fileio.c (find_path_filename): return NULL if we can't find the
- file, instead of the original name.
- * font.c (get_font): rewrite the file-opening code.
-
-Wed May 16 18:02:54 1990 Karl Berry (karl at aten)
-
- * font.c (string_to_bitmap): if the character doesn't exist in the
- font, don't crash.
-
- * fileio.c (find_path_filename): don't get a fatal error when a
- directory in the path doesn't exist.
-
-Sun May 13 13:45:12 1990 Karl Berry (karl at hayley)
-
- * dirio.c (is_dir): new routine.
-
- * fileio.c (find_path_filename): just return the name we're given
- if the path is relative; move the suffix concatenation out of the
- loop; search in subdirectories.
-
-Tue May 8 12:08:57 1990 Karl Berry (karl at hayley)
-
- * math.c: doc fix.
-
-Thu May 3 10:45:05 1990 Karl Berry (karl at hayley)
-
- * line.c (read_line): use VS_CHARS.
-
-Wed May 2 12:25:08 1990 Karl Berry (karl at claude)
-
- * font.c (string_to_bitmap): don't close the font when we're done.
-
-Wed Apr 25 13:16:28 1990 Karl Berry (karl at aten)
-
- * font.c (string_to_bitmap): don't asked for chars[x] when x is a
- character that isn't there.
-
-Tue Apr 24 18:35:08 1990 Karl Berry (karl at hayley)
-
- * math.c (real_to_int_coord): new routine.
-
-Sun Apr 22 06:42:37 1990 Karl Berry (karl at hayley)
-
- * font.c (string_to_bitmap): initialize char_y properly.
- [whoops, I mean test it properly, and initialize y.]
- Pass the row and column to BITMAP_PIXEL in the right order.
- Give the row and column to the constructor in the right order,
- too. Use MAX to find the depth, not MIN.
-
- * font.c (print_char): print the bitmap here, so we can print out
- the Cartesian row number, instead of calling `print_bitmap'.
-
-Sat Apr 21 09:49:42 1990 Karl Berry (karl at hayley)
-
- * fileio.c (get_n_bytes): use fread to read the whole block,
- instead of getting them one byte at a time.
-
-Thu Apr 19 16:19:33 1990 Karl Berry (karl at hayley)
-
- * font.c (get_font): do checksum test before getting the
- postamble.
-
-Tue Apr 17 16:53:31 1990 Karl Berry (karl at hayley)
-
- * font.c (print_char): new routine to print a text representation
- of a character.
-
-Mon Apr 16 11:12:28 1990 Karl Berry (karl at hayley)
-
- * font.c (get_font): get the design size from the TFM file,
- instead of the bitmap file.
-
-Sun Apr 15 07:34:19 1990 Karl Berry (karl at hayley)
-
- * font.c (get_font): do not set the font bounding box.
-
-Sat Apr 14 15:11:19 1990 Karl Berry (karl at hayley)
-
- * fileio.c (checked_fseek): make argument type be
- seek_direction_type.
-
- * fileio.c (checked_fclose): new (trivial) routine.
-
-Thu Apr 12 12:06:17 1990 Karl Berry (karl at hayley)
-
- * GNUmakefile: do not define USG and USGr3.
-
- * time.c: include <sys/types.h> and declare time(2) and ctime(3)
- using time_t.
-
- * fileio.c (find_path_filename): use access(2) instead of
- fopen(3); pass the default path to find_components.
- (find_components): use a default path if the environment variable
- doesn't exist.
-
-Mon Apr 9 08:19:53 1990 Karl Berry (karl at hayley)
-
- * math.c (distance): remove this, I came across hypot(3).
-
- * all files: upcase macro names.
-
-Sun Mar 18 14:58:23 1990 Kathy Hargreaves (kathy at hayley)
-
- * bounding_box.[hc] (increase_int_bound): added this to increase a
- bounding boxes bounds nicely, i.e., if the bound is negative, it
- gets decreased, and increased otherwise.
-
-Tue Feb 27 21:01:24 1990 Kathy Hargreaves (kathy at hayley)
-
- * fileio.c (get_n_bytes): don't try to read zero bytes.
-
-Wed Feb 7 17:00:47 1990 Karl Berry (karl at hayley)
-
- * time.c (now): chop off the trailing space.
-
-Mon Jan 29 12:46:56 1990 Karl Berry (karl at hayley)
-
- * bounding-box.c (bb_to_dimensions): new routine.
-
- * math.c (atou): like atoi but < 0 is a fatal error.
-
-Sun Jan 21 09:55:14 1990 Karl Berry (karl at hayley)
-
- * Makefile: rename to GNUmakefile.
-
- * bounding_box.c (dimensions_to_bounding_box): rename to
- dimensions_bb. Remove other conversion routines. And rename to
- bounding-box.c.
-
-Tue Oct 31 07:24:05 1989 Karl Berry (karl at hayley)
-
- * math.c (int_to_real_coordinate): remove this.
-
-Mon Oct 30 14:03:57 1989 Karl Berry (karl at hayley)
-
- * all files: add the copyleft.
-
- * string.c (concat4): define this.
-
-Sun Oct 29 18:37:33 1989 Karl Berry (karl at claude)
-
- * math.c (undefined_real_coordinate): remove this.
-
-Sat Oct 28 15:55:59 1989 Karl Berry (karl at hayley)
-
- * arith.c (real_to_scaled, real_to_fix): multiply the integer part
- by scaled_one and fix_one, respectively.
-
- * fileio.c (put_three): define this.
- (put_three, put_four): had the mask wrong for the
- low-order byte.
- (put_two, put_three, put_four): a & b >> c is
- a & (b >> c), not (a & b) >> c.
-
-Fri Oct 27 22:14:05 1989 Karl Berry (karl at hayley)
-
- * bitmap.c (new_bitmap): use the bitmap_dimensions macro.
-
-Sun Oct 8 15:41:01 1989 Karl Berry (karl at hayley)
-
- * math.c (epsilon_equal): new function to test if two values are
- within epsilon of each other.
- (acosd): changed to call that one.
-
- * bitmap.c (free_bitmap): new function to deallocate storage
- used in a bitmap_type.
-
- * math.c (acosd): normalize to 1.0 or -1.0 if the argument is
- within an epsilon of that anyway.
-
-Fri Oct 6 22:12:05 1989 Karl Berry (karl at hayley)
-
- * line.c (read_line): overwrite the newline at the end of the
- string with a null.
+For historical purposes you can view ChangeLog.old.
diff --git a/lib/GNUmakefile b/lib/GNUmakefile
index 4a03c9c..dcd8dd4 100644
--- a/lib/GNUmakefile
+++ b/lib/GNUmakefile
@@ -1,11 +1,11 @@
-# Makefile for the fontutils library.
+# GNUmakefile: Makefile for the fontutils library.
#
# Copyright (C) 1992, 1993, 2004, 2011 Free Software Foundation, Inc.
#
-# This program is free software; you can redistribute it and/or modify
+# 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.
+# 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
@@ -13,8 +13,9 @@
# 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.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
library = lib
diff --git a/lib/atou.c b/lib/atou.c
index 6c1f972..6475e9d 100644
--- a/lib/atou.c
+++ b/lib/atou.c
@@ -1,20 +1,20 @@
-/* atou.c: like atoi, but if the number is negative, abort.
-
-Copyright (C) 1992, 1995, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+# atou.c: like atoi, but if the number is negative, abort.
+#
+# Copyright (C) 1992, 1995, 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"
diff --git a/lib/bb-list.c b/lib/bb-list.c
index d556405..9aebba2 100644
--- a/lib/bb-list.c
+++ b/lib/bb-list.c
@@ -1,20 +1,21 @@
-/* bb-list.c: operations on bounding box lists.
+# bb-list.c: operations on bounding box lists.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -33,7 +34,7 @@ bb_list_init ()
return bb_list;
}
-
+
/* Append BB to BB_LIST. */
void
@@ -45,7 +46,7 @@ bb_list_append (bb_list_type *bb_list, bounding_box_type bb)
BB_LIST_ELT (*bb_list, BB_LIST_LENGTH (*bb_list) - 1) = bb;
}
-
+
/* Append the elements in the list B2 onto the end of B1. */
void
@@ -65,7 +66,7 @@ bb_list_splice (bb_list_type *b1, bb_list_type b2)
for (this_bb = 0; this_bb < BB_LIST_LENGTH (b2); this_bb++)
BB_LIST_ELT (*b1, BB_LIST_LENGTH (*b1)++) = BB_LIST_ELT (b2, this_bb);
}
-
+
/* Free the memory in a list. */
void
diff --git a/lib/bb-outline.c b/lib/bb-outline.c
index 72b46a1..c4ff16a 100644
--- a/lib/bb-outline.c
+++ b/lib/bb-outline.c
@@ -1,20 +1,21 @@
-/* bb-outline.c: find the bounding boxes enclosing outlines.
+# bb-outline.c: find the bounding boxes enclosing outlines.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/bitmap.c b/lib/bitmap.c
index 66e0213..4a8e2fb 100644
--- a/lib/bitmap.c
+++ b/lib/bitmap.c
@@ -1,20 +1,21 @@
-/* bitmap.c: operations on bitmaps.
+# bitmap.c: operations on bitmaps.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -131,7 +132,7 @@ bb_ensure_bounds (bounding_box_type *bb, bitmap_type source, string name)
MAX_COL (*bb) = BITMAP_HEIGHT (source) - 1;
}
}
-
+
/* The bounding boxes that we make in this routine are unlike the
bounding boxes used elsewhere. These are in bitmap coordinates, not
Cartesian, and they refer to pixels, not edges. So we have to adjust
@@ -145,7 +146,7 @@ bitmap_to_bb (const bitmap_type b)
return bb;
}
-
+
/* Return the (zero-based) column numbers in which ROW changes from
black to white or white to black. The first element marks a
white-to-black transition, and the last element marks a
@@ -230,7 +231,7 @@ bitmap_find_transitions (const one_byte *row, unsigned width)
vector[length - 1] = width + 1; /* Sentinel for the end of the vector. */
return vector;
}
-
+
/* Print a part of the bitmap in human-readable form. */
void
diff --git a/lib/bounding-box.c b/lib/bounding-box.c
index 46ad11b..88cb2a4 100644
--- a/lib/bounding-box.c
+++ b/lib/bounding-box.c
@@ -1,20 +1,21 @@
-/* bounding-box.c: definitions for bounding box operations.
+# bounding-box.c: definitions for bounding box operations.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/charcode.c b/lib/charcode.c
index 86158b5..6dc349a 100644
--- a/lib/charcode.c
+++ b/lib/charcode.c
@@ -1,20 +1,21 @@
-/* charcode.c: parse character code strings into their values.
+# charcode.c: parse character code strings into their values.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/charspec.c b/lib/charspec.c
index 986b549..864c8de 100644
--- a/lib/charspec.c
+++ b/lib/charspec.c
@@ -1,20 +1,21 @@
-/* charspec.c: parse a character code or name.
+# charspec.c: parse a character code or name.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/cmdline.c b/lib/cmdline.c
index 6d7a90d..393f7d3 100644
--- a/lib/cmdline.c
+++ b/lib/cmdline.c
@@ -1,20 +1,21 @@
-/* cmdline.c: routines to help in parsing command lines.
+# cmdline.c: routines to help in parsing command lines.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/concat.c b/lib/concat.c
index b074a24..4db3a37 100644
--- a/lib/concat.c
+++ b/lib/concat.c
@@ -1,20 +1,21 @@
-/* concat.c: dynamic string concatenation.
+# concat.c: dynamic string concatenation.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/concat3.c b/lib/concat3.c
index 263562d..0e55987 100644
--- a/lib/concat3.c
+++ b/lib/concat3.c
@@ -1,20 +1,21 @@
-/* concat3.c: concatenate three strings.
+# concat3.c: concatenate three strings.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/concat4.c b/lib/concat4.c
index d4b6833..b77adfb 100644
--- a/lib/concat4.c
+++ b/lib/concat4.c
@@ -1,20 +1,21 @@
-/* concat4.c: concatenate four strings.
+# concat4.c: concatenate four strings.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/concat5.c b/lib/concat5.c
index 7f6c4ed..6b3659d 100644
--- a/lib/concat5.c
+++ b/lib/concat5.c
@@ -1,20 +1,21 @@
-/* concat5.c: concatenate five strings.
+# concat5.c: concatenate five strings.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/concatn.c b/lib/concatn.c
index f76d461..a4a7a36 100644
--- a/lib/concatn.c
+++ b/lib/concatn.c
@@ -1,20 +1,21 @@
-/* concatn.c: Concatenate an arbitrary number of strings.
+# concatn.c: Concatenate an arbitrary number of strings.
+#
+# Copyright (C) 1993, 1995, 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/>.
+#
-Copyright (C) 1993, 1995, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "config.h"
@@ -45,7 +46,7 @@ concatn PVAR1C(const_string, str1, ap)
return ret;
}}
-
+
#ifdef TEST
int
main ()
diff --git a/lib/dir.c b/lib/dir.c
index 290d316..fba4512 100644
--- a/lib/dir.c
+++ b/lib/dir.c
@@ -1,20 +1,21 @@
-/* dir.c: directory operations.
-
-Copyright (C) 1992, 1993, 1994, 1995, 2004, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+# dir.c: directory operations.
+#
+# Copyright (C) 1992, 1993, 1994, 1995, 2004, 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"
diff --git a/lib/dlsym.c b/lib/dlsym.c
index 66a3662..d2c1968 100644
--- a/lib/dlsym.c
+++ b/lib/dlsym.c
@@ -1,31 +1,31 @@
-/*
-Stub interface to dynamic linker routines
-that SunOS uses but didn't ship with 4.1.
-
-The C library routine wcstombs in SunOS 4.1 tries to dynamically
-load some routines using the dlsym interface, described in dlsym(3x).
-Unfortunately SunOS 4.1 does not include the necessary library, libdl.
-
-The R5 Xlib uses wcstombs. If you link dynamcally, your program can
-run even with the unresolved reference to dlsym. However, if you
-link statically, you will encounter this bug. One workaround
-is to include these stub routines when you link.
-
-Copyright (C) 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. */
+# dlsym.c: Stub interface to dynamic linker routines that SunOS uses but didn't
+# whip with 4.1.
+#
+# Copyright (C) 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/>.
+#
+
+
+# The C library routine wcstombs in SunOS 4.1 tries to dynamically
+# load some routines using the dlsym interface, described in dlsym(3x).
+# Unfortunately SunOS 4.1 does not include the necessary library, libdl.
+#
+# The R5 Xlib uses wcstombs. If you link dynamcally, your program can
+# run even with the unresolved reference to dlsym. However, if you
+# link statically, you will encounter this bug. One workaround
+# is to include these stub routines when you link.
void *dlopen()
{
diff --git a/lib/edge.c b/lib/edge.c
index a36cfa3..4759abc 100644
--- a/lib/edge.c
+++ b/lib/edge.c
@@ -1,20 +1,21 @@
-/* edge.c: operations on edges in bitmaps.
+# edge.c: operations on edges in bitmaps.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -35,7 +36,7 @@ typedef enum
static boolean is_marked_edge (edge_type, unsigned, unsigned, bitmap_type);
static boolean is_outline_edge (edge_type, bitmap_type, unsigned, unsigned);
static edge_type next_edge (edge_type);
-
+
/* The following macros are used (directly or indirectly) by the
`next_outline_edge' routine. */
@@ -100,7 +101,7 @@ static edge_type next_edge (edge_type);
break; \
} \
}
-
+
/* Finally, we are ready to implement the routine that finds the next
edge on the outline. We look first for an adjacent edge that is not
on the current pixel. We want to go around outside outlines
@@ -163,7 +164,7 @@ next_outline_edge (bitmap_type character, edge_type *edge,
if (*row == original_row && *col == original_col)
*edge = next_edge (*edge);
}
-
+
/* We return the next edge on the pixel at position ROW and COL which is
an unmarked outline edge. By ``next'' we mean either the one sent in
in STARTING_EDGE, if it qualifies, or the next such returned by
@@ -226,7 +227,7 @@ is_outline_edge (edge_type edge, bitmap_type character,
return 0; /* NOTREACHED */
}
-
+
/* If EDGE is not already marked, we mark it; otherwise, it's a fatal error.
The position ROW and COL should be inside the bitmap MARKED. EDGE can
be `no_edge'; we just return false. */
diff --git a/lib/encoding.c b/lib/encoding.c
index d969c50..3335dc4 100644
--- a/lib/encoding.c
+++ b/lib/encoding.c
@@ -1,20 +1,21 @@
-/* encoding.c: read a font encoding (.enc) file.
+# encoding.c: read a font encoding (.enc) 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/>.
+#
-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. */
#include "config.h"
@@ -26,7 +27,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
static encoding_char_type parse_encoding_line (string);
static tfm_ligature_type parse_ligature (void);
-
+
/* Look through INFO for NAME. */
int
@@ -44,7 +45,7 @@ encoding_number (encoding_info_type info, string name)
return -1;
}
-
+
/* Return the basename for the encoding file in which the encoding
CODING_SCHEME can be found. If we can't find CODING_SCHEME, return
DEFAULT_ENCODING. */
@@ -85,7 +86,7 @@ coding_scheme_to_filename (string coding_scheme)
return enc_name;
}
-
+
/* Parse the encoding file `FILENAME.enc' and return a structure
describing what we read. If the file doesn't exist, give a fatal
error. */
@@ -118,7 +119,7 @@ read_encoding_file (string filename)
return info;
}
-
+
/* Parse one line of the encoding file; this specifies one character.
The BNF is:
diff --git a/lib/extend-fname.c b/lib/extend-fname.c
index 2531e21..d6b9f5c 100644
--- a/lib/extend-fname.c
+++ b/lib/extend-fname.c
@@ -1,20 +1,21 @@
-/* extend-fname.c: give a filename a suffix, if necessary.
+# extend-fname.c: give a filename a suffix, if necessary.
+#
+# Copyright (C) 1992, 1993, 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/>.
+#
-Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "config.h"
diff --git a/lib/file-input.c b/lib/file-input.c
index c80e714..e554699 100644
--- a/lib/file-input.c
+++ b/lib/file-input.c
@@ -1,21 +1,22 @@
-/* file-input.c: file reading routines for binary files in BigEndian
- order, 2's complement representation.
+# file-input.c: file reading routines for binary files in BigEndian
+# order, 2's complement representation.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -89,7 +90,7 @@ get_n_bytes (unsigned n, FILE *f, string filename)
}
-
+
/* Reading backwards. This macro is shared among all the routines by assuming
the name `f' for the file pointer. */
@@ -134,7 +135,7 @@ get_previous_four (FILE *f, string filename)
}
-
+
/* Looking for specific values in the input. */
void
diff --git a/lib/file-output.c b/lib/file-output.c
index 7634ec8..e1874a8 100644
--- a/lib/file-output.c
+++ b/lib/file-output.c
@@ -1,21 +1,22 @@
-/* file-output.c: file writing routines for binary files in BigEndian
- order, 2's complement representation.
+# file-output.c: file writing routines for binary files in BigEndian
+# order, 2's complement representation.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/filename.c b/lib/filename.c
index ff7bab9..fbb750f 100644
--- a/lib/filename.c
+++ b/lib/filename.c
@@ -1,20 +1,21 @@
-/* filename.c: routines to manipulate filenames.
+# filename.c: routines to manipulate filenames.
+#
+# Copyright (C) 1992, 1993, 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/>.
+#
-Copyright (C) 1992, 1993, 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. */
#include "config.h"
#include "paths.h"
diff --git a/lib/find-suffix.c b/lib/find-suffix.c
index e2a03a1..23dc717 100644
--- a/lib/find-suffix.c
+++ b/lib/find-suffix.c
@@ -1,20 +1,21 @@
-/* find-suffix.c: return the stuff after a dot.
+# find-suffix.c: return the stuff after a dot.
+#
+# Copyright (C) 1992, 1993, 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/>.
+#
-Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "config.h"
@@ -39,6 +40,3 @@ find_suffix P1C(const_string, name)
return slash_pos > dot_pos ? NULL : dot_pos + 1;
}
-
-
-
diff --git a/lib/fix-num.c b/lib/fix-num.c
index efd89d1..144d266 100644
--- a/lib/fix-num.c
+++ b/lib/fix-num.c
@@ -1,21 +1,22 @@
-/* fix-num.c: conversions on ``fixnums'', which are a 32-bit
- word with 20 bits of fraction.
+# fix-num.c: conversions on ``fixnums'', which are a 32-bit
+# word with 20 bits of fraction.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/float-ok.c b/lib/float-ok.c
index 160468c..eaffa24 100644
--- a/lib/float-ok.c
+++ b/lib/float-ok.c
@@ -1,20 +1,21 @@
-/* float-ok.c: test if a string is a valid floating-point number.
+# float-ok.c: test if a string is a valid floating-point number.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/font.c b/lib/font.c
index d8cb4b6..d5d88ac 100644
--- a/lib/font.c
+++ b/lib/font.c
@@ -1,20 +1,21 @@
-/* font.c: define (more or less) format-independent font operations.
+# font.c: define (more or less) format-independent font operations.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -58,7 +59,7 @@ typedef struct
static void delete_internal_font (string filename);
static internal_font_type *find_internal_font (string font_name);
static void save_internal_font (string font_name, internal_font_type);
-
+
/* Starting with FONT_NAME as the base filename, e.g., `cmr10', we try
various extensions to find a PK or GF file at resolution DPI. This
bitmap font defines the shapes of the characters. */
@@ -216,7 +217,7 @@ get_font (string font_name, unsigned dpi)
return font;
}
-
+
/* Close the files we have opened, for tidiness. */
void
@@ -250,7 +251,7 @@ close_font (string font_name)
delete_internal_font (font_name);
}
-
+
/* Look for the character numbered CODE in the font FONT_NAME. If it
doesn't exist, return NULL. Otherwise, fill in a `char_info_type'
structure and return a pointer to it.
@@ -305,7 +306,7 @@ get_char (string font_name, one_byte code)
return c;
}
-
+
/* Look for the character numbered CODE in the font FONT_NAME. If it
doesn't exist, return NULL. Otherwise, fill in a `raw_char_type'
structure and return a pointer to it.
@@ -351,7 +352,7 @@ free_raw_char (raw_char_type *raw_char)
free (RAW_CHAR_BYTES (*raw_char));
free (raw_char);
}
-
+
/* Print the character C to the file F, using ordinary characters. */
void
@@ -381,7 +382,7 @@ print_char (FILE *f, char_info_type c)
fprintf (f, "%3d\t%u\n", CHAR_MAX_ROW (c) - this_row, this_row);
}
}
-
+
/* We want to implement a typical key/value setup: here we are given the
key (FONT_NAME) and the value (F). We assign an index number to
FONT_NAME, and store it and F in parallel lists. If we are passed a
diff --git a/lib/fontmap.c b/lib/fontmap.c
index 59344d5..5d83e74 100644
--- a/lib/fontmap.c
+++ b/lib/fontmap.c
@@ -1,20 +1,21 @@
-/* fontmap.c: read a file for additional font names.
+# fontmap.c: read a file for additional font names.
+#
+# Copyright (C) 1993, 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/>.
+#
-Copyright (C) 1993, 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. */
#include "config.h"
@@ -45,7 +46,7 @@ map_hash (key)
return n;
}
-
+
/* Look up STR in MAP. Return the corresponding `value' or NULL. */
static char *
@@ -97,7 +98,7 @@ map_lookup (map, key)
return ret;
}
-
+
/* If KEY is not already in MAP, insert it and VALUE. */
static void
@@ -124,7 +125,7 @@ map_insert (map, key, value)
(**trailer)->next = NULL;
}
}
-
+
/* Open and read the mapping file FILENAME, putting its entries into
MAP. Comments begin with % and continue to the end of the line. Each
line of the file defines an entry: the first word is the real
diff --git a/lib/hash.c b/lib/hash.c
index bd6dc87..a3138bc 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -1,20 +1,21 @@
-/* hash.c: hash table operations.
+# hash.c: hash table operations.
+#
+# Copyright (C) 1994, 1995, 1996, 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/>.
+#
-Copyright (C) 1994, 1995, 1996, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "config.h"
@@ -43,7 +44,7 @@ hash P2C(hash_table_type, table, const_string, key)
return n;
}
-
+
hash_table_type
hash_create P1C(unsigned, size)
{
@@ -59,7 +60,7 @@ hash_create P1C(unsigned, size)
return ret;
}
-
+
/* Whether or not KEY is already in MAP, insert it and VALUE. Do not
duplicate the strings, in case they're being purposefully shared. */
@@ -86,7 +87,7 @@ hash_insert P3C(hash_table_type *, table, const_string, key,
loc->next = new_elt; /* Insert the new one after. */
}
}
-
+
/* Look up STR in MAP. Return a (dynamically-allocated) list of the
corresponding strings or NULL if no match. */
@@ -138,7 +139,7 @@ hash_lookup P2C(hash_table_type, table, const_string, key)
return STR_LIST (ret);
}
-
+
/* We only print nonempty buckets, to decrease output volume. */
void
diff --git a/lib/hexify.c b/lib/hexify.c
index f949b68..3705d49 100644
--- a/lib/hexify.c
+++ b/lib/hexify.c
@@ -1,20 +1,21 @@
-/* hexify.c: change a binary string to ASCII hex characters.
+# hexify.c: change a binary string to ASCII hex characters.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/identity.c b/lib/identity.c
index d728c7d..b35c6f5 100644
--- a/lib/identity.c
+++ b/lib/identity.c
@@ -1,20 +1,21 @@
-/* identity.c.
+# identity.c:
+#
+# Copyright (C) 1995, 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/>.
+#
-Copyright (C) 1995, 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. */
#include <stdio.h>
#include "c-proto.h"
diff --git a/lib/integer-ok.c b/lib/integer-ok.c
index 11a44a7..a7ffb81 100644
--- a/lib/integer-ok.c
+++ b/lib/integer-ok.c
@@ -1,20 +1,21 @@
-/* integer-ok.c: test if a string is a valid integer.
+# integer-ok.c: test if a string is a valid integer.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/libfile.c b/lib/libfile.c
index 525b2bc..7e123b7 100644
--- a/lib/libfile.c
+++ b/lib/libfile.c
@@ -1,20 +1,21 @@
-/* libfile.c: open and read a single auxiliary data file.
+# libfile.c: open and read a single auxiliary data 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/>.
+#
-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. */
#include "config.h"
#include "paths.h"
@@ -66,7 +67,7 @@ libfile_close ()
fclose (lib_file);
lib_file = NULL;
}
-
+
/* Return the name of the currently open file, or NULL if none. */
string
@@ -83,7 +84,7 @@ libfile_linenumber ()
{
return lib_file == NULL ? 0 : lib_file_line_number;
}
-
+
/* Return the next nonblank non-comment line from `lib_file', or NULL if
we are at EOF. Also remove any trailing comment on the line. */
diff --git a/lib/line.c b/lib/line.c
index 8d15772..4121ebb 100644
--- a/lib/line.c
+++ b/lib/line.c
@@ -1,20 +1,20 @@
-/* line.c: return the next line from a file, or NULL.
-
-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. */
+# line.c: return the next line from a file, or NULL.
+#
+# 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"
diff --git a/lib/list.c b/lib/list.c
index 8dcca72..508fb35 100644
--- a/lib/list.c
+++ b/lib/list.c
@@ -1,20 +1,21 @@
-/* list.c: simple list (represented as arrays) manipulation.
+# list.c: simple list (represented as arrays) manipulation.
+#
+# Copyright (C) 1992 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/>.
+#
-Copyright (C) 1992 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 2, 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. */
#include "config.h"
@@ -48,7 +49,7 @@ list_free (list_type *list)
free (LIST_DATA (*list));
}
}
-
+
/* The list consists entirely of pointers to objects. We allocate the
space for the objects pointed to here, though, and return a pointer to
the newly-created final element in the list. */
diff --git a/lib/logreport.c b/lib/logreport.c
index ce202b5..3dd386d 100644
--- a/lib/logreport.c
+++ b/lib/logreport.c
@@ -1,20 +1,21 @@
-/* logreport.c: showing information to the user.
+# logreport.c: showing information to the user.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/make-prefix.c b/lib/make-prefix.c
index 9c73ead..a278e11 100644
--- a/lib/make-prefix.c
+++ b/lib/make-prefix.c
@@ -1,20 +1,21 @@
-/* make-prefix.c: construct a pathname prefix.
+# make-prefix.c: construct a pathname prefix.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/make-suffix.c b/lib/make-suffix.c
index aa32e85..bc8a851 100644
--- a/lib/make-suffix.c
+++ b/lib/make-suffix.c
@@ -1,20 +1,21 @@
-/* make-suffix.c: unconditionally add a filename suffix.
+# make-suffix.c: unconditionally add a filename suffix.
+#
+# Copyright (C) 1992, 1993, 1995, 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/>.
+#
-Copyright (C) 1992, 1993, 1995, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "config.h"
#include "c-pathch.h"
diff --git a/lib/math.c b/lib/math.c
index 1aaa16c..f6cab57 100644
--- a/lib/math.c
+++ b/lib/math.c
@@ -1,20 +1,21 @@
-/* math.c: define some simple array operations, and other functions.
+# math.c: define some simple array operations, and other functions.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -123,8 +124,6 @@ points_adjacent_p (int row1, int col1, int row2, int col2)
}
-
-
/* Find the largest and smallest elements in an array of reals. */
void
@@ -149,7 +148,7 @@ find_bounds (real *values, unsigned value_count, real *min, real *max)
}
-
+
/* Map a range of numbers, some positive and some negative, into all
positive, with the greatest being at one and the least at zero.
diff --git a/lib/now.c b/lib/now.c
index cf87fb4..cb42e16 100644
--- a/lib/now.c
+++ b/lib/now.c
@@ -1,20 +1,21 @@
-/* time.c: the current date and time.
+# time.c: the current date and time.
+#
+# 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/>.
+#
-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. */
#include "config.h"
#include "c-time.h"
diff --git a/lib/numtoa.c b/lib/numtoa.c
index f9458e1..4c049d5 100644
--- a/lib/numtoa.c
+++ b/lib/numtoa.c
@@ -1,20 +1,21 @@
-/* numtoa.c: change numbers back to strings.
+# numtoa.c: change numbers back to strings.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/pathsrch.c b/lib/pathsrch.c
index 5982355..f75b9cf 100644
--- a/lib/pathsrch.c
+++ b/lib/pathsrch.c
@@ -1,24 +1,25 @@
-/* pathsrch.c: look for files based on paths, i.e., colon-separated
- lists of directories.
-
- We should allow % specifiers in the paths for the resolution, mode
- name, etc.
-
-Copyright (C) 1992, 1993, 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. */
+# pathsrch.c: look for files based on paths, i.e., colon-separated
+# lists of directories.
+#
+# Copyright (C) 1992, 1993, 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/>.
+#
+
+
+# We should allow % specifiers in the paths for the resolution, mode
+# name, etc.
#include "config.h"
@@ -42,7 +43,7 @@ static string *find_dir_list P1H(string);
static string readable P1H(string);
static void save_dir_list P2H(string, string *);
static string truncate_pathname P1H(string);
-
+
/* If FILENAME is absolute or explicitly relative (i.e., starts with
`/', `./', or `../'), or if DIR_LIST is null, we return whether
FILENAME is readable as-is. Otherwise, we test if FILENAME is in any of
@@ -195,7 +196,7 @@ absolute_p P1C(string, filename)
return absolute || explicit_relative;
}
-
+
/* Return a NULL-terminated array of directory names, each name ending
with PATH_SEP, created by parsing the PATH_DELIMITER-separated list
in the value of the environment variable ENV_NAME, or DEFAULT_PATH if
@@ -281,7 +282,7 @@ initialize_path_list P2C(string, env_name, string, default_path)
return dir_list;
}
-
+
/* Subroutines for `initialize_path_list'. */
/* Add a newly-allocated copy of DIR to the end of the array pointed to
@@ -380,7 +381,7 @@ expand_subdir (dir_list_ptr, dir_count_ptr, dirname)
closedir (dir);
}
-
+
/* These routines, while not strictly needed to be exported, are
plausibly useful to be called by outsiders. */
@@ -461,7 +462,7 @@ expand_tilde P1C(string, name)
return expansion;
#endif /* not (DOS or VMS or VM/CMS) */
}
-
+
/* Routines to save and retrieve a directory list keyed by the original
colon-separated path. This is useful because 1) it can take a
significant amount of time to discover all the subdirectories of a
diff --git a/lib/progname.c b/lib/progname.c
index 3221147..f8f964d 100644
--- a/lib/progname.c
+++ b/lib/progname.c
@@ -1,20 +1,21 @@
-/* progname.c: the executable name we were invoked as; general initialization.
+# progname.c: the executable name we were invoked as; general initialization.
+#
+# Copyright (C) 1994, 1996, 1997, 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/>.
+#
-Copyright (C) 1994, 1996, 1997, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "config.h"
#include "c-pathch.h"
@@ -52,7 +53,7 @@ string program_invocation_short_name = NULL;
#endif
/* And the variable for the program we pretend to be. */
string kpse_program_name = NULL;
-
+
/* Return directory for NAME. This is "." if NAME contains no directory
separators (should never happen for selfdir), else whatever precedes
the final directory separator, but with multiple separators stripped.
@@ -86,7 +87,7 @@ my_dirname P1C(const_string, name)
return ret;
}
-
+
#ifndef WIN32
/* From a standalone program `ll' to expand symlinks written by Kimbo Mundy.
Don't bother to compile if we don't have symlinks; thus we can assume
@@ -284,7 +285,7 @@ expand_symlinks (s)
#else /* not S_ISLNK */
#define expand_symlinks(s) (s)
#endif /* not S_ISLNK */
-
+
/* Remove .'s and ..'s in DIR, to avoid problems with relative symlinks
as the program name, etc. This does not canonicalize symlinks. */
@@ -353,7 +354,7 @@ remove_dots P1C(string, dir)
return ret;
#endif /* not AMIGA */
}
-
+
/* Return directory ARGV0 comes from. Check PATH if ARGV0 is not
absolute. */
@@ -424,7 +425,7 @@ selfdir P1C(const_string, argv0)
return ret;
}
#endif /* not WIN32 */
-
+
void
kpse_set_program_name P2C(const_string, argv0, const_string, progname)
{
@@ -592,7 +593,7 @@ kpse_set_progname P1C(const_string, argv0)
{
kpse_set_program_name (argv0, NULL);
}
-
+
#ifdef TEST
void
main (int argc, char **argv)
diff --git a/lib/rand.c b/lib/rand.c
index ef1b169..660a099 100644
--- a/lib/rand.c
+++ b/lib/rand.c
@@ -1,20 +1,21 @@
-/* rand.c: a simple pseudo-random number generator.
+# rand.c: a simple pseudo-random number generator.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/report.c b/lib/report.c
index 32efc96..53110ec 100644
--- a/lib/report.c
+++ b/lib/report.c
@@ -1,20 +1,20 @@
-/* report.c: showing information to the user online.
-
-Copyright (C) 1992, 2004, 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. */
+# report.c: showing information to the user online.
+#
+# Copyright (C) 1992, 2004, 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"
diff --git a/lib/rm-suffix.c b/lib/rm-suffix.c
index dcf061b..326826c 100644
--- a/lib/rm-suffix.c
+++ b/lib/rm-suffix.c
@@ -1,20 +1,21 @@
-/* rm-suffix.c: remove any suffix.
+# rm-suffix.c: remove any suffix.
+#
+# Copyright (C) 1992, 1993, 1995, 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/>.
+#
-Copyright (C) 1992, 1993, 1995, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "config.h"
diff --git a/lib/safe-free.c b/lib/safe-free.c
index a5181ad..4d3a1f8 100644
--- a/lib/safe-free.c
+++ b/lib/safe-free.c
@@ -1,20 +1,21 @@
-/* safe-free.c: free with error checking.
+# safe-free.c: free with error checking.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/scaled-num.c b/lib/scaled-num.c
index 18a262b..2345877 100644
--- a/lib/scaled-num.c
+++ b/lib/scaled-num.c
@@ -1,21 +1,22 @@
-/* scaled-num.c: conversions on ``scaled'' numbers, which are a 32-bit
- word with 16 bits of fraction.
+# scaled-num.c: conversions on ``scaled'' numbers, which are a 32-bit
+# word with 16 bits of fraction.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/spline.c b/lib/spline.c
index e3a28c8..454f409 100644
--- a/lib/spline.c
+++ b/lib/spline.c
@@ -1,20 +1,21 @@
-/* spline.c: spline and spline list (represented as arrays) manipulation.
+# spline.c: spline and spline list (represented as arrays) manipulation.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -65,7 +66,6 @@ print_spline (FILE *f, spline_type s)
-
/* Evaluate the spline S at a given T value. This is an implementation
of de Casteljau's algorithm. See Schneider's thesis (reference in
../limn/README), p.37. The variable names are taken from there. */
@@ -94,7 +94,7 @@ evaluate_spline (spline_type s, real t)
-
+
/* Return a new, empty, spline list. */
spline_list_type *
@@ -171,7 +171,7 @@ concat_spline_lists (spline_list_type *s1, spline_list_type s2)
}
-
+
/* Return a new, empty, spline list array. */
spline_list_array_type
diff --git a/lib/statistics.c b/lib/statistics.c
index 9cba0a3..635b6ee 100644
--- a/lib/statistics.c
+++ b/lib/statistics.c
@@ -1,20 +1,21 @@
-/* statistics.c: find various statistics.
+# statistics.c: find various statistics.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/str-lcase.c b/lib/str-lcase.c
index 996114e..39c49bc 100644
--- a/lib/str-lcase.c
+++ b/lib/str-lcase.c
@@ -1,22 +1,21 @@
-/* str-casefold.c: make a string either all uppercase or all lowercase.
+# str-casefold.c: make a string either all uppercase or all lowercase.
+#
+# 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/>.
+#
-Copyright (C) 1992, 2011 Free Software Foundation, Inc.
-This file was part of the GNU C Library.
-
-The GNU C Library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public License as
-published by the Free Software Foundation; either version 3 of the
-License, or (at your option) any later version.
-
-The GNU C Library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with the GNU C Library; see the file COPYING.LIB. If
-not, write to the Free Software Foundation, Inc., 675 Mass Ave,
-Cambridge, MA 02139, USA. */
#include "config.h"
diff --git a/lib/str-list.c b/lib/str-list.c
index d39f155..a780d2b 100644
--- a/lib/str-list.c
+++ b/lib/str-list.c
@@ -1,20 +1,21 @@
-/* str-list.c: define routines for string lists.
+# str-list.c: define routines for string lists.
+#
+# Copyright (C) 1993, 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/>.
+#
-Copyright (C) 1993, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "config.h"
diff --git a/lib/str-to-bit.c b/lib/str-to-bit.c
index 4ffdd7b..169c879 100644
--- a/lib/str-to-bit.c
+++ b/lib/str-to-bit.c
@@ -1,20 +1,21 @@
-/* str-to-bit.c: typeset a text string in some font, producing a bitmap.
+# str-to-bit.c: typeset a text string in some font, producing a bitmap.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/substring.c b/lib/substring.c
index a92215c..8733a24 100644
--- a/lib/substring.c
+++ b/lib/substring.c
@@ -1,20 +1,21 @@
-/* substring.c: copy a chunk from a string.
+# substring.c: copy a chunk from a string.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/varstring.c b/lib/varstring.c
index b84f67f..c759abc 100644
--- a/lib/varstring.c
+++ b/lib/varstring.c
@@ -1,20 +1,21 @@
-/* varstring.c: variable-length strings.
+# varstring.c: variable-length strings.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/vector.c b/lib/vector.c
index 6f7abf5..0a30532 100644
--- a/lib/vector.c
+++ b/lib/vector.c
@@ -1,20 +1,21 @@
-/* vector.c: vector/point operations.
+# vector.c: vector/point operations.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -49,7 +50,7 @@ vector_to_point (const vector_type v)
}
-
+
const real
magnitude (const vector_type v)
{
@@ -160,7 +161,7 @@ Vabs (const vector_type v)
}
-
+
/* Operations on points. */
/* This is a macro now. */
@@ -202,7 +203,7 @@ Psubtract (const real_coordinate_type c1, const real_coordinate_type c2)
}
-
+
/* Operations on integer points. */
const vector_type
diff --git a/lib/xcalloc.c b/lib/xcalloc.c
index b33f4d5..637d00c 100644
--- a/lib/xcalloc.c
+++ b/lib/xcalloc.c
@@ -1,20 +1,21 @@
-/* xcalloc.c: calloc with error checking.
+# xcalloc.c: calloc with error checking.
+#
+# Copyright (C) 1992, 1993, 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/>.
+#
-Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "config.h"
diff --git a/lib/xmessage.c b/lib/xmessage.c
index eeeae69..31fcf67 100644
--- a/lib/xmessage.c
+++ b/lib/xmessage.c
@@ -1,20 +1,21 @@
-/* xmessage.c: pop up a message for five seconds and then go away.
+# xmessage.c: pop up a message for five seconds and then go away.
+#
+# 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/>.
+#
-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. */
#ifndef X_DISPLAY_MISSING /* whole file */
@@ -29,7 +30,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
static void message_over (XtPointer, XtIntervalId *);
-
+
/* Make a popup child of the widget PARENT displaying the string S. We
pass the ARGS and N_ARGS parameters to the creation routine. */
@@ -89,7 +90,7 @@ x_warning (Widget parent, string s)
}
-
+
static void
message_over (XtPointer client_data, XtIntervalId *interval_id)
{
diff --git a/lib/xopendir.c b/lib/xopendir.c
index 14f6e7a..a597e12 100644
--- a/lib/xopendir.c
+++ b/lib/xopendir.c
@@ -1,20 +1,21 @@
-/* xopendir.c: opendir and closedir with error checking.
+# xopendir.c: opendir and closedir with error checking.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/xrealloc.c b/lib/xrealloc.c
index 057d889..ab190e7 100644
--- a/lib/xrealloc.c
+++ b/lib/xrealloc.c
@@ -1,20 +1,21 @@
-/* xrealloc.c: realloc with error checking.
+# xrealloc.c: realloc with error checking.
+#
+# Copyright (C) 1992, 1993, 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/>.
+#
-Copyright (C) 1992, 1993, 2011 Free Software Foundation, Inc.
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Library General Public
-License as published by the Free Software Foundation; either
-version 3 of the License, or (at your option) any later version.
-
-This library 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
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* Don't include config.h or all our other usual includes, since
it's useful to just throw this file into other programs. */
diff --git a/lib/xrename.c b/lib/xrename.c
index e60f02b..e8c941a 100644
--- a/lib/xrename.c
+++ b/lib/xrename.c
@@ -1,20 +1,21 @@
-/* xrename.c: conceptually rename with error checking.
+# xrename.c: conceptually rename with error checking.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/lib/xstrdup.c b/lib/xstrdup.c
index 6feef4c..06881c9 100644
--- a/lib/xstrdup.c
+++ b/lib/xstrdup.c
@@ -1,20 +1,21 @@
-/* xstrdup.c: strdup with error checking.
+# xstrdup.c: strdup with error checking.
+#
+# Copyright (C) 1992, 2004, 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/>.
+#
-Copyright (C) 1992, 2004, 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. */
#include "config.h"
diff --git a/pbm/ChangeLog b/pbm/ChangeLog
index 65afe89..7a5c861 100644
--- a/pbm/ChangeLog
+++ b/pbm/ChangeLog
@@ -1,41 +1,3 @@
-Sat Aug 7 11:51:41 1993 Karl Berry (karl@cs.umb.edu)
+DEPRECATED - USE ROOT CHANGELOG
- * libpbm1.c: c-ctype.h now in kpathsea.
-
-Fri Dec 11 15:06:54 1992 Karl Berry (karl@cs.umb.edu)
-
- * libpbm1.c (pm_keymatch): Change ctype references to use
- uppercase macros.
-
-Tue Oct 27 12:56:21 1992 Karl Berry (karl@cs.umb.edu)
-
- * Version 0.6.
-
-Tue Sep 15 08:39:17 1992 Karl Berry (karl@hayley)
-
- * libpbm1.c (malloc, free, exit): don't declare these, rely on
- config.h.
-
-Thu Sep 3 09:31:14 1992 Karl Berry (karl@hayley)
-
- * Version 0.5.
-
-Wed Apr 15 09:01:07 1992 Karl Berry (karl@hayley)
-
- * pbmascii.c: new file for debugging.
-
-Sat Mar 28 07:49:22 1992 Karl Berry (karl at hayley)
-
- * Version 0.4.
-
- * Change copyright years to 1992 only.
-
-Sat Mar 7 10:00:47 1992 Karl Berry (karl at hayley)
-
- * GNUmakefile (files, headers, sources): replace with `c_and_h', etc.
-
- * libpbm1.c: use #if __STDC__, not #ifdef.
-
-Thu Mar 5 07:53:37 1992 Karl Berry (karl at hayley)
-
- * Created.
+For historical purposes you can view ChangeLog.old.
diff --git a/pbm/GNUmakefile b/pbm/GNUmakefile
index 81cfc8c..0c162e1 100644
--- a/pbm/GNUmakefile
+++ b/pbm/GNUmakefile
@@ -2,10 +2,10 @@
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
#
-# This program is free software; you can redistribute it and/or modify
+# 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.
+# 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
@@ -13,9 +13,10 @@
# 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.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+
+
library = pbm
h_only = libpbm
diff --git a/pbm/libpbm.h b/pbm/libpbm.h
index 1cd1075..6299314 100644
--- a/pbm/libpbm.h
+++ b/pbm/libpbm.h
@@ -1,19 +1,20 @@
-/* libpbm.h - internal header file for libpbm portable bitmap library
-Copyright (C) 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. */
+# libpbm.h: internal header file for libpbm portable bitmap library
+#
+# Copyright (C) 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/>.
+#
#ifndef _LIBPBM_H_
#define _LIBPBM_H_
@@ -29,4 +30,3 @@ int pbm_readmagicnumber ARGS(( FILE* file ));
void pbm_readpbminitrest ARGS(( FILE* file, int* colsP, int* rowsP ));
#endif /*_LIBPBM_H_*/
-
diff --git a/pbm/libpbm1.c b/pbm/libpbm1.c
index c7bf4e9..bc216af 100644
--- a/pbm/libpbm1.c
+++ b/pbm/libpbm1.c
@@ -1,25 +1,24 @@
-/* libpbm1.c - pbm utility library part 1
-** $Id: libpbm1.c,v 1.5 2011/02/08 02:41:51 styluseater Exp $
+# libpbm1.c: pbm utility library part 1
+** $Id: libpbm1.c,v 1.6 2011/02/26 05:18:43 styluseater Exp $
+#
+# Copyright (C) 1988, 2004 by Jef Poskanzer.
+# Copyright (C) 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/>.
+#
+# Minor configuration changes for GNU --karl.
-Copyright (C) 1988, 2004 by Jef Poskanzer.
-Copyright (C) 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.
-
- Minor configuration changes for GNU --karl.
-*/
#include "pbm.h"
#include "libpbm.h"
diff --git a/pbm/libpbm2.c b/pbm/libpbm2.c
index 03a224c..e9390e5 100644
--- a/pbm/libpbm2.c
+++ b/pbm/libpbm2.c
@@ -1,21 +1,22 @@
-/* libpbm2.c - pbm utility library part 2
+# libpbm2.c: pbm utility library part 2
+#
+# Copyright (C) 1988 by Jef Poskanzer.
+# Copyright (C) 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/>.
+#
-Copyright (C) 1988 by Jef Poskanzer.
-Copyright (C) 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. */
#include "pbmplus.h"
#include "pbm.h"
diff --git a/pbm/libpbm4.c b/pbm/libpbm4.c
index f67b233..e8b6040 100644
--- a/pbm/libpbm4.c
+++ b/pbm/libpbm4.c
@@ -1,21 +1,22 @@
-/* libpbm4.c - pbm utility library part 4
+# libpbm4.c: pbm utility library part 4
+#
+# Copyright (C) 1988 by Jef Poskanzer.
+# Copyright (C) 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/>.
+#
-Copyright (C) 1988 by Jef Poskanzer.
-Copyright (C) 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. */
#include "pbm.h"
#include "libpbm.h"
diff --git a/pbm/pbmascii.c b/pbm/pbmascii.c
index f963f02..c7fe2b7 100644
--- a/pbm/pbmascii.c
+++ b/pbm/pbmascii.c
@@ -1,20 +1,21 @@
-/* pbmascii -- dump a PBM file (from stdin) on stdout.
+# pbmascii: dump a PBM file (from stdin) on stdout.
+#
+# Copyright (C) 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/>.
+#
-Copyright (C) 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. */
#include <stdio.h>
#include <stdlib.h>
@@ -45,7 +46,7 @@ main (int argc, char *argv[])
return 0;
}
-
+
/*
Local variables:
compile-command: "gcc -g -posix -o pbmascii pbmascii.c pbm.a"
diff --git a/pk/ChangeLog b/pk/ChangeLog
index 9ee8f4d..7a5c861 100644
--- a/pk/ChangeLog
+++ b/pk/ChangeLog
@@ -1,138 +1,3 @@
-Tue Oct 27 12:56:27 1992 Karl Berry (karl@cs.umb.edu)
+DEPRECATED - USE ROOT CHANGELOG
- * Version 0.6.
-
-Thu Sep 3 09:31:18 1992 Karl Berry (karl@hayley)
-
- * Version 0.5.
-
-Sat Jun 13 11:45:30 1992 Karl Berry (karl@hayley)
-
- * pk_input.c: change for new names of list fns.
-
-Sat Mar 28 07:49:27 1992 Karl Berry (karl at hayley)
-
- * Version 0.4.
-
- * Change copyright years to 1992 only.
-
-Sat Mar 7 14:07:52 1992 Karl Berry (karl at fosse)
-
- * pk_input.c: complete prototypes for static fns.
-
-Sat Mar 7 11:16:20 1992 Karl Berry (karl at hayley)
-
- * GNUmakefile (files, headers, sources): replace with `c_and_h', etc.
-
-Thu Jan 9 08:29:21 1992 Karl Berry (karl at hayley)
-
- * *.c: do not include global.h.
-
- * *.h: remove #pragma once.
-
-Wed Jan 8 15:05:33 1992 Karl Berry (karl at hayley)
-
- * update copyright messages.
-
- * change `allocate to `xmalloc', `reallocate' to `xrealloc', and
- `string_copy' to `strdup'.
-
-Tue Jul 30 13:19:47 1991 Karl Berry (karl at ra.cs.umb.edu)
-
- * Version 0.3.
-
-Sat Jun 15 09:53:33 1991 Karl Berry (karl at hayley)
-
- * all files: change `checked_' to `x'.
-
-Thu Jun 6 07:31:28 1991 Karl Berry (karl at hayley)
-
- * All files: change to version 2 of the GPL.
-
-Thu Mar 7 07:33:24 1991 Karl Berry (karl at hayley)
-
- * Version 0.2.
-
-Mon Mar 4 15:00:02 1991 Karl Berry (karl at hayley)
-
- * pk_input.c: doc fix.
-
-Mon Feb 25 16:04:52 1991 Karl Berry (karl at hayley)
-
- * pk_input.c: use `pk_...' instead of `..._pk_...'.
-
-Sun Feb 17 09:48:32 1991 Karl Berry (karl at hayley)
-
- * pk_input.c: include config.h.
-
-Sat Nov 17 12:52:59 1990 Karl Berry (karl at hayley)
-
- * pk_input.c: include appropriate file-...h files.
-
-Sat Sep 29 09:01:25 1990 Karl Berry (karl at hayley)
-
- * pk_input.c (find_internal_font): return null at the end.
-
-Sun Sep 9 12:37:53 1990 Karl Berry (karl at hayley)
-
- * pk_input.c (pk_get_string): append a trailing null to the
- string.
-
-Wed Aug 29 14:23:26 1990 Karl Berry (karl at hayley)
-
- * pk_input.c (pk_get_byte, ...): add the filename argument, and
- rewrite as macros.
-
-Sat Aug 25 13:42:42 1990 Karl Berry (karl at hayley)
-
- * pk_input.c (get_bitmap): ignore bits remaining in the last byte.
-
-Wed May 30 15:32:37 1990 Karl Berry (karl at hayley)
-
- * pk_input.c (get_one_pk_char): give a better error message if the
- character code is out of range; allow for it to be negative.
-
-Wed May 2 12:14:57 1990 Karl Berry (karl at claude)
-
- * pk_input.c (delete_internal_font): new routine.
- (close_pk_input_file): call it, instead of doing the work here.
-
-Sun Apr 22 07:04:07 1990 Karl Berry (karl at hayley)
-
- * pk_input.c (unpack): off by one in calculation of the minimum row.
-
-Tue Apr 17 07:17:33 1990 Karl Berry (karl at hayley)
-
- * pk_input.c (pk_get_two): new routine.
- (get_one_pk_char): call it to get the packet length in the
- extended short format.
-
- * pk_input.c (unpack): get the h and v_offset values as signed
- numbers.
-
- * pk_input.c: make `do_upper_nybble' visible to the file, so that
- we can set it to true before reading each character.
-
-Mon Apr 16 16:53:36 1990 Karl Berry (karl at hayley)
-
- * pk_input.c (get_packed_bitmap): don't overwrite the repeat count
- for a row on a subsequent run count.
-
- * pk_input.c (get_run_count): forgot to initialize *repeat_count
- to zero, and to only look for it once.
-
- * pk_input.c (data_get_nybble): returned the upper nybble when we
- wanted the lower, and vice versa.
-
- * pk_input.c (get_one_pk_char): tested wrong bit to see which
- preamble format we were supposed to read.
-
- * pk_input.c (get_one_pk_char): allocate the space for each packed
- character before we fill it in.
-
- * pk_input.c (get_one_pk_char): the flag byte has already been
- read; get it as a parameter, not by reading it from the file.
-
- * pk_input.c (get_all_pk_chars): test for a non-command first,
- since that is so common. And give a fatal error if we hit a
- command that isn't undefined.
+For historical purposes you can view ChangeLog.old.
diff --git a/pk/GNUmakefile b/pk/GNUmakefile
index 8fd2519..c5e34b1 100644
--- a/pk/GNUmakefile
+++ b/pk/GNUmakefile
@@ -2,10 +2,10 @@
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
#
-# This program is free software; you can redistribute it and/or modify
+# 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.
+# 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
@@ -13,9 +13,9 @@
# 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.
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+
library = pk
c_only = pk_input
diff --git a/pk/pk_input.c b/pk/pk_input.c
index ab7e083..336834d 100644
--- a/pk/pk_input.c
+++ b/pk/pk_input.c
@@ -1,25 +1,27 @@
-/* pk_input.c: read from any number of PK files. The basic idea is to
- read the entire file into memory the first time the client asks for a
- character. Since PK files tend to be quite small, this does not use
- an enormous amount of memory. But we only bother to unpack a
- character's bitmap when the client asks for that particular
- character.
-
-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. */
+# pk_input.c: read from any number of PK files.
+#
+# 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/>.
+#
+
+# The basic idea is to
+# read the entire file into memory the first time the client asks for a
+# character. Since PK files tend to be quite small, this does not use
+# an enormous amount of memory. But we only bother to unpack a
+# character's bitmap when the client asks for that particular
+# character.
#include "config.h"
@@ -101,7 +103,7 @@ typedef struct
PACKED_DATA_LENGTH (*INTERNAL_PACKED_CHAR (f, c))
#define INTERNAL_PACKED_DATA(f, c) \
PACKED_DATA (*INTERNAL_PACKED_CHAR (f, c))
-
+
/* File I/O. */
static FILE *pk_input_file; /* The file we're currently reading. */
static string current_filename; /* Its pathname. */
@@ -143,7 +145,7 @@ static signed_4_bytes data_get_signed_n_byte_value (one_byte);
static internal_font_type *find_internal_font (string);
static void save_internal_font (string, FILE *);
static void delete_internal_font (string);
-
+
/* Prepare for reading FILENAME. Return false if it can't be opened.
We allow the same file to be opened twice; I'm not sure if that's a
good idea or not, but it doesn't seem to matter much. */
@@ -169,7 +171,7 @@ pk_close_input_file (string filename)
{
delete_internal_font (filename);
}
-
+
/* The PK preamble contains the fontwide information we are supposed to
return. If FONT_NAME isn't open for reading, we give a fatal error. */
@@ -201,7 +203,7 @@ pk_get_preamble (string filename)
return p;
}
-
+
/* Return the information for the character CODE in the font FILENAME,
or null if the character doesn't exist in that font. */
@@ -514,7 +516,7 @@ get_bitmap (pk_char_type *pk_char)
while (extra_bits-- > 0)
(void) data_get_bit ();
}
-
+
/* Low-level routines that read from the disk file. */
static string
@@ -543,7 +545,7 @@ pk_get_n_byte_value (unsigned n)
return v;
}
-
+
/* These routines do not read from a disk file. Instead, they read from
memory (where we have put each character's definition, directly from
the file.) They use the semi-global `pk_input_data'. */
@@ -637,7 +639,7 @@ data_get_signed_n_byte_value (one_byte passed_n)
return v;
}
-
+
/* We assign an index number to NAME, and store both NAME and the
`internal_font_type' that we construct in parallel lists. The file F
goes into the `internal_font_list'. */
diff --git a/pk/pk_opcodes.h b/pk/pk_opcodes.h
index 58baf45..6ead2b2 100644
--- a/pk/pk_opcodes.h
+++ b/pk/pk_opcodes.h
@@ -1,21 +1,22 @@
-/* pk_opcodes.h: symbolic names for some of the GF commands and special
- values.
+# pk_opcodes.h: symbolic names for some of the GF commands and special
+# values.
+#
+# 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/>.
+#
-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. */
#ifndef PK_OPCODES_H
#define PK_OPCODES_H
diff --git a/tfm/ChangeLog b/tfm/ChangeLog
index 044da8f..7a5c861 100644
--- a/tfm/ChangeLog
+++ b/tfm/ChangeLog
@@ -1,371 +1,3 @@
-Fri May 13 16:57:15 1994 Karl Berry (karl@cs.umb.edu)
+DEPRECATED - USE ROOT CHANGELOG
- * tfm_output.c (tfm_convert_pl): Add NULL to the concatn.
-
-Sun May 1 15:32:11 1994 Karl Berry (karl@cs.umb.edu)
-
- * tfm_output.c: Use concatn instead of the no-longer-existing concat5.
-
-Tue Oct 27 12:56:39 1992 Karl Berry (karl@cs.umb.edu)
-
- * Version 0.6.
-
-Mon Oct 19 08:11:44 1992 Karl Berry (karl@cs.umb.edu)
-
- * tfm_input.c (tfm_get_chars): Return the newly malloced array,
- not the static variable.
-
-Thu Sep 3 09:31:23 1992 Karl Berry (karl@hayley)
-
- * Version 0.5.
-
-Tue Jul 7 16:42:47 1992 Karl Berry (karl@hayley)
-
- * tfm_input.c (tfm_input_filename): new routine.
- (tfm_input_filename): change var name to just `tfm_input_name'.
-
-Sat Jun 13 07:55:29 1992 Karl Berry (karl@hayley)
-
- * all files: change `font_param{,eter}' to `fontdimen', globally.
-
- * tfm_fontdim.c: rename from `fontdimen.c'.
- * GNUmakefile (c_only): change here.
-
-Fri Jun 12 09:45:31 1992 Karl Berry (karl@hayley)
-
- * fontdimen.c (tfm_set_fontdimen): rename from
- `tfm_set_font_parameter', and rearrange args.
-
- * tfm_ligature.c (tfm_set_ligature): take a lig list as the
- parameter instead of a TFM char.
-
-Tue Jun 9 13:57:18 1992 Karl Berry (karl@hayley)
-
- * fontdimen.c (tfm_set_fontdimens): call `float_ok' on the
- potential fontdimen value.
-
- * fontdimen.c: new file with all the fontdimen stuff.
- * tfm_kern.c: new file with the kern stuff.
- * tfm_ligature.c: and the ligature stuff.
- * tfm_char.c: rename from tfm_util, since that's all that's left.
-
-Mon Jun 8 15:27:59 1992 Karl Berry (karl@hayley)
-
- * tfm_util.c (tfm_set_kern): take a kern list as the parameter instead
- of the whole TFM character.
-
-Sun May 31 10:56:10 1992 Karl Berry (karl@hayley)
-
- * tfm_output.c (tfm_put_char): use `epsilon_equal'.
-
-Sat May 30 14:58:33 1992 Karl Berry (karl@hayley)
-
- * tfm_output.c (tfm_convert_pl): allow for passing in the TFM name.
-
- * tfm_output.c (tfm_convert_pl): free `cmd'.
-
-Thu May 14 22:20:14 1992 Karl Berry (karl@claude.cs.umb.edu)
-
- * tfm_util.c (tfm_set_fontsize): make non-static.
-
-Wed May 13 09:16:19 1992 Karl Berry (karl@hayley)
-
- * tfm_input.c (get_tfm_header): initialize the parameter count in
- global_info here.
- (get_tfm_params): not here.
-
-Tue Apr 21 07:45:29 1992 Karl Berry (karl@hayley)
-
- * tfm_input.c (tfm_get_global_info): use XTALLOC1.
-
-Sun Mar 29 19:02:25 1992 Karl Berry (karl at hayley)
-
- * tfm_input.c (get_tfm_params): forgot arg to printf.
-
-Sat Mar 28 07:49:38 1992 Karl Berry (karl at hayley)
-
- * Version 0.4.
-
- * Change copyright years to 1992 only.
-
-Sat Mar 21 10:59:51 1992 Kathy Hargreaves (kathy at hayley)
-
- * tfm_util.c (tfm_set_design_size): set design size unconditionally.
-
- * tfm_util.c (tfm_set_design_size): added.
-
- * tfm_util.c (tfm_set_header): deleted DEFAULT_DESIGN_SIZE.
-
- * tfm_util.c (tfm_set_fontsize): made extern.
-
- * tfm_util.c [TFM_CHECK_DESIGNSIZE]: changed name from
- CHECK_DESIGNSIZE.
-
- * tfm_util.c (tfm_set_font_parameter, tfm_set_fontsize): added.
- (tfm_set_fontdimens): use tfm_set_font_parameter.
-
-Thu Mar 19 13:24:14 1992 Kathy Hargreaves (kathy at hayley)
-
- * tfm_util.c (tfm_set_header): use CHECK_DESIGN_SIZE.
- Don't range of check default design size; expect it to be valid.
-
- * tfm_util.h [CHECK_DESIGN_SIZE]: added.
-
- * tfm_util.c (tfm_set_header): took `design_size' out of
- `designsize' else clause. Added DEFAULT_DESIGN_SIZE. If either
- variable is set, then arrange to set fontsize.
- Set tfm_info's design size to DEFAULT_DESIGN_SIZE if it's not
- set by the tfm-header design-size option.
-
- * tfm_util.c (set_fontsize): changed name from set_fontsize_if_unset.
- (tfm_set_header): if -design-size tfm-header option is used, set
- the font parameter count so will change the fontsize.
-
-Wed Mar 18 12:27:44 1992 Kathy Hargreaves (kathy at hayley)
-
- * tfm_util.c (tfm_set_ligature): added.
-
- * tfm_util.c (tfm_set_header): dox fix.
-
-Mon Mar 16 12:22:42 1992 Kathy Hargreaves (kathy at hayley)
-
- * tfm_util.c (tfm_set_header): set design size correctly.
-
- * tfm_util.c (set_fontsize_if_unset): added.
- (tfm_set_header, tfm_set_fontdimens): call set_fontsize_if_unset.
-
- * tfm_util.c (tfm_set_header): added.
-
-Thu Jan 9 11:22:04 1992 Karl Berry (karl at hayley)
-
- * *.c: do not include global.h.
-
-Wed Jan 8 15:25:17 1992 Karl Berry (karl at hayley)
-
- * update copyright messages.
-
- * change `allocate to `xmalloc', `reallocate' to `xrealloc', and
- `string_copy' to `strdup'.
-
-Tue Sep 17 16:54:26 1991 Karl Berry (karl at hayley)
-
- * tfm_input.c (tfm_get_bcpl_string): append a null to the data.
-
-Tue Jul 30 13:20:02 1991 Karl Berry (karl at ra.cs.umb.edu)
-
- * Version 0.3.
-
-Tue Jul 16 17:21:19 1991 Karl Berry (karl at hayley)
-
- * tfm_util.c (tfm_get_kern): move from tfm_input.c, and take a tfm
- char as an arg, instead of using the tfm_char_table from the font.
-
-Sun Jun 16 07:47:49 1991 Karl Berry (karl at hayley)
-
- * tfm_output.c (put_lig_kern_info): output a `stop' after each
- character, since it isn't implied by a `label'.
-
- * tfm_output.c (tfm_put_global_info): don't output a checksum
- property if the checksum is zero.
-
-Sat Jun 15 09:54:19 1991 Karl Berry (karl at hayley)
-
- * tfm_input.c (tfm_get_chars, tfm_get_char): set the `code' member
- of the TFM character structure.
-
- * tfm_output.c (put_pl_lig_kern_table): rename to
- `put_lig_kern_info' and rewrite to take a single character.
- (tfm_put_char): new routine to output only one character.
- (tfm_put_chars): call `tfm_put_char'.
-
- * all files: change `checked_' to `x'.
-
-Tue Jun 11 15:17:51 1991 Karl Berry (karl at hayley)
-
- * tfm_util.c (tfm_new_chars): use XTALLOC.
-
- * tfm_input.c (tfm_get_char): new routine.
-
- * tfm_input.c (tfm_get_kern): check if the character exists before
- looking at its kern list. Also, use LIST_... macros instead of
- doing direct selection. Also, use `charcode_type' instead of
- `one_byte'.
- * tfm_util.c (tfm_set_kern): likewise.
-
- * tfm_input.c (tfm_get_global_info, tfm_get_chars): don't save and
- restore the file position.
-
- * tfm_input.c (get_tfm_char): rename to `get_char'.
-
-Thu Jun 6 07:31:49 1991 Karl Berry (karl at hayley)
-
- * All files: change to version 2 of the GPL.
-
-Thu Apr 4 05:48:15 1991 Karl Berry (karl at hayley)
-
- * tfm_util.c (tfm_new_chars): call `tfm_new_char'.
-
- * tfm_output.c (put_pl_lig_kern_table): test different characters
- as we go through the loop! How did this one get past? Ohh, now
- I see -- I was incrementing the pointer.
-
- * tfm_output.c (put_pl_lig_kern_table): test >0 instead of !=0 on
- the (unsigned) count variables.
-
-Wed Apr 3 11:43:28 1991 Karl Berry (karl at hayley)
-
- * tfm_output.c (tfm_init_global_info): initialize the number of
- parameters to zero.
-
- * tfm_output.c (put_pl_lig_kern_table): don't output a lig/kern
- program for a character that doesn't exist -- either the left or
- the right.
-
-Tue Apr 2 06:48:27 1991 Karl Berry (karl at hayley)
-
- * tfm_util.c (tfm_set_fontdimens): assign zero to all the
- intervening fontdimens when we set the fontsize; reset the
- parameter count.
-
- * tfm_output.c (tfm_put_global_info): output the number of
- parameters we have, instead of trying to find the last nonzero
- one.
-
- * tfm_output.c (put_string_prop): don't output a space if there is
- no value to the string property.
-
-Sun Mar 10 13:12:51 1991 Karl Berry (karl at hayley)
-
- * tfm_input.c (get_tfm_params): save the number of parameters we
- read.
-
- * tfm_output.c (tfm_put_global_info): output as many parameters as
- we have, instead of just the first six.
- * tfm_input.c (get_tfm_params): likewise, for reading.
-
- * tfm_output.c (tfm_init_global_info): new routine.
-
-Sat Mar 9 17:23:42 1991 Karl Berry (karl at hayley)
-
- * tfm_util.c (tfm_set_fontdimens): new routine.
-
-Thu Mar 7 07:33:33 1991 Karl Berry (karl at hayley)
-
- * Version 0.2.
-
-Tue Mar 5 15:34:26 1991 Karl Berry (karl at hayley)
-
- * tfm_output.c (tfm_convert_pl): use output redirection instead of
- -v to make tftopl be quiet.
-
-Mon Feb 25 15:42:09 1991 Karl Berry (karl at hayley)
-
- * tfm_output.c (tfm_convert_pl): take a new parameter which says
- whether to operate silently.
-
- * tfm_output.c (INDENT_INCR): define as 2.
-
- * tfm_input.c (tfm_open_filename): give an error if the caller
- tries to open more than one file.
-
- * tfm_{input,output,util}.c: rename external routines to start with
- `tfm'; change error messages, etc.
-
-Sun Feb 17 09:51:50 1991 Karl Berry (karl at hayley)
-
- * *.c: include config.h.
-
-Sun Dec 9 15:08:57 1990 Karl Berry (karl at hayley)
-
- * tfm_input.c, tfm_output.c: doc fix.
-
-Sat Nov 17 12:54:02 1990 Karl Berry (karl at hayley)
-
- * tfm_input.c, tfm_output.c: include appropriate file-...h files.
-
-Thu Aug 30 16:29:51 1990 Karl Berry (karl at hayley)
-
- * tfm_input.c (tfm_get_byte, ...): pass the input filename, and
- rewrite as macros.
-
-Tue Jul 24 11:09:46 1990 Karl Berry (karl at hayley)
-
- * tfm_output.c: include filename.h.
-
-Fri Jul 13 16:48:56 1990 Karl Berry (karl at hayley)
-
- * tfm_input.c (get_tfm_chars): declare `this_char' as unsigned,
- not one_byte, since it might have to become 256.
-
-Wed Jul 4 08:39:28 1990 Karl Berry (karl at hayley)
-
- * tfm_output.c (put_tfm_chars): look at the `exists' member of the
- character structure, instead of checking for the width being zero.
-
-Wed Jun 20 07:32:49 1990 Karl Berry (karl at hayley)
-
- * tfm_input.c (tfm_cur_pos): rename to tfm_ftell, and use
- checked_ftell.
- (tfm_set_pos): rename to tfm_fseek.
-
-Fri Jun 1 15:36:38 1990 Karl Berry (karl at hayley)
-
- * tfm_input.c (close_tfm_input_file): use checked_fclose.
- * tfm_output.c (close_pl_output_file): likewise.
-
-Wed May 30 16:21:43 1990 Karl Berry (karl at hayley)
-
- * tfm_input.c (get_tfm_char): set the `exists' member of the
- character structure.
- * tfm_util.c (new_tfm_char): initialize the `exists' member.
-
-Thu Apr 12 14:58:24 1990 Karl Berry (karl at hayley)
-
- * tfm_input.c (get_interword_space): rename to
- `tfm_get_interword_space'.
-
-Mon Apr 9 12:10:26 1990 Karl Berry (karl at hayley)
-
- * (all files): upcase macro names.
-
-Sun Apr 8 11:42:53 1990 Karl Berry (karl at hayley)
-
- * tfm_input.c (get_tfm_global_info): if we've already read the
- global info, just return the structure, instead of reading it
- again.
-
-Fri Feb 23 08:43:02 1990 Karl Berry (karl at hayley)
-
- * tfm_input.c (get_tfm_char): remember the dimensions in their
- original fix_word units, as well as in points.
-
-Wed Feb 7 17:22:27 1990 Karl Berry (karl at hayley)
-
- * tfm_input.c (tfm_get_design_size): new routine.
- (tfm_get_coding_scheme): rename `get_coding_scheme'.
-
-Sun Jan 28 14:48:35 1990 Karl Berry (karl at hayley)
-
- * tfm_util.c (set_kern): move this routine from tfm_input.c.
-
- * tfm_output.c (change_pl_to_tfm): check that pl_output_filename
- is non-NULL.
-
-Fri Dec 22 17:33:30 1989 Karl Berry (karl at hayley)
-
- * tfm_input.c (tfm_get_x_height): new routine.
-
-Mon Oct 30 12:37:02 1989 Karl Berry (karl at hayley)
-
- * all files: add the copyleft.
-
- * tfm_util.c: define new_tfm_chars.
-
- * tfm_output.c (put_tfm_global_info): take a structure as input,
- not a pointer.
- (new_tfm_char): move to tfm_util.c.
-
-Sun Oct 29 08:13:05 1989 Karl Berry (karl at hayley)
-
- * tfm_output.c (put_pl_file): remove this, and add put_tfm_chars
- and put_tfm_global_info in its place.
+For historical purposes you can view ChangeLog.old.
diff --git a/tfm/GNUmakefile b/tfm/GNUmakefile
index 950a5fc..e5b392c 100644
--- a/tfm/GNUmakefile
+++ b/tfm/GNUmakefile
@@ -2,10 +2,10 @@
#
# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
#
-# This program is free software; you can redistribute it and/or modify
+# 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.
+# 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
@@ -13,9 +13,9 @@
# 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.
-#
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
library = tfm
c_only = tfm_char tfm_fontdim tfm_header tfm_input tfm_kern tfm_ligature \
diff --git a/tfm/fontdimen.c b/tfm/fontdimen.c
index 2e8f636..61067d3 100644
--- a/tfm/fontdimen.c
+++ b/tfm/fontdimen.c
@@ -1,20 +1,21 @@
-/* fontdimen.c: handle TFM fontdimens a.k.a. font parameters.
+# fontdimen.c: handle TFM fontdimens a.k.a. font parameters.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -66,7 +67,7 @@ static font_param_type font_param[] = {
{ "fontsize", TFM_FONTSIZE_PARAMETER },
{ "version", TFM_VERSION_PARAMETER },
};
-
+
/* Set the font parameter entries in TFM_INFO according to the string S.
If S is non-null and non-empty, it should look like
<fontdimen>:<real>,<fontdimen>:<real>,..., where each <fontdimen> is
@@ -129,7 +130,7 @@ tfm_set_fontdimens (string s, tfm_global_info_type *tfm_info)
assert (param_number <= TFM_FONT_PARAMETER_COUNT (*tfm_info));
}
}
-
+
/* Return zero if we do not recognize S as the name of a fontdimen, else
its corresponding number. We just do a linear search through the
structure, since it's so small. */
@@ -148,7 +149,7 @@ tfm_fontdimen_number (string s)
return param_number;
}
-
+
/* Set the PARAMETER-th font parameter of TFM_INFO to VALUE. If
PARAMETER is beyond the current last parameter of TFM_INFO, set
all the intervening parameters to zero. */
diff --git a/tfm/tfm_char.c b/tfm/tfm_char.c
index 5c0442d..413b096 100644
--- a/tfm/tfm_char.c
+++ b/tfm/tfm_char.c
@@ -1,20 +1,21 @@
-/* tfm_util.c: routines independent of reading or writing a particular font.
+# tfm_util.c: routines independent of reading or writing a particular font.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/tfm/tfm_fontdim.c b/tfm/tfm_fontdim.c
index 36c385d..3837357 100644
--- a/tfm/tfm_fontdim.c
+++ b/tfm/tfm_fontdim.c
@@ -1,20 +1,21 @@
-/* fontdimen.c: handle TFM fontdimens a.k.a. font parameters.
+# fontdimen.c: handle TFM fontdimens a.k.a. font parameters.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -70,7 +71,7 @@ static fontdimen_type fontdimen[] = {
/* How many entries we have in the `fontdimen' array. */
static unsigned fontdimen_array_size
= sizeof (fontdimen) / sizeof (fontdimen_type);
-
+
/* Set the font parameter entries in TFM_INFO according to the string S.
If S is non-null and non-empty, it should look like
<fontdimen>:<real>,<fontdimen>:<real>,..., where each <fontdimen> is
@@ -124,7 +125,7 @@ tfm_set_fontdimens (string s, tfm_global_info_type *tfm_info)
tfm_set_fontdimen (tfm_info, param_number, value);
}
}
-
+
/* Return zero if we do not recognize S as the name of a fontdimen, else
its corresponding number. We just do a linear search through the
structure, since it's so small. */
@@ -159,7 +160,7 @@ tfm_fontdimen_name (unsigned n)
return name;
}
-
+
/* Set the PARAMETER-th font parameter of TFM_INFO to VALUE. If
PARAMETER is beyond the current last parameter of TFM_INFO, set
all the intervening parameters to zero. */
diff --git a/tfm/tfm_header.c b/tfm/tfm_header.c
index ed6dc47..df8c2d6 100644
--- a/tfm/tfm_header.c
+++ b/tfm/tfm_header.c
@@ -1,20 +1,21 @@
-/* tfm_header.c: deal with the TFM header bytes.
+# tfm_header.c: deal with the TFM header bytes.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -80,7 +81,7 @@ truncated to %d", value_string, length, TFM_MAX_CODINGSCHEME_LENGTH);
}
}
}
-
+
/* Set the design and font size of TFM_INFO to DESIGN_SIZE. */
void
diff --git a/tfm/tfm_input.c b/tfm/tfm_input.c
index 8108853..ce4e9ac 100644
--- a/tfm/tfm_input.c
+++ b/tfm/tfm_input.c
@@ -1,20 +1,21 @@
-/* tfm_input.c: read a TFM file.
+# tfm_input.c: read a TFM file.
+#
+# Copyright (C) 1992, 2004, 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/>.
+#
-Copyright (C) 1992, 2004, 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. */
#include "config.h"
@@ -74,7 +75,7 @@ static void get_lig_kern_program (list_type *, list_type *);
static real tfm_get_scaled_fix (void);
static void get_tfm_header (void);
static void get_tfm_params (void);
-
+
/* Routines to start and finish reading a file. (For the user to call.) */
boolean
@@ -115,7 +116,7 @@ tfm_input_filename ()
return tfm_input_name;
}
-
+
/* Some of the global information comes from the beginning of the file,
and some from the end. If we've already read the information from
the file, we don't do it again. */
@@ -287,7 +288,7 @@ get_tfm_params ()
TFM_FONTDIMEN (*global_info, this_param));
}
}
-
+
/* Read every character in the TFM file, storing the result in the
static `tfm_char_table'. We return a copy of that variable. */
@@ -417,7 +418,7 @@ get_char ()
/* We don't handle the other tags. */
return tfm_char;
}
-
+
/* Read a ligature/kern program at the current position, storing the
result into *LIGATURE and *KERN. We don't distinguish all the kinds
of ligatures that Metafont can output. */
@@ -475,7 +476,7 @@ get_lig_kern_program (list_type *ligature, list_type *kern)
}
} while (!end_of_program);
}
-
+
/* Most quantities are fixed-point fractions. */
static real
diff --git a/tfm/tfm_kern.c b/tfm/tfm_kern.c
index c693b4b..3de2ac0 100644
--- a/tfm/tfm_kern.c
+++ b/tfm/tfm_kern.c
@@ -1,20 +1,21 @@
-/* tfm_kern.c: deal with TFM kern lists.
+# tfm_kern.c: deal with TFM kern lists.
+#
+# 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/>.
+#
-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. */
#include "config.h"
@@ -48,7 +49,7 @@ tfm_set_kern (list_type *kern_table, charcode_type right, real k)
new_kern->character = right;
new_kern->kern = k;
}
-
+
/* Find the kern between the characters LEFT and RIGHT. (Return zero if
none such.) */
diff --git a/tfm/tfm_ligature.c b/tfm/tfm_ligature.c
index ff3533e..d6a0014 100644
--- a/tfm/tfm_ligature.c
+++ b/tfm/tfm_ligature.c
@@ -1,20 +1,21 @@
-/* tfm_ligature.c: deal with TFM ligature lists.
+# tfm_ligature.c: deal with TFM ligature lists.
+#
+# 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/>.
+#
-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. */
#include "config.h"
diff --git a/tfm/tfm_output.c b/tfm/tfm_output.c
index 0fa3eb1..b8e5b17 100644
--- a/tfm/tfm_output.c
+++ b/tfm/tfm_output.c
@@ -1,23 +1,25 @@
-/* tfm_output.c: write property list files (a human-readable equivalent
- of TFM files), and convert them to TFM format. PL format is
- described in the source code to the TeX utility PLtoTF, by Donald
- Knuth.
-
-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. */
+# tfm_output.c: write property list files
+#
+# 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/>.
+#
+
+# (a human-readable equivalent
+# of TFM files), and convert them to TFM format. PL format is
+# described in the source code to the TeX utility PLtoTF, by Donald
+# Knuth.
#include "config.h"
#include "concatn.h"
@@ -53,7 +55,7 @@ static void put_indentation (void);
static void put_lig_prop (tfm_ligature_type *);
static void put_kern_prop (tfm_kern_type *);
-
+
/* Routines to start and finish reading a file. (For the user to call.) */
boolean
@@ -118,7 +120,7 @@ tfm_convert_pl (string tfm_name, boolean verbose)
if (verbose && status != 0)
printf ("Exit status = %d.\n", status);
}
-
+
/* Return an initialized structure. */
tfm_global_info_type
@@ -220,7 +222,7 @@ tfm_put_char (tfm_char_type c)
put_lig_kern_info (c);
}
-
+
/* Output any ligature/kern information in the tfm character C. */
static void
@@ -268,7 +270,7 @@ put_lig_kern_info (tfm_char_type c)
finish_prop_list ();
}
}
-
+
/* It makes the output more readable to make the property lists
indented. */