1 2009-12-27 Tim Retout <tim@retout.co.uk>
5 * psgen.c: Use PATH_MAX
7 2009-12-27 Tim Retout <diocles@gnu.org>
9 Apply patch from Debian Security Team for CAN-2004-1184.
11 * gsint.h: Add shell_escape prototype.
12 * util.c (shell_escape): New function to escape filenames for
14 * util.c (is_open): Use shell_escape to expand command buffer.
16 * main.c (main): Use single quotes when building command string,
17 and use shell_escape to quote contents.
19 * util.c (escape_string): Check return code of xmalloc.
21 Apply patch from Werner Fink to address CVE-2008-3863,
24 * psgen.c: Use PATH_MAX for various buffer sizes.
25 Replace several strcpy calls with memset and strncpy.
27 2009-03-28 Tim Retout <diocles@gnu.org>
29 * psgen.c (recognize_eps_file): Remove ability to read EPS data
30 from a pipe, as this executes arbitrary commands. It has been
31 disabled in most distros for five years anyway. See
34 * psgen.c (dump_ps_page_header): Use basename() and dirname() to
35 split path. Fixes a buffer overflow - see CAN-2004-1186.
37 2009-01-25 Tim Retout <diocles@gnu.org>
39 * main.c (main): Respect $HOME when searching for ~/.enscriptrc
41 2008-01-01 Tim Retout <diocles@gnu.org>
43 * ChangeLog: Run M-x change-log-redate. Add copyright notice at end.
45 * main.c (usage): Use PACKAGE_BUGREPORT instead of hardcoding the bug
48 * main.c (main) <toc>: Remove an unnecessary fclose of the toc
49 temporary file, which was breaking the --toc option.
51 1999-09-17 Markku Rossi <mtr@amme.ssh.fi>
53 * main.c (handle_options): New option --footer to set the page
55 (main): Modified the config file reading to be more user-tolerant.
56 If the config file reading still fails, the enscript prints a
57 verbose error message describing the situation. Enscript also
58 suggest some workarounds for the problem. Hopefully this helps
59 users to overcome their problems concerning the installation of
62 * psgen.c (dump_ps_page_header): Added support for user supplied
65 * main.c: Removed the obsolete --list-options option.
67 1999-09-13 Markku Rossi <mtr@amme.ssh.fi>
69 * main.c (handle_options): New option --extended-return-values to
70 enable the extended return values.
72 1999-09-07 Markku Rossi <mtr@amme.ssh.fi>
74 * psgen.c (process_file): Added an argument `is_toc' to specify
75 whether the file to process is a table of contents file.
77 1999-08-26 Markku Rossi <mtr@amme.ssh.fi>
79 * util.c (format_user_string): New escape `$p' for number of pages
82 1999-07-16 Markku Rossi <mtr@amme.ssh.fi>
84 * Finished the static to dynamic memory buffer conversion. Now
85 the enscript sources should not have any buffer overrun bugs.
87 1999-07-13 Markku Rossi <mtr@amme.ssh.fi>
89 * Converted many static buffers to dynamically allocated buffers.
90 There are still more work in this area.
92 1999-07-09 Markku Rossi <mtr@amme.ssh.fi>
94 * main.c: Started to fix some possible buffer overflows. This
95 needs still more work.
97 * util.c: Implemented buffer_clear().
99 1999-07-08 Markku Rossi <mtr@amme.ssh.fi>
101 * prt_lpr.c: Fixed to use the new memory buffer routines.
103 * util.c: Implemented new dynamic memory buffer handling routines
104 buffer_{{un,}init,alloc,free,append{,_len},ptr,len}().
106 1999-07-05 Markku Rossi <mtr@amme.ssh.fi>
108 * main.c (handle_options): New option `--nup-columnwise' to layout
109 pages in the N-up printing columnwise.
110 (handle_options): New option `--swap-even-page-margins' to swap
111 left and right side page marginals for even numbered pages.
113 1999-03-29 Markku Rossi <mtr@amme.ssh.fi>
115 * main.c (close_output_file): Check the return value of fclose on
116 a written file, and warn if necessary. (John Bley,
119 1999-03-12 Markku Rossi <mtr@amme.ssh.fi>
121 * main.c: Renamed all `pretty-print' options to the corresponding
124 1999-01-07 Markku Rossi <mtr@amme.ssh.fi>
126 * util.c (parse_font_spec): Cleaned up the font specification
129 * main.c (main): Fixed the non-installation runs to preserve the
131 (handle_options): New options -3, -4, -5, -6, -7, -8, -9 to select
134 1998-12-23 Markku Rossi <mtr@amme.ssh.fi>
136 * main.c (encodings): Added ISO-8859-{9,10} encodings.
138 * psgen.c (process_file): Swapped the order in which the line
139 numbers and line shading are printed. Now the line numbers won't
140 be overwritten by the shading.
142 1998-12-07 Markku Rossi <mtr@amme.ssh.fi>
144 * main.c (main): Added a xgettext `no-c-format' string.
146 1998-10-29 Markku Rossi <mtr@ngs.fi>
148 * main.c (main): Fixed the `--help-pretty-print' option to work
149 with the new highlighting scheme.
151 1998-10-23 Markku Rossi <mtr@ngs.fi>
153 * util.c (read_font_info): Added the `encoding' value to the font
156 * psgen.c (process_file): New special escape ^@bgcolor{} to set
157 the text background color.
159 * main.c: Changed enscript to use the new highlighting style. All
160 states related options were changed.
162 1998-10-16 Markku Rossi <mtr@ngs.fi>
164 * psgen.c: Added support for the user specified input encoding in
165 the ^@font{} escapes.
167 * util.c (parse_font_spec): Added support for the encoding
168 specification in the font spec. All uses changed.
170 * gsint.h: New the EncodingRegistry to hold the known input
172 Made the encodings a global variable.
174 1998-09-07 Markku Rossi <mtr@ngs.fi>
176 * main.c (main): Fixed to honor the HOME environment variable.
178 1998-06-25 Markku Rossi <mtr@ngs.fi>
180 * main.c (handle_options): New option `--rotate-even-pages' to
181 rotate each even-numbered page 180 degrees.
182 (usage): Moved `--word-wrap' to correct position.
184 1998-06-24 Markku Rossi <mtr@ngs.fi>
186 * psgen.c (dump_ps_page_header): Fixed N-up printing in the
187 portrait mode. It used to work, but I have broke it sometime in
188 the past. Now it is fixed again.
190 * util.c (format_user_string): Fixed a bug from the `$n'
191 formatting. We do not want to show the leading '/' in the result
194 1998-06-23 Markku Rossi <mtr@ngs.fi>
196 * main.c (encodings): Fixed a typo where the ISO-8859-7 was called
197 "creek" instead of "greek".
199 * psgen.c (dump_ps_header): Fixed to obey the `pslevel' option;
200 generate PostScript level 2 features only if the requested level
203 * main.c (handle_options): New option `--ps-level' to set the PS
204 level that enscript should use.
205 (main): Changed to pass the stdin to states as "-".
207 * util.c (read_config): New config file option `PostScriptLevel'
208 to set the PS level that enscript should use.
210 1998-06-22 Markku Rossi <mtr@ngs.fi>
212 * psgen.c (dump_ps_page_header): Fixed a NULL-reference bug from
213 the `--header' handling.
215 1998-06-17 Markku Rossi <mtr@ngs.fi>
217 * main.c (usage): Added a missing `\n\' sequence in the usage
220 1998-06-11 Markku Rossi <mtr@ngs.fi>
222 * main.c: Renamed ISO-8859-* encodings.
224 1998-05-26 Markku Rossi <mtr@ngs.fi>
226 * util.c (format_user_string): Changed `$%' to format the page
227 number as `2B' in the slicing mode.
229 * main.c (main): Added double quotes around all file names in the
230 pipe command strings. Now we can cooperate with file names with
233 1998-05-18 Markku Rossi <mtr@ngs.fi>
235 * main.c (handle_options): Changed the way how the escape
236 character code can be set. Now we accept decimals, octals,
237 hexadecimals, and characters as-is.
239 1998-03-25 Markku Rossi <mtr@ngs.fi>
241 * main.c: Added ISO-8859/7 (ISO latin7) encoding.
243 1998-03-09 Markku Rossi <mtr@ngs.fi>
245 * main.c (handle_options): Option -C, --line-numbers takes now an
246 optional argument that specifies the number of the first line of
249 1998-02-23 Markku Rossi <mtr@ngs.fi>
251 * psgen.c (process_file): Implemented horizontal columns. The
252 option --h-column-height is used to set the column height and to
253 activate the horizontal columns.
255 1998-01-14 Markku Rossi <mtr@ngs.fi>
257 * psgen.c (get_next_token): Implemented word wrapping to be used
258 instead of truncating `-c', `--truncate-lines' or character
261 Cleaned up statistics about truncated and wrapped lines. Now it
262 obeys `--pages' and it works for both truncated and wrapped lines.
264 1998-01-13 Markku Rossi <mtr@ngs.fi>
266 * util.c (is_ungetc): Implemented unlimited ungetc support to the
267 InputStream interface. This is needed for the word wrap support.
269 * main.c: New options --nup-xpad and --nup-ypad to change the page
270 padding in N-up printing.
271 (main): Cleaned up N-up printing.
273 1998-01-12 Markku Rossi <mtr@ngs.fi>
275 * gsint.h: Replaced all stdarg functions with corresponding
276 macros. Changed all calls of `error', `fatal', `cfg_fatal' and
277 `message' to use the new macros. Now there should be no more
280 1998-01-02 Markku Rossi <mtr@ngs.fi>
282 * main.c (main): Changed to lookup the enscript.st file from
283 enscript_library instead of using the hard-coded `PREFIX/share'
284 directory. Now it obeys the ENSCRIPT_LIBRARY environment
287 * psgen.c (dump_ps_header): Generate PageSize page device setting
288 if it is requested. This should make the printer to select the
289 correct paper tray automatically.
291 * main.c (handle_options): Changed option -l, --lineprinter to set
292 only --lines-per-page=66 and --no-header (removed --portrait and
293 --columns=1). Now it conforms to Adobe's version.
295 1997-11-26 Markku Rossi <mtr@ngs.fi>
297 * util.c (format_user_string): Fixed y2k bugs.
299 1997-09-30 Markku Rossi <mtr@ngs.fi>
301 * main.c: Added ISO-8859/4 encoding, thanks to Ricardas Cepas
304 1997-09-16 Markku Rossi <mtr@ngs.fi>
306 * main.c (version): Updated to conform the latest GNU coding
309 1997-08-28 Markku Rossi <mtr@ngs.fi>
311 * main.c: New option `--margins=LEFT:RIGHT:TOP:BOTTOM' to adjust
314 1997-08-11 Markku Rossi <mtr@ngs.fi>
316 * psgen.c (divert): Changed to use tempnam() instead of tmpnam().
317 (get_next_token): Fixed tabulator character handling with variable
318 width fonts. Now it really works; the left margins is really
321 1997-07-03 Markku Rossi <mtr@ngs.fi>
323 * psgen.c (read_special_escape): Implemented new `escape' special
324 escape to change the escape character.
326 1997-06-10 Markku Rossi <mtr@ngs.fi>
328 * psgen.c: Optimized the size of the generated PostScript output.
329 (print_line_number): Fixed to print the line number with the
330 default body font, not with the currently active font which might
331 have been selected with font escapes.
332 (process_file): New special escape ^@bggray{} to set the text
335 1997-06-06 Markku Rossi <mtr@ngs.fi>
337 * psgen.c: Fixed lineskip to work better when changing the font at
338 the beginning of the line.
340 1997-06-05 Markku Rossi <mtr@ngs.fi>
342 * psgen.c (dump_empty_page): Fixed --file-align option to work
343 even if we cross the page boundary in N-up mode.
345 1997-05-28 Markku Rossi <mtr@ngs.fi>
347 * main.c: New option --mark-wrapped-lines[=STYLE],
348 MarkWrappedLines to mark wrapped lines in the printout.
350 1997-05-22 Markku Rossi <mtr@ngs.fi>
352 * main.c (main): Coded more information to the return value.
354 1997-03-19 Markku Rossi <mtr@ngs.fi>
356 * main.c: New option -W, --language to specify the output
358 New option --color to change the States color model from the
360 Made option -J to be an alias for -t, --title.
361 Make option -# to be an alias for -n, --copies.
363 1997-03-04 Markku Rossi <mtr@ngs.fi>
365 * util.c (read_config): New config file option `StatesPath' to
366 specify the path for the states program.
368 * psgen.c: Fixed --file-align option which was broken with the
371 1997-03-03 Markku Rossi <mtr@ngs.fi>
373 * psgen.c (dump_ps_page_header): Implemented user escapes for user
374 defined header strings.
376 1997-02-26 Markku Rossi <mtr@ngs.fi>
378 * Release enscript-1.5.0.
380 1997-02-21 Markku Rossi <mtr@ngs.fi>
382 * util.c (read_font_info): Optimized AFM caching, this speeds up
383 enscript when using ^@font{} escapes a lot (-E).
384 (read_font_info): New input encoding asciidkno.
385 Renamed asciiscands to asciifise.
387 1997-02-18 Markku Rossi <mtr@ngs.fi>
389 * main.c: New option -U NUM, --nup=NUM to specify how many logical
390 output pages are printed on each physical output page.
392 1997-02-06 Markku Rossi <mtr@ngs.fi>
394 * util.c (parse_font_spec): Added a warning about negative font
397 1997-02-03 Markku Rossi <mtr@ngs.fi>
399 * main.c: New option `--help-pretty-print' to describe all
400 supported --pretty-print languages and file formats.
402 1997-01-24 Markku Rossi <mtr@ngs.fi>
404 * main.c (main): Changed the output file creation to be
405 demand-driven. If the input file (all input files) could not be
406 opened, enscript doesn't generate any output. This is a good
409 1997-01-23 Markku Rossi <mtr@ngs.fi>
411 * gsint.h: Changed the way how memmove() and memcpy() are defined
412 handled. Not replacements can be found form compat lib so we do
413 not need any #define kludges.
415 1997-01-21 Markku Rossi <mtr@ngs.fi>
417 * Makefile.am: Removed testcase.sh and moved all tests to ../tests
420 * util.c (read_config): Added states dependant config file
421 options: `StatesColorModel', `StatesConfigFile' and
422 `StatesHighlightLevel'.
424 1997-01-13 Markku Rossi <mtr@ngs.fi>
426 * mkafmmap.c: Internationalized mkafmmap program.
428 * util.c (read_config): New option `OutputFirstLine' to set the
429 PostScript output's first line.
431 1996-11-28 Markku Rossi <mtr@ngs.fi>
433 * main.c: New option `--E', `--pretty-print' to pretty print
434 source codes with `states'.
436 * psgen.c: New special escape ^@color{r g b}.
438 * util.c (format_user_string): Fixed bug from the `$n' escape
440 (read_config): New option `NoJobHeaderSwitch' to specify the
441 spooler option to suppress the job header.
443 1996-11-05 Markku Rossi <mtr@ngs.ngs.fi>
445 * psgen.c: fixed line number spacing bug which occured when using
446 line numbers with escapes.
448 * main.c: Added ISO-8859/5 (ISO latin5) encoding.
450 1996-09-07 Markku Rossi <mtr@ngs.ngs.fi>
452 * main.c: Added Adobe's Standard cyrillic Font KOI8 encoding.
454 1996-08-30 Markku Rossi <mtr@ngs.ngs.fi>
456 * util.c (parse_font_spec): Accept font point size in width/height
459 1996-08-23 Markku Rossi <mtr@ngs.ngs.fi>
461 * util.c (read_config): New config file option TOCFormat.
463 * psgen.c (process_file): Implemented user-definable format
464 strings for TOC entries.
466 * main.c: New option --slice to print vertical slices of input
469 1996-08-05 Markku Rossi <mtr@ngs.ngs.fi>
471 * main.c: New option --file-align=ALIGN to align separate input
472 files to even ALIGN page count.
474 1996-07-24 Markku Rossi <mtr@ngs.ngs.fi>
476 * main.c: New option --toc to print the Table of Contents.
478 1996-07-17 Markku Rossi <mtr@ngs.ngs.fi>
480 * Release enscript-1.4.0.
482 1996-06-16 Markku Rossi <mtr@ngs.ngs.fi>
484 * psgen.c (get_next_token): Fixed line number counting for
486 (paste_epsf): Fixed a bug which printed EPS images to pages which
487 didn't belong to any of the requested page ranges.
489 * main.c (main): Added new configuration file:
490 SYSCONFDIR/enscriptsite.cfg. This is intended for the
491 site-specific configuration whereas the global configuration file
492 SYSCONFDIR/enscript.cfg is for the global defaults.
493 Site-configuration file is never overwritten by installing a new
494 version of enscript so it is a safe place to store site-specific
495 media etc. definitions.
497 1996-06-13 Markku Rossi <mtr@ngs.ngs.fi>
499 * main.c (handle_options): New option `--printer-options' to pass
500 extra options to the printer command.
502 * psgen.c (process_file): Count shade-box's position from the
503 font's FontBBox value.
504 (process_file): New escape `ps' to add raw PostScript code to the
507 * main.c: New option --filter=STR, -I STR which sets the
508 input filter for source files.
510 1996-05-24 Markku Rossi <mtr@ngs.fi>
512 * util.c (read_config): New config file option `FormFeedType' to
513 specify what to do when a formfeed character is encountered from
516 * psgen.c (read_special_escape): Cleaned up special escapes parsing.
517 (read_special_escape): New escapes: `newpage', `setfilename' and
520 * util.c (read_config): New config option
521 `AcceptCompositeCharacters' to specify whatever we accept
522 PostScript font's composite characters or should we consider them
524 (download_font): Added support for binary-coded .pfb fonts, thanks
525 to Bruce Albrecht <bruce@zuhause.MN.ORG>.
527 * main.c (long_options): Renamed option --pass-through-ps-files to
530 1996-05-22 Markku Rossi <mtr@ngs.fi>
532 * psgen.c (process_file): Fixed carriage return character
535 1996-05-10 Markku Rossi <mtr@ngs.fi>
537 * psgen.c (read_special_escape): New special escape `shade' to
538 highlight regions of text.
540 * main.c (usage): Cleaned up --help messages.
542 1996-05-09 Markku Rossi <mtr@ngs.fi>
544 * util.c (read_config): New configuration file option:
547 1996-05-07 Markku Rossi <mtr@ngs.fi>
549 * util.c (read_config): New config file option `UnderlayStyle' to
550 specify the underlay printing style.
552 * main.c: New option: -j, --borders to print borders around
554 (long_options): New option --ul-style to specify the underlay
557 1996-05-02 Markku Rossi <mtr@ngs.fi>
559 * util.c (read_font_info): Added AFM cache to speedup font-escape
562 * psgen.c (print_line_number): Don't print line numbers for
565 1996-04-22 Markku Rossi <mtr@ngs.fi>
567 * util.c (format_user_string): New directive `%H' for the document
570 * main.c: Changed option -e, --escapes to take an optional
571 argument which specifies the escape character.
573 1996-04-01 Markku Rossi <mtr@ngs.fi>
575 * psgen.c (process_file): Now ^@font{} escapes work over page
578 1996-03-27 Markku Rossi <mtr@ngs.fi>
580 * main.c (main): New option -a, --pages to select which pages are
583 1996-03-26 Markku Rossi <mtr@ngs.fi>
585 * util.c (format_user_string): New option: `$=' number of pages in
586 the current input file.
588 * psgen.c (process_file): Added diversions to count the total
589 pages within a file (%Format: $=).
591 1996-03-12 Markku Rossi <mtr@ngs.fi>
593 * main.c (handle_options): Changed option -l, --lineprinter to
594 print 66 lines per page instead of 65 lines.
596 * util.c (read_config): New config file option: PagePrefeed.
598 * main.c (main): New options: -k, --page-prefeed, -K,
601 1996-03-07 Markku Rossi <mtr@ngs.fi>
603 * util.c (format_user_string): New escape: $(ENVVAR).
605 1996-03-05 Markku Rossi <mtr@ngs.fi>
607 * util.c (read_config): New config file options: HighlightBars and
610 * main.c: New option: -H, --highlight-bars and
611 --highlight-bar-gray to control the highlight bar printing.
613 1996-03-01 Markku Rossi <mtr@ngs.fi>
615 * main.c: New option: -h, --no-job-header to suppress the job
617 (main): Changed option --title to set the name of stdin.
619 1996-02-29 Markku Rossi <mtr@ngs.fi>
621 * Added support for the automatic de-ANSI-fication.
623 * Renamed package to enscript.
625 1996-02-25 Markku Rossi <mtr@ngs.fi>
627 * main.c (main): changed stdin's name to be an empty string
628 instead of "(stdin)". This is how Adobe's enscript does it.
630 1996-02-23 Markku Rossi <mtr@ngs.fi>
632 * main.c (main): Added environment variable GENSCRIPT_LIBRARY
633 which can be used to overwrite the build-in library path.
635 * psgen.c (read_special_escape): fixed a bug which caused pipes to
636 the EPS files to be closed with fclose().
638 1996-02-21 Markku Rossi <mtr@ngs.fi>
640 * Makefile.in (exec_prefix): fixed to honor the value given by the
643 1996-02-20 Markku Rossi <mtr@ngs.fi>
645 * Added hp8 (HP Roman-8) encoding.
647 1996-02-19 Markku Rossi <mtr@ngs.fi>
649 * Release genscript-1.3.0.
651 * main.c (main): New config file option `AppendCtrlD' which can be
652 used to append the ^D character to the end of the output.
654 * psgen.c (do_pass_through_ps_file): added pass-through for the
657 1996-02-08 Markku Rossi <mtr@ngs.fi>
659 * util.c (read_config): New config file option `Clean7Bit' to
660 specify how characters greater than 127 are handled.
662 1996-02-07 Markku Rossi <mtr@ngs.fi>
664 * gsint.h: Implemented unit selection for the `--indent' option.
666 1996-01-30 Markku Rossi <mtr@ngs.fi>
668 * main.c (main): Now genscript can be used even if it is not
671 * Makefile.in (check): new target
673 1996-01-25 Markku Rossi <mtr@ngs.fi>
675 * util.c (paste_file): Implemented `%HeaderHeight' and
676 `%FooterHeight' directives.
678 1996-01-09 Markku Rossi <mtr@ngs.fi>
680 * Finished Win-95/NT port.
682 1996-01-08 Markku Rossi <mtr@ngs.fi>
684 * First Win-95/NT port with MSC 2.00.
686 * util.c (format_user_string): New options: %N and $%.
688 1996-01-05 Markku Rossi <mtr@ngs.fi>
690 * psgen.c (dump_ps_header): Removed date and time ps-constants
691 which can now be formatted with the `%Format' directive:
697 (dump_ps_page_header): Removed fmodstr ps-constant which can now
698 be formatted with the `%Format' directive:
699 - fmodstr = $D{%a %b %e %T %Y}
701 * util.c (format_user_string): Implemented `%Format' directive
702 which can be used to format user defined strings in fancy headers.
704 1996-01-04 Markku Rossi <mtr@ngs.fi>
706 * main.c: Added pslatin1 encoding (PostScript interpreter's
709 1996-01-03 Markku Rossi <mtr@ngs.fi>
711 * Created a new Makefile to the compat subdirectory; now genscript
712 does not need a make with the VPATH feature.
714 * main.c (usage): Split usage string to smaller parts wich are
717 1996-01-02 Markku Rossi <mtr@ngs.fi>
719 * main.c: New option: --non-printable-format, NonPrintableFormat.
721 1995-12-20 Markku Rossi <mtr@ngs.fi>
723 * Added statistics about non-printable character codes.
725 * main.c: New option: -z, --no-formfeed to disable form feed
726 character interpretation.
728 * util.c (do_list_missing_characters): Changed output to go to
729 stderr instead of stdout.
731 1995-12-19 Markku Rossi <mtr@ngs.fi>
733 * util.c (read_config): New config file options: UnderlayAngle and
736 * main.c (main): New options: --ul-angle and --ul-position.
738 1995-12-18 Markku Rossi <mtr@ngs.fi>
740 * configure.in (PATH_SEPARATOR): Defined a new constant
741 PATH_SEPARATOR to specify the character which separates path
742 components. Fixed also all uses.
744 * prt_lpr.c: Isolated printer related stuffs to a separate C file
747 * Makefile.in: Removed pre-defined eps images from the
750 * util.c (parse_font_spec): Added support for the new
751 `name@ptsize' font specification.
753 1995-11-28 Markku Rossi <mtr@ngs.fi>
755 * main.c (handle_options): Option -u, --underlay was changed to
756 take an optional argument. If no argument is given, underlay is
759 * util.c (read_config): New config file option `Underlay' to
760 specify the underlay text.
762 * Makefile.in: Fixed Makefile to obey the GNU Coding Standards.
763 Changed datadir from `prefix/lib' to `prefix/share'.
765 1995-11-27 Markku Rossi <mtr@ngs.fi>
767 * util.c (read_config): New config file options: UnderlayFont and
770 * main.c: Renamed long options:
771 --output-file => --output
773 --tab-size => --tabsize
775 (long_options): made --silent to be an alias for --quiet
777 * utils.c: Renamed config file option `Queue' to `Printer'.
779 1995-11-08 Markku Rossi <mtr@ngs.fi>
781 * Added latin3 encoding (from the latin3.txt file by Duncan C
784 1995-11-02 Markku Rossi <mtr@ngs.fi>
786 * psgen.c: Fixed a bug which added document headers and trailers
787 to pass-through PostScript files.
789 1995-10-31 Markku Rossi <mtr@ngs.fi>
791 * Release genscript-1.2.20.
793 1995-10-27 Markku Rossi <mtr@ngs.fi>
795 * Added option -C, --line-numbers.
797 1995-10-26 Markku Rossi <mtr@ngs.fi>
799 * Added option -Z, --pass-through-ps-files.
801 1995-10-24 Markku Rossi <mtr@ngs.fi>
803 * Cleaned up some HTML entity codes in encoding tables.
805 1995-10-18 Markku Rossi <mtr@ngs.fi>
807 * Added latin2 encoding.
809 1995-10-10 Markku Rossi <mtr@ngs.fi>
811 * main.c (main): changed fancy header's height from 40 to 36
814 1995-10-05 Markku Rossi <mtr@ngs.fi>
816 * New config file options: Queue and QueueParam.
818 * genscript.man: minor cleanups.
820 1995-10-02 Markku Rossi <mtr@ngs.fi>
822 * Release genscript-1.2.1.
824 1995-09-29 Markku Rossi <mtr@ngs.fi>
826 * main.c: read default options from the GENSCRIPT (and ENSCRIPT)
829 1995-09-26 Markku Rossi <mtr@ngs.fi>
831 * font size and baselineskip can be given as a decimal number
833 * psgen.c: Fixed DSC comments, now generated output is DSC 3.0
836 1995-09-21 Markku Rossi <mtr@ngs.fi>
838 * Implemented .pf{a,b} file downloading.
840 1995-09-20 Markku Rossi <mtr@ngs.fi>
842 * psgen.c (read_special_escape): new option 's' (scale) to specify
843 an explicit scale for an eps image.
845 * psgen.c: fixed epsf escape to start a new column if the
846 specified image does not fit to the current one.
848 1995-09-18 Markku Rossi <mtr@ngs.fi>
850 * main.c: Fixed some typos.
852 * Added backspace handling.
854 1995-09-09 Markku Rossi <mtr@ngs.fi>
856 * main.c (main): fixed typos that broke -o and -X options.
858 1995-09-04 Markku Rossi <mtr@ngs.fi>
860 * Release genscript-1.1.4.
862 * Added option --page-label-format.
864 * psgen.c (dump_ps_header): Added findatestr.
865 (paste_epsf): Fixed paste_epsf()'s EPS file recognization.
867 1995-08-30 Markku Rossi <mtr@ngs.fi>
869 * Added options -u, --underlay, --ul-gray and --ul-font.
871 * psgen.c (read_float): now dimensions can be specified in
874 1995-08-29 Markku Rossi <mtr@ngs.fi>
876 * Changed PostScript font's default encoding name from 'default'
879 * New config file option: DefaultOutputMethod.
881 * Added option --indent, -i.
883 * Cleaned up options in manual page, help and code.
885 * Replaced StringSet module with StringHash.
887 * psgen.c (paste_epsf): Now EPS images can be read from command's
890 1995-08-24 Markku Rossi <mtr@ngs.fi>
892 * vms.txt: Added VMS multinational input encoding.
894 * mac.txt: Cleaned up character table.
896 * Added options -S, --statusdict and -D, --setpagedevice.
898 1995-08-23 Markku Rossi <mtr@ngs.fi>
900 * Improved configure to handle more non-ANSI features.
902 * Fixed a declaration bug from compat/strerror.c.
904 * psgen.c (read_float): replaced strtod() with atof().
906 * xalloc.c (xrealloc): do an explicit malloc() if old pointer is
909 * ibmpc.txt: Cleaned up character table.
911 * psgen.c (get_next_token): control characters are now printed in
914 1995-08-21 Markku Rossi <mtr@ngs.fi>
916 * Release genscript-1.0.1.
918 1995-08-17 Markku Rossi <mtr@ngs.fi>
922 1995-08-15 Markku Rossi <mtr@ngs.fi>
924 * Added option --baseline.
926 * Fixed epsf escape's options.
928 1995-08-14 Markku Rossi <mtr@ngs.fi>
930 * Added support for AFM files.
932 1995-08-09 Markku Rossi <mtr@ngs.fi>
934 * Added option --newline to select the newline character.
936 * Cleaned up character set tables.
938 1995-08-07 Markku Rossi <mtr@ngs.fi>
940 * Added Mac input encoding.
942 1995-08-03 Markku Rossi <mtr@ngs.fi>
944 * New special escapes: 'font' and 'comment'.
946 * New option --tab-size=NUM, -T NUM to define tab expansion size.
948 * General code and document cleanups.
950 1995-07-31 Markku Rossi <mtr@ngs.fi>
952 * Added support for --copies option. Now it really works.
954 * util.c (paste_file): parses '%%DocumentNeededResources:'
957 * Added options --font and --header-font.
959 1995-07-27 Markku Rossi <mtr@ngs.fi>
961 * psgen.c (paste_epsf): now eps files are also looked up from
963 (read_special_escape): epsf: added option 'r'.
965 1995-07-26 Markku Rossi <mtr@ngs.fi>
967 * psgen.c: added support for inlined EPS-files.
969 1995-07-25 Markku Rossi <mtr@ngs.fi>
971 * Added IBM PC input encoding.
974 Copyright (C) 1995, 1996, 1997, 1998, 1999, 2008 Free Software Foundation, Inc.
976 Copying and distribution of this file, with or without modification,
977 are permitted in any medium without royalty provided the copyright
978 notice and this notice are preserved.