Thu Nov 23 09:06:06 1995 Kathy Hargreaves * main.c: replaced find_tfm_filename with kpse_find_tfm. Sat Aug 7 11:53:23 1993 Karl Berry (karl@cs.umb.edu) * cmi.y, *.h: c-ctype.h and types.h now in kpathsea. Fri Dec 11 14:59:42 1992 Karl Berry (karl@cs.umb.edu) * symtab.c (symval_as_string): `dtoa' is now `xdtoa'. * cmi.y: Change ctype references to use uppercase macros. Thu Dec 3 15:40:40 1992 Karl Berry (karl@cs.umb.edu) * main.c: Don't bother to include getopt.h, cmdline.h already does. Tue Oct 27 13:01:50 1992 Karl Berry (karl@cs.umb.edu) * Version 0.6. Thu Sep 3 09:29:46 1992 Karl Berry (karl@hayley) * Version 0.5. Sun Aug 23 13:36:19 1992 Karl Berry (karl@hayley) * main.c (USAGE): put a newline before GETOPT_USAGE. Mon Aug 17 08:35:30 1992 Karl Berry (karl@hayley) * input-cmi.h: doc fix. Sun Aug 16 21:38:23 1992 Karl Berry (karl@hayley) * cmi.y (NOT_A_TOKEN): parenthesize the definition, for safety. Sun Jul 19 08:32:13 1992 Karl Berry (karl@hayley) * char.c (update_width): char-width now gives the lsb as a percentage, not a hard number. * cmi.y: doc fix. Tue Jul 14 16:41:54 1992 Karl Berry (karl@hayley) * output.c: doc fix. * cmi.y (char_width): new rule for the char-width cmd. * realstrval.h (symval_tag_type): new value `symval_char_width'. * char.c (update_via_name): handle this case. (update_width, update_metrics): new routines. (update_sidebearings): call update_metrics. Tue Jul 7 16:43:08 1992 Karl Berry (karl@hayley) * output.c (write_tfm): use same algorithm for TFM output names as fontconvert/output-tfm.c Sun Jul 5 10:41:10 1992 Karl Berry (karl@hayley) * cmi.y (yylex): allow `+' to start a numeric constant. Fri Jul 3 17:46:36 1992 Karl Berry (karl@hayley) * main.c (read_encoding_info): default the encoding scheme, if the user hasn't specified one. Sun Jun 14 07:19:12 1992 Karl Berry (karl@hayley) * output.c (make_gf_char): copied TFM width from `gf_char' instead of `bitmap_char'. Argh. * output.c (write_tfm): check chars between `starting_char' and `ending_char', *inclusive*. * cmi.y (yylex): `-' can start a numeric constant. * char.c (do_char): do the reporting of the charcodes (as we process them) here. * main.c (main): not here. * char.h (do_char): void now, not boolean. * symtab.c (symval_as_string): new routine. * symtab.h (symval_as_string): declare it. * char.c (resolve_sidebearing): complain if the sb defn can't be resolved. * main.c (main): the symbol table value of `designsize' should be in pixels, not points. * output.c (update_tfm_info_from_symtab, find_tfm_info, write_gf): convert back to points. * char.c (get_designsize_in_points): new routine. (update_sidebearings): convert back here, too. * char.h: declare it. * main.c (read_encoding_info): use an existing TFM file as a last resort to guess the codingscheme. * output.c (find_tfm_info): guess the x-height; implies passing in `chars' now, sigh. (xheight_char): new global. * output.h (xheight_char): declare it. * main.c (read_command_line): new option `-xheight-char'. (USAGE): document it. * symtab.c, output.c, main.c: remove all the logging junk; include report.h instead of logreport.h. * output.c (find_tfm_info): call `tfm_set_fontsize'. * cmi.y (char): reversed sense of condition for preserving old kerns. * main.c (main): set `dpi_real' near the beginning. Sat Jun 13 09:33:37 1992 Karl Berry (karl@hayley) * symtab.c (symtab_char_node): call `init_char' on the new value. * cmi.y (yylex): keep track of line numbers. (lineno): new static. (yyerror): print the filename and line number. * output.c (update_tfm_info_from_symtab): don't call symtab_lookup with a possibly NULL name. * cmi.y (token_number): if have a normal identifier, save its name in yylval. * input-cmi.c (read_cmi_file): call `libfile_start'. * all files: misc. changes for compilation. * symtab.c (symtab_lookup, symtab_lookup_real): finally get around to defining these. * char.c: update for new list fn names. * output.c: complete rewrite. Fri Jun 12 11:06:05 1992 Karl Berry (karl@hayley) * char.c (do_char): move here. * main.c: from here. * char.h: declare it. Thu Jun 11 11:06:47 1992 Karl Berry (karl@hayley) * char.h (char_type): new field `tfm_info'. (CHAR_TFM_INFO): new macro to access it. Wed Jun 10 08:27:07 1992 Karl Berry (karl@hayley) * input-cmi.[ch]: new files extracted from main.c. * GNUmakefile (c_and_h): add `input-cmi'. * cmi.y: include input-cmi.h. Tue Jun 9 10:25:30 1992 Karl Berry (karl@hayley) * main.c (do_char): complete rewrite for new data structures. * symtab.c (symtab_resolve, resolve_string): new routines to chase names and do multiplications after the CMI stuff has all been read. * realstrval.h: new file to declare the common parts to the char and symval structures. * GNUmakefile (c_and_h): add `kern'. * kern.[ch]: new files. * symtab.c: call `char_set_kern'. Mon Jun 8 09:09:46 1992 Karl Berry (karl@hayley) * cmi.c: rewrite as a Bison grammar, cmi.y. * GNUmakefile (y): define to be `cmi'. (c_and_h): remove `cmi'. * 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) * GNUmakefile (c_and_h): delete `perctab'. * perctab.[ch]: don't need these anymore. * symtab.[ch]: generalize to include the percentages. * main.c (read_command_line): not a fatal error if -encoding was not specified. * sbi.[ch]: change to cmi.[ch]. * main.c: change `sbi' to `cmi' throughout. * GNUmakefile (c_and_h): likewise. Fri Jun 5 09:19:16 1992 Karl Berry (karl@hayley) * main.c (main): `return 0' instead of `exit (0)'. (From Paul Eggert) Wed Jun 3 06:19:18 1992 Karl Berry (karl@hayley) * output.c (output_font): throw away the checksum from an existing TFM. * output.c (write_files): report the output filenames. * symtab.c (new_symbol): call xstrdup on the key. * perctab.c (new_perc_def): likewise. * sbi.c: report each line we parse. Tue Jun 2 12:04:29 1992 Karl Berry (karl@hayley) * char.h (alloc_char): declare this. * char.c (alloc_char): new function. * sbi.c: rewrite to make each cmd a separate function. Mon Jun 1 08:54:43 1992 Karl Berry (karl@hayley) * sbi.h, main.h, sbi.c (give_warnings): rename to `warn_p'. * main.c (do_char): keep a local var instead of doing a bunch of returns. * char.c (get_kern{_character,}_element: take an unsigned for `index', instead of an int. * char.h: change decls. * char.c (init_char): return a new character, instead of changing an allocated one. * char.h (init_char): change decl correspondingly. * main.c (main): do not initialize the array at the beginning; make it a static array of pointers instead. * {sbi,output}.h: change decl of `chars'. * output.c (find_widths, output_font): same. * sbi.c (read_sbi_file): same. * main.c (read_sbi_file_list): use * instead of indexing to go through the sbi file list. * main.c (main): open the log file in current directory. * sbi.c (WORD_MAX): remove, as it's unused. * main.h: remove unneeded externs. * main.h (DEBUG*): remove these macros. * main.c (debug) [DEBUG]: remove. * {perctab,sbi,symtab}.c: change DEBUG calls to LOG. * main.c (alphabet_sbi_name): remove, since there's no need for an option anyway. Is there? * main.c (encoding_name): make static. * sbi.c (input_name): remove this global, as it's no longer used. * sbi.h: remove decl. * main.c (main): do not set it. * main.c ({start,end}ing_char): declare as `charcode_type', not `int'. Sat May 30 15:31:50 1992 Karl Berry (karl@hayley) * main.c (main): change call to `tfm_convert_pl'. Fri May 29 11:44:57 1992 Karl Berry (karl@hayley) * main.c (main): change return type to `int'. Wed May 6 09:19:20 1992 Karl Berry (karl@hayley) * main.c (read_sbi_file_list): don't loop through a null list. * main.c: doc fix. Thu Apr 30 09:29:34 1992 Karl Berry (karl@hayley) * char.c (init_char): initialize the lig/kern lists. * char.h: doc fixes. * main.c (unparsed_range): remove. Wed Apr 15 15:25:55 1992 Karl Berry (karl@hayley) * output.c: `make_output_filename' is now `extend_filename'. Sun Mar 29 19:10:12 1992 Karl Berry (karl at hayley) * main.c (read_command_line): remove empty else. Sat Mar 28 07:46:29 1992 Karl Berry (karl at hayley) * Version 0.4. * Change copyright years to 1992 only. Fri Mar 27 14:57:14 1992 Karl Berry (karl at hayley) * symbol_table.?: rename to symtab.?. * perc_table.?: to perctab.?. * GNUmakefile (c_and_h): as above. Wed Mar 25 08:31:49 1992 Karl Berry (karl at hayley) * perc_table.c (add_to_perc_def_table): use xstrdup, not strdup. Wed Mar 11 14:03:53 1992 Kathy Hargreaves (kathy at hayley) * char.c (get_char_info): make CODE charcode_type. * main.c (main): make `charcode' type `charcode_type'. (do_char): ditto for CODE. * sbi.c (read_sbi_file): added `encoding_name' and `displacement'. * main.c [USAGE]: corrected -sbi-files option comment. Mon Mar 9 12:26:26 1992 Kathy Hargreaves (kathy at hayley) * sbi.h: changed comment. Sat Mar 7 13:06:11 1992 Kathy Hargreaves (kathy at hayley) * main.c (main): fatal if the output filename has a suffix. Sat Mar 7 09:32:20 1992 Karl Berry (karl at hayley) * GNUmakefile (files): replace with `c_and_h', etc. * GNUmakefile (libraries): define correctly. 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) * input.c: rename to sbi.c. * GNUmakefile (files): corresponding. Sun Feb 16 12:24:16 1992 Kathy Hargreaves (kathy at hayley) * output.c (find_widths): set freed tfm char kern list to NULL. Sat Feb 1 15:04:16 1992 Karl Berry (karl at hayley) * main.c (read_sbi_file_list): use basename, not depath. Fri Jan 31 17:04:20 1992 Karl Berry (karl at hayley) * main.c (read_command_line): declare `option_index' (for new getopt). Wed Jan 22 13:12:21 1992 Kathy Hargreaves (kathy at hayley) * input.c (read_sbi_file): copy the string before doing the below. * input.c (read_sbi_file): in case char-percent, assign a string to the displacement field of the character. * char.h (displacement_type): made the displacement field a string. * 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. * input.c (read_sbi_file): added `char-percent' command. * char.h [CHAR_UNSET_VALUE]: added definition. * char.c (init_char): added routine to initialize the parts of a character needed to calculate sidebearings. * main.c (do_char): now call do_displacement if the character's displacement and left sidebearing percentage are set; otherwise call do_sidebearings. * char.c (do_displacement): added routine to calculate sidebearings using a displacement and a left sidebearing percentage. * 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. Mon Jan 20 13:51:42 1992 Kathy Hargreaves (kathy at hayley) * main.c (read_sbi_file_list): call `depath' on the current sbi name in the list and on `font_name' when comparing them. Wed Jan 15 12:25:26 1992 Kathy Hargreaves (kathy at hayley) * main.c (scan_string_list, read_sbi_files): added these so could read a list of SBI files. * main.c: call add_perc_defs_to_symbol_table instead of calculating percentages ``by hand.'' * input.c (read_sbi_file): added `define_perc' case. * perc_def_table.[ch]: added for percentage definitions. * 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.)