Thu Jan 12 11:35:00 2012 Adam M. Dutko (adutko@member.fsf.org) * Include fdl.texi. * Revise documentation to align better with GNU Hello. * Adjust date of last commit. It's 2012, not 2011. :-) Tue Jan 3 10:15:00 2012 Adam M. Dutko (adutko@member.fsf.org) * Removed @include copying.texi from fontu.texi * Verified pdf of document builds with texi2pdf -c -p fontu.texi Thu Mar 3 19:49:38 2011 Adam M. Dutko (dutko.adam@gmail.com) * Changelog.old: Rename from Changelog.new * Fix stupid comment error on every file. * fontconvert/output-epsf.h: Change GPL to version 3 and add year. * imageto/image-char.h: Change GPL to version 3 and add year. * lib/xchdir.c: Change GPL to version 3 and add year. * lib/xfopen.c: Change GPL to version 3 and add year. * lib/xfseek.c: Change GPL to version 3 and add year. * lib/xftell.c: Change GPL to version 3 and add year. * lib/xgetcwd.c: Change GPL to version 3 and add year. * lib/xmalloc.c: Change GPL to version 3 and add year. 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. * GNUmakefile.in: Change GPL to version 3 and add year. * charspace/GNUmakefile: Change GPL to version 3 and add year. * charspace/char.c: Change GPL to version 3 and add year. * charspace/char.h: Change GPL to version 3 and add year. * charspace/cmi.h: Change GPL to version 3 and add year. * charspace/cmi.y: Change GPL to version 3 and add year. * charspace/input-cmi.c: Change GPL to version 3 and add year. * charspace/input-cmi.h: Change GPL to version 3 and add year. * charspace/kern.c: Change GPL to version 3 and add year. * charspace/kern.h: Change GPL to version 3 and add year. * charspace/main.c: Change GPL to version 3 and add year. * charspace/main.h: Change GPL to version 3 and add year. * charspace/old-output.c: Change GPL to version 3 and add year. * charspace/output.c: Change GPL to version 3 and add year. * charspace/output.h: Change GPL to version 3 and add year. * charspace/realstrval.h: Change GPL to version 3 and add year. * charspace/symtab.c: Change GPL to version 3 and add year. * charspace/symtab.h: Change GPL to version 3 and add year. * charspace/version.c: Add GPL version 3 and add year. * data/defs.make: Change GPL to version 3 and add year. * data/defsprog.make: Change GPL to version 3 and add year. * doc/bpltobzr.texi: Add year to copyright. * doc/bugs.texi: Add year to copyright. * doc/bzredit.texi: Add year to copyright. * doc/bzrto.texi: Add year to copyright. * doc/charspace.texi: Add year to copyright. * doc/enhance.texi: Add year to copyright. * doc/filefmts.texi: Add year to copyright. * doc/fontcvt.texi: Add year to copyright. * doc/gsrenderf.texi: Add year to copyright. * doc/imageto.texi: Add year to copyright. * doc/imgrotate.texi: Add year to copyright. * doc/index.texi: Add year to copyright. * doc/install.texi: Add year to copyright. * doc/intro.texi: Add year to copyright. * doc/limn.texi: Add year to copyright. * doc/Makefile: Add GPL version 3 and add year. * doc/Makefile.in: Add GPL version 3 and add year. * doc/overview.texi: Add year to copyright. * doc/xbfe.texi: Add year to copyright. * fontconvert/GNUmakefile: Change GPL to version 3 and add year. * fontconvert/filter.c: Change GPL to version 3 and add year. * fontconvert/filter.h: Change GPL to version 3 and add year. * fontconvert/main.c: Change GPL to version 3 and add year. * fontconvert/main.h: Change GPL to version 3 and add year. * fontconvert/output-epsf.c: Change GPL to version 3 and add year. * fontconvert/output-gf.c: Change GPL to version 3 and add year. * fontconvert/output-gf.h: Change GPL to version 3 and add year. * fontconvert/output-tfm.c: Change GPL to version 3 and add year. * fontconvert/output-tfm.h: Change GPL to version 3 and add year. * fontconvert/random.c: Change GPL to version 3 and add year. * fontconvert/random.h: Change GPL to version 3 and add year. * fontconvert/version.c: Add GPL version 3 and add year. * gf/GNUmakefile: Change GPL to version 3 and add year. * gf/gf_input.c: Change GPL to version 3 and add year. * gf/gf_opcodes.h: Change GPL to version 3 and add year. * gf/gf_output.c: Change GPL to version 3 and add year. * imageto/GNUmakefile: Change GPL to version 3 and add year. * imageto/bitmap2.c: Change GPL to version 3 and add year. * imageto/bitmap2.h: Change GPL to version 3 and add year. * imageto/extract.c: Change GPL to version 3 and add year. * imageto/extract.h: Change GPL to version 3 and add year. * imageto/ifi.h: Change GPL to version 3 and add year. * imageto/ifi.c: Add GPL version 3 and add year. * imageto/image-char.c: Change GPL to version 3 and add year. * imageto/image-char.h: Change GPL to version 3 and add year. * imageto/image-header.h: Change GPL to version 3 and add year. * imageto/input-img.c: Change GPL to version 3 and add year. * imageto/input-img.h: Change GPL to version 3 and add year. * imageto/input-pbm.c: Fix malformed license and update. * imageto/input-pbm.h: Change GPL to version 3 and add year. * imageto/main.c: Change GPL to version 3 and add year. * imageto/main.h: Change GPL to version 3 and add year. * imageto/out-chars.c: Change GPL to version 3 and add year. * imageto/out-chars.h: Change GPL to version 3 and add year. * imageto/out-epsf.c: Change GPL to version 3 and add year. * imageto/out-epsf.h: Change GPL to version 3 and add year. * imageto/out-strips.c: Change GPL to version 3 and add year. * imageto/out-strips.h: Change GPL to version 3 and add year. * imageto/version.c: Add GPL version 3 and add year. * include/bb-list.h: Change GPL to version 3 and add year. * include/bb-outline.h: Change GPL to version 3 and add year. * include/bitmap.h: Change GPL to version 3 and add year. * include/Bitmap.h: Change GPL to version 3 and add year. * include/bounding-box.h: Change GPL to version 3 and add year. * include/bzr.h: Change GPL to version 3 and add year. * include/bzr.h: Change GPL to version 3 and add year. * include/c-ctype.h: Change GPL to version 3 and add year. * include/c-dir.h: Change GPL to version 3 and add year. * include/c-errno.h: Change GPL to version 3 and add year. * include/c-fopen.h: Change GPL to version 3 and add year. * include/charspec.h: Change GPL to version 3 and add year. * include/c-limits.h: Change GPL to version 3 and add year. * include/concatn.h: Change GPL to version 3 and add year. * include/config.h: Change GPL to version 3 and add year. * include/c-pathch.h: Change GPL to version 3 and add year. * include/c-pathmx.h: Change GPL to version 3 and add year. * include/c-proto.h: Change GPL to version 3 and add year. * include/c-stat.h: Change GPL to version 3 and add year. * include/c-std.h: Change GPL to version 3 and add year. * include/c-time.h: Change GPL to version 3 and add year. * include/c-unistd.h: Change GPL to version 3 and add year. * include/c-vararg.h: Change GPL to version 3 and add year. * include/dirio.h: Change GPL to version 3 and add year. * include/edge.h: Change GPL to version 3 and add year. * include/encoding.h: Change GPL to version 3 and add year. * include/file-input.h: Change GPL to version 3 and add year. * include/filename.h: Change GPL to version 3 and add year. * include/file-output.h: Change GPL to version 3 and add year. * include/fix-num.h: Change GPL to version 3 and add year. * include/font.h: Change GPL to version 3 and add year. * include/fontmap.h: Change GPL to version 3 and add year. * include/gf.h: Change GPL to version 3 and add year. * include/global.h: Change GPL to version 3 and add year. * include/hash.h: Change GPL to version 3 and add year. * include/hexify.h: Change GPL to version 3 and add year. * include/identity.h: Change GPL to version 3 and add year. * include/Item.h: Change GPL to version 3 and add year. * include/kpathsea-config.h: Change GPL to version 3 and add year. * include/libfile.h: Change GPL to version 3 and add year. * include/lib.h: Change GPL to version 3 and add year. * include/line.h: Change GPL to version 3 and add year. * include/list.h: Change GPL to version 3 and add year. * include/logreport.h: Change GPL to version 3 and add year. * include/moretypes.h: Change GPL to version 3 and add year. * include/paths.h: Change GPL to version 3 and add year. * include/pathsrch.h: Change GPL to version 3 and add year. * include/pbm.h: Add GPL version 3 and add year. * include/pbmplus.h: Add GPL version 3 and add year. * include/pk.h: Change GPL to version 3 and add year. * include/progname.h: Change GPL to version 3 and add year. * include/rand.h: Change GPL to version 3 and add year. * include/report.h: Change GPL to version 3 and add year. * include/scaled-num.h: Change GPL to version 3 and add year. * include/spline.h: Change GPL to version 3 and add year. * include/statistics.h: Change GPL to version 3 and add year. * include/str-lcase.h: Change GPL to version 3 and add year. * include/str-list.h: Change GPL to version 3 and add year. * include/systypes.h: Change GPL to version 3 and add year. * include/tex-file.h: Change GPL to version 3 and add year. * include/tfm.h: Change GPL to version 3 and add year. * include/types.h: Change GPL to version 3 and add year. * include/varstring.h: Change GPL to version 3 and add year. * include/vector.h: Change GPL to version 3 and add year. * include/xmessage.h: Change GPL to version 3 and add year. * include/xt-common.h: Change GPL to version 3 and add year. * lib/GNUmakefile: Change GPL to version 3 and add year. * lib/atou.c: Change GPL to version 3 and add year. * lib/bb-list.c: Change GPL to version 3 and add year. * lib/bb-outline.c: Change GPL to version 3 and add year. * lib/bitmap.c: Change GPL to version 3 and add year. * lib/bounding-box.c: Change GPL to version 3 and add year. * lib/charcode.c: Change GPL to version 3 and add year. * lib/charspec.c: Change GPL to version 3 and add year. * lib/cmdline.c: Change GPL to version 3 and add year. * lib/concat3.c: Change GPL to version 3 and add year. * lib/concat4.c: Change GPL to version 3 and add year. * lib/concat5.c: Change GPL to version 3 and add year. * lib/concat.c: Change GPL to version 3 and add year. * lib/concatn.c: Change GPL to version 3 and add year. * lib/dir.c: Change GPL to version 3 and add year. * lib/dlsym.c: Change GPL to version 3 and add year. * lib/edge.c: Change GPL to version 3 and add year. * lib/encoding.c: Change GPL to version 3 and add year. * lib/extend-fname.c: Change GPL to version 3 and add year. * lib/file-input.c: Change GPL to version 3 and add year. * lib/filename.c: Change GPL to version 3 and add year. * lib/file-output.c: Change GPL to version 3 and add year. * lib/find-suffix.c: Change GPL to version 3 and add year. * lib/fix-num.c: Change GPL to version 3 and add year. * lib/float-ok.c: Change GPL to version 3 and add year. * lib/font.c: Change GPL to version 3 and add year. * lib/fontmap.c: Change GPL to version 3 and add year. * lib/hash.c: Change GPL to version 3 and add year. * lib/hexify.c: Change GPL to version 3 and add year. * lib/identity.c: Change GPL to version 3 and add year. * lib/integer-ok.c: Change GPL to version 3 and add year. * lib/libfile.c: Change GPL to version 3 and add year. * lib/line.c: Change GPL to version 3 and add year. * lib/list.c: Change GPL to version 3 and add year. * lib/logreport.c: Change GPL to version 3 and add year. * lib/make-prefix.c: Change GPL to version 3 and add year. * lib/make-suffix.c: Change GPL to version 3 and add year. * lib/math.c: Change GPL to version 3 and add year. * lib/now.c: Change GPL to version 3 and add year. * lib/numtoa.c: Change GPL to version 3 and add year. * lib/pathsrch.c: Change GPL to version 3 and add year. * lib/progname.c: Change GPL to version 3 and add year. * lib/randc.c: Change GPL to version 3 and add year. * lib/report.c: Change GPL to version 3 and add year. * lib/rm-suffix.c: Change GPL to version 3 and add year. * lib/safe-free.c: Change GPL to version 3 and add year. * lib/scaled-num.c: Change GPL to version 3 and add year. * lib/spline.c: Change GPL to version 3 and add year. * lib/statistics.c: Change GPL to version 3 and add year. * lib/str-lcase.c: Change GPL to version 3 and add year. * lib/str-list.c: Change GPL to version 3 and add year. * lib/strstr.c: Change GPL to version 3 and add year. * lib/str-to-bit.c: Change GPL to version 3 and add year. * lib/substring.c: Change GPL to version 3 and add year. * lib/varstring.c: Change GPL to version 3 and add year. * lib/vector.c: Change GPL to version 3 and add year. * lib/xcalloc.c: Change GPL to version 3 and add year. * lib/xchdir.c: Change GPL to version 3 and add year. * lib/xfopen.c: Change GPL to version 3 and add year. * lib/xfseek.c: Change GPL to version 3 and add year. * lib/xftell.c: Change GPL to version 3 and add year. * lib/xgetcwd.c: Change GPL to version 3 and add year. * lib/xmalloc.c: Change GPL to version 3 and add year. * lib/xmessage.c: Change GPL to version 3 and add year. * lib/xopendir.c: Change GPL to version 3 and add year. * lib/xrealloc.c: Change GPL to version 3 and add year. * lib/xrename.c: Change GPL to version 3 and add year. * lib/xstrdup.c: Change GPL to version 3 and add year. * pbm/GNUmakefile: Change GPL to version 3 and add year. * pbm/libpbm1.c: Adjust license to GPL 3 and add year. * pbm/libpbm2.c: Adjust license to GPL 3 and add year. * pbm/libpbm4.c: Adjust license to GPL 3 and add year. * pbm/libpbm.h: Add GPL 3 and add year. * pbm/pbmascii.c: Add GPL 3 and add year. * pk/GNUmakefile: Change GPL to version 3 and add year. * pk/pk_input.c: Change GPL to version 3 and add year. * pk/pk_opcodes.h: Change GPL to version 3 and add year. * tfm/GNUmakefile: Change GPL to version 3 and add year. * tfm/fontdimen.c: Change GPL to version 3 and add year. * tfm/tfm_char.c: Change GPL to version 3 and add year. * tfm/tfm_fontdim.c: Change GPL to version 3 and add year. * tfm/tfm_header.c: Change GPL to version 3 and add year. * tfm/tfm_input.c: Change GPL to version 3 and add year. * tfm/tfm_kern.c: Change GPL to version 3 and add year. * tfm/tfm_ligature.c: Change GPL to version 3 and add year. * tfm/tfm_output.c: Change GPL to version 3 and add year. Tue Jan 18 18:30:00 2011 Adam M. Dutko (dutko.adam@gmail.com) * charspace/ChangeLog: Added note about ChangeLog.old * data/ChangeLog.old: Added data ChangeLog to root ChangeLog. * data/ChangeLog: Added deprecation notice of ChangeLog. * doc/ChangeLog.old: Added doc ChangeLog to root ChangeLog. * doc/ChangeLog: Added deprecation notice of ChangeLog. Thu Jan 13 21:30:00 2011 Adam M. Dutko (dutko.adam@gmail.com) * ChangeLog: Corrected day on previous commit. * ChangeLog: Created unified changelog with root and charspace logs. Thu Jan 13 19:51:00 2011 Adam M. Dutko (dutko.adam@gmail.com) * BUILD: Adding build notes for GCC 4.5.2. Thu Jun 24 xx:xx:xx 2004 Karl Berry * doc/*.texi: remove node pointers. * doc/freedom.texi: old info, remove (sadly). * doc/fontu.texi: remove @include of freedom. Mon Apr 8 09:25:30 1996 Kathy Hargreaves * imageto/out-chars.c: doc fix. Mon Apr 8 08:32:57 1996 Kathy Hargreaves * doc/overview.texi: added direction to CCC arrow. Sat Apr 6 07:42:05 1996 Kathy Hargreaves * data/itcdingbat.enc: no longer have to accommodate Adobe symbols 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 * 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 * doc/overview.texi: added TFM output line from fontconvert to imageto. Added directions to arrows for GF<->fontconvert and CMI->fontconvert. Fri Dec 29 07:21:58 1995 Kathy Hargreaves * data/defs.make (CPPFLAGS): -I$(srcdir)/../include, not -I../$(srcdir)/include. Tue Dec 26 10:16:08 1995 Kathy Hargreaves * lib/identity.c (get_identity): Added. Tue Dec 26 10:15:54 1995 Kathy Hargreaves * include/identity.h (get_identity): Added. Sat Dec 9 08:05:30 1995 Kathy Hargreaves * doc/fontcvt.texi (Character manipulation options): filtering eliminates small features, such as serifs (not features). Sat Dec 9 07:21:29 1995 Kathy Hargreaves * imageto/out-chars.c: (do_image_line): doc fix. Wed Dec 6 08:28:15 1995 Kathy Hargreaves * imageto/out-chars.c: (output_chars): doc fix. Tue Dec 5 09:40:23 1995 Kathy Hargreaves * imageto/out-chars.c: doc fix. Mon Dec 4 07:40:24 1995 Kathy Hargreaves * 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 * imageto/out-chars.c: (do_image_line): doc fix. Thu Nov 30 09:03:47 1995 Kathy Hargreaves * imageto/out-chars.c: (output_chars): doc fix. Tue Nov 28 09:47:19 1995 Kathy Hargreaves * 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 * 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 * include/bitmap.h: (BITMAP_INTERIOR_PIXEL): added to comment. Fri Nov 24 07:03:53 1995 Kathy Hargreaves * main.c: call kpse_set_progname(argv[0]). Fri Nov 24 05:48:20 1995 Kathy Hargreaves * 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 * lib/font.c: (get_font): replaced find_tfm_filename with kpse_find_tfm. Thu Nov 23 09:06:06 1995 Kathy Hargreaves * charspace/main.c: replaced find_tfm_filename with kpse_find_tfm. Thu Nov 23 08:36:07 1995 Kathy Hargreaves * 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 * 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 * 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 * 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 * data/itcdingbat.enc: added this. * data/encoding.map: added itcdingbat -> ITC Zapf Dingbats. Mon Oct 16 06:11:45 1995 Kathy Hargreaves * 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 * 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 * 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 * 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 * include/xt-common.h: Add FOIL_X_WCHAR_T. Sun Oct 8 07:53:33 1995 Karl Berry * data/defs.make (kpathsea): Prepend lib to the name. Thu Aug 24 16:00:46 1995 Karl Berry * lib/GNUmakefile (c_only): strstr is now in kpathsea. Sun Aug 13 18:01:11 1995 Karl Berry * imageto/main.c: Call kpse_set_progname. Sat May 27 13:52:42 1995 Karl Berry * include/global.h (atou): Now in kpathsea. Sat May 27 13:52:19 1995 Karl Berry * lib/GNUmakefile (c_only): atou is in kpathsea. Fri Apr 14 15:56:43 1995 Karl Berry * lib/GNUmakefile (c_only): Remove xfseek and xftell. Mon Oct 24 19:08:52 1994 Karl Berry * include/global.h (basename): Now in kpathsea. Mon Oct 24 19:04:34 1994 Karl Berry * 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 `'. 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 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 (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 AC_GCC_TRADITIONAL. Sun May 23 09:08:22 1993 Karl Berry (karl@cs.umb.edu) * data/common.cmi (kern fk): Make relative to designsize. (kern AV): Added. (extraspace): Make half of shrink. * data/gnulatin.enc (exclam, question): Add ligatures with ` leading to ...down. 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. 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. Sun Apr 11 14:59:50 1993 Karl Berry (karl@cs.umb.edu) * GNUmakefile.in (dist): Copy info files to the local info directory. 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. * aclocal.m4: New version, see web2c ChangeLog. 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. Wed Feb 17 06:31:03 1993 Karl Berry (karl@cs.umb.edu) * doc/Makefile.in (INSTALL): Use tr instead of grep to remove the Info control characters. 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 much confusion when make tries to remake it. Fri Jan 1 13:57:15 1993 Karl Berry (karl@cs.umb.edu) * configure.in: Changes for new Autoconf. Sun Dec 13 16:39:23 1992 Karl Berry (karl@cs.umb.edu) * GNUmakefile.in (default_tfm_path): Use $(texdatadir). Sat Dec 12 13:06:47 1992 Karl Berry (karl@cs.umb.edu) * 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) * charspace/symtab.c (symval_as_string): `dtoa' is now `xdtoa'. * charspace/cmi.y: Change ctype references to use uppercase macros. Thu Dec 10 10:34:30 1992 Karl Berry (karl@cs.umb.edu) * GNUmakefile.in (GNUmakefile): Add $(srcdir) to dependency, and 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. 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. Thu Oct 29 06:39:04 1992 Karl Berry (karl@cs.umb.edu) * doc/Makefile.in (distfiles): Add ChangeLog. Wed Oct 28 15:10:12 1992 Karl Berry (karl@claude.cs.umb.edu) * data: Version 0.6. * data/defsprog.make (install): Make second arg a file, not a dir. Wed Oct 28 15:09:29 1992 Karl Berry (karl@claude.cs.umb.edu) * Version 0.6. * 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. 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. * doc/Makefile.in (.NOEXPORT): Add this. * doc/Makefile.in (distfiles): Do Makefile.in, not Makefile. Sun Oct 25 15:29:19 1992 Karl Berry (karl@cs.umb.edu) * GNUmakefile.in (realclean): Depend on distclean. * 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.) * doc/bugs.texi: Add more info about criteria and philosophy, 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 (even though we can't use the image they go with for legal reasons). Sun Oct 4 11:22:45 1992 Karl Berry (karl@cs.umb.edu) * GNUmakefile.in (examplefiles): Remove; just make links. (dist): Don't copy them. 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. * GNUmakefile.in (realclean): OK, don't remove configure. 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. (distclean): remove GNUmakefile. (config.status): new target. (GNUmakefile): depend on config.status. Sun Sep 13 10:33:41 1992 Karl Berry (karl@hayley) * doc/fontu.texi: the FSF should approve permissions, not me. Sat Sep 12 16:14:39 1992 Karl Berry (karl@hayley) * doc/Makefile (dist): use $(MAKE). Sat Sep 12 14:53:31 1992 Karl Berry (karl@hayley) * GNUmakefile.in (dist): replace remaining occurrences of `fontutils-$(version) with `$(top_distdir)'. Thu Sep 10 08:57:02 1992 Karl Berry (karl@hayley) * GNUmakefile.in (dist): changed where the COPYING* files are kept. * GNUmakefile.in (xincludedir, xlibdir): say that these are options, not just directories. * GNUmakefile.in (realclean): remove configure. Tue Sep 8 17:41:02 1992 Karl Berry (karl@hayley) * doc/Makefile (clean): remove dvi files etc. here. (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. Fri Sep 4 08:41:16 1992 Karl Berry (karl@hayley) * doc/Makefile (extraclean): new target. 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. Thu Sep 3 09:29:53 1992 Karl Berry (karl@hayley) * data: Version 0.5. Thu Sep 3 09:29:46 1992 Karl Berry (karl@hayley) * charspace: Version 0.5. Thu Sep 3 08:54:12 1992 Karl Berry (karl@hayley) * Version 0.5. * GNUmakefile.in (distargs): pass $(version) down. Wed Sep 2 16:03:00 1992 Karl Berry (karl@hayley) * data/defsprog.make (TAGS): make unconditional, instead of depending 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. 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 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. (install): mkdir them. (installargs): pass emacslispdir down. Fri Jul 31 17:02:22 1992 Karl Berry (karl@hayley) * GNUmakefile.in (dist): include our aclocal.m4. * GNUmakefile.in (LIBS): include $(extralibs) for the user to define. Tue Jul 28 14:49:36 1992 Karl Berry (karl@hayley) * data/encoding.map (dvips): maps to afm2tfm's `TeX text + adobestdenc.. .'. 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 `..'. Sun Jul 19 08:32:13 1992 Karl Berry (karl@hayley) * charspace/char.c (update_width): char-width now gives the lsb as a 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'. Tue Jul 14 16:41:54 1992 Karl Berry (karl@hayley) * charspace/output.c: doc fix. * charspace/cmi.y (char_width): new rule for the char-width cmd. * charspace/realstrval.h (symval_tag_type): new value `symval_char_width'. * charspace/char.c (update_via_name): handle this case. (update_width, update_metrics): new routines. (update_sidebearings): call update_metrics. 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, 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. (.c.o): use it. Thu Jul 2 15:26:14 1992 Karl Berry (karl@hayley) * GNUmakefile.in (makeargs): pass srcdir and CFLAGS. (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. (CCFLAGS): rename from CFLAGS. Mon Jun 29 08:58:37 1992 Karl Berry (karl@hayley) * GNUmakefile.in (paths.h): delete it before creating it. Also, new target `GNUmakefile'. (fu_datadir): new variable for the subdirectory in $(datadir) which we create. (install): mkdir all the directories we install into. (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' instead of 'bitmap_char'. Argh. * charspace/output.c (write_tfm): check chars between 'starting_char' and 'ending_char', *inclusive*. * charspace/cmi.y (yylex): `-' can start a numeric constant. * charspace/char.c (do_char): do the reporting of the charcodes (as we process them) here. * charspace/main.c (main): not here. * charspace/char.h (do_char): void now, not boolean. * charspace/symtab.c (symval_as_string): new routine. * charspace/symtab.h (symval_as_string): declare it. * charspace/char.c (resolve_sidebearing): complain if the sb defn can't be resolved. * charspace/main.c (main): the symbol table value of 'designsize' should be in pixels, not points. * charspace/output.c (update_tfm_info_from_symtab, find_tfm_info, write_gf): convert back to points. * charspace/char.c (get_designsize_in_points): new routine. (update_sidebearings): convert back here, too. * charspace/char.h: declare it. * charspace/main.c (read_encoding_info): use an existing TFM file as a last resort to guess the codingscheme. * charspace/output.c (find_tfm_info): guess the x-height; implies passing in 'chars' now, sigh. (xheight_char): new global. * charspace/output.h (xheight_char): declare it. * charspace/main.c (read_command_line): new option '-xheight-char'. (USAGE): document it. * charspace/symtab.c, output.c, main.c: remove all the logging junk; include report.h instead of logreport.h. * charspace/output.c (find_tfm_info): call 'tfm_set_fontsize'. * charspace/cmi.y (char): reversed sense of condition for preserving 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 value. * charspace/cmi.y (yylex): keep track of line numbers. (lineno): new static. (yyerror): print the filename and line number. * charspace/output.c (update_tfm_info_from_symtab): don't call symtab_lookup with a possible NULL name. * charspace/cmi.y (token_number): if have a normal identifier, save its name in yylval. * charspace/input-cmi.c (read_cmi_file): call `libfile_start'. * charspace/all files: misc. changes for compilation. * charspace/symtab.c (symtab_lookup, symtab_lookup_real): finally get around to defining these. * 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. * charspace/main.c: from here. * charspace/char.h: declare it. 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 it automatically any more. Wed Jun 10 08:27:07 1992 Karl Berry (karl@hayley) * charspace/input-cmi.[ch]: new files extracted from main.c. * 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. * charspace/symtab.c (symtab_resolve, resolve_string): new routines to chase names and do multiplications after the CMI stuff has all been read. * charspace/realstrval.h: new file to declare the common parts to the char and symbal structures. * charspace/GNUmakefile (c_and_h): add 'kern'. * charspace/kern.[ch]: new files. * charspace/symtab.c: call 'char_set_kern'. 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. * charspace/GNUmakefile (y): define to be `cmi'. (c_and_h): remove `cmi'. * charspace/main.c (read_cmi_file): move here, and call yyparse. (main): define `designsize' in the symbol table. Sun Jun 7 19:35:15 1992 Karl Berry (karl@hayley) * charspace/GNUmakefile (c_and_h): delete `perctab'. * charspace/perctab.[ch]: don't need these anymore. * charspace/symtab.[ch]: generalize to include the percentages. * charspace/main.c (read_command_line): not a fatal error if -encoding was not specified. * charspace/sbi.[ch]: change to cmi.[ch]. * 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 . 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)'. (From Paul Eggert) 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 existing TFM. * charspace/output.c (write_files): report the output filenames. * charspace/symtab.c (new_symbol): call xstrdup on the key. * 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): rename to `warn_p'. * charspace/main.c (do_char): keep a local var instead of doing a bunch of returns. * charspace/char.c (get_kern{_character,}_element: take an unsigned for `index', instead of an int. * charspace/char.h: change decls. * charspace/char.c (init_char): return a new character, instead of changing an allocated one. * charspace/char.h (init_char): change decl correspondingly. * charspace/main.c (main): do not initialize the array at the beginning; make it a static array of pointers instead. * charspace/{sbi,output}.h: change decl of `chars'. * charspace/output.c (find_widths, output_font): same. * charspace/sbi.c (read_sbi_file): same. * charspace/main.c (read_sbi_file_list): use * instead of indexing to go through the sbi file list. * charspace/main.c (main): open the log file in current directory. * charspace/sbi.c (WORD_MAX): remove, as it's unused. * charspace/main.h: remove unneeded externs. * charspace/main.h (DEBUG*): remove these macros. * charspace/main.c (debug) [DEBUG]: remove. * charspace/{perctab,sbi,symtab}.c: change DEBUG calls to LOG. * charspace/main.c (alphabet_sbi_name): remove, since there's no need for an option anyway. Is there? * charspace/main.c (encoding_name): make static. * charspace/sbi.c (input_name): remove this global, as it's no longer used. * charspace/sbi.h: remove decl. * charspace/main.c (main): do not set it. * 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'. Thu May 21 13:16:12 1992 Karl Berry (karl@hayley) * data/defs.make (clean): remove dvi etc. files here. (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. * data/defs.make (dist): new target. (distdir): new variables. * data/defsprog.make (dist): new target. Mon May 18 12:01:42 1992 Karl Berry (karl@hayley) * configure.in: change top-level Makefile name to `GNUmakefile.in'. * GNUmakefile.in: renamed from Makefile.in. * Makefile.in (dist): rewrite to `make dist' in subdirs. * Makefile.in (alldirs): move `doc' here. (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. * configure.in: AC_HEADER_MISSING is now AC_HEADER_CHECK. * 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*. 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 link with the dlsym stuff. * data/defs.make (TAGS): add dependencies on the source files; move to defsprog.make. 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. * charspace/main.c: doc fix. 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 `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. * Makefile.in (dist): distribute include/*.in. * Makefile.in (.NOEXPORT): remove this, as configure now puts it in automatically. Wed Apr 22 12:58:49 1992 Karl Berry (karl@hayley) * Makefile.in (prefix): set to /usr/local; configure doesn't do 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 and first, and include before , 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. * data/defs.make (distclean): new target, same as `realclean'. 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. (gsrenderfont/gsrenderfont): make it by substituting for the lib-path. (gsrenderspecial): dist gsrf.in instead of gsrenderfont. (versionfiles): likewise. 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. * data: Change copyright years to 1992 only. Sat Mar 28 07:46:29 1992 Karl Berry (karl at hayley) * charspace: Version 0.4. * charspace: Change copyright years to 1992 only. Sat Mar 28 07:44:42 1992 Karl Berry (karl at hayley) * Version 0.4. * Change copyright years to 1992 only. 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.?. * charspace/perc_table.?: to perctab.?. * charspace/GNUmakefile (c_and_h): as above. Thu Mar 26 20:54:23 1992 Karl Berry (karl at claude.cs.umb.edu) * data/defs.make (xlibdirslash): define this to work around dynamic linking problems on the Sun. Thu Mar 26 19:54:28 1992 Karl Berry (karl at claude.cs.umb.edu) * Makefile.in (makeargs): pass xlibdir. * 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 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 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. * charspace/main.c (main): make 'charcode' type 'charcode_type'. (do_char): ditto for CODE. * charspace/sbi.c (read_sbi_file): added 'encoding_name' and '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. * data/defs.make (mostlyclean): new target. (clean): remove extra stuff. (realclean): remove everything. * data/defslibs.make (clean): change to mostlyclean. * data/defsprog.make (clean): likewise. Sun Mar 8 12:48:52 1992 Karl Berry (karl at hayley) * configure.in: guess the value for `prefix'. * Makefile.in (prefix): define it as a substitution. * Makefile.in (mostlyclean): new target. (distclean): remove. (clean): remove the config files here, not at realclean. 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 instead of #defining memcpy. Also declare strtok if including , 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. * charspace/GNUmakefile (libraries): define correctly. Sat Mar 7 09:19:34 1992 Karl Berry (karl at hayley) * data/defs.make: set CC for fosse. * data/defs.make (sources, headers): define these. * data/defs.make (ourlib): add lib here. (fontutil_libraries, our_X_library): remove these. (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 make_output_filename. Wed Mar 4 11:54:05 1992 Karl Berry (karl at hayley) * charspace/input.c: rename to sbi.c. * charspace/GNUmakefile (files): corresponding. 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'. * data/defs.make (headertags): remove; just use all of include/. (librarytags): use all the libraries. * 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. * data/defslib.make ($(library).a): use ar q, not ar r. * 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. 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. 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 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 . * include/config.h [LIMITS_H_MISSING]: include . * include/config.h [STDC_HEADERS]: include 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. (syslibs): remove this. (sys_libraries): rename to LIBS. (LOADLIBES): include LIBS and X_libraries. (copt): remove this. Tue Feb 11 09:56:23 1992 Karl Berry (karl at hayley) * configure.in: test for memcpy et al. only in . * configure.in: test for missing. * configure.in: test for extra window system libraries. Makefile.in (wlibs): new variables. (makeargs): pass it down to submakes. * 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. [hayley]: define copt=-posix. Mon Feb 10 09:36:22 1992 Karl Berry (karl at hayley) * Makefile.in (copt): new variable. Sat Feb 8 14:48:28 1992 Karl Berry (karl at hayley) * Makefile.in (realclean): remove config.status and Makefile. 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 ; 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. 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 getopt). Wed Jan 22 13:12:21 1992 Kathy Hargreaves (kathy at hayley) * charspace/input.c (read_sbi_file): copy the string before doing the below. * charspace/input.c (read_sbi_file): in case char-percent, assign a string to the displacement field of the character. * charspace/char.h (displacement_type): made the displacement field a string. * charspace/char.c (sym_string_to_value): changed sb_string_to_value to this name. (do_displacement): call sym_string_to_value on the character's displacement. * charspace/input.c (read_sbi_file): added `char-percent' command. * charspace/char.h [CHAR_UNSET_VALUE]: added definition. * charspace/char.c (init_char): added routine to initialize the parts of a character needed to calculate sidebearings. * charspace/main.c (do_char): now call do_displacement if the characters displacement and left sidebearing percentage are set; otherwise call do_sidebearings. * charspace/char.c (do_displacement): added routine to calculate sidebearings using a displacement and a left sidebearing percentage. * charspace/output.c (write_files): now give a warning and prepend an '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. Wed Jan 15 12:25:26 1992 Kathy Hargreaves (kathy at hayley) * charspace/main.c (scan_string_list, read_sbi_files): added these so could read a list of SBI files. * charspace/main.c: call add_perc_defs_to_symbol_table instead of calculating percentages ``by hand.'' * charspace/input.c (read_sbi_file): added `define_perc' case. * charspace/perc_def_table.[ch]: added for percentage definitions. * charspace/input.c (read_sbi_file): don't fatal, only give warnings about characters in SBI files which aren't in the encoding if a 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 before . * include/types.h: don't include 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 .ifi if doesn't have a dotted suffix; otherwise use . 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 -I../$(srcdir)/include. 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 . 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 commented out). * data/defsprog.make (install): use `INSTALL_PROGRAM'. * data/defs.make: rename `kbase' to `lib', remove `getopt', etc. Wed Jan 8 15:41:13 1992 Karl Berry (karl at hayley) * config: we don't need this directory any more. * 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. [hayley.fsf.org]: use XCFLAGS instead. * data/*.make: change `fileinstall' to `INSTALLDATA' and `proginstall' to `INSTALL'. Fri Jul 19 08:31:06 1991 Karl Berry (karl at hayley) * GNUmakefile: add many variables to be overridden. * 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. (gnu): remove. (LOADLIBES): rework so that our libraries aren't looked for in lib. * data/defsprog.make ($(program)): redo the library dependencies. * 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. 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) * data/defsprog.make (default): rename to `all'. * data/defs.make (default): new dependency `all'. (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 .ifi instead of imginf.. * 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 the linguists. Wed Mar 27 10:28:45 1991 Karl Berry (karl at hayley) * data/texlatin.enc: change code 055 to `asciihyphen', and 0177 to `hyphen'. 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 distribution. 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. * GNUmakefile (dist): make an empty directory `bin'. (from rich@rice.edu) * GNUmakefile (include/s.h): run ./config, not config, for the 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 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 now. Sat Feb 16 17:21:39 1991 Karl Berry (karl at hayley) * GNUmakefile (all): new dependencies, on include/paths.h 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 . * 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 cposix anymore; gcc is configured to do so automatically. [No, rescind this, because of shared libraries gcc doesn't do this 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. 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 . * 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 ; 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 or else and . * 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 . * 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.', not `imginfo.'. Fri Sep 14 12:01:26 1990 Karl Berry (karl at hayley) * fontconvert/main.c: include "getopt.h", not . Fri Sep 14 10:41:38 1990 Karl Berry (karl at hayley) * data/defslib.make (install): use `libdir', not `researchdir'; use `$(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) * data/defs.make: check the envvar HOSTNAME instead of HOSTTYPE. 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 sake of X. (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 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 well as the objects. * data/defs.make (CFLAGS, extra_X_libraries): make definitions depend on whether we're running under system V (to make development easier). Thu Jun 21 14:27:14 1990 Karl Berry (karl at claude) * data/defs.make (default): define as a :: rule. * data/defslib.make (default): define to be `install'. * data/defsprog.make (default): define to be `$(program)', so the 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). * data/defsprog.make: ($(program)): likewise. * 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 , 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 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', `extra_X_libraries', `sys_libraries', linked with in that order. 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 . 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, which is included in CFLAGS and LFLAGS, instead. Now can say, e.g., `make OPT=-pg', instead of `make profile=t'. * 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, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. Local Variables: mode: indented-text left-margin: 8 fill-column: 76 version-control: never End: