home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / APPS / TEKST / GSPMSRC / SRC / README.FIX < prev    next >
Text File  |  1993-12-16  |  9KB  |  342 lines

  1. Copyright (C) 1993 Aladdin Enterprises.  All rights reserved.
  2.  
  3. This file is part of Ghostscript; it is licensed under the same terms
  4. as the rest of Ghostscript.  If you do not have Ghostscript, you do
  5. not have the right to have this file.
  6.  
  7. Fixes for Ghostscript 2.6.1
  8. ---------------------------
  9.  
  10. (last update: 7/20/93)
  11.  
  12. This file summarizes a number of important quality fixes for Ghostscript
  13. 2.6.1.  The fixes are supplied in the form of replacements for
  14. corresponding files in the 2.6.1 release.  Please report any problems.
  15.  
  16. 6/5/93
  17. ------
  18.  
  19. Problem:
  20.     The Unix install script used gs rather than $(GS) as the name of
  21.     the executable.
  22.     The Unix install script didn't copy gs_dbt_e.ps to $(gsdatadir).
  23. Files affected:
  24.     unixtail.mak (and unix-*.mak, built from it using tar_cat)
  25.  
  26. Problem:
  27.     The ps2ascii script still referenced ps2ascii.ps under its
  28.     old name gs_2asc.ps.
  29. Files affected:
  30.     ps2ascii
  31.  
  32. Problem:
  33.     ps2image.ps had a 'pop' missing in the written-out definition of
  34.     'max' in the boilerplate code it put at the beginning of
  35.     compressed files.
  36.     ps2image.ps got a typecheck if a scan line had no repeated
  37.     data in it anywhere.
  38. Files affected:
  39.     ps2image.ps
  40.  
  41. Problem:
  42.     rectfill drew rectangles with vertices specified in clockwise
  43.     order as 0-width lines.
  44. Files affected:
  45.     gsdps1.c
  46.  
  47. Problem:
  48.     The string matching function reported that 'abcdefg'
  49.     matched the pattern 'abcde'.
  50. Files affected:
  51.     gsutil.c
  52.  
  53. Problem:
  54.     The bounding box of non-rectangular clipping paths was not
  55.     being marked as valid, so cached characters would simply get
  56.     discarded as being outside the bounding box.
  57. Fix:
  58.     Have gx_path_intersect set the `setbbox' flag if the new clipping
  59.     path is not rectangular.
  60. Files affected:
  61.     gxcpath.c
  62.  
  63. 6/9/93
  64. ------
  65.  
  66. Problem:
  67.     The PCX driver didn't offer a gray-scale option.
  68. Fix:
  69.     Implement one.
  70. Files affected:
  71.     devs.mak
  72.     gdevpcx.c
  73.  
  74. 6/10/93
  75. -------
  76.  
  77. Problem:
  78.     Colors with equal R/G/B or C/M/Y components were converted to
  79.     gray before being mapped through the transfer function.
  80. Files affected:
  81.     gxcmap.c
  82.  
  83. 6/11/93
  84. -------
  85.  
  86. Problem:
  87.     Faulty X servers could generate bogus errors on XFreeColors.
  88. Fix:
  89.     Catch and ignore the errors.
  90. Files affected:
  91.     gdevxini.c
  92.     x_.h
  93.  
  94. Problem:
  95.     X driver gave up on color allocation too easily.
  96.     X driver dynamic color table size could become negative.
  97. Files affected:
  98.     gdevx.c
  99.  
  100. Problem:
  101.     x_lookup_font could return platform fonts of very small
  102.     sizes, which have very inaccurate metrics.
  103. Fix:
  104.     Don't return fonts of size 4 pixels or smaller.
  105. Files affected:
  106.     gdevxxf.c
  107.  
  108. 6/14/93
  109. -------
  110.  
  111. Problem:
  112.     rc_unshare could indirect through 0 to obtain the size of a
  113.     new block, causing the CIE rendering caches to be allocated
  114.     with a random size.
  115. Fix:
  116.     Change it to use rc_alloc_struct_1 rather than rc_alloc_1.
  117. Files affected:
  118.     gxrefct.h
  119.  
  120. ---------------- Fixes up to here distributed 6/23/93 ----------------
  121.  
  122. 6/28/93
  123. -------
  124.  
  125. Problem:
  126.     The Unix install script attempts to install the nonexistent
  127.     file type1enc.ps.
  128. Files affected:
  129.     unixtail.mak (and unix-*.mak, built from it using tar_cat)
  130.  
  131. Problem:
  132.     X driver didn't free dynamic colors at the start of each page.
  133. Files affected:
  134.     gdevx.h
  135.     gdevx.c
  136.  
  137. Problems:
  138.     X driver didn't bind foreground/background defaults tightly.
  139.     X driver didn't check for GHOSTVIEW_COLORS properly.
  140.     X driver freed too many colors if an allocation request failed.
  141.     X driver didn't check return value of gs_malloc for being NULL.
  142. Files affected:
  143.     gdevxini.c
  144.  
  145. Problem:
  146.     There was no LaserJet 4 driver that could use the 600 dpi mode.
  147. Fix:
  148.     Implement one.
  149. Files affected:
  150.     devs.mak
  151.     gdevdjet.c
  152.  
  153. Problem:
  154.     The DeskJet and LaserJet drivers used \033&l0H (page eject)
  155.     instead of \f (end of page), which prevented duplex printing.
  156.     The DeskJet and LaserJet drivers reset the printer at the
  157.     start of each page, which prevented manually initiated duplex
  158.     printing.
  159. Files affected:
  160.     gdevdjet.c
  161.  
  162. 7/8/93
  163. ------
  164.  
  165. Problem:
  166.     kshow returned an incorrect (random, 32-bit) character code
  167.     for the second character.
  168. Fix:
  169.     Make sure the character code is stored properly on all control paths.
  170. Files affected:
  171.     gschar.c
  172.  
  173. Problem:
  174.     Color halftones "flipped over" at the 50% point, inverting
  175.     foreground and background.
  176. Fix:
  177.     Correct a numerical error in the octant flip test.
  178. Files affected:
  179.     gxdither.c
  180.  
  181. Problem:
  182.     setbbox didn't round the coordinates properly, which could cause
  183.     erroneous rangecheck errors with coordinates on the edge of the box.
  184. Files affected:
  185.     gsdps1.c
  186.  
  187. Problem:
  188.     The PCX driver put an old version number in the header, and
  189.     didn't pad scan lines to an even number of bytes.
  190. Files affected:
  191.     gdevpcx.c
  192.  
  193. Problem:
  194.     The TIFF driver didn't handle A4 or B4 size paper correctly.
  195. Fix:
  196.     Make the driver handle variable page sizes properly.
  197. Files affected:
  198.     gdevtiff.c
  199.  
  200. Problem:
  201.     The VMS script files referenced IBSCAN instead of ISCAN2,
  202.     and omitted GDEVXXF.
  203. Files affected:
  204.     vms-cc.mak
  205.     vms-gcc.mak
  206.  
  207. Problem:
  208.     zht2.c didn't include alloc.h.
  209. Files affected:
  210.     zht2.c
  211.  
  212. Problem:
  213.     gdevx.h was inadvertently omitted from an earlier batch of fixes.
  214. Files affected:
  215.     gdevx.h
  216.  
  217. Problem:
  218.     The UUENCODEd icons for the MS Windows platform were omitted
  219.     from the fileset.
  220. Files added:
  221.     gsgraph.uue
  222.     gstext.uue
  223.  
  224. 7/9/93
  225. ------
  226.  
  227. Problem:
  228.     exitserver didn't check the password, and always succeeded.
  229. Fix:
  230.     Make exitserver do a minimal password check.
  231. Files affected:
  232.     gs_statd.ps
  233.  
  234. Problem:
  235.     Ghostscript only knew about a limited set of paper sizes.
  236. Fix:
  237.     Add many new paper sizes to gs_statd.ps.  It now includes ISO
  238.     a0-a10 and b0-b10, and CAD sizes archA-archE.
  239. Files affected:
  240.     gs_statd.ps
  241.  
  242. 7/17/93
  243. -------
  244.  
  245. Problem:
  246.     The ESCP/2 driver was incorrectly named gdevescp2 in devs.mak.
  247. Files affected:
  248.     devs.mak
  249.  
  250. Problem:
  251.     The X11 driver incorrectly demanded the Xmu library, which was
  252.     not needed and which caused link errors on some versions of SunOS.
  253. Solution:
  254.     Remove Xmu from the list of X libraries.
  255. Files affected:
  256.     devs.mak
  257.  
  258. Problem:
  259.     X11 font matching scheme was too loose, causing overlaps and
  260.     other problems.
  261. Solution:
  262.     X11 font must be within 1/2 pixel of desired height to be used.
  263. Files affected:
  264.     gdevx.c, gdevx.h, gdevxini.c, gdevxxf.c
  265.  
  266. Problem:
  267.     X11 Font Extensions (rotated and mirrored fonts) did not work
  268.     properly on NCD terminals.
  269. Solution:
  270.     Add an X resource to be able to selectively turn off the use
  271.     of Font Extensions.  It is called useFontExtensions.
  272. Files affected:
  273.     gdevx.c, gdevx.h, gdevxini.c, gdevxxf.c
  274.  
  275. Problem:
  276.     When the X11 driver freed the rgb cube/gray ramp, the parameters
  277.     to gs_free() did not exactly match the parameters to gs_malloc().
  278. Solution:
  279.     Make them match.
  280. Files affected:
  281.     gdevx.c
  282.  
  283. Problem:
  284.     The X11 driver failed to warn the user when it could not allocate
  285.     the original color cube/gray ramp and dropped back to a smaller
  286.     cube/ramp, or from color to mono.
  287. Solution:
  288.     Warn the user when color allocation fails during initialization.
  289. Files:
  290.     gdevxini.c
  291.  
  292. Problem:
  293.     x_release could cause Ghostscript to fail if a font was freed
  294.     after the device was closed.
  295. Solution:
  296.     Don't free the font in x_release.  The font will be freed when
  297.     the connection to the X server is closed.
  298. Files affected:
  299.     gdevx.c
  300.  
  301. 7/18/93
  302. -------
  303.  
  304. Problem:
  305.     On MS-DOS systems, filenameforall didn't interpret * alone
  306.     as a pattern matching all files.
  307. Fix:
  308.     Recognize a trailing * in a pattern as a special case.
  309. Files affected:
  310.     gp_msdos.c
  311.  
  312. Problem:
  313.     The FontName in the font file had be the same as the name in
  314.     Fontmap.  (This requirement led to the need for aliases, and
  315.     was extremely confusing to users.)
  316. Fix:
  317.     If loading a font file doesn't define the font with the
  318.     requested name, parse the file to find the FontName, and make
  319.     the requested name an alias for it.
  320. Files affected:
  321.     gs_fonts.ps
  322.  
  323. Problem:
  324.     Users had to remember to edit the Fontmap file whenever they
  325.     installed a new font.
  326. Fix:
  327.     Add a GS_FONTPATH environment variable containing a list of
  328.     directories that should be scanned automatically for fonts at
  329.     startup time.
  330. Files affected:
  331.     gs_fonts.ps, fonts.doc, use.doc
  332.  
  333. ---------------- Fixes up to here distributed 7/18/93 ----------------
  334.  
  335. 7/20/93
  336. -------
  337.  
  338. Problem:
  339.     gdevdjet.c was omitted from the previous patch distribution.
  340.  
  341. ---------------- ALL fixes up to here distributed 7/20/93 ----------------
  342.