1 2009-12-30 Tim Retout <diocles@gnu.org>
3 * main.c (main): Use ngettext for messages about truncated lines,
4 missing characters and non-printable characters.
6 2009-12-27 Tim Retout <diocles@gnu.org>
8 Apply patch from Debian Security Team for CAN-2004-1184.
10 * gsint.h: Add shell_escape prototype.
11 * util.c (shell_escape): New function to escape filenames for
13 * util.c (is_open): Use shell_escape to expand command buffer.
15 * main.c (main): Use single quotes when building command string,
16 and use shell_escape to quote contents.
18 * util.c (escape_string): Check return code of xmalloc.
20 Apply patch from Werner Fink to address CVE-2008-3863,
23 * psgen.c: Use PATH_MAX for various buffer sizes.
24 Replace several strcpy calls with memset and strncpy.
26 2009-03-28 Tim Retout <diocles@gnu.org>
28 * psgen.c (recognize_eps_file): Remove ability to read EPS data
29 from a pipe, as this executes arbitrary commands. It has been
30 disabled in most distros for five years anyway. See
33 * psgen.c (dump_ps_page_header): Use basename() and dirname() to
34 split path. Fixes a buffer overflow - see CAN-2004-1186.
36 2009-01-25 Tim Retout <diocles@gnu.org>
38 * main.c (main): Respect $HOME when searching for ~/.enscriptrc
40 2008-01-01 Tim Retout <diocles@gnu.org>
42 * ChangeLog: Run M-x change-log-redate. Add copyright notice at end.
44 * main.c (usage): Use PACKAGE_BUGREPORT instead of hardcoding the bug
47 * main.c (main) <toc>: Remove an unnecessary fclose of the toc
48 temporary file, which was breaking the --toc option.
50 1999-09-17 Markku Rossi <mtr@amme.ssh.fi>
52 * main.c (handle_options): New option --footer to set the page
54 (main): Modified the config file reading to be more user-tolerant.
55 If the config file reading still fails, the enscript prints a
56 verbose error message describing the situation. Enscript also
57 suggest some workarounds for the problem. Hopefully this helps
58 users to overcome their problems concerning the installation of
61 * psgen.c (dump_ps_page_header): Added support for user supplied
64 * main.c: Removed the obsolete --list-options option.
66 1999-09-13 Markku Rossi <mtr@amme.ssh.fi>
68 * main.c (handle_options): New option --extended-return-values to
69 enable the extended return values.
71 1999-09-07 Markku Rossi <mtr@amme.ssh.fi>
73 * psgen.c (process_file): Added an argument `is_toc' to specify
74 whether the file to process is a table of contents file.
76 1999-08-26 Markku Rossi <mtr@amme.ssh.fi>
78 * util.c (format_user_string): New escape `$p' for number of pages
81 1999-07-16 Markku Rossi <mtr@amme.ssh.fi>
83 * Finished the static to dynamic memory buffer conversion. Now
84 the enscript sources should not have any buffer overrun bugs.
86 1999-07-13 Markku Rossi <mtr@amme.ssh.fi>
88 * Converted many static buffers to dynamically allocated buffers.
89 There are still more work in this area.
91 1999-07-09 Markku Rossi <mtr@amme.ssh.fi>
93 * main.c: Started to fix some possible buffer overflows. This
94 needs still more work.
96 * util.c: Implemented buffer_clear().
98 1999-07-08 Markku Rossi <mtr@amme.ssh.fi>
100 * prt_lpr.c: Fixed to use the new memory buffer routines.
102 * util.c: Implemented new dynamic memory buffer handling routines
103 buffer_{{un,}init,alloc,free,append{,_len},ptr,len}().
105 1999-07-05 Markku Rossi <mtr@amme.ssh.fi>
107 * main.c (handle_options): New option `--nup-columnwise' to layout
108 pages in the N-up printing columnwise.
109 (handle_options): New option `--swap-even-page-margins' to swap
110 left and right side page marginals for even numbered pages.
112 1999-03-29 Markku Rossi <mtr@amme.ssh.fi>
114 * main.c (close_output_file): Check the return value of fclose on
115 a written file, and warn if necessary. (John Bley,
118 1999-03-12 Markku Rossi <mtr@amme.ssh.fi>
120 * main.c: Renamed all `pretty-print' options to the corresponding
123 1999-01-07 Markku Rossi <mtr@amme.ssh.fi>
125 * util.c (parse_font_spec): Cleaned up the font specification
128 * main.c (main): Fixed the non-installation runs to preserve the
130 (handle_options): New options -3, -4, -5, -6, -7, -8, -9 to select
133 1998-12-23 Markku Rossi <mtr@amme.ssh.fi>
135 * main.c (encodings): Added ISO-8859-{9,10} encodings.
137 * psgen.c (process_file): Swapped the order in which the line
138 numbers and line shading are printed. Now the line numbers won't
139 be overwritten by the shading.
141 1998-12-07 Markku Rossi <mtr@amme.ssh.fi>
143 * main.c (main): Added a xgettext `no-c-format' string.
145 1998-10-29 Markku Rossi <mtr@ngs.fi>
147 * main.c (main): Fixed the `--help-pretty-print' option to work
148 with the new highlighting scheme.
150 1998-10-23 Markku Rossi <mtr@ngs.fi>
152 * util.c (read_font_info): Added the `encoding' value to the font
155 * psgen.c (process_file): New special escape ^@bgcolor{} to set
156 the text background color.
158 * main.c: Changed enscript to use the new highlighting style. All
159 states related options were changed.
161 1998-10-16 Markku Rossi <mtr@ngs.fi>
163 * psgen.c: Added support for the user specified input encoding in
164 the ^@font{} escapes.
166 * util.c (parse_font_spec): Added support for the encoding
167 specification in the font spec. All uses changed.
169 * gsint.h: New the EncodingRegistry to hold the known input
171 Made the encodings a global variable.
173 1998-09-07 Markku Rossi <mtr@ngs.fi>
175 * main.c (main): Fixed to honor the HOME environment variable.
177 1998-06-25 Markku Rossi <mtr@ngs.fi>
179 * main.c (handle_options): New option `--rotate-even-pages' to
180 rotate each even-numbered page 180 degrees.
181 (usage): Moved `--word-wrap' to correct position.
183 1998-06-24 Markku Rossi <mtr@ngs.fi>
185 * psgen.c (dump_ps_page_header): Fixed N-up printing in the
186 portrait mode. It used to work, but I have broke it sometime in
187 the past. Now it is fixed again.
189 * util.c (format_user_string): Fixed a bug from the `$n'
190 formatting. We do not want to show the leading '/' in the result
193 1998-06-23 Markku Rossi <mtr@ngs.fi>
195 * main.c (encodings): Fixed a typo where the ISO-8859-7 was called
196 "creek" instead of "greek".
198 * psgen.c (dump_ps_header): Fixed to obey the `pslevel' option;
199 generate PostScript level 2 features only if the requested level
202 * main.c (handle_options): New option `--ps-level' to set the PS
203 level that enscript should use.
204 (main): Changed to pass the stdin to states as "-".
206 * util.c (read_config): New config file option `PostScriptLevel'
207 to set the PS level that enscript should use.
209 1998-06-22 Markku Rossi <mtr@ngs.fi>
211 * psgen.c (dump_ps_page_header): Fixed a NULL-reference bug from
212 the `--header' handling.
214 1998-06-17 Markku Rossi <mtr@ngs.fi>
216 * main.c (usage): Added a missing `\n\' sequence in the usage
219 1998-06-11 Markku Rossi <mtr@ngs.fi>
221 * main.c: Renamed ISO-8859-* encodings.
223 1998-05-26 Markku Rossi <mtr@ngs.fi>
225 * util.c (format_user_string): Changed `$%' to format the page
226 number as `2B' in the slicing mode.
228 * main.c (main): Added double quotes around all file names in the
229 pipe command strings. Now we can cooperate with file names with
232 1998-05-18 Markku Rossi <mtr@ngs.fi>
234 * main.c (handle_options): Changed the way how the escape
235 character code can be set. Now we accept decimals, octals,
236 hexadecimals, and characters as-is.
238 1998-03-25 Markku Rossi <mtr@ngs.fi>
240 * main.c: Added ISO-8859/7 (ISO latin7) encoding.
242 1998-03-09 Markku Rossi <mtr@ngs.fi>
244 * main.c (handle_options): Option -C, --line-numbers takes now an
245 optional argument that specifies the number of the first line of
248 1998-02-23 Markku Rossi <mtr@ngs.fi>
250 * psgen.c (process_file): Implemented horizontal columns. The
251 option --h-column-height is used to set the column height and to
252 activate the horizontal columns.
254 1998-01-14 Markku Rossi <mtr@ngs.fi>
256 * psgen.c (get_next_token): Implemented word wrapping to be used
257 instead of truncating `-c', `--truncate-lines' or character
260 Cleaned up statistics about truncated and wrapped lines. Now it
261 obeys `--pages' and it works for both truncated and wrapped lines.
263 1998-01-13 Markku Rossi <mtr@ngs.fi>
265 * util.c (is_ungetc): Implemented unlimited ungetc support to the
266 InputStream interface. This is needed for the word wrap support.
268 * main.c: New options --nup-xpad and --nup-ypad to change the page
269 padding in N-up printing.
270 (main): Cleaned up N-up printing.
272 1998-01-12 Markku Rossi <mtr@ngs.fi>
274 * gsint.h: Replaced all stdarg functions with corresponding
275 macros. Changed all calls of `error', `fatal', `cfg_fatal' and
276 `message' to use the new macros. Now there should be no more
279 1998-01-02 Markku Rossi <mtr@ngs.fi>
281 * main.c (main): Changed to lookup the enscript.st file from
282 enscript_library instead of using the hard-coded `PREFIX/share'
283 directory. Now it obeys the ENSCRIPT_LIBRARY environment
286 * psgen.c (dump_ps_header): Generate PageSize page device setting
287 if it is requested. This should make the printer to select the
288 correct paper tray automatically.
290 * main.c (handle_options): Changed option -l, --lineprinter to set
291 only --lines-per-page=66 and --no-header (removed --portrait and
292 --columns=1). Now it conforms to Adobe's version.
294 1997-11-26 Markku Rossi <mtr@ngs.fi>
296 * util.c (format_user_string): Fixed y2k bugs.
298 1997-09-30 Markku Rossi <mtr@ngs.fi>
300 * main.c: Added ISO-8859/4 encoding, thanks to Ricardas Cepas
303 1997-09-16 Markku Rossi <mtr@ngs.fi>
305 * main.c (version): Updated to conform the latest GNU coding
308 1997-08-28 Markku Rossi <mtr@ngs.fi>
310 * main.c: New option `--margins=LEFT:RIGHT:TOP:BOTTOM' to adjust
313 1997-08-11 Markku Rossi <mtr@ngs.fi>
315 * psgen.c (divert): Changed to use tempnam() instead of tmpnam().
316 (get_next_token): Fixed tabulator character handling with variable
317 width fonts. Now it really works; the left margins is really
320 1997-07-03 Markku Rossi <mtr@ngs.fi>
322 * psgen.c (read_special_escape): Implemented new `escape' special
323 escape to change the escape character.
325 1997-06-10 Markku Rossi <mtr@ngs.fi>
327 * psgen.c: Optimized the size of the generated PostScript output.
328 (print_line_number): Fixed to print the line number with the
329 default body font, not with the currently active font which might
330 have been selected with font escapes.
331 (process_file): New special escape ^@bggray{} to set the text
334 1997-06-06 Markku Rossi <mtr@ngs.fi>
336 * psgen.c: Fixed lineskip to work better when changing the font at
337 the beginning of the line.
339 1997-06-05 Markku Rossi <mtr@ngs.fi>
341 * psgen.c (dump_empty_page): Fixed --file-align option to work
342 even if we cross the page boundary in N-up mode.
344 1997-05-28 Markku Rossi <mtr@ngs.fi>
346 * main.c: New option --mark-wrapped-lines[=STYLE],
347 MarkWrappedLines to mark wrapped lines in the printout.
349 1997-05-22 Markku Rossi <mtr@ngs.fi>
351 * main.c (main): Coded more information to the return value.
353 1997-03-19 Markku Rossi <mtr@ngs.fi>
355 * main.c: New option -W, --language to specify the output
357 New option --color to change the States color model from the
359 Made option -J to be an alias for -t, --title.
360 Make option -# to be an alias for -n, --copies.
362 1997-03-04 Markku Rossi <mtr@ngs.fi>
364 * util.c (read_config): New config file option `StatesPath' to
365 specify the path for the states program.
367 * psgen.c: Fixed --file-align option which was broken with the
370 1997-03-03 Markku Rossi <mtr@ngs.fi>
372 * psgen.c (dump_ps_page_header): Implemented user escapes for user
373 defined header strings.
375 1997-02-26 Markku Rossi <mtr@ngs.fi>
377 * Release enscript-1.5.0.
379 1997-02-21 Markku Rossi <mtr@ngs.fi>
381 * util.c (read_font_info): Optimized AFM caching, this speeds up
382 enscript when using ^@font{} escapes a lot (-E).
383 (read_font_info): New input encoding asciidkno.
384 Renamed asciiscands to asciifise.
386 1997-02-18 Markku Rossi <mtr@ngs.fi>
388 * main.c: New option -U NUM, --nup=NUM to specify how many logical
389 output pages are printed on each physical output page.
391 1997-02-06 Markku Rossi <mtr@ngs.fi>
393 * util.c (parse_font_spec): Added a warning about negative font
396 1997-02-03 Markku Rossi <mtr@ngs.fi>
398 * main.c: New option `--help-pretty-print' to describe all
399 supported --pretty-print languages and file formats.
401 1997-01-24 Markku Rossi <mtr@ngs.fi>
403 * main.c (main): Changed the output file creation to be
404 demand-driven. If the input file (all input files) could not be
405 opened, enscript doesn't generate any output. This is a good
408 1997-01-23 Markku Rossi <mtr@ngs.fi>
410 * gsint.h: Changed the way how memmove() and memcpy() are defined
411 handled. Not replacements can be found form compat lib so we do
412 not need any #define kludges.
414 1997-01-21 Markku Rossi <mtr@ngs.fi>
416 * Makefile.am: Removed testcase.sh and moved all tests to ../tests
419 * util.c (read_config): Added states dependant config file
420 options: `StatesColorModel', `StatesConfigFile' and
421 `StatesHighlightLevel'.
423 1997-01-13 Markku Rossi <mtr@ngs.fi>
425 * mkafmmap.c: Internationalized mkafmmap program.
427 * util.c (read_config): New option `OutputFirstLine' to set the
428 PostScript output's first line.
430 1996-11-28 Markku Rossi <mtr@ngs.fi>
432 * main.c: New option `--E', `--pretty-print' to pretty print
433 source codes with `states'.
435 * psgen.c: New special escape ^@color{r g b}.
437 * util.c (format_user_string): Fixed bug from the `$n' escape
439 (read_config): New option `NoJobHeaderSwitch' to specify the
440 spooler option to suppress the job header.
442 1996-11-05 Markku Rossi <mtr@ngs.ngs.fi>
444 * psgen.c: fixed line number spacing bug which occured when using
445 line numbers with escapes.
447 * main.c: Added ISO-8859/5 (ISO latin5) encoding.
449 1996-09-07 Markku Rossi <mtr@ngs.ngs.fi>
451 * main.c: Added Adobe's Standard cyrillic Font KOI8 encoding.
453 1996-08-30 Markku Rossi <mtr@ngs.ngs.fi>
455 * util.c (parse_font_spec): Accept font point size in width/height
458 1996-08-23 Markku Rossi <mtr@ngs.ngs.fi>
460 * util.c (read_config): New config file option TOCFormat.
462 * psgen.c (process_file): Implemented user-definable format
463 strings for TOC entries.
465 * main.c: New option --slice to print vertical slices of input
468 1996-08-05 Markku Rossi <mtr@ngs.ngs.fi>
470 * main.c: New option --file-align=ALIGN to align separate input
471 files to even ALIGN page count.
473 1996-07-24 Markku Rossi <mtr@ngs.ngs.fi>
475 * main.c: New option --toc to print the Table of Contents.
477 1996-07-17 Markku Rossi <mtr@ngs.ngs.fi>
479 * Release enscript-1.4.0.
481 1996-06-16 Markku Rossi <mtr@ngs.ngs.fi>
483 * psgen.c (get_next_token): Fixed line number counting for
485 (paste_epsf): Fixed a bug which printed EPS images to pages which
486 didn't belong to any of the requested page ranges.
488 * main.c (main): Added new configuration file:
489 SYSCONFDIR/enscriptsite.cfg. This is intended for the
490 site-specific configuration whereas the global configuration file
491 SYSCONFDIR/enscript.cfg is for the global defaults.
492 Site-configuration file is never overwritten by installing a new
493 version of enscript so it is a safe place to store site-specific
494 media etc. definitions.
496 1996-06-13 Markku Rossi <mtr@ngs.ngs.fi>
498 * main.c (handle_options): New option `--printer-options' to pass
499 extra options to the printer command.
501 * psgen.c (process_file): Count shade-box's position from the
502 font's FontBBox value.
503 (process_file): New escape `ps' to add raw PostScript code to the
506 * main.c: New option --filter=STR, -I STR which sets the
507 input filter for source files.
509 1996-05-24 Markku Rossi <mtr@ngs.fi>
511 * util.c (read_config): New config file option `FormFeedType' to
512 specify what to do when a formfeed character is encountered from
515 * psgen.c (read_special_escape): Cleaned up special escapes parsing.
516 (read_special_escape): New escapes: `newpage', `setfilename' and
519 * util.c (read_config): New config option
520 `AcceptCompositeCharacters' to specify whatever we accept
521 PostScript font's composite characters or should we consider them
523 (download_font): Added support for binary-coded .pfb fonts, thanks
524 to Bruce Albrecht <bruce@zuhause.MN.ORG>.
526 * main.c (long_options): Renamed option --pass-through-ps-files to
529 1996-05-22 Markku Rossi <mtr@ngs.fi>
531 * psgen.c (process_file): Fixed carriage return character
534 1996-05-10 Markku Rossi <mtr@ngs.fi>
536 * psgen.c (read_special_escape): New special escape `shade' to
537 highlight regions of text.
539 * main.c (usage): Cleaned up --help messages.
541 1996-05-09 Markku Rossi <mtr@ngs.fi>
543 * util.c (read_config): New configuration file option:
546 1996-05-07 Markku Rossi <mtr@ngs.fi>
548 * util.c (read_config): New config file option `UnderlayStyle' to
549 specify the underlay printing style.
551 * main.c: New option: -j, --borders to print borders around
553 (long_options): New option --ul-style to specify the underlay
556 1996-05-02 Markku Rossi <mtr@ngs.fi>
558 * util.c (read_font_info): Added AFM cache to speedup font-escape
561 * psgen.c (print_line_number): Don't print line numbers for
564 1996-04-22 Markku Rossi <mtr@ngs.fi>
566 * util.c (format_user_string): New directive `%H' for the document
569 * main.c: Changed option -e, --escapes to take an optional
570 argument which specifies the escape character.
572 1996-04-01 Markku Rossi <mtr@ngs.fi>
574 * psgen.c (process_file): Now ^@font{} escapes work over page
577 1996-03-27 Markku Rossi <mtr@ngs.fi>
579 * main.c (main): New option -a, --pages to select which pages are
582 1996-03-26 Markku Rossi <mtr@ngs.fi>
584 * util.c (format_user_string): New option: `$=' number of pages in
585 the current input file.
587 * psgen.c (process_file): Added diversions to count the total
588 pages within a file (%Format: $=).
590 1996-03-12 Markku Rossi <mtr@ngs.fi>
592 * main.c (handle_options): Changed option -l, --lineprinter to
593 print 66 lines per page instead of 65 lines.
595 * util.c (read_config): New config file option: PagePrefeed.
597 * main.c (main): New options: -k, --page-prefeed, -K,
600 1996-03-07 Markku Rossi <mtr@ngs.fi>
602 * util.c (format_user_string): New escape: $(ENVVAR).
604 1996-03-05 Markku Rossi <mtr@ngs.fi>
606 * util.c (read_config): New config file options: HighlightBars and
609 * main.c: New option: -H, --highlight-bars and
610 --highlight-bar-gray to control the highlight bar printing.
612 1996-03-01 Markku Rossi <mtr@ngs.fi>
614 * main.c: New option: -h, --no-job-header to suppress the job
616 (main): Changed option --title to set the name of stdin.
618 1996-02-29 Markku Rossi <mtr@ngs.fi>
620 * Added support for the automatic de-ANSI-fication.
622 * Renamed package to enscript.
624 1996-02-25 Markku Rossi <mtr@ngs.fi>
626 * main.c (main): changed stdin's name to be an empty string
627 instead of "(stdin)". This is how Adobe's enscript does it.
629 1996-02-23 Markku Rossi <mtr@ngs.fi>
631 * main.c (main): Added environment variable GENSCRIPT_LIBRARY
632 which can be used to overwrite the build-in library path.
634 * psgen.c (read_special_escape): fixed a bug which caused pipes to
635 the EPS files to be closed with fclose().
637 1996-02-21 Markku Rossi <mtr@ngs.fi>
639 * Makefile.in (exec_prefix): fixed to honor the value given by the
642 1996-02-20 Markku Rossi <mtr@ngs.fi>
644 * Added hp8 (HP Roman-8) encoding.
646 1996-02-19 Markku Rossi <mtr@ngs.fi>
648 * Release genscript-1.3.0.
650 * main.c (main): New config file option `AppendCtrlD' which can be
651 used to append the ^D character to the end of the output.
653 * psgen.c (do_pass_through_ps_file): added pass-through for the
656 1996-02-08 Markku Rossi <mtr@ngs.fi>
658 * util.c (read_config): New config file option `Clean7Bit' to
659 specify how characters greater than 127 are handled.
661 1996-02-07 Markku Rossi <mtr@ngs.fi>
663 * gsint.h: Implemented unit selection for the `--indent' option.
665 1996-01-30 Markku Rossi <mtr@ngs.fi>
667 * main.c (main): Now genscript can be used even if it is not
670 * Makefile.in (check): new target
672 1996-01-25 Markku Rossi <mtr@ngs.fi>
674 * util.c (paste_file): Implemented `%HeaderHeight' and
675 `%FooterHeight' directives.
677 1996-01-09 Markku Rossi <mtr@ngs.fi>
679 * Finished Win-95/NT port.
681 1996-01-08 Markku Rossi <mtr@ngs.fi>
683 * First Win-95/NT port with MSC 2.00.
685 * util.c (format_user_string): New options: %N and $%.
687 1996-01-05 Markku Rossi <mtr@ngs.fi>
689 * psgen.c (dump_ps_header): Removed date and time ps-constants
690 which can now be formatted with the `%Format' directive:
696 (dump_ps_page_header): Removed fmodstr ps-constant which can now
697 be formatted with the `%Format' directive:
698 - fmodstr = $D{%a %b %e %T %Y}
700 * util.c (format_user_string): Implemented `%Format' directive
701 which can be used to format user defined strings in fancy headers.
703 1996-01-04 Markku Rossi <mtr@ngs.fi>
705 * main.c: Added pslatin1 encoding (PostScript interpreter's
708 1996-01-03 Markku Rossi <mtr@ngs.fi>
710 * Created a new Makefile to the compat subdirectory; now genscript
711 does not need a make with the VPATH feature.
713 * main.c (usage): Split usage string to smaller parts wich are
716 1996-01-02 Markku Rossi <mtr@ngs.fi>
718 * main.c: New option: --non-printable-format, NonPrintableFormat.
720 1995-12-20 Markku Rossi <mtr@ngs.fi>
722 * Added statistics about non-printable character codes.
724 * main.c: New option: -z, --no-formfeed to disable form feed
725 character interpretation.
727 * util.c (do_list_missing_characters): Changed output to go to
728 stderr instead of stdout.
730 1995-12-19 Markku Rossi <mtr@ngs.fi>
732 * util.c (read_config): New config file options: UnderlayAngle and
735 * main.c (main): New options: --ul-angle and --ul-position.
737 1995-12-18 Markku Rossi <mtr@ngs.fi>
739 * configure.in (PATH_SEPARATOR): Defined a new constant
740 PATH_SEPARATOR to specify the character which separates path
741 components. Fixed also all uses.
743 * prt_lpr.c: Isolated printer related stuffs to a separate C file
746 * Makefile.in: Removed pre-defined eps images from the
749 * util.c (parse_font_spec): Added support for the new
750 `name@ptsize' font specification.
752 1995-11-28 Markku Rossi <mtr@ngs.fi>
754 * main.c (handle_options): Option -u, --underlay was changed to
755 take an optional argument. If no argument is given, underlay is
758 * util.c (read_config): New config file option `Underlay' to
759 specify the underlay text.
761 * Makefile.in: Fixed Makefile to obey the GNU Coding Standards.
762 Changed datadir from `prefix/lib' to `prefix/share'.
764 1995-11-27 Markku Rossi <mtr@ngs.fi>
766 * util.c (read_config): New config file options: UnderlayFont and
769 * main.c: Renamed long options:
770 --output-file => --output
772 --tab-size => --tabsize
774 (long_options): made --silent to be an alias for --quiet
776 * utils.c: Renamed config file option `Queue' to `Printer'.
778 1995-11-08 Markku Rossi <mtr@ngs.fi>
780 * Added latin3 encoding (from the latin3.txt file by Duncan C
783 1995-11-02 Markku Rossi <mtr@ngs.fi>
785 * psgen.c: Fixed a bug which added document headers and trailers
786 to pass-through PostScript files.
788 1995-10-31 Markku Rossi <mtr@ngs.fi>
790 * Release genscript-1.2.20.
792 1995-10-27 Markku Rossi <mtr@ngs.fi>
794 * Added option -C, --line-numbers.
796 1995-10-26 Markku Rossi <mtr@ngs.fi>
798 * Added option -Z, --pass-through-ps-files.
800 1995-10-24 Markku Rossi <mtr@ngs.fi>
802 * Cleaned up some HTML entity codes in encoding tables.
804 1995-10-18 Markku Rossi <mtr@ngs.fi>
806 * Added latin2 encoding.
808 1995-10-10 Markku Rossi <mtr@ngs.fi>
810 * main.c (main): changed fancy header's height from 40 to 36
813 1995-10-05 Markku Rossi <mtr@ngs.fi>
815 * New config file options: Queue and QueueParam.
817 * genscript.man: minor cleanups.
819 1995-10-02 Markku Rossi <mtr@ngs.fi>
821 * Release genscript-1.2.1.
823 1995-09-29 Markku Rossi <mtr@ngs.fi>
825 * main.c: read default options from the GENSCRIPT (and ENSCRIPT)
828 1995-09-26 Markku Rossi <mtr@ngs.fi>
830 * font size and baselineskip can be given as a decimal number
832 * psgen.c: Fixed DSC comments, now generated output is DSC 3.0
835 1995-09-21 Markku Rossi <mtr@ngs.fi>
837 * Implemented .pf{a,b} file downloading.
839 1995-09-20 Markku Rossi <mtr@ngs.fi>
841 * psgen.c (read_special_escape): new option 's' (scale) to specify
842 an explicit scale for an eps image.
844 * psgen.c: fixed epsf escape to start a new column if the
845 specified image does not fit to the current one.
847 1995-09-18 Markku Rossi <mtr@ngs.fi>
849 * main.c: Fixed some typos.
851 * Added backspace handling.
853 1995-09-09 Markku Rossi <mtr@ngs.fi>
855 * main.c (main): fixed typos that broke -o and -X options.
857 1995-09-04 Markku Rossi <mtr@ngs.fi>
859 * Release genscript-1.1.4.
861 * Added option --page-label-format.
863 * psgen.c (dump_ps_header): Added findatestr.
864 (paste_epsf): Fixed paste_epsf()'s EPS file recognization.
866 1995-08-30 Markku Rossi <mtr@ngs.fi>
868 * Added options -u, --underlay, --ul-gray and --ul-font.
870 * psgen.c (read_float): now dimensions can be specified in
873 1995-08-29 Markku Rossi <mtr@ngs.fi>
875 * Changed PostScript font's default encoding name from 'default'
878 * New config file option: DefaultOutputMethod.
880 * Added option --indent, -i.
882 * Cleaned up options in manual page, help and code.
884 * Replaced StringSet module with StringHash.
886 * psgen.c (paste_epsf): Now EPS images can be read from command's
889 1995-08-24 Markku Rossi <mtr@ngs.fi>
891 * vms.txt: Added VMS multinational input encoding.
893 * mac.txt: Cleaned up character table.
895 * Added options -S, --statusdict and -D, --setpagedevice.
897 1995-08-23 Markku Rossi <mtr@ngs.fi>
899 * Improved configure to handle more non-ANSI features.
901 * Fixed a declaration bug from compat/strerror.c.
903 * psgen.c (read_float): replaced strtod() with atof().
905 * xalloc.c (xrealloc): do an explicit malloc() if old pointer is
908 * ibmpc.txt: Cleaned up character table.
910 * psgen.c (get_next_token): control characters are now printed in
913 1995-08-21 Markku Rossi <mtr@ngs.fi>
915 * Release genscript-1.0.1.
917 1995-08-17 Markku Rossi <mtr@ngs.fi>
921 1995-08-15 Markku Rossi <mtr@ngs.fi>
923 * Added option --baseline.
925 * Fixed epsf escape's options.
927 1995-08-14 Markku Rossi <mtr@ngs.fi>
929 * Added support for AFM files.
931 1995-08-09 Markku Rossi <mtr@ngs.fi>
933 * Added option --newline to select the newline character.
935 * Cleaned up character set tables.
937 1995-08-07 Markku Rossi <mtr@ngs.fi>
939 * Added Mac input encoding.
941 1995-08-03 Markku Rossi <mtr@ngs.fi>
943 * New special escapes: 'font' and 'comment'.
945 * New option --tab-size=NUM, -T NUM to define tab expansion size.
947 * General code and document cleanups.
949 1995-07-31 Markku Rossi <mtr@ngs.fi>
951 * Added support for --copies option. Now it really works.
953 * util.c (paste_file): parses '%%DocumentNeededResources:'
956 * Added options --font and --header-font.
958 1995-07-27 Markku Rossi <mtr@ngs.fi>
960 * psgen.c (paste_epsf): now eps files are also looked up from
962 (read_special_escape): epsf: added option 'r'.
964 1995-07-26 Markku Rossi <mtr@ngs.fi>
966 * psgen.c: added support for inlined EPS-files.
968 1995-07-25 Markku Rossi <mtr@ngs.fi>
970 * Added IBM PC input encoding.
973 Copyright (C) 1995, 1996, 1997, 1998, 1999, 2008 Free Software Foundation, Inc.
975 Copying and distribution of this file, with or without modification,
976 are permitted in any medium without royalty provided the copyright
977 notice and this notice are preserved.