1 2009-12-27 Tim Retout <diocles@gnu.org>
3 Apply patch from Debian Security Team for CAN-2004-1184.
5 * gsint.h: Add shell_escape prototype.
6 * util.c (shell_escape): New function to escape filenames for
8 * util.c (is_open): Use shell_escape to expand command buffer.
10 * main.c (main): Use single quotes when building command string,
11 and use shell_escape to quote contents.
13 * util.c (escape_string): Check return code of xmalloc.
15 Apply patch from Werner Fink to address CVE-2008-3863,
18 * psgen.c: Use PATH_MAX for various buffer sizes.
19 Replace several strcpy calls with memset and strncpy.
21 2009-03-28 Tim Retout <diocles@gnu.org>
23 * psgen.c (recognize_eps_file): Remove ability to read EPS data
24 from a pipe, as this executes arbitrary commands. It has been
25 disabled in most distros for five years anyway. See
28 * psgen.c (dump_ps_page_header): Use basename() and dirname() to
29 split path. Fixes a buffer overflow - see CAN-2004-1186.
31 2009-01-25 Tim Retout <diocles@gnu.org>
33 * main.c (main): Respect $HOME when searching for ~/.enscriptrc
35 2008-01-01 Tim Retout <diocles@gnu.org>
37 * ChangeLog: Run M-x change-log-redate. Add copyright notice at end.
39 * main.c (usage): Use PACKAGE_BUGREPORT instead of hardcoding the bug
42 * main.c (main) <toc>: Remove an unnecessary fclose of the toc
43 temporary file, which was breaking the --toc option.
45 1999-09-17 Markku Rossi <mtr@amme.ssh.fi>
47 * main.c (handle_options): New option --footer to set the page
49 (main): Modified the config file reading to be more user-tolerant.
50 If the config file reading still fails, the enscript prints a
51 verbose error message describing the situation. Enscript also
52 suggest some workarounds for the problem. Hopefully this helps
53 users to overcome their problems concerning the installation of
56 * psgen.c (dump_ps_page_header): Added support for user supplied
59 * main.c: Removed the obsolete --list-options option.
61 1999-09-13 Markku Rossi <mtr@amme.ssh.fi>
63 * main.c (handle_options): New option --extended-return-values to
64 enable the extended return values.
66 1999-09-07 Markku Rossi <mtr@amme.ssh.fi>
68 * psgen.c (process_file): Added an argument `is_toc' to specify
69 whether the file to process is a table of contents file.
71 1999-08-26 Markku Rossi <mtr@amme.ssh.fi>
73 * util.c (format_user_string): New escape `$p' for number of pages
76 1999-07-16 Markku Rossi <mtr@amme.ssh.fi>
78 * Finished the static to dynamic memory buffer conversion. Now
79 the enscript sources should not have any buffer overrun bugs.
81 1999-07-13 Markku Rossi <mtr@amme.ssh.fi>
83 * Converted many static buffers to dynamically allocated buffers.
84 There are still more work in this area.
86 1999-07-09 Markku Rossi <mtr@amme.ssh.fi>
88 * main.c: Started to fix some possible buffer overflows. This
89 needs still more work.
91 * util.c: Implemented buffer_clear().
93 1999-07-08 Markku Rossi <mtr@amme.ssh.fi>
95 * prt_lpr.c: Fixed to use the new memory buffer routines.
97 * util.c: Implemented new dynamic memory buffer handling routines
98 buffer_{{un,}init,alloc,free,append{,_len},ptr,len}().
100 1999-07-05 Markku Rossi <mtr@amme.ssh.fi>
102 * main.c (handle_options): New option `--nup-columnwise' to layout
103 pages in the N-up printing columnwise.
104 (handle_options): New option `--swap-even-page-margins' to swap
105 left and right side page marginals for even numbered pages.
107 1999-03-29 Markku Rossi <mtr@amme.ssh.fi>
109 * main.c (close_output_file): Check the return value of fclose on
110 a written file, and warn if necessary. (John Bley,
113 1999-03-12 Markku Rossi <mtr@amme.ssh.fi>
115 * main.c: Renamed all `pretty-print' options to the corresponding
118 1999-01-07 Markku Rossi <mtr@amme.ssh.fi>
120 * util.c (parse_font_spec): Cleaned up the font specification
123 * main.c (main): Fixed the non-installation runs to preserve the
125 (handle_options): New options -3, -4, -5, -6, -7, -8, -9 to select
128 1998-12-23 Markku Rossi <mtr@amme.ssh.fi>
130 * main.c (encodings): Added ISO-8859-{9,10} encodings.
132 * psgen.c (process_file): Swapped the order in which the line
133 numbers and line shading are printed. Now the line numbers won't
134 be overwritten by the shading.
136 1998-12-07 Markku Rossi <mtr@amme.ssh.fi>
138 * main.c (main): Added a xgettext `no-c-format' string.
140 1998-10-29 Markku Rossi <mtr@ngs.fi>
142 * main.c (main): Fixed the `--help-pretty-print' option to work
143 with the new highlighting scheme.
145 1998-10-23 Markku Rossi <mtr@ngs.fi>
147 * util.c (read_font_info): Added the `encoding' value to the font
150 * psgen.c (process_file): New special escape ^@bgcolor{} to set
151 the text background color.
153 * main.c: Changed enscript to use the new highlighting style. All
154 states related options were changed.
156 1998-10-16 Markku Rossi <mtr@ngs.fi>
158 * psgen.c: Added support for the user specified input encoding in
159 the ^@font{} escapes.
161 * util.c (parse_font_spec): Added support for the encoding
162 specification in the font spec. All uses changed.
164 * gsint.h: New the EncodingRegistry to hold the known input
166 Made the encodings a global variable.
168 1998-09-07 Markku Rossi <mtr@ngs.fi>
170 * main.c (main): Fixed to honor the HOME environment variable.
172 1998-06-25 Markku Rossi <mtr@ngs.fi>
174 * main.c (handle_options): New option `--rotate-even-pages' to
175 rotate each even-numbered page 180 degrees.
176 (usage): Moved `--word-wrap' to correct position.
178 1998-06-24 Markku Rossi <mtr@ngs.fi>
180 * psgen.c (dump_ps_page_header): Fixed N-up printing in the
181 portrait mode. It used to work, but I have broke it sometime in
182 the past. Now it is fixed again.
184 * util.c (format_user_string): Fixed a bug from the `$n'
185 formatting. We do not want to show the leading '/' in the result
188 1998-06-23 Markku Rossi <mtr@ngs.fi>
190 * main.c (encodings): Fixed a typo where the ISO-8859-7 was called
191 "creek" instead of "greek".
193 * psgen.c (dump_ps_header): Fixed to obey the `pslevel' option;
194 generate PostScript level 2 features only if the requested level
197 * main.c (handle_options): New option `--ps-level' to set the PS
198 level that enscript should use.
199 (main): Changed to pass the stdin to states as "-".
201 * util.c (read_config): New config file option `PostScriptLevel'
202 to set the PS level that enscript should use.
204 1998-06-22 Markku Rossi <mtr@ngs.fi>
206 * psgen.c (dump_ps_page_header): Fixed a NULL-reference bug from
207 the `--header' handling.
209 1998-06-17 Markku Rossi <mtr@ngs.fi>
211 * main.c (usage): Added a missing `\n\' sequence in the usage
214 1998-06-11 Markku Rossi <mtr@ngs.fi>
216 * main.c: Renamed ISO-8859-* encodings.
218 1998-05-26 Markku Rossi <mtr@ngs.fi>
220 * util.c (format_user_string): Changed `$%' to format the page
221 number as `2B' in the slicing mode.
223 * main.c (main): Added double quotes around all file names in the
224 pipe command strings. Now we can cooperate with file names with
227 1998-05-18 Markku Rossi <mtr@ngs.fi>
229 * main.c (handle_options): Changed the way how the escape
230 character code can be set. Now we accept decimals, octals,
231 hexadecimals, and characters as-is.
233 1998-03-25 Markku Rossi <mtr@ngs.fi>
235 * main.c: Added ISO-8859/7 (ISO latin7) encoding.
237 1998-03-09 Markku Rossi <mtr@ngs.fi>
239 * main.c (handle_options): Option -C, --line-numbers takes now an
240 optional argument that specifies the number of the first line of
243 1998-02-23 Markku Rossi <mtr@ngs.fi>
245 * psgen.c (process_file): Implemented horizontal columns. The
246 option --h-column-height is used to set the column height and to
247 activate the horizontal columns.
249 1998-01-14 Markku Rossi <mtr@ngs.fi>
251 * psgen.c (get_next_token): Implemented word wrapping to be used
252 instead of truncating `-c', `--truncate-lines' or character
255 Cleaned up statistics about truncated and wrapped lines. Now it
256 obeys `--pages' and it works for both truncated and wrapped lines.
258 1998-01-13 Markku Rossi <mtr@ngs.fi>
260 * util.c (is_ungetc): Implemented unlimited ungetc support to the
261 InputStream interface. This is needed for the word wrap support.
263 * main.c: New options --nup-xpad and --nup-ypad to change the page
264 padding in N-up printing.
265 (main): Cleaned up N-up printing.
267 1998-01-12 Markku Rossi <mtr@ngs.fi>
269 * gsint.h: Replaced all stdarg functions with corresponding
270 macros. Changed all calls of `error', `fatal', `cfg_fatal' and
271 `message' to use the new macros. Now there should be no more
274 1998-01-02 Markku Rossi <mtr@ngs.fi>
276 * main.c (main): Changed to lookup the enscript.st file from
277 enscript_library instead of using the hard-coded `PREFIX/share'
278 directory. Now it obeys the ENSCRIPT_LIBRARY environment
281 * psgen.c (dump_ps_header): Generate PageSize page device setting
282 if it is requested. This should make the printer to select the
283 correct paper tray automatically.
285 * main.c (handle_options): Changed option -l, --lineprinter to set
286 only --lines-per-page=66 and --no-header (removed --portrait and
287 --columns=1). Now it conforms to Adobe's version.
289 1997-11-26 Markku Rossi <mtr@ngs.fi>
291 * util.c (format_user_string): Fixed y2k bugs.
293 1997-09-30 Markku Rossi <mtr@ngs.fi>
295 * main.c: Added ISO-8859/4 encoding, thanks to Ricardas Cepas
298 1997-09-16 Markku Rossi <mtr@ngs.fi>
300 * main.c (version): Updated to conform the latest GNU coding
303 1997-08-28 Markku Rossi <mtr@ngs.fi>
305 * main.c: New option `--margins=LEFT:RIGHT:TOP:BOTTOM' to adjust
308 1997-08-11 Markku Rossi <mtr@ngs.fi>
310 * psgen.c (divert): Changed to use tempnam() instead of tmpnam().
311 (get_next_token): Fixed tabulator character handling with variable
312 width fonts. Now it really works; the left margins is really
315 1997-07-03 Markku Rossi <mtr@ngs.fi>
317 * psgen.c (read_special_escape): Implemented new `escape' special
318 escape to change the escape character.
320 1997-06-10 Markku Rossi <mtr@ngs.fi>
322 * psgen.c: Optimized the size of the generated PostScript output.
323 (print_line_number): Fixed to print the line number with the
324 default body font, not with the currently active font which might
325 have been selected with font escapes.
326 (process_file): New special escape ^@bggray{} to set the text
329 1997-06-06 Markku Rossi <mtr@ngs.fi>
331 * psgen.c: Fixed lineskip to work better when changing the font at
332 the beginning of the line.
334 1997-06-05 Markku Rossi <mtr@ngs.fi>
336 * psgen.c (dump_empty_page): Fixed --file-align option to work
337 even if we cross the page boundary in N-up mode.
339 1997-05-28 Markku Rossi <mtr@ngs.fi>
341 * main.c: New option --mark-wrapped-lines[=STYLE],
342 MarkWrappedLines to mark wrapped lines in the printout.
344 1997-05-22 Markku Rossi <mtr@ngs.fi>
346 * main.c (main): Coded more information to the return value.
348 1997-03-19 Markku Rossi <mtr@ngs.fi>
350 * main.c: New option -W, --language to specify the output
352 New option --color to change the States color model from the
354 Made option -J to be an alias for -t, --title.
355 Make option -# to be an alias for -n, --copies.
357 1997-03-04 Markku Rossi <mtr@ngs.fi>
359 * util.c (read_config): New config file option `StatesPath' to
360 specify the path for the states program.
362 * psgen.c: Fixed --file-align option which was broken with the
365 1997-03-03 Markku Rossi <mtr@ngs.fi>
367 * psgen.c (dump_ps_page_header): Implemented user escapes for user
368 defined header strings.
370 1997-02-26 Markku Rossi <mtr@ngs.fi>
372 * Release enscript-1.5.0.
374 1997-02-21 Markku Rossi <mtr@ngs.fi>
376 * util.c (read_font_info): Optimized AFM caching, this speeds up
377 enscript when using ^@font{} escapes a lot (-E).
378 (read_font_info): New input encoding asciidkno.
379 Renamed asciiscands to asciifise.
381 1997-02-18 Markku Rossi <mtr@ngs.fi>
383 * main.c: New option -U NUM, --nup=NUM to specify how many logical
384 output pages are printed on each physical output page.
386 1997-02-06 Markku Rossi <mtr@ngs.fi>
388 * util.c (parse_font_spec): Added a warning about negative font
391 1997-02-03 Markku Rossi <mtr@ngs.fi>
393 * main.c: New option `--help-pretty-print' to describe all
394 supported --pretty-print languages and file formats.
396 1997-01-24 Markku Rossi <mtr@ngs.fi>
398 * main.c (main): Changed the output file creation to be
399 demand-driven. If the input file (all input files) could not be
400 opened, enscript doesn't generate any output. This is a good
403 1997-01-23 Markku Rossi <mtr@ngs.fi>
405 * gsint.h: Changed the way how memmove() and memcpy() are defined
406 handled. Not replacements can be found form compat lib so we do
407 not need any #define kludges.
409 1997-01-21 Markku Rossi <mtr@ngs.fi>
411 * Makefile.am: Removed testcase.sh and moved all tests to ../tests
414 * util.c (read_config): Added states dependant config file
415 options: `StatesColorModel', `StatesConfigFile' and
416 `StatesHighlightLevel'.
418 1997-01-13 Markku Rossi <mtr@ngs.fi>
420 * mkafmmap.c: Internationalized mkafmmap program.
422 * util.c (read_config): New option `OutputFirstLine' to set the
423 PostScript output's first line.
425 1996-11-28 Markku Rossi <mtr@ngs.fi>
427 * main.c: New option `--E', `--pretty-print' to pretty print
428 source codes with `states'.
430 * psgen.c: New special escape ^@color{r g b}.
432 * util.c (format_user_string): Fixed bug from the `$n' escape
434 (read_config): New option `NoJobHeaderSwitch' to specify the
435 spooler option to suppress the job header.
437 1996-11-05 Markku Rossi <mtr@ngs.ngs.fi>
439 * psgen.c: fixed line number spacing bug which occured when using
440 line numbers with escapes.
442 * main.c: Added ISO-8859/5 (ISO latin5) encoding.
444 1996-09-07 Markku Rossi <mtr@ngs.ngs.fi>
446 * main.c: Added Adobe's Standard cyrillic Font KOI8 encoding.
448 1996-08-30 Markku Rossi <mtr@ngs.ngs.fi>
450 * util.c (parse_font_spec): Accept font point size in width/height
453 1996-08-23 Markku Rossi <mtr@ngs.ngs.fi>
455 * util.c (read_config): New config file option TOCFormat.
457 * psgen.c (process_file): Implemented user-definable format
458 strings for TOC entries.
460 * main.c: New option --slice to print vertical slices of input
463 1996-08-05 Markku Rossi <mtr@ngs.ngs.fi>
465 * main.c: New option --file-align=ALIGN to align separate input
466 files to even ALIGN page count.
468 1996-07-24 Markku Rossi <mtr@ngs.ngs.fi>
470 * main.c: New option --toc to print the Table of Contents.
472 1996-07-17 Markku Rossi <mtr@ngs.ngs.fi>
474 * Release enscript-1.4.0.
476 1996-06-16 Markku Rossi <mtr@ngs.ngs.fi>
478 * psgen.c (get_next_token): Fixed line number counting for
480 (paste_epsf): Fixed a bug which printed EPS images to pages which
481 didn't belong to any of the requested page ranges.
483 * main.c (main): Added new configuration file:
484 SYSCONFDIR/enscriptsite.cfg. This is intended for the
485 site-specific configuration whereas the global configuration file
486 SYSCONFDIR/enscript.cfg is for the global defaults.
487 Site-configuration file is never overwritten by installing a new
488 version of enscript so it is a safe place to store site-specific
489 media etc. definitions.
491 1996-06-13 Markku Rossi <mtr@ngs.ngs.fi>
493 * main.c (handle_options): New option `--printer-options' to pass
494 extra options to the printer command.
496 * psgen.c (process_file): Count shade-box's position from the
497 font's FontBBox value.
498 (process_file): New escape `ps' to add raw PostScript code to the
501 * main.c: New option --filter=STR, -I STR which sets the
502 input filter for source files.
504 1996-05-24 Markku Rossi <mtr@ngs.fi>
506 * util.c (read_config): New config file option `FormFeedType' to
507 specify what to do when a formfeed character is encountered from
510 * psgen.c (read_special_escape): Cleaned up special escapes parsing.
511 (read_special_escape): New escapes: `newpage', `setfilename' and
514 * util.c (read_config): New config option
515 `AcceptCompositeCharacters' to specify whatever we accept
516 PostScript font's composite characters or should we consider them
518 (download_font): Added support for binary-coded .pfb fonts, thanks
519 to Bruce Albrecht <bruce@zuhause.MN.ORG>.
521 * main.c (long_options): Renamed option --pass-through-ps-files to
524 1996-05-22 Markku Rossi <mtr@ngs.fi>
526 * psgen.c (process_file): Fixed carriage return character
529 1996-05-10 Markku Rossi <mtr@ngs.fi>
531 * psgen.c (read_special_escape): New special escape `shade' to
532 highlight regions of text.
534 * main.c (usage): Cleaned up --help messages.
536 1996-05-09 Markku Rossi <mtr@ngs.fi>
538 * util.c (read_config): New configuration file option:
541 1996-05-07 Markku Rossi <mtr@ngs.fi>
543 * util.c (read_config): New config file option `UnderlayStyle' to
544 specify the underlay printing style.
546 * main.c: New option: -j, --borders to print borders around
548 (long_options): New option --ul-style to specify the underlay
551 1996-05-02 Markku Rossi <mtr@ngs.fi>
553 * util.c (read_font_info): Added AFM cache to speedup font-escape
556 * psgen.c (print_line_number): Don't print line numbers for
559 1996-04-22 Markku Rossi <mtr@ngs.fi>
561 * util.c (format_user_string): New directive `%H' for the document
564 * main.c: Changed option -e, --escapes to take an optional
565 argument which specifies the escape character.
567 1996-04-01 Markku Rossi <mtr@ngs.fi>
569 * psgen.c (process_file): Now ^@font{} escapes work over page
572 1996-03-27 Markku Rossi <mtr@ngs.fi>
574 * main.c (main): New option -a, --pages to select which pages are
577 1996-03-26 Markku Rossi <mtr@ngs.fi>
579 * util.c (format_user_string): New option: `$=' number of pages in
580 the current input file.
582 * psgen.c (process_file): Added diversions to count the total
583 pages within a file (%Format: $=).
585 1996-03-12 Markku Rossi <mtr@ngs.fi>
587 * main.c (handle_options): Changed option -l, --lineprinter to
588 print 66 lines per page instead of 65 lines.
590 * util.c (read_config): New config file option: PagePrefeed.
592 * main.c (main): New options: -k, --page-prefeed, -K,
595 1996-03-07 Markku Rossi <mtr@ngs.fi>
597 * util.c (format_user_string): New escape: $(ENVVAR).
599 1996-03-05 Markku Rossi <mtr@ngs.fi>
601 * util.c (read_config): New config file options: HighlightBars and
604 * main.c: New option: -H, --highlight-bars and
605 --highlight-bar-gray to control the highlight bar printing.
607 1996-03-01 Markku Rossi <mtr@ngs.fi>
609 * main.c: New option: -h, --no-job-header to suppress the job
611 (main): Changed option --title to set the name of stdin.
613 1996-02-29 Markku Rossi <mtr@ngs.fi>
615 * Added support for the automatic de-ANSI-fication.
617 * Renamed package to enscript.
619 1996-02-25 Markku Rossi <mtr@ngs.fi>
621 * main.c (main): changed stdin's name to be an empty string
622 instead of "(stdin)". This is how Adobe's enscript does it.
624 1996-02-23 Markku Rossi <mtr@ngs.fi>
626 * main.c (main): Added environment variable GENSCRIPT_LIBRARY
627 which can be used to overwrite the build-in library path.
629 * psgen.c (read_special_escape): fixed a bug which caused pipes to
630 the EPS files to be closed with fclose().
632 1996-02-21 Markku Rossi <mtr@ngs.fi>
634 * Makefile.in (exec_prefix): fixed to honor the value given by the
637 1996-02-20 Markku Rossi <mtr@ngs.fi>
639 * Added hp8 (HP Roman-8) encoding.
641 1996-02-19 Markku Rossi <mtr@ngs.fi>
643 * Release genscript-1.3.0.
645 * main.c (main): New config file option `AppendCtrlD' which can be
646 used to append the ^D character to the end of the output.
648 * psgen.c (do_pass_through_ps_file): added pass-through for the
651 1996-02-08 Markku Rossi <mtr@ngs.fi>
653 * util.c (read_config): New config file option `Clean7Bit' to
654 specify how characters greater than 127 are handled.
656 1996-02-07 Markku Rossi <mtr@ngs.fi>
658 * gsint.h: Implemented unit selection for the `--indent' option.
660 1996-01-30 Markku Rossi <mtr@ngs.fi>
662 * main.c (main): Now genscript can be used even if it is not
665 * Makefile.in (check): new target
667 1996-01-25 Markku Rossi <mtr@ngs.fi>
669 * util.c (paste_file): Implemented `%HeaderHeight' and
670 `%FooterHeight' directives.
672 1996-01-09 Markku Rossi <mtr@ngs.fi>
674 * Finished Win-95/NT port.
676 1996-01-08 Markku Rossi <mtr@ngs.fi>
678 * First Win-95/NT port with MSC 2.00.
680 * util.c (format_user_string): New options: %N and $%.
682 1996-01-05 Markku Rossi <mtr@ngs.fi>
684 * psgen.c (dump_ps_header): Removed date and time ps-constants
685 which can now be formatted with the `%Format' directive:
691 (dump_ps_page_header): Removed fmodstr ps-constant which can now
692 be formatted with the `%Format' directive:
693 - fmodstr = $D{%a %b %e %T %Y}
695 * util.c (format_user_string): Implemented `%Format' directive
696 which can be used to format user defined strings in fancy headers.
698 1996-01-04 Markku Rossi <mtr@ngs.fi>
700 * main.c: Added pslatin1 encoding (PostScript interpreter's
703 1996-01-03 Markku Rossi <mtr@ngs.fi>
705 * Created a new Makefile to the compat subdirectory; now genscript
706 does not need a make with the VPATH feature.
708 * main.c (usage): Split usage string to smaller parts wich are
711 1996-01-02 Markku Rossi <mtr@ngs.fi>
713 * main.c: New option: --non-printable-format, NonPrintableFormat.
715 1995-12-20 Markku Rossi <mtr@ngs.fi>
717 * Added statistics about non-printable character codes.
719 * main.c: New option: -z, --no-formfeed to disable form feed
720 character interpretation.
722 * util.c (do_list_missing_characters): Changed output to go to
723 stderr instead of stdout.
725 1995-12-19 Markku Rossi <mtr@ngs.fi>
727 * util.c (read_config): New config file options: UnderlayAngle and
730 * main.c (main): New options: --ul-angle and --ul-position.
732 1995-12-18 Markku Rossi <mtr@ngs.fi>
734 * configure.in (PATH_SEPARATOR): Defined a new constant
735 PATH_SEPARATOR to specify the character which separates path
736 components. Fixed also all uses.
738 * prt_lpr.c: Isolated printer related stuffs to a separate C file
741 * Makefile.in: Removed pre-defined eps images from the
744 * util.c (parse_font_spec): Added support for the new
745 `name@ptsize' font specification.
747 1995-11-28 Markku Rossi <mtr@ngs.fi>
749 * main.c (handle_options): Option -u, --underlay was changed to
750 take an optional argument. If no argument is given, underlay is
753 * util.c (read_config): New config file option `Underlay' to
754 specify the underlay text.
756 * Makefile.in: Fixed Makefile to obey the GNU Coding Standards.
757 Changed datadir from `prefix/lib' to `prefix/share'.
759 1995-11-27 Markku Rossi <mtr@ngs.fi>
761 * util.c (read_config): New config file options: UnderlayFont and
764 * main.c: Renamed long options:
765 --output-file => --output
767 --tab-size => --tabsize
769 (long_options): made --silent to be an alias for --quiet
771 * utils.c: Renamed config file option `Queue' to `Printer'.
773 1995-11-08 Markku Rossi <mtr@ngs.fi>
775 * Added latin3 encoding (from the latin3.txt file by Duncan C
778 1995-11-02 Markku Rossi <mtr@ngs.fi>
780 * psgen.c: Fixed a bug which added document headers and trailers
781 to pass-through PostScript files.
783 1995-10-31 Markku Rossi <mtr@ngs.fi>
785 * Release genscript-1.2.20.
787 1995-10-27 Markku Rossi <mtr@ngs.fi>
789 * Added option -C, --line-numbers.
791 1995-10-26 Markku Rossi <mtr@ngs.fi>
793 * Added option -Z, --pass-through-ps-files.
795 1995-10-24 Markku Rossi <mtr@ngs.fi>
797 * Cleaned up some HTML entity codes in encoding tables.
799 1995-10-18 Markku Rossi <mtr@ngs.fi>
801 * Added latin2 encoding.
803 1995-10-10 Markku Rossi <mtr@ngs.fi>
805 * main.c (main): changed fancy header's height from 40 to 36
808 1995-10-05 Markku Rossi <mtr@ngs.fi>
810 * New config file options: Queue and QueueParam.
812 * genscript.man: minor cleanups.
814 1995-10-02 Markku Rossi <mtr@ngs.fi>
816 * Release genscript-1.2.1.
818 1995-09-29 Markku Rossi <mtr@ngs.fi>
820 * main.c: read default options from the GENSCRIPT (and ENSCRIPT)
823 1995-09-26 Markku Rossi <mtr@ngs.fi>
825 * font size and baselineskip can be given as a decimal number
827 * psgen.c: Fixed DSC comments, now generated output is DSC 3.0
830 1995-09-21 Markku Rossi <mtr@ngs.fi>
832 * Implemented .pf{a,b} file downloading.
834 1995-09-20 Markku Rossi <mtr@ngs.fi>
836 * psgen.c (read_special_escape): new option 's' (scale) to specify
837 an explicit scale for an eps image.
839 * psgen.c: fixed epsf escape to start a new column if the
840 specified image does not fit to the current one.
842 1995-09-18 Markku Rossi <mtr@ngs.fi>
844 * main.c: Fixed some typos.
846 * Added backspace handling.
848 1995-09-09 Markku Rossi <mtr@ngs.fi>
850 * main.c (main): fixed typos that broke -o and -X options.
852 1995-09-04 Markku Rossi <mtr@ngs.fi>
854 * Release genscript-1.1.4.
856 * Added option --page-label-format.
858 * psgen.c (dump_ps_header): Added findatestr.
859 (paste_epsf): Fixed paste_epsf()'s EPS file recognization.
861 1995-08-30 Markku Rossi <mtr@ngs.fi>
863 * Added options -u, --underlay, --ul-gray and --ul-font.
865 * psgen.c (read_float): now dimensions can be specified in
868 1995-08-29 Markku Rossi <mtr@ngs.fi>
870 * Changed PostScript font's default encoding name from 'default'
873 * New config file option: DefaultOutputMethod.
875 * Added option --indent, -i.
877 * Cleaned up options in manual page, help and code.
879 * Replaced StringSet module with StringHash.
881 * psgen.c (paste_epsf): Now EPS images can be read from command's
884 1995-08-24 Markku Rossi <mtr@ngs.fi>
886 * vms.txt: Added VMS multinational input encoding.
888 * mac.txt: Cleaned up character table.
890 * Added options -S, --statusdict and -D, --setpagedevice.
892 1995-08-23 Markku Rossi <mtr@ngs.fi>
894 * Improved configure to handle more non-ANSI features.
896 * Fixed a declaration bug from compat/strerror.c.
898 * psgen.c (read_float): replaced strtod() with atof().
900 * xalloc.c (xrealloc): do an explicit malloc() if old pointer is
903 * ibmpc.txt: Cleaned up character table.
905 * psgen.c (get_next_token): control characters are now printed in
908 1995-08-21 Markku Rossi <mtr@ngs.fi>
910 * Release genscript-1.0.1.
912 1995-08-17 Markku Rossi <mtr@ngs.fi>
916 1995-08-15 Markku Rossi <mtr@ngs.fi>
918 * Added option --baseline.
920 * Fixed epsf escape's options.
922 1995-08-14 Markku Rossi <mtr@ngs.fi>
924 * Added support for AFM files.
926 1995-08-09 Markku Rossi <mtr@ngs.fi>
928 * Added option --newline to select the newline character.
930 * Cleaned up character set tables.
932 1995-08-07 Markku Rossi <mtr@ngs.fi>
934 * Added Mac input encoding.
936 1995-08-03 Markku Rossi <mtr@ngs.fi>
938 * New special escapes: 'font' and 'comment'.
940 * New option --tab-size=NUM, -T NUM to define tab expansion size.
942 * General code and document cleanups.
944 1995-07-31 Markku Rossi <mtr@ngs.fi>
946 * Added support for --copies option. Now it really works.
948 * util.c (paste_file): parses '%%DocumentNeededResources:'
951 * Added options --font and --header-font.
953 1995-07-27 Markku Rossi <mtr@ngs.fi>
955 * psgen.c (paste_epsf): now eps files are also looked up from
957 (read_special_escape): epsf: added option 'r'.
959 1995-07-26 Markku Rossi <mtr@ngs.fi>
961 * psgen.c: added support for inlined EPS-files.
963 1995-07-25 Markku Rossi <mtr@ngs.fi>
965 * Added IBM PC input encoding.
968 Copyright (C) 1995, 1996, 1997, 1998, 1999, 2008 Free Software Foundation, Inc.
970 Copying and distribution of this file, with or without modification,
971 are permitted in any medium without royalty provided the copyright
972 notice and this notice are preserved.