History4.htm 158 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <head>
  4. <title>History of Ghostscript versions 4.n</title>
  5. <!-- $Id: History4.htm,v 1.13.2.2 2002/02/01 05:31:25 raph Exp $ -->
  6. <!-- Originally: history4.txt -->
  7. <!--
  8. WARNING: do not use Pete Kaiser's emacs function "gs-toc" alone to
  9. re-create the table of contents here, because it will replace the
  10. hand-edited TOC subheads with a separate subhead for each H2 in
  11. the body of the file. Or if you do, first look at the original
  12. TOC to see how to edit it for visual conciseness.
  13. -->
  14. <link rel="stylesheet" type="text/css" href="gs.css" title="Ghostscript Style">
  15. </head>
  16. <body>
  17. <!-- [1.0 begin visible header] ============================================ -->
  18. <!-- [1.1 begin headline] ================================================== -->
  19. <h1>History of Ghostscript versions 4.n</h1>
  20. <!-- [1.1 end headline] ==================================================== -->
  21. <!-- [1.2 begin table of contents] ========================================= -->
  22. <h2>Table of contents</h2>
  23. <blockquote><ul>
  24. <li><a href="#Version4.81">Version 4.81 (6/1/97)</a>
  25. <ul>
  26. <li><a href="#V4.81_Documentation">Documentation</a>,
  27. <a href="#V4.81_Procedures">Procedures</a>,
  28. <a href="#V4.81_Utilities">Utilities</a>,
  29. <a href="#V4.81_Drivers">Drivers</a>,
  30. <a href="#V4.81_Platforms">Platforms</a>,
  31. <a href="#V4.81_Interpreter">Interpreter</a>,
  32. <a href="#V4.81_Library">Library</a>
  33. </ul>
  34. <li><a href="#Version4.80">Version 4.80 (limited) (5/28/97)</a>
  35. <ul>
  36. <li><a href="#V4.80_Documentation">Documentation</a>,
  37. <a href="#V4.80_Procedures">Procedures</a>,
  38. <a href="#V4.80_Utilities">Utilities</a>,
  39. <a href="#V4.80_Drivers">Drivers</a>,
  40. <a href="#V4.80_Platforms">Platforms</a>,
  41. <a href="#V4.80_Fonts">Fonts</a>,
  42. <a href="#V4.80_Interpreter">Interpreter</a>,
  43. <a href="#V4.80_Streams">Streams</a>,
  44. <a href="#V4.80_Library">Library</a>
  45. </ul>
  46. <li><a href="#Version4.74">Version 4.74 (limited) (5/5/97)</a>
  47. <ul>
  48. <li><a href="#V4.74_Documentation">Documentation</a>,
  49. <a href="#V4.74_Utilities">Utilities</a>,
  50. <a href="#V4.74_Drivers">Drivers</a>,
  51. <a href="#V4.74_Interpreter">Interpreter</a>,
  52. <a href="#V4.74_Streams">Streams</a>,
  53. <a href="#V4.74_Library">Library</a>
  54. </ul>
  55. <li><a href="#Version4.73">Version 4.73 (limited) (4/19/97)</a>
  56. <ul>
  57. <li><a href="#V4.73_Documentation">Documentation</a>,
  58. <a href="#V4.73_Procedures">Procedures</a>,
  59. <a href="#V4.73_Utilities">Utilities</a>,
  60. <a href="#V4.73_Drivers">Drivers</a>,
  61. <a href="#V4.73_Platforms">Platforms</a>,
  62. <a href="#V4.73_Interpreter">Interpreter</a>,
  63. <a href="#V4.73_Interpreter_PDF">Interpreter (PDF)</a>,
  64. <a href="#V4.73_Streams">Streams</a>,
  65. <a href="#V4.73_Library">Library</a>
  66. </ul>
  67. <li><a href="#Version4.72">Version 4.72 (limited) (4/14/97)</a>
  68. <ul>
  69. <li><a href="#V4.72_Documentation">Documentation</a>,
  70. <a href="#V4.72_Procedures">Procedures</a>,
  71. <a href="#V4.72_Drivers">Drivers</a>,
  72. <a href="#V4.72_Platforms">Platforms</a>,
  73. <a href="#V4.72_Interpreter">Interpreter</a>,
  74. <a href="#V4.72_Interpreter_PDF">Interpreter (PDF)</a>,
  75. <a href="#V4.72_Streams">Streams</a>,
  76. <a href="#V4.72_Library">Library</a>
  77. </ul>
  78. <li><a href="#Version4.71">Version 4.71 (limited) (3/31/97)</a>
  79. <ul>
  80. <li><a href="#V4.71_Documentation">Documentation</a>,
  81. <a href="#V4.71_Procedures">Procedures</a>,
  82. <a href="#V4.71_Drivers">Drivers</a>,
  83. <a href="#V4.71_Interpreter">Interpreter</a>,
  84. <a href="#V4.71_Streams">Streams</a>,
  85. <a href="#V4.71_Library">Library</a>
  86. </ul>
  87. <li><a href="#Version4.70">Version 4.70 (limited) (3/26/97)</a>
  88. <ul>
  89. <li><a href="#V4.70_Documentation">Documentation</a>,
  90. <a href="#V4.70_Procedures">Procedures</a>,
  91. <a href="#V4.70_Drivers">Drivers</a>,
  92. <a href="#V4.70_Platforms">Platforms</a>,
  93. <a href="#V4.70_Interpreter">Interpreter</a>,
  94. <a href="#V4.70_Interpreter_PDF">Interpreter (PDF)</a>,
  95. <a href="#V4.70_Streams">Streams</a>,
  96. <a href="#V4.70_Library">Library</a>
  97. </ul>
  98. <li><a href="#Version4.61">Version 4.61 (limited) (3/13/97)</a>
  99. <ul>
  100. <li><a href="#V4.61_Documentation">Documentation</a>,
  101. <a href="#V4.61_Procedures">Procedures</a>,
  102. <a href="#V4.61_Drivers">Drivers</a>,
  103. <a href="#V4.61_Platforms">Platforms</a>,
  104. <a href="#V4.61_Interpreter">Interpreter</a>,
  105. <a href="#V4.61_Interpreter_PDF">Interpreter (PDF)</a>,
  106. <a href="#V4.61_Streams">Streams</a>,
  107. <a href="#V4.61_Library">Library</a>
  108. </ul>
  109. <li><a href="#Version4.60">Version 4.60 (limited) (3/2/97)</a>
  110. <ul>
  111. <li><a href="#V4.60_Documentation">Documentation</a>,
  112. <a href="#V4.60_Procedures">Procedures</a>,
  113. <a href="#V4.60_Drivers">Drivers</a>,
  114. <a href="#V4.60_Platforms">Platforms</a>,
  115. <a href="#V4.60_Fonts">Fonts</a>,
  116. <a href="#V4.60_Interpreter">Interpreter</a>,
  117. <a href="#V4.60_Interpreter_PDF">Interpreter (PDF)</a>,
  118. <a href="#V4.60_Streams">Streams</a>,
  119. <a href="#V4.60_Library">Library</a>
  120. </ul>
  121. <li><a href="#Version4.51">Version 4.51 (limited) (2/9/97)</a>
  122. <ul>
  123. <li><a href="#V4.51_Procedures">Procedures</a>,
  124. <a href="#V4.51_Drivers">Drivers</a>,
  125. <a href="#V4.51_Platforms">Platforms</a>,
  126. <a href="#V4.51_Interpreter">Interpreter</a>,
  127. <a href="#V4.51_Streams">Streams</a>,
  128. <a href="#V4.51_Library">Library</a>
  129. </ul>
  130. <li><a href="#Version4.50">Version 4.50 (limited) (1/31/97)</a>
  131. <ul>
  132. <li><a href="#V4.50_Documentation">Documentation</a>,
  133. <a href="#V4.50_Procedures">Procedures</a>,
  134. <a href="#V4.50_Drivers">Drivers</a>,
  135. <a href="#V4.50_Platforms">Platforms</a>,
  136. <a href="#V4.50_Interpreter">Interpreter</a>,
  137. <a href="#V4.50_Streams">Streams</a>,
  138. <a href="#V4.50_Library">Library</a>
  139. </ul>
  140. <li><a href="#Version4.41">Version 4.41 (private) (1/21/97)</a>
  141. <ul>
  142. <li><a href="#V4.41_Procedures">Procedures</a>,
  143. <a href="#V4.41_Drivers">Drivers</a>,
  144. <a href="#V4.41_Fonts">Fonts</a>,
  145. <a href="#V4.41_Interpreter">Interpreter</a>,
  146. <a href="#V4.41_Streams">Streams</a>,
  147. <a href="#V4.41_Library">Library</a>
  148. </ul>
  149. <li><a href="#Version4.40">Version 4.40 (private) (1/13/97)</a>
  150. <ul>
  151. <li><a href="#V4.40_Documentation">Documentation</a>,
  152. <a href="#V4.40_Utilities">Utilities</a>,
  153. <a href="#V4.40_Drivers">Drivers</a>,
  154. <a href="#V4.40_Interpreter">Interpreter</a>,
  155. <a href="#V4.40_Interpreter_PDF">Interpreter (PDF)</a>,
  156. <a href="#V4.40_Library">Library</a>
  157. </ul>
  158. <li><a href="#Version4.39">Version 4.39 (limited) (1/1/97)</a>
  159. <ul>
  160. <li><a href="#V4.39_Documentation">Documentation</a>,
  161. <a href="#V4.39_Procedures">Procedures</a>,
  162. <a href="#V4.39_Utilities">Utilities</a>,
  163. <a href="#V4.39_Drivers">Drivers</a>,
  164. <a href="#V4.39_Interpreter">Interpreter</a>,
  165. <a href="#V4.39_Streams">Streams</a>,
  166. <a href="#V4.39_Library">Library</a>
  167. </ul>
  168. <li><a href="#Version4.38">Version 4.38 (limited) (12/20/96)</a>
  169. <ul>
  170. <li><a href="#V4.38_Interpreter">Interpreter</a>,
  171. <a href="#V4.38_Streams">Streams</a>,
  172. <a href="#V4.38_Library">Library</a>
  173. </ul>
  174. <li><a href="#Version4.37">Version 4.37 (limited) (12/10/96)</a>
  175. <ul>
  176. <li><a href="#V4.37_Fonts">Fonts</a>,
  177. <a href="#V4.37_Interpreter">Interpreter</a>,
  178. <a href="#V4.37_Interpreter_PDF">Interpreter (PDF)</a>,
  179. <a href="#V4.37_Library">Library</a>
  180. </ul>
  181. <li><a href="#Version4.36">Version 4.36 (limited) (12/3/96)</a>
  182. <ul>
  183. <li><a href="#V4.36_Documentation">Documentation</a>,
  184. <a href="#V4.36_Drivers">Drivers</a>,
  185. <a href="#V4.36_Interpreter">Interpreter</a>,
  186. <a href="#V4.36_Library">Library</a>
  187. </ul>
  188. <li><a href="#Version4.35">Version 4.35 (limited) (11/24/96)</a>
  189. <ul>
  190. <li><a href="#V4.35_Documentation">Documentation</a>,
  191. <a href="#V4.35_Procedures">Procedures</a>,
  192. <a href="#V4.35_Interpreter">Interpreter</a>,
  193. <a href="#V4.35_Streams">Streams</a>,
  194. <a href="#V4.35_Library">Library</a>
  195. </ul>
  196. <li><a href="#Version4.34">Version 4.34 (limited) (11/18/96)</a>
  197. <ul>
  198. <li><a href="#V4.34_Documentation">Documentation</a>,
  199. <a href="#V4.34_Procedures">Procedures</a>,
  200. <a href="#V4.34_Drivers">Drivers</a>,
  201. <a href="#V4.34_Interpreter">Interpreter</a>,
  202. <a href="#V4.34_Streams">Streams</a>,
  203. <a href="#V4.34_Library">Library</a>
  204. </ul>
  205. <li><a href="#Version4.33">Version 4.33 (limited) (11/6/96)</a>
  206. <ul>
  207. <li><a href="#V4.33_Documentation">Documentation</a>,
  208. <a href="#V4.33_Procedures">Procedures</a>,
  209. <a href="#V4.33_Interpreter">Interpreter</a>,
  210. <a href="#V4.33_Library">Library</a>
  211. </ul>
  212. <li><a href="#Version4.32">Version 4.32 (limited) (11/1/96)</a>
  213. <ul>
  214. <li><a href="#V4.32_Documentation">Documentation</a>,
  215. <a href="#V4.32_Drivers">Drivers</a>,
  216. <a href="#V4.32_Platforms">Platforms</a>,
  217. <a href="#V4.32_Fonts">Fonts</a>,
  218. <a href="#V4.32_Interpreter">Interpreter</a>,
  219. <a href="#V4.32_Library">Library</a>
  220. </ul>
  221. <li><a href="#Version4.31">Version 4.31 (limited) (10/27/96)</a>
  222. <ul>
  223. <li><a href="#V4.31_Documentation">Documentation</a>,
  224. <a href="#V4.31_Procedures">Procedures</a>,
  225. <a href="#V4.31_Platforms">Platforms</a>,
  226. <a href="#V4.31_Interpreter">Interpreter</a>,
  227. <a href="#V4.31_Interpreter_PDF">Interpreter (PDF)</a>,
  228. <a href="#V4.31_Streams">Streams</a>,
  229. <a href="#V4.31_Library">Library</a>
  230. </ul>
  231. <li><a href="#Version4.30">Version 4.30 (limited) (10/23/96)</a>
  232. <ul>
  233. <li><a href="#V4.30_Documentation">Documentation</a>,
  234. <a href="#V4.30_Drivers">Drivers</a>,
  235. <a href="#V4.30_Platforms">Platforms</a>,
  236. <a href="#V4.30_Fonts">Fonts</a>,
  237. <a href="#V4.30_Interpreter">Interpreter</a>,
  238. <a href="#V4.30_Library">Library</a>
  239. </ul>
  240. <li><a href="#Version4.21">Version 4.21 (limited) (10/17/96)</a>
  241. <ul>
  242. <li><a href="#V4.21_Documentation">Documentation</a>,
  243. <a href="#V4.21_Procedures">Procedures</a>,
  244. <a href="#V4.21_Drivers">Drivers</a>,
  245. <a href="#V4.21_Platforms">Platforms</a>,
  246. <a href="#V4.21_Fonts">Fonts</a>,
  247. <a href="#V4.21_Interpreter">Interpreter</a>,
  248. <a href="#V4.21_Library">Library</a>
  249. </ul>
  250. <li><a href="#Version4.20">Version 4.20 (limited) (10/13/96)</a>
  251. <ul>
  252. <li><a href="#V4.20_Documentation">Documentation</a>,
  253. <a href="#V4.20_Procedures">Procedures</a>,
  254. <a href="#V4.20_Utilities">Utilities</a>,
  255. <a href="#V4.20_Drivers">Drivers</a>,
  256. <a href="#V4.20_Interpreter">Interpreter</a>,
  257. <a href="#V4.20_Library">Library</a>
  258. </ul>
  259. <li><a href="#Version4.10">Version 4.10 (limited) (9/25/96)</a>
  260. <ul>
  261. <li><a href="#V4.10_Documentation">Documentation</a>,
  262. <a href="#V4.10_Utilities">Utilities</a>,
  263. <a href="#V4.10_Drivers">Drivers</a>,
  264. <a href="#V4.10_Interpreter">Interpreter</a>,
  265. <a href="#V4.10_Interpreter_PDF">Interpreter (PDF)</a>,
  266. <a href="#V4.10_Library">Library</a>
  267. </ul>
  268. <li><a href="#Version4.03">Version 4.03 (9/23/96)</a>
  269. <ul>
  270. <li><a href="#V4.03_Documentation">Documentation</a>,
  271. <a href="#V4.03_Procedures">Procedures</a>,
  272. <a href="#V4.03_Drivers">Drivers</a>,
  273. <a href="#V4.03_Fonts">Fonts</a>,
  274. <a href="#V4.03_Streams">Streams</a>
  275. </ul>
  276. <li><a href="#Version4.02">Version 4.02 (9/19/96)</a>
  277. <ul>
  278. <li><a href="#V4.02_Documentation">Documentation</a>,
  279. <a href="#V4.02_Procedures">Procedures</a>,
  280. <a href="#V4.02_Utilities">Utilities</a>,
  281. <a href="#V4.02_Drivers">Drivers</a>,
  282. <a href="#V4.02_Platforms">Platforms</a>,
  283. <a href="#V4.02_Interpreter">Interpreter</a>,
  284. <a href="#V4.02_Interpreter_PDF">Interpreter (PDF)</a>,
  285. <a href="#V4.02_Streams">Streams</a>,
  286. <a href="#V4.02_Library">Library</a>
  287. </ul>
  288. <li><a href="#Version4.01">Version 4.01 (7/10/96)</a>
  289. <ul>
  290. <li><a href="#V4.01_Documentation">Documentation</a>,
  291. <a href="#V4.01_Procedures">Procedures</a>,
  292. <a href="#V4.01_Utilities">Utilities</a>,
  293. <a href="#V4.01_Platforms">Platforms</a>,
  294. <a href="#V4.01_Platforms">Platforms</a>,
  295. <a href="#V4.01_Interpreter">Interpreter</a>,
  296. <a href="#V4.01_Library">Library</a>
  297. </ul>
  298. <li><a href="#Version4.0">Version 4.0 (6/28/96)</a>
  299. <ul>
  300. <li><a href="#V4.0_Documentation">Documentation</a>,
  301. <a href="#V4.0_Procedures">Procedures</a>,
  302. <a href="#V4.0_Utilities">Utilities</a>,
  303. <a href="#V4.0_Drivers">Drivers</a>,
  304. <a href="#V4.0_Platforms">Platforms</a>,
  305. <a href="#V4.0_Interpreter">Interpreter</a>,
  306. <a href="#V4.0_Streams">Streams</a>,
  307. <a href="#V4.0_Library">Library</a>
  308. </ul>
  309. </ul></blockquote>
  310. <!-- [1.2 end table of contents] =========================================== -->
  311. <!-- [1.3 begin hint] ====================================================== -->
  312. <p>
  313. This document is a history of Ghostscript releases numbered 4.n. For more
  314. recent changes, see the the other history documents and, for the latest
  315. versions, the news:
  316. <blockquote>
  317. <a href="News.htm">News</a><br>
  318. History of Ghostscript versions 4.n (this document)<br>
  319. <a href="History3.htm">History of Ghostscript versions 3.n</a><br>
  320. <a href="History2.htm">History of Ghostscript versions 2.n</a><br>
  321. <a href="History1.htm">History of Ghostscript versions 1.n</a>
  322. </blockquote>
  323. <p>For other information, see the <a href="Readme.htm">Ghostscript
  324. overview</a>.
  325. <!-- [1.3 end hint] ======================================================== -->
  326. <hr>
  327. <!-- [1.0 end visible header] ============================================== -->
  328. <h2><a name="Version4.81"></a>Version 4.81 (6/1/97)</h2>
  329. <p>
  330. This is a last-minute set of bug fixes before the 5.0 release.
  331. <h3><a name="V4.81_Documentation"></a>Documentation</h3><pre>
  332. Adds some overlooked helpers to the list. (helpers.txt)
  333. </pre><h3><a name="V4.81_Procedures"></a>Procedures</h3><pre>
  334. Makes a distinction between 2-part and 3-digit version numbers.
  335. (version.mak, vms.mak)
  336. </pre><h3><a name="V4.81_Utilities"></a>Utilities</h3><pre>
  337. Develops the Type 1 to CFF converter a little further; it is still NOT
  338. USABLE. (t1tot2.ps)
  339. Removes the pstoppm.ps script, since the p*m drivers supersede it.
  340. (pstoppm.ps, unix-end.mak)
  341. </pre><h3><a name="V4.81_Drivers"></a>Drivers</h3><pre>
  342. Fixes bugs:
  343. - The PDF writer sometimes omitted an ET command before setting the
  344. clip path. (gdevpdf.c)
  345. - The PDF writer didn't initialize the "vector" state, leading to
  346. some redundant output (performance bug only). (gdevpdf.c)
  347. - The PDF writer wrote clip paths even when they included the entire
  348. page (performance bug only). (gdevpdf.c)
  349. Changes the PDF writer so that it recognizes not only the 14 built-in fonts
  350. but any font with the same UniqueID and metrics. This covers some common
  351. cases of re-registering a font with a variant Encoding. (gs_pdfwr.ps)
  352. </pre><h3><a name="V4.81_Platforms"></a>Platforms</h3><pre>
  353. Fixes bugs:
  354. - SEARCH_HERE_FIRST was accidentally set to 0 on MS Windows
  355. platforms. (bcwin32.mak, msvc4.mak, msvc5.mak, watcw32.mak)
  356. Adds code to remove "" around arguments in the command line passed to
  357. WinMain (MS Windows platforms). (dwmain.cpp, dwmainc.cpp)
  358. </pre><h3><a name="V4.81_Interpreter"></a>Interpreter</h3><pre>
  359. Fixes bugs:
  360. - setsystemparams was broken. (gs_lev2.ps)
  361. - restore was broken if -dNOBIND was invoked. (gs_dps1.ps)
  362. - deviceinfo returned much more information than it should.
  363. (gs_dps.ps)
  364. - The fix for the default EndPage procedures not popping their page
  365. count operand from the stack was wrong. (gs_init.ps, gs_setpd.ps)
  366. </pre><h3><a name="V4.81_Library"></a>Library</h3><pre>
  367. Fixes bugs:
  368. - The saved character origin took the translation component of the
  369. FontMatrix into account, which caused charpath on fonts with non-zero
  370. translation in the FontMatrix to produce incorrect results. (gschar.c)
  371. Removes incorrect access attributes on a couple of files. (gdevpdfm.c,
  372. gxclist.h)
  373. </pre>
  374. <h2><a name="Version4.80"></a>Version 4.80 (limited) (5/28/97)</h2>
  375. <p>
  376. This is the candidate fileset for the 5.0 release.
  377. <h3><a name="V4.80_Documentation"></a>Documentation</h3><pre>
  378. Fixes bugs:
  379. - The one-line description of the color image rendering module was
  380. incorrect. (gximage3.c)
  381. - Some of the VMS documentation was out of date. (make.txt,
  382. use.txt)
  383. - The description of the file name separator for -sFONTMAP= was
  384. wrong. (use.txt)
  385. - PSFile was misspelled PSfile. (use.txt)
  386. - There were some minor typos. (gstype1.h)
  387. - The build instructions had a lot of obsolete information for PC
  388. environments, and didn't cover Microsoft Visual C++. (make.txt)
  389. Explains that -sPAPERSIZE= only specifies the default papersize, and that
  390. forcing a particular paper size also requires -dFIXEDMEDIA. (use.txt)
  391. Adds information about building with GNU make on OpenVMS. (make.txt)
  392. Clarifies the meaning of EOFC for streams. (strimpl.h)
  393. Documents the new dictionary argument for the eexecDecode filter.
  394. (language.doc)
  395. </pre><h3><a name="V4.80_Procedures"></a>Procedures</h3><pre>
  396. Fixes bugs:
  397. - gs_epsf.ps didn't get installed on Unix systems. (unix-end.mak)
  398. - The code wouldn't build with libpng 0.95b. (libpng.mak)
  399. - One of the VMS scripts used CC_QUAL instead of CC_DEF.
  400. (vms-cc.mak)
  401. - version.mak wasn't included in a dependency list. (unix-end.mak)
  402. Brings the VMS DCL script up to date again (for the last time, we hope).
  403. (vms.mak)
  404. Modifies all platform-independent uses of upper-case command line arguments
  405. to deal properly with VMS, where the shell converts all command line
  406. arguments to lower case, without requiring quotation. (devs.mak, gs.mak,
  407. int.mak, lib.mak, zlib.mak)
  408. Moves the compilation rules for the third-party libraries into gs.mak, so
  409. they can be used to compile the callers as well. (gs.mak, jpeg.mak,
  410. libpng.mak, zlib.mak)
  411. Adds a set of files that allow building on OpenVMS using GNU make (slightly
  412. patched). The timing on this is unfortunate, but we've wanted this for a
  413. very long time. NOTE: be sure to look in the OpenVMS section of make.txt
  414. for information on patching GNU make. (openvms.mak, append_l.com,
  415. rm_all.com, rm_one.com, copy_one.com)
  416. Adds new makefiles for building on 32-bit Windows with Borland, Watcom, and
  417. Microsoft Visual C++ (versions 4.x and 5.0). The timing on this is
  418. unfortunate too, but having this capability is so important that we couldn't
  419. pass it up. (bcwin32.mak, msvc4.mak, msvc5.mak, msvccom.mak, watcw32.mak,
  420. wincom.mak)
  421. Removes now-obsolete makefiles. (dwcommon.mak, msc.mak, msvcwint.mak,
  422. mscbegin.bat, watcwin.mak)
  423. </pre><h3><a name="V4.80_Utilities"></a>Utilities</h3><pre>
  424. Extends echogs to work in VMS environments, where the shell converts all
  425. command line arguments to lower case, without requiring quotation.
  426. (echogs.c)
  427. Adds a sketch of a utility for converting Type 1 fonts to CFF. DOESN'T WORK
  428. YET: DON'T TRY TO USE IT. (t1tot2.ps, type1ops.ps, writecff.ps)
  429. </pre><h3><a name="V4.80_Drivers"></a>Drivers</h3><pre>
  430. Fixes bugs:
  431. - A type declaration wasn't compatible with libpng 0.95.
  432. (gdevpng.c)
  433. - kshow wasn't handled properly when producing PDF output.
  434. (gs_pdfwr.ps)
  435. - The PDF writer put out unnecessary ET/BT commands. (gdevpdfx.h,
  436. gdevpdf.c, gdevpdfi.c, gdevpdfm.c, gdevpdft.c)
  437. - The PCL XL writer put out real numbers for the miter limit, which
  438. are not allowed (!). (gdevpx.c)
  439. - The PCL XL writer didn't combine successive curves into a single
  440. curve command (performance bug only). (gdevpx.c)
  441. - The PCL XL writer could write uncompressed images with a tag
  442. saying they were compressed. (gdevpx.c)
  443. - The PCL XL writer always selected U.S. letter paper, rather than
  444. the requested size. (gdevpxen.h, gdevpx.c)
  445. - The PCL XL writer reselected the paper size on every page, even if
  446. it hadn't changed. (gdevpx.c)
  447. - The PCL XL writer always used shorts for line and curve
  448. coordinates, rather than using bytes when possible (performance bug only).
  449. (gdevpx.c)
  450. - Because of a compiler bug, a macro with argument conflicted with a
  451. variable name. (gdevpdfx.h, gdevpdf.c)
  452. - A picky compiler objected to an extern for an undefined structure.
  453. (gdevpsdf.h)
  454. - The PDF writer sometimes didn't reset the clipping path, causing
  455. bitmaps or rectangle to disappear. (gdevpdf.c, gdevpdfi.c)
  456. - The PDF writer produced invalid output if the first page was
  457. blank. (gdevpdf.c)
  458. - The AutoRotatePages parameter for PostScript and PDF output (which
  459. doesn't actually do anything yet) incorrectly expected a Boolean value
  460. rather than an enumeration. (gdevpsdf.h, gdevpsdf.c)
  461. - Some places returned -1 for an error without calling gs_note_error
  462. or gs_return_error. (gdevm1.c, gdevmpla.c, gdevrun.c, gxclpath.c)
  463. - The PCL XL writer produced extremely large files because it didn't
  464. download character bitmaps. (OK, this isn't really a bug fix.) (gdevpx.c)
  465. - The forwarding implementation of get_page_device didn't do the
  466. right thing. (gdevnfwd.c)
  467. - The x11alpha device didn't implement get_params properly, leading
  468. to anomalous behavior. (gdevxalt.c)
  469. - The PDF writer produced incorrect Count values for outlines: the
  470. count only counted descendant leaves, omitting intermediate nodes.
  471. (gdevpdfm.c)
  472. Removes an assumption that images have at most 4 components. (gdevpdfi.c)
  473. Adds an x11gray2 device, primarily for debugging. (devs.mak, gdevxalt.c)
  474. Updates the unified printer driver with a newer version. (uninfo.ps,
  475. gdevupd.c, *.upp)
  476. </pre><h3><a name="V4.80_Platforms"></a>Platforms</h3><pre>
  477. Adds the P*M devices and the X11 devices (commented out) to the OS/2
  478. makefile. (os2.mak)
  479. Updates the MS Windows platform to be compatible with Microsoft Visual C++
  480. (as well as Watcom and Borland compilers). (gsdll32.def, gdevmswn.h,
  481. gp_mswin.h, gsdll.h, dwimg.cpp, dwmain.cpp, dwmainc.cpp, dwtext.cpp,
  482. gdevwdib.c, gdevwprn.c, gdevwpr2.c, gp_mswin.c, gsdll.c)
  483. </pre><h3><a name="V4.80_Fonts"></a>Fonts</h3><pre>
  484. Fixes bugs:
  485. - Certain synthetic fonts incorrectly were loaded into local rather
  486. than global VM. (These fonts are not part of the standard distribution.)
  487. (gs_fonts.ps, gs_pfile.ps, *ss*.ps)
  488. </pre><h3><a name="V4.80_Interpreter"></a>Interpreter</h3><pre>
  489. Fixes bugs:
  490. - The FAKEFONTS scan could leave junk on the stack. (gs_fonts.ps)
  491. - Dynamically loading known encodings on demand left junk on the
  492. stack, causing a typecheck error. (gs_res.ps)
  493. - Some 'static' declarations were missing (gcc lossage). (iname.c)
  494. - Some internal operators didn't have names, leading to unhelpful
  495. error printout. (zfileio.c)
  496. - The resource "operators" didn't always restore the stacks properly
  497. on an error. (gs_res.ps)
  498. - The CID font code left a garbage value on the stack during
  499. loading. (gs_cidfn.ps)
  500. - The defineresource implementation for built-in resources like
  501. FMapType didn't leave the resource "value" on the stack. (gs_res.ps)
  502. - If an operator defined by a procedure was bound into a packed
  503. procedure, the stack-protection feature wasn't effective. (interp.c)
  504. - findfont didn't restore the stack if it failed. (gs_res.ps)
  505. - The showpage count passed to the BeginPage and EndPage procedures
  506. was incremented only if a page was printed, rather than for every invocation
  507. of showpage. (gs_init.ps, zdevice2.c)
  508. - The default EndPage procedures didn't pop their page count operand
  509. from the stack. (gs_init.ps, gs_setpd.ps)
  510. - If the argument of findfont wasn't a name or a string, and no font
  511. with that key had been registered, an error occurred. (gs_fonts.ps,
  512. gs_res.ps)
  513. Updates most of the remaining pseudo-operators to take advantage of stack
  514. protection. (gs_btokn.ps, gs_cmap.ps, gs_dps1.ps, gs_dps2.ps, gs_fonts.ps,
  515. gs_lev2.ps, gs_pdfwr.ps)
  516. Splits the image operators into a separate file from the path painting
  517. operators. (This should have been done a long time ago.) (iimage.h,
  518. zimage.c, zpaint.c)
  519. Adds more of the implementation of the NeXT alpha and compositing
  520. operations, under an #ifdef DPNEXT. (iimage.h, zcolor1.c, zdpnext.c,
  521. zimage.c)
  522. Adds more of the implementation of DPS contexts. These are still not
  523. usable. (icontext.h, icontext.c, zcontext.c, zmath.c)
  524. Changes the help message to describe -dBATCH instead of -c quit.
  525. (imainarg.c)
  526. Recognizes the dictionary argument for the eexecDecode filter. (zmisc1.c)
  527. </pre><h3><a name="V4.80_Streams"></a>Streams</h3><pre>
  528. Fixes bugs:
  529. - The tracing message when starting to decode 1-D fax data reported
  530. the run_color incorrectly. (scfd.c)
  531. - In the CCITTFaxDecode filter, if a buffer boundary fell between a
  532. makeup code and a final zero-length termination code, an ioerror could
  533. occur. (scfd.c)
  534. - Per Adobe, in the CCITTFaxDecode filter, EndOfBlock = true should
  535. cause Rows to be ignored. (scfd.c)
  536. - If an output stream returned EOFC, an infinite loop might result.
  537. This problem (and the fix) are in the same fragile code as the EOD fix in
  538. 4.74, and we may again have introduced a new bug. (stream.c)
  539. Changes the eexecDecode filter so that instead of a number, it can take a
  540. dictionary with two keys, seed and lenIV. (Having eexecDecode skip initial
  541. bytes at all was a design bug that is too late to fix.) (sfilter.h,
  542. seexec.c)
  543. </pre><h3><a name="V4.80_Library"></a>Library</h3><pre>
  544. Fixes bugs:
  545. - The default mapping from RGB+alpha to RGB didn't lighten
  546. (premultiply) the color according to the alpha value. (gxcmap.c)
  547. - The angle error metric for rational tangent screen parameters
  548. should be simply the difference in angle, not a ratio. (gshtscr.c)
  549. - gs_setcolorscreen and gs_sethalftone didn't initialize an
  550. allocator pointer, leading to memory access errors. (gsht1.c)
  551. - If a banded image was clipped, an invalid band list could be
  552. produced. (gxclimag.c)
  553. - A picky compiler wouldn't allow an enum to be &amp;&amp;'ed with a
  554. boolean. (gschar.c)
  555. - A short-sighted compiler didn't allow the use of actual procedure
  556. names (as opposed to procedure variables) in a conditional expression.
  557. (gxfill.c)
  558. - A compiler objected to a name longer than 31 characters. (gzht.h,
  559. gsht.c, gxclread.c)
  560. - The height computations for banded images were not consistent,
  561. possibly leading to invalid band lists. (gxclimag.c)
  562. - copypage didn't reset the band writer and band reader bookkeeping
  563. consistently, leading to incorrect output and possible errors. (gxcldev.h,
  564. gxclist.c, gxclread.c)
  565. - When banding, changing the halftone could lead to accessing memory
  566. after freeing it. (gxclread.c)
  567. - When using disk files for band storage, showpage didn't actually
  568. delete or truncate the band list file, possibly causing subsequent copypage
  569. operations to become confused. (gxclfile.c)
  570. - When banding, having more than one image operator in progress at a
  571. time confused the rasterizing pass and could produce arbitrary errors. From
  572. PostScript, this can only happen in the case of an image whose data source
  573. was a procedure-based stream that itself invoked an image operator: this is
  574. a senseless and perverse thing to do, but it shouldn't break the code (and a
  575. Genoa CET file actually does it). (gxclist.h, gxclimag.c, gxclist.c)
  576. - Some picky compilers objected to negating unsigned values.
  577. (gsuid.h, gsht.c, gsmemory.c, gxpcopy.c)
  578. - When banding, if a 90- or 270-degree rotated monobit image was
  579. clipped, invalid memory accesses could occur. (gximage.h, gximage1.c)
  580. - The showpage count passed to the BeginPage and EndPage procedures
  581. was incremented only if a page was printed, rather than for every invocation
  582. of showpage. Fixing this requires removing the incrementing of the count
  583. from the library level altogether. (gsdevice.c)
  584. - When rendering a subrectangle of an image, the X DDA was
  585. initialized incorrectly, causing possible errors. We think this only
  586. affected certain banded images. (gxdda.h)
  587. Adds a provision for images with an alpha component, under an #ifdef DPNEXT.
  588. ****** THE BANDING CODE HAS NOT BEEN UPDATED YET. ****** (gsiparam.h,
  589. gxcmap.h, gxdither.h, gximage.h, gsimage.c, gxclimag.c, gxclread.c,
  590. gxcmap.c, gximage.c, gximage3.c, gximage4.c ****** NOT DONE YET ******,
  591. gximage5.c)
  592. Adds a return_if_error macro to capture the common idiom of making a call
  593. and then returning its value if that value is negative (error). (gserror.h)
  594. </pre>
  595. <hr>
  596. <h2><a name="Version4.74"></a>Version 4.74 (limited) (5/5/97)</h2>
  597. <p>
  598. This fileset is supposed to fix all remaining errors reported by the Genoa
  599. CET, and is intended to be the last incremental test fileset before the 5.0
  600. release.
  601. <h3><a name="V4.74_Documentation"></a>Documentation</h3><pre>
  602. Fixes bugs:
  603. - Mark procedures are *not* executed in the normal return case.
  604. (estack.h)
  605. - The line_params element of a gs_imager_state is *not* allocated
  606. separately. (gsstate.c)
  607. - The value passed to the PDF writer for text is a dictionary, not
  608. an array. (gdevpdft.c)
  609. Improves the documentation of gstate memory management. (gsstate.c)
  610. Documents end_status = EOFC for writing streams. (stream.h, strimpl.h)
  611. Clarifies memory management for halftones and device halftones. (gsht1.h,
  612. gxdht.h, gxht.h, gzht.h)
  613. Removes the "experimental" tag from the PostScript and EPS writers.
  614. (devs.mak)
  615. </pre><h3><a name="V4.74_Utilities"></a>Utilities</h3><pre>
  616. Fixes bugs:
  617. - The viewpcx utility scaled images improperly. (viewpcx.ps)
  618. - If a PDF file used F instead of f for filling a path, pdf2ps
  619. didn't output the fill operation. (pdf_base.ps)
  620. Changes the ps2pdf script so that, like pdf2ps, it allows debugging
  621. switches. (ps2pdf)
  622. </pre><h3><a name="V4.74_Drivers"></a>Drivers</h3><pre>
  623. Fixes bugs:
  624. - The vgalib driver didn't clip monobit images properly.
  625. (gdevvglb.c)
  626. - The X driver asked for exposure events to be reported, but never
  627. read them, causing the event queue to grow indefinitely. (gdevxini.c)
  628. - The "vector" drivers and the PDF writer didn't properly keep track
  629. of whether the current clipping region was the default one. (gs_pdfwr.ps,
  630. gdevvec.h, gdevvec.c, gdevpdf.c, gdevpdft.c)
  631. - The PDF writer had word and character spacing interchanged.
  632. (gdevpdft.c)
  633. - The PDF writer scaled word and character spacing incorrectly.
  634. (gdevpdft.c)
  635. </pre><h3><a name="V4.74_Interpreter"></a>Interpreter</h3><pre>
  636. Fixes bugs:
  637. - The user object operators didn't leave the stack in a clean state
  638. if they failed. (gs_dps2.ps)
  639. - UserObjects wasn't actually defined. (gs_dps2.ps)
  640. - deviceinfo and set/currenthalftonephase were defined even if the
  641. dps feature wasn't selected. (int.mak, gs_dps.ps, gs_dps1.ps, gs_lev2.ps,
  642. zdps.c, zdps1.c)
  643. - The dps feature didn't automatically include the level2 feature,
  644. which it needs. (int.mak)
  645. - The DPS user names mechanism didn't work, since the user names
  646. array was subject to save and restore. (It still doesn't really work --
  647. there is no provision for expanding the user names array, which is created
  648. with length 0.) (gs_btokn.ps, ivmspace.h, zbseq.c, zdps.c)
  649. - The DPS context operators didn't do all the necessary error
  650. checking. (zcontext.c)
  651. - The debugging printout for names printed the name index in hex
  652. without identifying it as such. (idebug.c)
  653. - Adding the first non-name key (or name key with a name index
  654. beyond 4K) to a dictionary that had any deleted entries could cause some
  655. entries to apparently disappear. (idict.c)
  656. - If a sub-table of the name table was freed during garbage
  657. collection, memory could be left in an inconsistent state. (iname.c, igc.c)
  658. - findfont didn't restore the stacks reliably if an error occurred.
  659. (gs_fonts.ps)
  660. - definefont with an invalid Type 0 font sometimes added a FID entry
  661. (with a dangling pointer) if it failed. (Recovering properly from a VMerror
  662. during font creation would require a much more complicated fix than this,
  663. but since we expect a garbage collection to occur in that case, we aren't
  664. concerned about it.) (zfont0.c)
  665. - Reading parameter values from a dictionary could access beyond the
  666. end of the array that keeps track of which entries had been referenced.
  667. (idict.h, idict.c, iparam.c)
  668. - Halftone data was allocated in the current VM rather than in the
  669. same VM as the halftone dictionary or procedure. (Fixing this includes
  670. updating code as necessary for the change in halftone and device halftone
  671. allocation.) (iht.h, ivmspace.h, zht.c, zht1.c, zht2.c)
  672. - Closed non-executable files on the e-stack could cause a restore
  673. to be invalid. (zvmem.c)
  674. Adds skeleton code for the NeXT Display PostScript alpha and compositing
  675. operators. This is not ready for use yet! (errors.h, gs_dpnxt.ps,
  676. zdpsnext.c)
  677. Implements more of state saving and restoring for Display PostScript
  678. contexts. This is not ready for use yet either. (int.mak, icontext.h,
  679. istack.h, icontext.c, zcontext.c)
  680. Adds stub code for the Display PostScript view clip operators. (gs_dps.ps,
  681. zdps.c)
  682. Removes the obsolete PPM-writing operator. (int.mak, vms.mak, *.mak,
  683. zwppm.c)
  684. Makes the random number generator state public so it can be stored in the
  685. context state. (zmath.c)
  686. Changes the flag for forcing global garbage collection to a run-time
  687. variable, for debugging. (igc.c)
  688. Changes the handling of job control so that it doesn't use procedures that
  689. produce an execstackoverflow when being printed. (gs_init.ps)
  690. Updates code as necessary for the change in reference counting. (zcie.c,
  691. zcrd.c)
  692. Updates code as necessary for the change in off-stack gstate copying.
  693. (zdps1.c)
  694. Removes a small bit of obsolete code. (interp.c)
  695. </pre><h3><a name="V4.74_Streams"></a>Streams</h3><pre>
  696. Fixes bugs:
  697. - An output stream that was not the last one in a pipeline could
  698. incorrectly be asked to write its EOD marker more than once. (The fix is
  699. very fragile and may have introduced new bugs.) (stream.c)
  700. </pre><h3><a name="V4.74_Library"></a>Library</h3><pre>
  701. Fixes bugs:
  702. - The gx_device_halftone_release procedure was declared in two
  703. different header files. (gzht.h)
  704. - Off-stack copying of gstates could lead to a situation where
  705. different parts of a single gstate were owned by different allocators; this
  706. could cause them to be freed improperly, corrupting memory. We fixed this
  707. partly by making the mixed ownership situation work, and partly by copying
  708. more of the gstate when off-stack gstates are involved. Unfortunately, the
  709. fixes are subtle and may have introduced new bugs. (gsstate.h, gsht.c,
  710. gsht1.c, gspcolor.c, gsstate.c)
  711. - If an error occurred while creating a Pattern instance, the
  712. partially initialized instance structure wasn't freed. (gspcolor.c)
  713. - Halftones and device halftones didn't allocate their clones or
  714. their subsidiary structures with the correct allocator. (gsht.c, gsht1.c)
  715. - The error statement when allocating a reference-counted object had
  716. to be a control transfer. (gsrefct.h)
  717. - Copying gstates incorrectly copied the memory and saved pointers,
  718. and the pointer to the dash pattern. (gsstate.c)
  719. - Flatness values less than 0.5 produced far more line segments than
  720. necessary (roughly the square of the required number). Fixing this may have
  721. bad effects on character quality -- this remains to be seen. (gxpflat.c)
  722. - An error during installation of a halftone could leave things in
  723. an inconsistent state. (gsht.c)
  724. - The API didn't provide enough flexibility with respect to memory
  725. management for halftones, or guarantee consistent allocation of a halftone
  726. and its subelements. (gsht1.h, gsht.c, gsht1.c, gshtscr.c)
  727. - Releasing a path didn't clear enough pointers to ensure clean
  728. garbage collection. (gxpath.c)
  729. - Finalizing or discarding a (cached) scaled font didn't properly
  730. unlink it from the scaled_fonts list. (gsfont.c)
  731. - Invoking an image operator within the BuildChar procedure for a
  732. charpath caused an infinite loop. (gsimage.c)
  733. - The bookkeeping for the scaled font cache was incorrect: the count
  734. didn't always get decremented when a scaled font was freed. (gsfont.c)
  735. - "High level" masked images were written incorrectly in the band
  736. list as black-and-white images. (gxclimag.c)
  737. - For "high level" images with fewer than 4 samples per pixel,
  738. non-standard Decode values were written incorrectly in the band list.
  739. (gxclimag.c)
  740. - The color wasn't set correctly for "high level" masked images.
  741. (gxclimag.c)
  742. - The fastest case of monobit image rendering could get a memory
  743. access error if the image lay partly outside the page. (gximage1.c)
  744. - Clipping with an empty path was a no-op, rather than clipping out
  745. everything. (gxcpath.c)
  746. Makes reference-counted objects remember which allocator owns them: this
  747. entails a NON-BACKWARD-COMPATIBLE change to some of the macros for reference
  748. counting. This was necessary to fix the off-stack gstate copying problem.
  749. (gsrefct.h, gscie.c, gscolor.c, gscolor1.c, gscolor2.c, gscsepr.c,
  750. gsstate.c, gxclread.c)
  751. Refactors the unpacking of image data, to make unpacking available as a
  752. general facility. (gximage.h, gxsample.h, gximage.c, gximage0.c,
  753. gximage1.c, gximage4.c, gxsample.c)
  754. Enhances -Z? so that before freeing an object, it checks that the object was
  755. owned by the correct allocator. (gsalloc.c)
  756. </pre>
  757. <h2><a name="Version4.73"></a>Version 4.73 (limited) (4/19/97)</h2>
  758. <p>
  759. This is an incremental bug fix release made primarily to provide a
  760. synchronization point for an upcoming trip.
  761. <h3><a name="V4.73_Documentation"></a>Documentation</h3><pre>
  762. Fixes bugs:
  763. - A reference to the uniprint documentation was incorrect.
  764. (current.txt)
  765. - -Olimit 1000 is not enough now for DEC Ultrix, 1200 is required;
  766. this is also required for SGI IRIX. (make.txt)
  767. Adds argument/result comments to all the operators defined in gs_lev2.ps.
  768. (Eventually we will do this for all operators defined as PostScript
  769. procedures.) (gs_lev2.ps)
  770. </pre><h3><a name="V4.73_Procedures"></a>Procedures</h3><pre>
  771. Fixes bugs:
  772. - The makefiles didn't provide a default value for GCONFIG_EXTRAS.
  773. (gs.mak)
  774. </pre><h3><a name="V4.73_Utilities"></a>Utilities</h3><pre>
  775. Fixes bugs:
  776. - pdf2ps didn't work with TrueType or compressed Type 1 fonts.
  777. (gs_pdf.ps, pdf_2ps.ps, pdf_font.ps)
  778. </pre><h3><a name="V4.73_Drivers"></a>Drivers</h3><pre>
  779. Fixes bugs:
  780. - A cast from byte to char was omitted. (gdevpdfm.c)
  781. </pre><h3><a name="V4.73_Platforms"></a>Platforms</h3><pre>
  782. Updates the VMS script (again). (vms.mak)
  783. </pre><h3><a name="V4.73_Interpreter"></a>Interpreter</h3><pre>
  784. Fixes bugs:
  785. - A module that used strlen didn't include string_.h. (zdevice.c)
  786. - Because of some bad PostScript code in FrameMaker output, identity
  787. rather than unity black generation and undercolor removal functions are
  788. required on black-and-white devices. (gs_init.ps)
  789. - A harmless internal error during initialization left bogus
  790. information in $error. (gs_cidfn.ps)
  791. - startjob didn't clear the execution stack. Fixing this required
  792. NON-BACKWARD-COMPATIBLE changes to the internal operators .instopped, .stop,
  793. and .stopped, which are not supposed to be used by any external code.
  794. (startjob will still give errors if executed in a file that isn't being
  795. piped from stdin; this will take longer to fix.) (gs_init.ps, gs_lev2.ps,
  796. iref.h, imain.c, interp.c, zcontrol.c, zfile.c)
  797. Adds a new .execn operator, part of the startjob changes, that allows
  798. pushing multiple items on the exec stack. Eventually this will allow us to
  799. get rid of many dynamically created closures. (zcontrol.c)
  800. </pre><h3><a name="V4.73_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  801. Fixes bugs:
  802. - Landscape-mode PDF files weren't rotated properly. (gs_pdf.ps,
  803. pdf_main.ps)
  804. Makes the default PDF configuration notify users more informatively when
  805. encountering an encrypted file. (pdf_sec.ps)
  806. </pre><h3><a name="V4.73_Streams"></a>Streams</h3><pre>
  807. Makes the RunLengthEncode filter always generate optimally compressed
  808. output. We did this because we thought one of the Genoa CET files loops
  809. forever if this is not the case; but we were wrong. (srle.c)
  810. </pre><h3><a name="V4.73_Library"></a>Library</h3><pre>
  811. Fixes bugs:
  812. - If one coordinate of a position or distance overflowed the
  813. internal representable range, the other coordinate became garbage. (bug
  814. introduced in 4.70) (gspath.c)
  815. - The bounding box computation for strokes was slightly too large
  816. (sometimes much too large). (gxpaint.h, gdevbbox.c, gxclpath.c, gxstroke.c)
  817. Adds (under an #if 0) an experimental alternate halftone cell choice
  818. algorithm. (gshtscr.c)
  819. Adds a better comment to a particularly obscure line of C code.
  820. (gxclimag.c)
  821. </pre>
  822. <h2><a name="Version4.72"></a>Version 4.72 (limited) (4/14/97)</h2>
  823. <p>
  824. This is another bug fix release, motivated mostly by Genoa testing. It also
  825. updates the new uniprint driver with a major revision, and upgrades CFF
  826. support a little bit.
  827. <h3><a name="V4.72_Documentation"></a>Documentation</h3><pre>
  828. Fixes bugs:
  829. - -dNOGC only disables default automatic garbage collection, not all
  830. garbage collection. (use.txt)
  831. - Apparently a different set of flags is needed for newer H-P
  832. compilers. (make.txt)
  833. Replaces the tiny FAQ with a pointer to the on-line FAQ. (use.txt)
  834. Updates the documentation for the uniprint driver. (devices.txt)
  835. Clarifies the fact that Ghostscript reads Fontmap files from *all*
  836. directories in the search list. (use.txt)
  837. Notes that building on Linux may require SM and ICE in the list of X
  838. libraries. (make.txt)
  839. </pre><h3><a name="V4.72_Procedures"></a>Procedures</h3><pre>
  840. Fixes bugs:
  841. - An -include type42 was omitted from the level2 module description.
  842. (int.mak)
  843. - A mention of $(ECHOGS) in the rule for sfile should have been
  844. $(ECHOGS_XE). (lib.mak)
  845. - The pcx2up sample device should have been put in devs.mak rather
  846. than lib.mak. (devs.mak, lib.mak)
  847. - scanchar.h and scantab.c belong in the library, not the
  848. interpreter. (devs.mak, int.mak, lib.mak)
  849. - Some _h definitions were used before being defined, or weren't
  850. defined at all. (devs.mak, lib.mak)
  851. - The JPEG driver was missing a dependency. (devs.mak)
  852. - The PDF writer was missing a dependency. (devs.mak)
  853. - Building Level 1 systems was no longer possible. (int.mak)
  854. Updates the VMS build scripts. (vms.mak, vms-decc.mak)
  855. Adds *.upp to the list of files installed under Unix. (unix-end.mak)
  856. Adds rules to the Unix makefiles to build two library files: gs.a,
  857. consisting of the entire PostScript/PDF interpreter lacking only gs.c, and
  858. gslib.a, consisting of the graphics library without the gslib.c test driver.
  859. (ansihead.mak, cc-head.mak, gcc-head.mak, unixtail.mak)
  860. </pre><h3><a name="V4.72_Drivers"></a>Drivers</h3><pre>
  861. Fixes bugs:
  862. - The PS/EPS writers could generate a reference to an undefined
  863. name. (gdevps.c)
  864. - The PDF writer produced incorrect output for multi-level outlines.
  865. (gdevpdfm.c)
  866. - The PDF writer didn't convert /Action to /A, and /Action/Subtype
  867. to /S, in Annot dictionaries. (gdevpdfm.c)
  868. - The PDF writer didn't work in Level 1 systems. (gs_pdfwr.ps)
  869. - The PDF writer didn't transform /Rect and /R values to current
  870. user coordinates. (gs_pdfwr.ps, gdevpdfx.h, gdevpdfm.c)
  871. - The PNG writer could refer to the 3 predefined stdio files even in
  872. environments where this was undesirable. (gdevpng.c)
  873. - The PDF writer had a compiled-in limit of 100 pages of output.
  874. (gdevpdfx.h, gdevpdf.c)
  875. Updates the uniprint driver with a major revision that uses device
  876. parameters that can be set from the command line, rather than PostScript
  877. code, for configuration choices. (gdevupd.c, *.upp)
  878. </pre><h3><a name="V4.72_Platforms"></a>Platforms</h3><pre>
  879. Fixes bugs:
  880. - gp_enumerate_files_next had no way to return an error. (gp.h,
  881. gp_dosfe.c, gp_ntfs.c, gp_os2.c, gp_unifs.c, gp_vms.c) ****** NOT
  882. IMPLEMENTED YET ******
  883. - On the Watcom platform, CPU_TYPE &gt;= 486 didn't automatically set
  884. FPU_TYPE to 387. (wccommon.mak)
  885. </pre><h3><a name="V4.72_Interpreter"></a>Interpreter</h3><pre>
  886. Fixes bugs:
  887. - Caching the current device in userdict could create dangling
  888. references. (gs_init.ps, gs_pdfwr.ps, zdevice.c)
  889. - If an error occurred in a BuildChar or BuildGlyph procedure, the
  890. graphics state stack wasn't restored. (ichar.h, zchar.c, zchar2.c)
  891. - There was an obsolete check for a structure when cleaning up after
  892. a show operator. (zchar.c)
  893. - Attempting to show a character with no associated glyph in a Type
  894. 3 font with a BuildGlyph procedure caused an error. (zchar.c)
  895. - noaccess on a read-only dictionary didn't give an error.
  896. (ztype.c)
  897. - The dictionary passed to a Pattern's PaintProc was the original
  898. template, not the copy made by makepattern. (gs_lev2.ps)
  899. - Invalid font parameters could result in partially constructed
  900. fonts, which caused problems for restore. (zfont0.c, zfont2.c)
  901. - Files run under job control caused an error when terminating.
  902. (gs_init.ps)
  903. - setpagedevice didn't protect itself against malfunctioning
  904. BeginPage or EndPage procedures. (The protection is still not perfect.)
  905. (gs_setpd.ps)
  906. - .type42execchar called font_param redundantly. (zchar42.c)
  907. - The font operators didn't protect themselves well enough against
  908. bogus font dictionaries. (zfont.c, zfont0.c)
  909. - If an error occurred within a stringwidth, the graphics state
  910. stack wasn't restored properly. (zchar.c)
  911. - If an error occurred within the PaintProc of a form, the graphics
  912. state stack was left with an extra entry. (gs_lev2.ps)
  913. - Registering a font under a second name could corrupt data
  914. structures. (zfont2.c)
  915. - Different scalings of the same font should have "equal" fontIDs,
  916. to match the Adobe implementations. (iutil.c)
  917. - Errors detected by PostScript code during initialization either
  918. allowed execution to continue or produced a hex stack dump, instead of just
  919. producing a message and exiting. (interp.c)
  920. - The memory validator didn't validate chunks at previous save
  921. levels. (ilocate.c)
  922. - The Level 1 size of systemdict was too small. (iinit.c)
  923. - Attempting to define a Category resource in local VM gave a
  924. typecheck error rather than an invalidaccess. (gs_res.ps)
  925. - Building Level 1 systems was no longer possible. (zusparam.c)
  926. Rearranges the interpreter code slightly so that all operator invocations go
  927. through a single procedure when debugging. (interp.c)
  928. Adds a -K&lt;numK&gt; switch to limit the total amount of memory that Ghostscript
  929. can acquire. (imainarg.c)
  930. Makes the memory validator check packed refs more carefully. (ilocate.c)
  931. Makes the memory validator check explicitly for pointers to freed objects.
  932. (igc.c, ilocate.c)
  933. Makes the memory validator check dictionaries more carefully. (ilocate.c)
  934. Makes the memory validator check refs embedded in structures. (ilocate.c)
  935. Adds a debugging option that bypasses the garbage collector entirely.
  936. (igc.c)
  937. Adds debugging options to validate memory before/after save/restore.
  938. (zvmem.c)
  939. Removes the patch for the uniprint driver, since it is no longer needed.
  940. (gs_init.ps)
  941. Implements real-number operands in CFF fonts. (gs_cff.ps)
  942. Implements non-default charsets in CFF fonts. (gs_cff.ps)
  943. </pre><h3><a name="V4.72_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  944. Fixes bugs:
  945. - The PDF 1.2 "marked content" operators weren't defined.
  946. (pdf_main.ps)
  947. - Streams with binary data whose first character was an EOL (\n)
  948. didn't parse properly. Unfortunately, the way we fixed this may break some
  949. other files. (pdf_base.ps)
  950. - PDF 1.2 #nn escape syntax in names wasn't recognized. ****** This
  951. is implemented with an inefficient hack that should be moved down into C.
  952. However, I don't want to risk introducing new bugs during the beta test
  953. period. ****** (pdf_base.ps)
  954. - The interpreter had a limit of 64K objects. Removing this limit
  955. required changing a basic data structure -- admittedly a risky thing to do
  956. during beta test. (pdf_base.ps, pdf_main.ps)
  957. - TJ didn't multiply the offsets by the font size, causing incorrect
  958. character positioning. (gs_pdf.ps)
  959. </pre><h3><a name="V4.72_Streams"></a>Streams</h3><pre>
  960. Fixes bugs:
  961. - The ASCIIHexDecode filter read an extra character in case of
  962. error. (sstring.c)
  963. Adds more tracing output to the CCITTFaxDecode stream. (scfd.c)
  964. </pre><h3><a name="V4.72_Library"></a>Library</h3><pre>
  965. Fixes bugs:
  966. - The allocator client name for rendering bitmap patterns was
  967. incorrect. (Only affects tracing output.) (gspcolor.c)
  968. - The check for exceeding the overall allocation limit was
  969. incorrect, because of unsigned arithmetic. (Only affects limitation of
  970. total allocation, which is only used for debugging and benchmarking.)
  971. (gsmemory.c)
  972. - The 0'th component of colored screens wasn't passed through the
  973. band list, possibly causing access errors when rasterizing. (gxclimag.c,
  974. gxclread.c)
  975. - setbbox could get an overflow without detecting it. (gsdps1.c)
  976. - Images with only one component but MultipleDataSources = true
  977. could cause a memory access error. (gximage.c)
  978. - The buffer for unpacking 12-bit-per-sample image data was too
  979. small, causing memory corruption. (gximage.c)
  980. - 12-bit-per-sample images with multiple data sources sometimes
  981. didn't pass correct pointers to image_data. (gsimage.c)
  982. - If an image data stream reached EOF before supplying enough data
  983. for the entire image, memory corruption could occur. (zpaint.c)
  984. - When a device halftone was freed, some pointers in the halftone
  985. cache weren't cleared, leading to possible dangling references. (gsstate.c)
  986. - Invalid font parameters could result in partially constructed
  987. fonts, which caused problems for restore. (gxfont0.h, gsfont.c)
  988. - If an error occurred within a stringwidth, the graphics state
  989. stack wasn't restored properly. (gschar.c)
  990. - The (static) limit on the size of a command line argument was too
  991. small. (gsargs.h)
  992. - Building Level 1 systems was no longer possible. (gxdht.h,
  993. gsht.c, gsht1.c)
  994. - Truncation instead of rounding caused colors on gray-scale devices
  995. to come out very slightly too dark. (gxcmap.c)
  996. - The Decode mapping table constructed for images was slightly
  997. inaccurate for ranges other than [0 1] or [1 0]. (gximage.c)
  998. </pre>
  999. <h2><a name="Version4.71"></a>Version 4.71 (limited) (3/31/97)</h2>
  1000. <p>
  1001. This is a bug fix release during the beta test period.
  1002. <h3><a name="V4.71_Documentation"></a>Documentation</h3><pre>
  1003. Fixes bugs:
  1004. - A larger value of -Olimit is now needed to optimize gxclread.c.
  1005. (make.txt)
  1006. - Some comments were incorrect. (gdevbbox.h, sfilter1.c)
  1007. Updates the GPL with a newer version from FSF. (COPYLEFT)
  1008. Notes that the gcc 2.7.x code generation bug is fixed in 2.7.2.1.
  1009. (make.txt)
  1010. </pre><h3><a name="V4.71_Procedures"></a>Procedures</h3><pre>
  1011. Fixes bugs:
  1012. - Some streams required by high-level drivers were incorrectly
  1013. grouped with the interpreter rather than the library. (int.mak, lib.mak)
  1014. - The choice of implementation for file streams was buried in an
  1015. obscure place, rather than being included in the configuration definitions
  1016. at the head of each makefile. (We believe there are no more such buried
  1017. parameters.) This involved a NON-BACKWARD-COMPATIBLE change in the way this
  1018. choice was specified. (lib.mak, *.mak)
  1019. - Some dependencies were missing. (lib.mak)
  1020. </pre><h3><a name="V4.71_Drivers"></a>Drivers</h3><pre>
  1021. Fixes bugs:
  1022. - A variable was used before being initialized, causing get_bits
  1023. (and raster ops) to fail when using alternate X devices. (bug introduced in
  1024. 4.70.) (gdevxalt.c)
  1025. - Some 'private' declarations were omitted. (It is infuriating that
  1026. gcc doesn't check for this!) (gdevps.c, gdevpx.c)
  1027. - A few character strings were used as byte arrays without a cast.
  1028. (gdevpx.c)
  1029. - The EPS writer didn't write a correct bounding box, and didn't
  1030. write it at the beginning of the file. (gdevvec.h, gsstruct.h, gdevps.c,
  1031. gdevvec.c)
  1032. - x_copy_color specified an incorrect (too large) image width.
  1033. Apparently this only mattered because it could cause invalid memory
  1034. accesses. (gdevx.c)
  1035. - x_copy_mono also specified too large an image width. It's not
  1036. clear this made any difference. (gdevx.c)
  1037. - The default implementation of strip_copy_rop didn't clamp Y values
  1038. to legal values for get_bits. (gdevmrop.c)
  1039. </pre><h3><a name="V4.71_Interpreter"></a>Interpreter</h3><pre>
  1040. Fixes bugs:
  1041. - Some initialization files prematurely switched the interpreter
  1042. into Level 2 mode, causing some Level 2 operators not to be defined. (bug
  1043. introduced in 4.60 or later.) (gs_cff.ps, gs_cidfn.ps, gs_cmap.ps,
  1044. gs_init.ps, gs_res.ps)
  1045. </pre><h3><a name="V4.71_Streams"></a>Streams</h3><pre>
  1046. Fixes bugs:
  1047. - The choice of procedure names for the file-descriptor-based
  1048. implementation of file streams was buried in a .c file, rather than being
  1049. chosen in the makefile. (sfile.c[deleted], sfileno.c[deleted], sfxstdio.c,
  1050. sfxfd.c, sfxboth.c)
  1051. </pre><h3><a name="V4.71_Library"></a>Library</h3><pre>
  1052. Fixes bugs:
  1053. - rcurveto was broken -- it drew curves to random points. (bug
  1054. introduced in 4.61.) (gspath.c)
  1055. - A trailing comma in an enum definition upset some compilers. (bug
  1056. introduced in 4.70.) (gstype1.h)
  1057. - Type 1 fonts with hint replacement could produce anomalous or
  1058. clipped output, or even missing lines. (Also cleans up some out-of-date
  1059. formatting.) (gxtype1.h, gstype1.c, gxhint2.c)
  1060. - Removes some conditionals for choosing between old and new
  1061. algorithms. (gxhint3.c)
  1062. - makebitmappattern required that the bitmap consist of only a
  1063. single tile repetition. (gspcolor.c)
  1064. - Some computations on RasterOps didn't take transparency into
  1065. account properly. (gdevmrop.c)
  1066. - The structure definition for imager and graphics states had an
  1067. incorrect offset for line_params, causing the garbage collector not to mark
  1068. or relocate dash patterns, possibly causing memory faults, FPEs, or invalid
  1069. output. (bug introduced since 4.03.) (gsstate.c)
  1070. - 'show' operators gave a limitcheck for unreasonable coordinates,
  1071. even if limit clamping was enabled. (gschar.c)
  1072. Implements banded filling and stroking with colored halftones, in addition
  1073. to pure colors and binary halftones. Since we are in a beta test period,
  1074. actual use of this feature (but *not* all the code implementing it) is
  1075. disabled under an #ifdef FUTURE. (gsdcolor.h, gxcldev.h, gxclpath.h,
  1076. gxdht.h, gxhttype.h, gsht.c, gxclimag.c, gxclpath.c, gxclread.c)
  1077. </pre>
  1078. <h2><a name="Version4.70"></a>Version 4.70 (limited) (3/26/97)</h2>
  1079. <p>
  1080. This fileset fixes the one outstanding compilation problem on PC platforms
  1081. and the old problem of limitchecks for out-of-bounds coordinates, and adds a
  1082. variety of new features, including the ability to save away the band lists
  1083. for pages and rasterize them later and/or elsewhere in any order and
  1084. combination. This is the first "serious beta" candidate for the next
  1085. general release.
  1086. <p>
  1087. Fileset numbers 4.62 through 4.69 were skipped deliberately.
  1088. <h3><a name="V4.70_Documentation"></a>Documentation</h3><pre>
  1089. Fixes bugs:
  1090. - The list of special -d and -s switches was out of date. (use.txt)
  1091. - The name of the zlibDecode filter was incorrectly written
  1092. zlibEncode. (language.txt)
  1093. Documents where to find out how to install gcc 2.7.x on SGI IRIX 6.x.
  1094. (make.txt)
  1095. Documents a makefile patch required on NeXTStep. (make.txt)
  1096. Documents how to patch gcc to fix the AXP code generation bug. (make.txt)
  1097. Adds documentation for the new unified printer driver. (devices.txt)
  1098. </pre><h3><a name="V4.70_Procedures"></a>Procedures</h3><pre>
  1099. Fixes bugs:
  1100. - 'make distclean' didn't remove a couple of files. (gs.mak)
  1101. - A library module didn't include a necessary dependency. (lib.mak)
  1102. - A new .ps file wasn't installed properly. (unix-end.mak)
  1103. - File write dates weren't updated properly on PC platforms, causing
  1104. unnecessary rebuilding. (cp.bat, gs.mak, msc.mak, msvcwint.mak, os2.mak,
  1105. tccommon.mak, wccommon.mak, zlib.mak)
  1106. - An unnecessary explicit compilation line for gdevcdj.c caused
  1107. problems in the Mac environment. (devs.mak)
  1108. - The VMS scripts were out of sync again. (vms.mak)
  1109. - The VMS build scripts didn't include the new JPEG driver.
  1110. (vms-*.mak)
  1111. - A number of makefile macros were referenced before being defined.
  1112. (devs.mak, lib.mak, int.mak, *.mak)
  1113. - libpng.mak didn't work with PVERSION=90. (libpng.mak, zlib.mak)
  1114. Separates install-scripts from install-exec and install-data.
  1115. (unix-end.mak)
  1116. Moves the definition of SEARCH_HERE_FIRST from iminst.h to the makefiles.
  1117. (*.mak, iminst.h, iconf.c, imain.c)
  1118. Adds a -dBATCH switch that causes Ghostscript to exit after processing the
  1119. files named on the command line. (gs_init.ps)
  1120. Adds the PostScript, EPS, and PCL XL writers, and the color and gray-scale
  1121. JPEG drivers, to all Unix configurations. (ansihead.mak, cc-head.mak,
  1122. gcc-head.mak)
  1123. </pre><h3><a name="V4.70_Drivers"></a>Drivers</h3><pre>
  1124. NOTE: because of a change in an internal interface (clist_output_page), the
  1125. cp50 driver no longer works. This is a user-contributed driver for which we
  1126. take no responsibility.
  1127. Fixes bugs:
  1128. - gdevcdj.c wasn't compatible with ansi2knr. (gdevcdj.c)
  1129. - 'private' was omitted from some declarations. (gdevjpeg.c)
  1130. - The PostScript writer didn't keep track of the current color
  1131. properly. (gdevps.c)
  1132. - RESOLUTION was misspelled in a header. (gdevbjc.h)
  1133. - Some compilers objected to the use of a floating point initial
  1134. resolution value. (gdevbjc.h)
  1135. - Some compilers didn't allow static initialization of a union.
  1136. (gsdcolor.h)
  1137. - If a TIFF driver got an error when initializing the CCITTFax
  1138. encoder, it returned a bogus error code. (gdevtfax.c)
  1139. - The PDF writer produced incorrect output for Indexed color space
  1140. images. (gdevpdfi.c)
  1141. - For many fatal error conditions, the X driver called exit()
  1142. instead of returning an error. (gdevx*.c)
  1143. Adds new drivers:
  1144. - epswrite, an EPS-writing driver (instead of making EPS output a
  1145. parametric option of the PostScript-writing device). (devs.mak, gdevps.c)
  1146. - pcxcmyk, a 4-bit CMYK PCX driver. This is probably only useful
  1147. for debugging CMYK color rendering. (gdevpcx.c)
  1148. - jpeggray, a JPEG driver that produces gray-scale rather than color
  1149. output. Thanks to Tom Lane for contributing this. (gdevjpeg.c)
  1150. - uniprint, a unified printer driver for a wide variety of inkjet
  1151. printers. Thanks to Gunther Hess for contributing this. (gdevupd.c)
  1152. Adds the resolution (pHYs) to the output of the PNG drivers. (gdevpng.c)
  1153. Adds recognition of the ASCII85EncodePages parameter to the PostScript and
  1154. EPS writers. (gdevps.c)
  1155. Makes the new JPEG driver write a JFIF header, which contains the image
  1156. resolution. (gdevjpeg.c)
  1157. Changes the "vector" device support interface so relative movement can be
  1158. detected easily. THIS IS STILL SUBJECT TO CHANGE WITHOUT NOTICE.
  1159. (gdevvec.h, gdevpsdf.c, gdevps.c, gdevpx.c, gdevvec.c)
  1160. Changes the PostScript, EPS, and PDF writers to recognize curves and lines
  1161. that can be represented more efficiently. (gdevpsdf.h, gdevpsdf.c,
  1162. gdevps.c)
  1163. Adds a new parameter to the PDF writer, FirstObjectNumber. This defines the
  1164. first object number that will be used in the output. The default, and
  1165. minimum, value is 1; the maximum value is approximately 2^31. This is for
  1166. the benefit of dvipdf; we don't expect it to be used otherwise. In fact,
  1167. using it appears to produce files that Adobe Acrobat Reader won't accept,
  1168. even though the files are perfectly compliant with the published PDF
  1169. specification. (gdevpdfx.h, gdevpdf.c, gdevpdfp.c)
  1170. </pre><h3><a name="V4.70_Platforms"></a>Platforms</h3><pre>
  1171. Removes the makefile for the 16-bit Borland C++ platform. This was the last
  1172. supported 16-bit platform; we expect to gradually drop all 16-bit
  1173. concessions from the code itself. (bcwin.mak)
  1174. </pre><h3><a name="V4.70_Interpreter"></a>Interpreter</h3><pre>
  1175. Fixes bugs:
  1176. - The initial size of systemdict was too small, causing the
  1177. interpreter to slow down substantially. (iinit.c)
  1178. - A library module depended on an interpreter module. (zcsindex.c)
  1179. - A logically necessary (but accidentally always available) #include
  1180. was missing. (ifont.h)
  1181. Moves set/currentoverprint to a more appropriate module. (zcolor2.c,
  1182. zcssepr.c)
  1183. Changes the default transfer functions so that they do something reasonable
  1184. when given operands outside the legal [0..1] range. We only do this to work
  1185. around a bug in FrameMaker output, which uses the transfer function as the
  1186. screen function (!). (gs_init.ps)
  1187. Changes the CMap construction algorithm to use the new, more compact
  1188. representation. (zfcmap.c)
  1189. Adds support for Adobe's Compact Font Format. Many individual features are
  1190. not implemented yet: see the comment in the source code for details.
  1191. (gs_cff.ps)
  1192. Adds support for Type 2 charstrings in Type 1 fonts. (ifont.h, zfont1.c)
  1193. Changes the Type 1 character rendering operator for the library change in
  1194. Type 1 fonts. (zchar1.c, zfont1.c)
  1195. Initializes the graphics state limit clamp flag to true. (zgstate.c)
  1196. Temporarily adds a configuration file for the new unified printer driver,
  1197. and arranges for it to be read at startup. This arrangement will be
  1198. replaced very soon by a different one based on command line parameters.
  1199. (gs_init.ps, uniprint.ps)
  1200. </pre><h3><a name="V4.70_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  1201. Adds support for Compact Font Format fonts. (pdf_font.ps)
  1202. </pre><h3><a name="V4.70_Streams"></a>Streams</h3><pre>
  1203. Adds a glue procedure needed for the new jpeggray driver. (sjpeg.h,
  1204. sjpege.c)
  1205. Removes the width limit of 32K in the CCITTFaxEncode filter. The new limit
  1206. is absurdly large (about 50M). (scf.h, scfx.h, scfe.c)
  1207. </pre><h3><a name="V4.70_Library"></a>Library</h3><pre>
  1208. Fixes bugs:
  1209. - A library module depended on an interpreter module. (gxcolor2.h,
  1210. gscolor2.c)
  1211. - When rendering a band, clipping was sometimes used when it wasn't
  1212. necessary. (Performance only.) (gxclread.c)
  1213. - Stroking didn't check the path against the device clipping box in
  1214. the absence of an explicit (non-default) clipping path. (Performance only.)
  1215. (gxstroke.c)
  1216. - A reference to an opaque type upset a couple of compilers.
  1217. (gxclread.c)
  1218. - Negative 32-bit numbers in Type 1 fonts didn't work properly on
  1219. 64-bit systems. (gstype1.c)
  1220. - A logically necessary (but accidentally always available) #include
  1221. was missing. (gxbitmap.h)
  1222. - A header wasn't protected against double inclusion. (gxclist.h)
  1223. - Clipping devices didn't store their actual width and height.
  1224. (gxcpath.c)
  1225. - The slow-case check for thin lines was incorrect. (gxstroke.c)
  1226. - Images didn't compute their clipping boxes correctly if there
  1227. wasn't an explicit clipping path. (This must be a very recent bug, since it
  1228. creates an overflow condition that prevents monochrome images from being
  1229. rendered at all.) (gximage.c)
  1230. Moves set/currentoverprint to a more appropriate module. For clients of
  1231. gs_set/currentoverprint, this is a NON-BACKWARD-COMPATIBLE CHANGE, since the
  1232. header file is now separate. (gscolor2.h, gscsepr.h, gscolor2.c, gscsepr.c)
  1233. Replace the MetroWerks work-around with a different, more general one.
  1234. (gdevmem.h, gdevmem.c, gxdevice.h)
  1235. Speeds up the Type 1 interpreter a little. (gstype1.c, gxhint3.c)
  1236. Redesigns the internal representation of CMaps to be more space-efficient.
  1237. (gxfcmap.h, gschar0.c, gsfcmap.c)
  1238. Implements a facility for saving away pages and rendering them later.
  1239. Currently this requires the pages to be represented as band lists on files,
  1240. and only allows X translation when rendering. This involves adding the
  1241. following new printer device parameters:
  1242. BandHeight
  1243. BandWidth
  1244. BandBufferSpace
  1245. Also changes the names of the printer device parameter elements from
  1246. use_buffer_space to BufferSpace and from max_bitmap to MaxBitmap for
  1247. consistency. (gdevprn.h, gxcldev.h, gxclio.h, gxclist.h, gxclmem.h,
  1248. gxclpage.h, gxdevmem.h, gdevmem.c, gdevp2up.c, gdevprn.c, gxclmem.c,
  1249. gxclpath.c, gxclread.c)
  1250. Changes the band list implementation API to allow closing a file without
  1251. deleting it, and to allow reopening an existing file. This is a
  1252. NON-BACKWARD-COMPATIBLE change to a deep internal interface. (gxclio.h,
  1253. gxclmem.h, gxclfile.c, gxclist.c, gxclmem.c)
  1254. Speeds up rendering of colored halftones, by recognizing cases where one or
  1255. more planes don't actually require screening, unrolling a loop, and doing
  1256. basic clipping before halftoning. (gxcht.c)
  1257. Adds a graphics state parameter, gs_set/currentlimitclamp, that changes the
  1258. handling of out-of-range coordinates to clamp them in a way that produces
  1259. approximately the intended output most of the time, rather than causing a
  1260. limitcheck. Currently this is only designed to work with the basic path
  1261. construction operations ([r]moveto, [r]lineto, [r]curveto, closepath); it
  1262. does not work with many other operations such as show, flattenpath or the
  1263. rectangle operations. Note also that while currentpoint will return the
  1264. correct (unclamped) value, reading out the path with pathforall will return
  1265. clamped values. This involves NON-BACKWARD-COMPATIBLE changes to the path
  1266. structure (but not to any public interfaces). (gxpath.h, gxtype1.h,
  1267. gzpath.h, gzstate.h, gspath.c, gspath1.c, gsstate.c, gstype1.c, gxpaint.c,
  1268. gxpath.c, gxpath2.c, gxpcopy.c)
  1269. Adds support for Type 2 charstrings. Some features are not implemented yet:
  1270. see gstype2.c for details. (gscrypt1.h, gstype1.h, gxfont1.h, gxop1.h,
  1271. gxtype1.h, gstype1.c, gstype2.c, gxhint2.c, gxhint3.c, gxtype1.c)
  1272. </pre>
  1273. <hr>
  1274. <h2><a name="Version4.61"></a>Version 4.61 (limited) (3/13/97)</h2>
  1275. <p>
  1276. This fileset cleans up many compiler warnings. It adds support for
  1277. CMap-encoded fonts, and a driver that writes JPEG images.
  1278. <h3><a name="V4.61_Documentation"></a>Documentation</h3><pre>
  1279. Corrects an error in the description of the internal CodeMap structure.
  1280. (gs_cmap.ps)
  1281. Documents the fact that the optimizer in gcc 2.7.2.1 is broken on AXP
  1282. machines. (make.txt)
  1283. Corrects the name of the .setglobal/.currentglobal procedures. (zvmem2.c)
  1284. Updates current.txt in preparation for the release. (current.txt)
  1285. </pre><h3><a name="V4.61_Procedures"></a>Procedures</h3><pre>
  1286. Fixes bugs:
  1287. - The VMS script was out of date again. (vms.mak)
  1288. - CIDFont support unnecessarily required composite font support.
  1289. (int.mak)
  1290. - CMap and CIDFont support had improper dependencies on
  1291. initialization order. (lib.mak, int.mak)
  1292. - Some dependencies were missing in the JPEG library code.
  1293. (jpeg.mak)
  1294. Adds the new JPEG driver to all standard configurations. (*.mak)
  1295. </pre><h3><a name="V4.61_Drivers"></a>Drivers</h3><pre>
  1296. Fixes bugs:
  1297. - A dependency was omitted from the makefile. (devs.mak, gdevps.c)
  1298. Cleans up some warnings from picky compilers. Some of these actually
  1299. indicated problems, such as unreachable code. (gdevpdfx.h, gdevbj10.c,
  1300. gdevcdj.c, gdevpdfp.c, gdevstc.c)
  1301. Adds a JPEG-writing driver. Currently this only produces RGB output and
  1302. only has a QFactor parameter, but eventually it could take all the other
  1303. parameters of the DCTEncode filter. (devs.mak, int.mak, lib.mak,
  1304. gdevjpeg.c)
  1305. Refactors the PDF and PostScript output drivers so that both of them
  1306. understand all the relevant documented PDF distiller parameters. (The
  1307. PostScript driver currently disregards nearly all of them.) (gdevpdfx.h,
  1308. gdevpsdf.h, gdevvec.h, gdevpdf*.c, gdevps.c, gdevpsdf.c, gdevpx.c)
  1309. </pre><h3><a name="V4.61_Platforms"></a>Platforms</h3><pre>
  1310. Fixes bugs:
  1311. - The MetroWerks C compiler gave an inexplicable error on a
  1312. particular initialization. (gdevmem.h, gdevmem.c)
  1313. </pre><h3><a name="V4.61_Interpreter"></a>Interpreter</h3><pre>
  1314. Fixes bugs:
  1315. - The insideness testing operators sometimes reported hits
  1316. incorrectly. (zupath.c)
  1317. - Mixed-type arithmetic used floats rather than doubles when
  1318. converting integers, possibly leading to loss of precision. (zarith.c,
  1319. zrelbit.c)
  1320. - composefont was defined in a private dictionary, not in
  1321. systemdict. (gs_cmap.ps)
  1322. - composefont didn't work, for several different reasons.
  1323. (gs_cmap.ps)
  1324. - After a Type 1 font called an OtherSubr, an invalid memory access
  1325. usually occurred, because of an incorrect attempt to free a data structure.
  1326. (zchar1.c)
  1327. - 2 .setlanguagelevel gave an error if globaldict hadn't been
  1328. defined yet. (zmisc2.c)
  1329. Cleans up some warnings from picky compilers. Some of these actually
  1330. indicated problems, such as unreachable code, or failure to check for
  1331. (implausible) out-of-range data. (idict.c, idparam.c, igc.c, iinit.c,
  1332. imain.c, iscan.c, zbseq.c, zchar1.c, zdps1.c)
  1333. Adjusts clients for a change in the internal character cache structure and
  1334. the introduction of the font next-glyph procedure. (zfont.c, zfont0.c)
  1335. Refactors the Level 1 / Level 2 interpreter split slightly so that composite
  1336. fonts don't require all of Level 2. (int.mak, gs_dps1.ps, gs_dps2.ps)
  1337. Adds FMapType 9 (CMap-encoded) composite font support. (int.mak,
  1338. gs_cmap.ps, ifont.h, zfcmap.c, zfont.c, zfont0.c)
  1339. </pre><h3><a name="V4.61_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  1340. Adds recognition of /Identity values for BG, UCR, and TR functions in
  1341. ExtGState resources. (General function values still aren't recognized.)
  1342. (pdf_draw.ps)
  1343. Centralizes the handling of inherited attributes. (pdf_draw.ps,
  1344. pdf_main.ps)
  1345. Starts to add support for Type 0 fonts. (pdf_font.ps, pdf_main.ps)
  1346. </pre><h3><a name="V4.61_Streams"></a>Streams</h3><pre>
  1347. Cleans up some warnings from picky compilers. Some of these actually
  1348. indicated problems, such as unreachable code. (shc.h, scfd.c, sfilter2.c,
  1349. siscale.c, stream.c)
  1350. </pre><h3><a name="V4.61_Library"></a>Library</h3><pre>
  1351. Fixes bugs:
  1352. - Some picky compilers disliked certain conditional expressions.
  1353. (gxclread.c)
  1354. - Some picky compilers couldn't handle an extraneous semicolon.
  1355. (gdevvec.h)
  1356. - A cast from byte ** to const byte ** was missing. (gdevvec.c)
  1357. - Resizing the levels array of a halftone order when banding could
  1358. cause invalid memory accesses. (bug introduced in 4.60) (gxclread.c)
  1359. - One picky compiler didn't allow taking the address of an extern
  1360. undefined structure. (lib.mak, gxclread.c)
  1361. - When rendering Type 1 fonts, character overshoot was usually
  1362. suppressed when it shouldn't have been, often producing "squashed"
  1363. characters. (gxhint1.c)
  1364. - On systems where sizeof(long) &gt; sizeof(int), coordinate values of
  1365. more than 22 bits were passed through the band list incorrectly, producing
  1366. incorrect output. (gxclread.c)
  1367. Cleans up some warnings from picky compilers. Some of these actually
  1368. indicated problems, such as unreachable code or (hypothetical) loss of
  1369. precision. (gsdevice.c, gshsb.c, gsht.c, gsstate.c, gstype1.c, gxclimag.c,
  1370. gxclpath.c, gxclread.c, gxpdash.c)
  1371. Makes using font hints conditional, for debugging. (gxhint1.c)
  1372. Adds library-level support for FMapType 9 (CMap-encoded) composite fonts.
  1373. There is still no support for rearranged fonts. (gsccode.h, gsfcmap.h,
  1374. gsstruct.h, gxfcache.h, gxfcmap.h, gxfont.h, gxfont0.h, gschar.c, gschar0.c,
  1375. gsfcmap.c, gsfont.c, gsfont0.c)
  1376. Splits band list control and utilities from rectangle-oriented commands,
  1377. because a file was getting too big. (gxclist.c, gxclrect.c)
  1378. Moves the temporary file names for command lists from the printer device
  1379. structure to the command list structure; moves opening and closing the
  1380. temporary files from gdev_prn_alloc/free to clist_open/close. (gdevprn.h,
  1381. gxclist.h, gdevprn.c, gxclist.c, gxclread.c)
  1382. Changes the command list storage implementation interface to pass the file
  1383. name to the clist_rewind and clist_fseek functions, for the benefit of OSs
  1384. that require closing and reopening a file to switch between reading and
  1385. writing. This is a NON-BACKWARD-COMPATIBLE change in a non-public
  1386. interface. (gxclio.h, gxclmem.h, gxclfile.c, gxclist.c, gxclmem.c)
  1387. Changes the get_outline procedure in Type 42 fonts to return the length of
  1388. the outline data as well as the pointer. This is a NON-BACKWARD-COMPATIBLE
  1389. change in a semi-public interface. (gxfont42.h, gstype42.c)
  1390. </pre>
  1391. <h2><a name="Version4.60"></a>Version 4.60 (limited) (3/2/97)</h2>
  1392. <p>
  1393. This fileset moves color rendering up from the graphics state to the imager
  1394. state so that color rendering can happen after banding. It also shifts
  1395. image rendering to the rendering pass of banding for many common cases
  1396. (often referred to inaccurately as "high-level image" capability). The
  1397. changes involved are substantial and in some respects subtle, so
  1398. unfortunately it is quite possible that some new bugs have been introduced.
  1399. <p>
  1400. This fileset also includes improvements to the new PCL XL driver
  1401. (pxlmono/color), and introduces an experimental PostScript driver (pswrite).
  1402. <h3><a name="V4.60_Documentation"></a>Documentation</h3><pre>
  1403. Fixes bugs:
  1404. - The argument list of colorimage was incorrect. (zcolor1.c)
  1405. - false .charboxpath incorrectly claimed to create the correct path
  1406. even when the CTM was not well-behaved. (language.txt)
  1407. - The discussion of the "main program" files was out of date.
  1408. (make.txt)
  1409. Updates the OS/2 EMX documentation. (make.txt)
  1410. Modifies the Aladdin Ghostscript Free Public License slightly so it may be
  1411. applied to other software packages. (PUBLIC)
  1412. Updates inaccurate build documentation for several Unix platforms.
  1413. (make.txt, ansihead.mak, cc-head.mak, gcc-head.mak, libpng.mak)
  1414. Notes a problem with the MIPSpro 7.1 compiler. (make.txt)
  1415. </pre><h3><a name="V4.60_Procedures"></a>Procedures</h3><pre>
  1416. Fixes bugs:
  1417. - Most makefiles didn't include version.mak. (msc.mak,
  1418. msvcwint.mak, os2.mak, tctail.mak, wctail.mak)
  1419. - There was an incorrect dependency for the Windows printer device.
  1420. (devs.mak)
  1421. Moves the PDF writer to devs.mak. (devs.mak, int.mak)
  1422. Updates the main VMS script to be structured like version.mak. (vms.mak)
  1423. </pre><h3><a name="V4.60_Drivers"></a>Drivers</h3><pre>
  1424. Factors out the stream-writing procedures from the PDF writer, so they can
  1425. be shared with the new PostScript writer. (gdevpdfs.h =&gt; gdevpstr.h,
  1426. gdevpdfx.h, gdevpsdf.h, gdevpdf.c, gdevpdfi.c, gdevpdfs.c =&gt; gdevpstr.c,
  1427. gdevpdft.c, gdevpsdf.c)
  1428. Adds a PostScript writer (pswrite), similar to the PDF and PCL XL drivers.
  1429. Currently this handles fill/stroke graphics and Level 1 images; everything
  1430. else (including text) is turned into bitmaps. (devs.mak, gdevps.c)
  1431. Changes the names of the PCL XL drivers from hpxmono/color to pxlmono/color.
  1432. (devs.mak, gdevpx.c)
  1433. Updates the "vector" device support interface. THIS IS STILL SUBJECT TO
  1434. CHANGE WITHOUT NOTICE. (gdevvec.h, gdevpx.c, gdevvec.c)
  1435. Makes the vgalib driver a page device. This seems bizarre, but it's
  1436. necessary for setpagedevice to work with it. (gdevvglb.c)
  1437. Updates some drivers for the new color mapping interfaces. (gdevpx.c)
  1438. Updates the user-contributed Canon LBP-8II and LIPS III driver.
  1439. (gdevlbp8.c)
  1440. </pre><h3><a name="V4.60_Platforms"></a>Platforms</h3><pre>
  1441. Fixes bugs:
  1442. - The workaround for Ultrix's incorrect implementation of sh -e
  1443. still didn't work. (unixtail.mak)
  1444. - The definition of offset_of didn't work on the Mac. (stdpre.h)
  1445. Updates the OS/2 EMX linker command per input from a user. (os2.mak)
  1446. </pre><h3><a name="V4.60_Fonts"></a>Fonts</h3><pre>
  1447. Adds .pss (apparently used by Adobe for Multiple Master font instances) to
  1448. the list of extensions skipped by the GS_FONTPATH directory scanner.
  1449. (gs_fonts.ps)
  1450. </pre><h3><a name="V4.60_Interpreter"></a>Interpreter</h3><pre>
  1451. Fixes bugs:
  1452. - Programs that rebind null, true, and/or false could cause all
  1453. kinds of problems. We've only fixed a couple of the places that might be
  1454. affected (findfont, quit), by wrapping an explicit "systemdict begin/end"
  1455. around the code; fixing this completely would probably require wrapping this
  1456. implicitly around almost every pseudo-operator, which would be too
  1457. expensive. (gs_fonts.ps, gs_lev2.ps)
  1458. - In a Level 2 system, grestoreall stopped one level too early.
  1459. (zdevice2.c)
  1460. - setpagedevice didn't restore the stack properly if it got an
  1461. error. (gs_setpd.ps)
  1462. Changes the GC pointer enumeration interface to reduce the number of
  1463. 'discarding const' warnings. See under Library below. (igc.c)
  1464. Updates the interpreter for the change in the imager / graphics state split.
  1465. (zpcolor.c)
  1466. Makes the stack-restoring behavior of pseudo-operators non-optional.
  1467. (interp.c)
  1468. </pre><h3><a name="V4.60_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  1469. Fixes bugs:
  1470. - PDFDocEncoding and WinAnsiEncoding incorrectly had `minus' at
  1471. position 45 rather than `hyphen'. (gs_pdf_e.ps, gs_wan_e.ps)
  1472. </pre><h3><a name="V4.60_Streams"></a>Streams</h3><pre>
  1473. Fixes bugs:
  1474. - A header file wasn't protected against double inclusion.
  1475. (stream.h)
  1476. - any_abs was redefined. (spngp.c)
  1477. - The CCITTFaxDecode filter didn't fully initialize the "previous
  1478. line" for 2-D decoding, so if the very first line of data was 2-D, an
  1479. out-of-bounds memory access could occur. (scfd.c)
  1480. </pre><h3><a name="V4.60_Library"></a>Library</h3><pre>
  1481. Fixes bugs:
  1482. - gs_image_next could read too much data, causing errors at the
  1483. interpreter level. (gsimage.c)
  1484. - The bitmaps stored in the Pattern cache were usually freed,
  1485. leaving dangling pointers. (gsdcolor.h, gxpcache.h, gxpcolor.h, gsstate.c,
  1486. gxpcmap.c)
  1487. - There was still one assignment to a const structure, and there
  1488. were some unnecessary const-discarding casts. (gxclread.c)
  1489. - If a character in a Type 3 font was defined by executing 'show'
  1490. type commands, charpath did the wrong thing (didn't pick up the paths
  1491. created by the inner show). Similarly, if it uses 'stroke', true charpath
  1492. did the wrong thing (appended the path rather than the strokepath path).
  1493. (gxchar.h, gschar.c, gspaint.c)
  1494. - A header file wasn't protected against double inclusion.
  1495. (gserror.h)
  1496. - The new fast implementation of rectfill didn't handle rectangles
  1497. with negative width/height. (bug introduced in 4.32) (gsdps1.c)
  1498. - Reading banded high-level images calculated the image height
  1499. incorrectly, (usually) causing a rangecheck. (gxclread.c)
  1500. - When reading band data, a memory fault could occur if the halftone
  1501. cache hadn't been allocated yet. (gxht.c)
  1502. - The imager state data for high-level images wasn't written soon
  1503. enough. (gxclimag.c)
  1504. - High-level images computed bounding boxes incorrectly, so they
  1505. could write some garbage data in the band list, and could also fail to write
  1506. some information. (gsmatrix.h, gxmatrix.h, gxclimag.c)
  1507. - High-level images wrote the raster value incorrectly in the band
  1508. list. (gxclimag.c)
  1509. - Images with non-zero initial source X and non-portrait orientation
  1510. were displaced on the page. (In practice, this only applied to some banded
  1511. high-level images.) (gximage.c)
  1512. - The bounding box device didn't forward output_page calls, causing
  1513. pages to be dropped or overprinted. (gdevbbox.c)
  1514. - The band renderer considered all non-zero return codes as errors,
  1515. rather than only negative codes. (gxclread.c)
  1516. - An unnecessary extern hadn't been removed. (gxclimag.c)
  1517. - Some macros didn't parenthesize uses of their arguments, causing
  1518. syntax errors. (gsrefct.h)
  1519. - The screen phase and color_info weren't set correctly when
  1520. rendering bands. (gsstate.h, gsht.c, gxclread.c)
  1521. - A header file didn't declare all the opaque types it used.
  1522. (gsdevice.h)
  1523. - Indexed color spaces didn't work with banded images. (They still
  1524. don't -- the check for writing the color space, and the code for reading the
  1525. table or map, are incomplete.) (gxclist.h, gxclpath.h, gxclimag.c,
  1526. gxclpath.c, gxclread.c)
  1527. In preparation for implementing post-banding halftoning:
  1528. - Moves color rendering information, including alpha value, from
  1529. graphics state to imager state; also moves the allocator pointer. This is
  1530. quite a subtle change, and may have a significant bug tail. (gxdcolor.h,
  1531. gxht.h, gxistate.h, gzstate.h, gschar.c, gsdps1.c, gspaint.c, gsstate.c,
  1532. gxclread.c)
  1533. - Changes all the relevant color space and color mapping procedures
  1534. so they take a const gs_imager_state * (and, in some cases, a [const]
  1535. gx_device *) instead of a const gs_state *. This is a
  1536. non-backward-compatible change, but it only affects internal interfaces.
  1537. (gsdcolor.h, gxcmap.h, gxcspace.h, gxdcconv.h, gxdcolor.h, gxdither.h,
  1538. gxpcolor.h, gzht.h, gschar.c, gscie.c, gscolor.c, gscolor1.c, gscolor2.c,
  1539. gscsepr.c, gsdevice.c, gsimage.c, gspcolor.c, gxcht.c, gxcmap.c, gxdcconv.c,
  1540. gxdcolor.c, gxht.c, gximage.c, gximage[2345].c, gxpcmap.c)
  1541. - Changes the color and color space reference count adjustment
  1542. procedures similarly, to take a gs_memory_t * instead of a gs_state_t *.
  1543. (gxcspace.h, gscie.c, gscolor.c, gscolor2.c, gscsepr.c, gspcolor.c)
  1544. - Changes the gs_halftone in the graphics state from being part of
  1545. the gs_state_contents to being an independent reference-counted object.
  1546. This too may have a significant bug tail. (gxht.h, gxistate.h, gsht.c,
  1547. gsstate.c)
  1548. - Changes the image processing code so it no longer assumes that the
  1549. gs_imager_state is actually a gs_state. (gximage.h, gximage.c, gximage2.c,
  1550. gximage3.c, gximage4.c, gximage5.c)
  1551. - Adds a unique ID value to device halftones, so that it's possible
  1552. to detect (non-)changes quickly. (gxdht.h, gsht.c)
  1553. Finishes the code for writing and reading color rendering information in the
  1554. band list. This involves changes to several band list opcodes. (gsht.h,
  1555. gsht1.h, gxcldev.h, gxclist.h, gxclpath.h, gxdht.h, gzht.h, gsht.c, gsht1.c,
  1556. gxclbits.c, gxclimag.c, gxclist.c, gxclread.c)
  1557. Changes the garbage collector pointer enumeration procedure interface
  1558. slightly to reduce the number of 'discarding const' warnings. THIS IS A
  1559. NON-BACKWARD-COMPATIBLE CHANGE for anyone who didn't use the
  1560. ENUM_PTRS_BEGIN[_PROC] macro to start a pointer enumeration procedure (which
  1561. should be no one). (gsstruct.h, gsmemory.c)
  1562. Corrects a few more needlessly const-discarding casts. (gxfcache.h,
  1563. gxccache.c)
  1564. Checks for file reading errors when rasterizing bands. (gxclread.c)
  1565. </pre>
  1566. <hr>
  1567. <h2><a name="Version4.51"></a>Version 4.51 (limited) (2/9/97)</h2>
  1568. <p>
  1569. This version contains a more reasonable high-level PCL XL driver. The VMS
  1570. build script is working again, we think.
  1571. <h3><a name="V4.51_Procedures"></a>Procedures</h3><pre>
  1572. Fixes bugs:
  1573. - The gsdll_h macro wasn't defined all the places it was needed.
  1574. (devs.mak, os2.mak)
  1575. </pre><h3><a name="V4.51_Drivers"></a>Drivers</h3><pre>
  1576. Continues to develop the "vector" driver infrastructure and the PCL XL
  1577. driver. EVERYTHING IN THESE FILES IS SUBJECT TO CHANGE WITHOUT NOTICE.
  1578. (gdevvec.h, gdevvec.c)
  1579. Brings the PCL XL driver up to usable quality for graphics. Most
  1580. fill/stroke graphics, and portrait-orientation bitmap images up to 8 bits
  1581. per pixel, are converted directly to their PCL XL equivalents. Text is
  1582. still treated as bitmaps. Both gray-scale and color output are now
  1583. supported. (devs.mak, gdevpx.c)
  1584. </pre><h3><a name="V4.51_Platforms"></a>Platforms</h3><pre>
  1585. Fixes bugs:
  1586. - When using gsos2.exe with gsdll2.dll, reducing the size of the
  1587. page bitmap caused a limitcheck error with the message
  1588. Failed to decommit memory in pm_alloc_bitmap, rc = 87 (gdevpm.c)
  1589. - The scripts that construct gconfig_.h failed on Ultrix, because
  1590. Ultrix's implementation of sh -e is incorrect. (unixtail.mak, ugcclib.mak)
  1591. - Some systems that have sys/times.h don't define CLK_TCK, making a
  1592. compilation fail. (time_.h)
  1593. </pre><h3><a name="V4.51_Interpreter"></a>Interpreter</h3><pre>
  1594. Fixes bugs:
  1595. - An omitted semicolon wasn't detected by gcc. (idict.c)
  1596. Removes a source of unnecessary duplication by getting the revision number
  1597. and date from version.mak. (gs.mak, int.mak, version.mak, gscdef.c)
  1598. </pre><h3><a name="V4.51_Streams"></a>Streams</h3><pre>
  1599. Fixes bugs:
  1600. - The minimum buffer sizes for the RunLengthDecode filter hadn't
  1601. been changed to reflect the algorithm improvement made in release 4.38.
  1602. (srld.c)
  1603. Changes the RunLengthEncode filter so it can make progress with only a
  1604. 2-byte output buffer. (srlx.h, srle.c)
  1605. </pre><h3><a name="V4.51_Library"></a>Library</h3><pre>
  1606. Fixes bugs:
  1607. - Because of a typo, the slow general algorithm was always used for
  1608. monochrome images. (Performance bug only, but a serious one.) (gximage2.c)
  1609. - Dots (zero-length lines with round caps and zero dot length)
  1610. caused an infinite loop. (bug introduced in 4.40) (gxstroke.c)
  1611. - Some image data unpacking procedures were always required, but
  1612. weren't always included. (bug introduced in 4.50) (gximage.c, gximage0.c,
  1613. gximage3.c)
  1614. - Images with 8 bits per pixel and non-identity Decode produced
  1615. garbage. (bug introduced later than 4.03) (gximage0.c)
  1616. - Some necessary casts and omitted punctuation weren't detected by
  1617. gcc. (gxpath.h, gsargs.c, gsstate.c, gxclread.c, gxpdash.c)
  1618. - The band list became confused if a band had no commands at all.
  1619. (gxclread.c)
  1620. - If a path included a closepath followed by a moveto to the same
  1621. point, it could be written incorrectly in the band list. (bug probably
  1622. introduced in 3.60) (gxclpath.c)
  1623. Changes some internal computations for arcs from float to double for greater
  1624. accuracy. (gspath1.c)
  1625. </pre>
  1626. <h2><a name="Version4.50"></a>Version 4.50 (limited) (1/31/97)</h2>
  1627. <p>
  1628. This release contains an experimental high-level PCL XL driver, a little
  1629. more support for CID/CMap fonts, and the usual bug fixes. NOTE: the VMS
  1630. build script is known to be out of sync with the makefiles again; we still
  1631. don't see any alternative to constant struggles with this problem.
  1632. <h3><a name="V4.50_Documentation"></a>Documentation</h3><pre>
  1633. Corrects the -h message, which gave an incorrect file name for the bug
  1634. report form. (imainarg.c)
  1635. Removes documentation for 16-bit MS-DOS platforms with the Borland compiler.
  1636. (fonts.txt, make.txt, new-user.txt, use.txt)
  1637. </pre><h3><a name="V4.50_Procedures"></a>Procedures</h3><pre>
  1638. Fixes bugs:
  1639. - The Watcom library makefile didn't define the directory
  1640. information for libpng and zlib. (watclib.mak)
  1641. Moves the selection of band list implementation (file- vs. RAM-based) and
  1642. the compression filter for RAM-based band lists up to the top-level
  1643. makefiles. Again, this is a NON-BACKWARD-COMPATIBLE procedure change.
  1644. (lib.mak, *.mak)
  1645. Moves the selection of version number for all platforms (except VMS, as
  1646. usual) to a separate file. This will reduce the number of files that need
  1647. editing when the version number changes. (ansihead.mak, cc-head.mak,
  1648. gcc-head.mak, ugcclib.mak, version.mak, tar_cat)
  1649. </pre><h3><a name="V4.50_Drivers"></a>Drivers</h3><pre>
  1650. Fixes bugs:
  1651. - An error in the (unsupported) SGI RGB driver could cause crashes
  1652. or incorrect output. (gdevsgi.c)
  1653. Starts to create a framework for structured output ("vector") drivers (PDF,
  1654. PostScript, PCL XL, etc.) (gdevbbox.h, gdevvec.h, gsdcolor.h, gsstruct.h,
  1655. gxdevice.h, gdevvec.c)
  1656. Moves default page size parameters to a more accessible header. (gdevprn.h,
  1657. gxdevice.h, gdevx.c)
  1658. Adds a driver that produces properly structured PCL XL output. This is
  1659. highly experimental and not ready for use yet. (gdevpx.c)
  1660. </pre><h3><a name="V4.50_Platforms"></a>Platforms</h3><pre>
  1661. Removes support for 16-bit MS-DOS platforms with the Borland compiler. For
  1662. the moment, 16-bit MS Windows is still supported. (bc.mak, bcflags.mak,
  1663. bclib.mak, tc.mak)
  1664. </pre><h3><a name="V4.50_Interpreter"></a>Interpreter</h3><pre>
  1665. Fixes bugs:
  1666. - File-based CIDFonts (with delayed, incremental loading of
  1667. character outlines) didn't work. (gs_cidfn.ps)
  1668. Finishes implementing the definition of CMap resources, except for
  1669. rearranged fonts. (gs_cidfn.ps, gs_cmap.ps)
  1670. Adds a little more CMap support code. (zcid.c)
  1671. Removes the .setcurrentfile operator, since it doesn't solve the problem it
  1672. was intended to address. (zcontrol.c)
  1673. Adapts the interpreter to use the new argument processing code.
  1674. (imainarg.c)
  1675. </pre><h3><a name="V4.50_Streams"></a>Streams</h3><pre>
  1676. Fixes bugs:
  1677. - The CCITTFaxDecode filter could access as much as 3 bytes beyond
  1678. the end of a buffer, causing an invalid memory access. (This is essentially
  1679. the same bug that was fixed for the CCITTFaxEncode filter in 4.38.)
  1680. (scfd.c)
  1681. </pre><h3><a name="V4.50_Library"></a>Library</h3><pre>
  1682. Fixes bugs:
  1683. - Painting an image without having set up any halftone could cause a
  1684. crash. (gxht.c)
  1685. - In a very obscure case, an occasional scan line of landscape
  1686. images could get corrupted. (gximage0.c)
  1687. - Because of a rounding error, patterns could fail to be painted in
  1688. certain cases. (gxpcolor.h, gspcolor.c, gxpcmap.c)
  1689. - Very large line widths or miter limits could cause the computation
  1690. of stroke expansion to overflow. (gxpaint.h, gdevbbox.c, gxclpath.c,
  1691. gxstroke.c)
  1692. - The phase could be incorrect for simple patterns. (gspcolor.c)
  1693. - The default implementation of copy_mono used an incorrect
  1694. RasterOp. (gdevdflt.c)
  1695. - The default implementation of fill_masked didn't increment the row
  1696. pointer, causing characters to appear as solid rectangular blocks.
  1697. (gxdcolor.c)
  1698. Eliminates an unnecessary gsave and grestore from rectfill and rectstroke if
  1699. the path was null. (gsdps1.c)
  1700. Adds a limit on the amount of space that the default (C heap) allocator will
  1701. allocate, and a record of the maximum amount allocated, to help testing
  1702. embedded products. (gsmemory.c)
  1703. Changes the band list algorithm for deciding how many replicas of a halftone
  1704. tile to store in the tile cache. The previous algorithm was too liberal,
  1705. which could cause the cache to overflow and many unnecessary bitmaps to be
  1706. written in the band list. (gxclbits.c)
  1707. Writes clipping with a rectangle more compactly in the band list.
  1708. (gxfixed.h, gxclpath.c)
  1709. Adds new band list commands for representing 90- and 180-degree arcs
  1710. compactly. (gxclpath.h, gxclpath.c, gxclread.c)
  1711. Repackages handling of general monochrome images, color images, and 12-bit
  1712. and interpolated images, so that they are included optionally rather than in
  1713. all configurations. (int.mak, lib.mak, gximage.h, gximage.c,
  1714. gximage[12345].c)
  1715. Changes the structure definition for devices to include no-op pointer
  1716. enumeration and relocation, so they can have subclasses. (gxdevice.h)
  1717. Adds a library facility for processing command line arguments with
  1718. @-expansion. (gsargs.h, gsargs.c)
  1719. </pre>
  1720. <hr>
  1721. <h2><a name="Version4.41"></a>Version 4.41 (private) (1/21/97)</h2>
  1722. <p>
  1723. This release adds a PCL XL output driver, and a few performance
  1724. improvements.
  1725. <h3><a name="V4.41_Procedures"></a>Procedures</h3><pre>
  1726. Fixes bugs:
  1727. - The zlib library used an incorrect header file when compiling.
  1728. (zlib.mak)
  1729. Changes the names of the preprocessor symbols indicating the presence of
  1730. system header files to be consistent with the ones used by GNU configure.
  1731. (dvx-tail.mak, ugcclib.mak, unixtail.mak, vms.mak; dirent_.h, time_.h;
  1732. gp_unix.c)
  1733. Changes the method for choosing the compression filter for RAM-based band
  1734. lists. This is a NON-BACKWARD-COMPATIBLE change in the makefile. (lib.mak)
  1735. </pre><h3><a name="V4.41_Drivers"></a>Drivers</h3><pre>
  1736. Adds black-and-white and 8-bit gray PCL XL (PCL 6) drivers for the LaserJet
  1737. 5 and 6 family. This driver is extremely simple and just emits bitmaps;
  1738. future drivers will use more PCL XL high-level constructs. (gdevlj56.c)
  1739. </pre><h3><a name="V4.41_Fonts"></a>Fonts</h3><pre>
  1740. Updates the free font distribution to add the URW Grotesk and Antiqua fonts.
  1741. </pre><h3><a name="V4.41_Interpreter"></a>Interpreter</h3><pre>
  1742. Fixes bugs:
  1743. - gs -h and -v returned with a non-zero exit code on all platforms.
  1744. (This is necessary under Windows, to keep the message visible on the screen,
  1745. but nowhere else.) (imainarg.c)
  1746. - Resizing a dictionary could exceed dict_max_size, causing memory
  1747. corruption. (dstack.h, idict.h, idict.c, zdict.c)
  1748. Adds .setlinecap and .setlinejoin that can use the extended range of line
  1749. cap/join values, and redefines setlinecap and setlinejoin in terms of them.
  1750. (gs_init.ps, zgstate.c)
  1751. </pre><h3><a name="V4.41_Streams"></a>Streams</h3><pre>
  1752. Fixes bugs:
  1753. - The CCITTFaxDecode filter with EncodedByteAlign = true skipped to
  1754. a byte boundary before checking for an EOL. This may be wrong if EndOfLine
  1755. = true; we aren't at all sure what should happen if EndOfLine = false.
  1756. (scfd.c)
  1757. Adds a "no wrapper" option to the zlib streams, to optionally suppress the
  1758. time-consuming integrity checksum computation. (szlibx.h, szlibc.c,
  1759. szlibd.c, szlibe.c)
  1760. </pre><h3><a name="V4.41_Library"></a>Library</h3><pre>
  1761. Fixes bugs:
  1762. - Dashed lines with zero-length drawn segments (dots) that fell
  1763. exactly on a corner produced inappropriate output. (pcl/test19.pxs)
  1764. (gxpdash.c, gxstroke.c)
  1765. - Dashed lines didn't set the segment notes properly. (gxpdash.c)
  1766. - The bounding box device didn't free a bookkeeping structure at the
  1767. end of processing an image. (gdevbbox.c)
  1768. - Curve points could get computed incorrectly when using emulated
  1769. floating point. (gxpcopy.c)
  1770. - The 1-element cache for curve_x_at_y didn't work if Y was
  1771. decreasing. (gxfixed.h, gxpcopy.c)
  1772. Distinguishes between error and informational exits. (stdpre.h)
  1773. Defines and checks maximum values for line cap and join parameters.
  1774. (gslparam.h, gsline.c)
  1775. Removes the 'not last' segment note, since it is not used for anything.
  1776. (gxpath.h, gspath1.c, gxpath2.c, gxpcopy.c, gxpflat.c, gxstroke.c)
  1777. Changes the memory freeing algorithm for RAM-based band lists back to the
  1778. original one, since the "improved" one had more bugs than it was worth
  1779. chasing. (gxclmem.c)
  1780. Speeds up the A * B / C algorithm a little. (gsmisc.c)
  1781. Speeds up curve_x_at_y by recognizing more cases that don't require the slow
  1782. A * B / C algorithm. (gxpcopy.c)
  1783. Changes the path filling code so it uses fill-by-trapezoids even if
  1784. fill_adjust is zero, as long as the flatness is at least 1 pixel.
  1785. (gxfill.c)
  1786. Removes the (unneeded) floating point operations from gx_curve_log2_samples.
  1787. (gxpflat.c)
  1788. Changes the memory-based implementation of band lists so that it constructs
  1789. the compressor and decompressor by calling procedures rather than
  1790. instantiating templates: this allows setting filter parameters to
  1791. non-default values. (gxclmem.h, gxcllzw.c, gxclmem.c, gxclzlib.c)
  1792. </pre>
  1793. <h2><a name="Version4.40"></a>Version 4.40 (private) (1/13/97)</h2>
  1794. <p>
  1795. This version finally handles the last graphics model discrepancies between
  1796. PostScript and PCL, by correctly implementing null joins, minimum dot
  1797. lengths, and tangent-aligned curve ends. It also contains some significant
  1798. performance improvements, and as usual a few bug fixes.
  1799. <h3><a name="V4.40_Documentation"></a>Documentation</h3><pre>
  1800. Documents the new accurate curves and path dashing operators.
  1801. (language.txt)
  1802. </pre><h3><a name="V4.40_Utilities"></a>Utilities</h3><pre>
  1803. Adds switches for genconf to set and unset a prefix for file names.
  1804. (genconf.c)
  1805. </pre><h3><a name="V4.40_Drivers"></a>Drivers</h3><pre>
  1806. Adds recognition of the new Distiller 3.0 parameters to the PDF writer.
  1807. (None of them have any effect yet.) (gs_pdfwr.ps, gdevpdfx.h, gdevpdf.c,
  1808. gdevpdfp.c)
  1809. Converts all the output functions in the PDF writer from being file-based to
  1810. using streams, in anticipation of adding compression. (gdevpdfs.h,
  1811. gdevpdfx.h, gdevpdf*.c, gdevpdfs.c)
  1812. </pre><h3><a name="V4.40_Interpreter"></a>Interpreter</h3><pre>
  1813. Adds operators for accessing the new accurate curves flag in the graphics
  1814. state. (zgstate.c)
  1815. Adds an operator for invoking gs_dashpath. (zpath1.c)
  1816. </pre><h3><a name="V4.40_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  1817. Fixes bugs:
  1818. - Indexed color spaces whose base space was a CIE space caused an
  1819. error. (pdf_draw.ps)
  1820. </pre><h3><a name="V4.40_Library"></a>Library</h3><pre>
  1821. Fixes bugs:
  1822. - A pointer was declared const incorrectly. (gxcpath.c)
  1823. - Filling with a pattern often failed to pass a non-null bitmap ID,
  1824. causing excessive writing in the band list. (Performance bug only.)
  1825. (gspcolor.c)
  1826. - The bounding box device didn't discount copy_mono or draw_line
  1827. operations drawing in white. (gdevbbox.c)
  1828. - The bounding box device didn't read out the bounding box correctly
  1829. as the PageBoundingBox device parameter. (It did return it correctly
  1830. through the gx_device_bbox_bbox procedure.) (gdevbbox.c)
  1831. - The default implementation of fill_triangle drew nothing or
  1832. incorrect output if the corners of the triangle were specified in certain
  1833. orders (ax &lt; 0 or bx &lt; 0) (i.e., the previous "fix" had a bug).
  1834. (gdevddrw.c)
  1835. Changes tile size from always being set in all bands to being 'known' by
  1836. bands individually. (gxclist.h, gxcldev.h, gxclbits.c, gxclist.c)
  1837. Computes an additional value in advance when rendering images. (gximage.h,
  1838. gximage1.c, gximage2.c)
  1839. Replaces some slow loops with calls of memmove. (gxclmem.c)
  1840. Provides a fixed-point implementation of A * B / C for machines with slow
  1841. floating point. (gxfixed.h, gsmisc.c)
  1842. Extends the "device color" type to implement filling masked regions as well
  1843. as rectangles. (gxdcolor.h, gdevdflt.c, gspcolor.c, gxcht.c, gxdcolor.c,
  1844. gxht.c)
  1845. Makes unclipped monobit portrait and landscape images and image masks use
  1846. the new masked fill capability of device colors. (gximage.h, gximage.c,
  1847. gximage1.c, gximage2.c)
  1848. Adds a macro for determining pointer alignment. (stdpre.h, gdevdflt.c)
  1849. When floating point is slow, uses a different, faster algorithm for
  1850. gx_curve_x_at_y. (gxpcopy.c)
  1851. Improves performance by adding a one-element cache for gx_curve_x_at_y.
  1852. (gzpath.h, gxpcopy.c)
  1853. Reduces overhead when banded images are pre-rasterized (currently, always).
  1854. (gxclimag.c)
  1855. Adds a rendering cost estimate field to each band in a band list. This
  1856. field isn't actually used for anything yet; eventually, the intent is that
  1857. bands with a high cost will get rendered, and stored in compressed form,
  1858. before starting the engine. (gxclist.h)
  1859. Adds the concept of 'notes' for path segments, to allow remember what
  1860. segments constitute a single curve or arc. Currently we set these properly
  1861. for everything except dashed paths. (gxclpath.h, gxpath.h, gzpath.h,
  1862. gspath1.c, gxclpath.c, gxclread.c, gxpath.c, gxpath2.c, gxpcopy.c)
  1863. When the dot length is non-zero, changes curve stroking to always use bevel
  1864. joins within each curve rather than the current join. This prevents a
  1865. "bristly" look with no join and butt caps. (gxstroke.c)
  1866. Adds an "accurate curves" capability that makes the last line segment of a
  1867. flattened curve actually be tangent to the curve, which in turn makes
  1868. flat-end caps be correctly perpendicular to the tangent. (gxpath.h,
  1869. gxpcopy.c)
  1870. Adds an "accurate curves" flag in the graphics state. (gsline.h,
  1871. gxclpath.h, gxistate.h, gsline.c, gspath.c, gspath1.c, gxclpath.c,
  1872. gxclread.c, gxfill.c, gxstroke.c)
  1873. Changes the meaning of "no join" (gs_join_none) so that instead of producing
  1874. no join and butt caps, it produces whatever the current cap is. This is
  1875. compatible with the H-P definition. (gxstroke.c)
  1876. Implements non-zero dot length for dash patterns. (gxpdash.c)
  1877. Splits off the curve flattening algorithms into a separate file.
  1878. (gxpcopy.c, gxpflat.c)
  1879. </pre>
  1880. <hr>
  1881. <h2><a name="Version4.39"></a>Version 4.39 (limited) (1/1/97)</h2>
  1882. <p>
  1883. This version was created only to accompany a release of the PCL XL
  1884. interpreter. It was withdrawn the day after it was released, because the
  1885. tools used to produce it put the wrong files in the filesets.
  1886. <h3><a name="V4.39_Documentation"></a>Documentation</h3><pre>
  1887. Adds a more detailed description of the third-party ps_view viewer
  1888. interface. (new-user.txt)
  1889. Corrects an error in a reference to the PSLRM. (lib.txt)
  1890. Documents the change in .makeoperator. (language.txt)
  1891. Updates the FTP location of the zlib sources. (zlib.mak)
  1892. </pre><h3><a name="V4.39_Procedures"></a>Procedures</h3><pre>
  1893. Fixes bugs:
  1894. - The Unix library makefile didn't include the necessary definitions
  1895. for libpng and zlib. (ugcclib.mak)
  1896. Allows selecting the compression filters for memory-based band lists in the
  1897. makefile. Makes zlib (deflate) the default compressor for memory-based band
  1898. lists. (lib.mak)
  1899. </pre><h3><a name="V4.39_Utilities"></a>Utilities</h3><pre>
  1900. Fixes bugs:
  1901. - prfont.ps wouldn't print unencoded characters in Type 42 fonts.
  1902. (prfont.ps)
  1903. </pre><h3><a name="V4.39_Drivers"></a>Drivers</h3><pre>
  1904. Fixes bugs:
  1905. - The H-P monochrome driver didn't put out enough initialization
  1906. commands at the beginning of each page to make each page printable
  1907. independently. (gdevdjet.c)
  1908. </pre><h3><a name="V4.39_Interpreter"></a>Interpreter</h3><pre>
  1909. Changes ref_stack_count_inline so it never does a procedure call.
  1910. (istack.h)
  1911. Changes .makeoperator so that operator procedures save the stack depths, and
  1912. restore the stack pointers (if possible) if the operator encounters an
  1913. error. This is a NON-BACKWARD-COMPATIBLE CHANGE; it requires rewriting the
  1914. 'stop' and 'stopped' pseudo-operators (and, if there were any, any other
  1915. pseudo-operators that interact with the error handling machinery) in C.
  1916. (gs_init.ps, interp.c, zcontrol.c)
  1917. Adds recognition of the LeadingEdge, MediaClass, and RollFedMedia keys in a
  1918. page device dictionary, per the Adobe supplement for their version 2017
  1919. interpreter. This involves a NON-BACKWARD-COMPATIBLE change to the
  1920. (undocumented) .matchpagesize operator. (gs_setpd.ps, zmedia2.c)
  1921. Makes necessary changes for compatibility with the added parameters for the
  1922. zlib filters. (zfzlib.c)
  1923. </pre><h3><a name="V4.39_Streams"></a>Streams</h3><pre>
  1924. Fixes bugs:
  1925. - The zlib encoder returned EOFC when it should have returned 0.
  1926. (szlibe.c)
  1927. Adds optional parameters and reset procedures for the zlib filters.
  1928. (szlibx.h, szlibc.c, szlibd.c, szlibe.c)
  1929. </pre><h3><a name="V4.39_Library"></a>Library</h3><pre>
  1930. Fixes bugs:
  1931. - Displaying characters with a non-standard RasterOp could cause an
  1932. invalid memory access. (gdevdflt.c)
  1933. - Banding sometimes used an incorrect RasterOp. (gxclread.c)
  1934. - When banding, mixing Patterns and halftones could confuse the
  1935. bookkeeping of tile size, leading to incorrect generation of the band list
  1936. and error messages or confusion when rasterizing. (gxclist.h, gxclbits.c,
  1937. gxclread.c)
  1938. - If only the dash pattern offset changed, and not any of the other
  1939. dash-related parameters, the new offset wasn't written in the band list,
  1940. causing incorrect output. (gxclpath.c)
  1941. - Oversized halftone tiles didn't report their error code properly.
  1942. (gxclbits.c)
  1943. - Oversized halftone tiles with RasterOp caused an error.
  1944. (gxclist.c)
  1945. - When banding, RasterOp transfers that crossed a band boundary
  1946. didn't access the correct source data on bands other than the first.
  1947. (gxclist.c)
  1948. - There were redundant copies of the code for writing a RasterOp
  1949. value in the band list. (gxclimag.c, gxclpath.c)
  1950. - Oversized patterns or halftones produced garbled output.
  1951. (gxclbits.c)
  1952. - The check for oversized patterns or halftones was slightly
  1953. incorrect, leading to the possibility of writing out a tile that would
  1954. overflow the reading buffer and corrupt memory. (gxclbits.c)
  1955. - When banding, RasterOp wasn't applied to fill and stroke
  1956. operations, and wasn't applied correctly to characters. (gdevdflt.c,
  1957. gxclimag.c, gxclread.c)
  1958. - The RasterOp-related optimizations for black-and-white images
  1959. sometimes produced incorrect output. (gximage.c, gximage2.c)
  1960. - The default implementation of fill_triangle didn't draw anything
  1961. if the corners of the triangle were specified in certain orders (ax &lt; 0 or
  1962. bx &lt; 0). (gdevddrw.c)
  1963. - Painting with a Pattern could pass out-of-range phase values to
  1964. driver procedures. (gspcolor.c)
  1965. - Because of an off-by-1 error, halftones or patterns passed through
  1966. the band list could write past the end of their allocated space in the band
  1967. tile cache, leading to incorrect output or possible arithmetic exceptions or
  1968. memory access errors. (gsbitops.c)
  1969. Adds -Z: for printing only the minimal command list statistics. (gxclist.c,
  1970. gxclread.c)
  1971. Expands band list tracing so it includes all of the data associated with the
  1972. command, not just the command name and a few command parameters.
  1973. (gxclread.c)
  1974. Adds free lists for strings. Currently these are only used in
  1975. non-garbage-collected environments. (gxalloc.h, gsalloc.c, gsnogc.c)
  1976. Adds a procedure for copying a path structure, and an (internal) accessor
  1977. for the current path in the graphics state. (gxpath.h, gspath.c, gxpath.c)
  1978. Speeds up filling characters with halftones a little bit. (gdevdflt.c)
  1979. Changes the memory-based implementation of band lists so it can use any
  1980. compression / decompression filter, so it only compresses when it has
  1981. allocated a specified amount of buffer storage, and so it releases its
  1982. buffer storage at the end of each page. (gxclmem.h, gxclmem.c)
  1983. Speeds up counting the number of 1-bits in a byte, which is used in some
  1984. image processing algorithms. (gsbittab.h, gsbittab.c)
  1985. Reduces the band list space required for changing tile size. (gxcldev.h,
  1986. gxclbits.c, gxclread.c)
  1987. </pre>
  1988. <h2><a name="Version4.38"></a>Version 4.38 (limited) (12/20/96)</h2>
  1989. <p>
  1990. Adds support for a couple of undocumented features in Type 1 fonts.
  1991. <h3><a name="V4.38_Interpreter"></a>Interpreter</h3><pre>
  1992. Adds handling of the Type 1 font subroutineNumberBias (an optional entry in
  1993. the Private dictionary) and lenIV = -1 features at the interpreter level.
  1994. (zchar1.c, zfont1.c)
  1995. </pre><h3><a name="V4.38_Streams"></a>Streams</h3><pre>
  1996. Fixes bugs:
  1997. - The CCITTFaxEncode filter could access as much as 3 bytes beyond
  1998. the end of a buffer, causing an invalid memory access. (scfe.c)
  1999. Changes the RunLengthDecode filter so it can make progress (produce output)
  2000. with only a 1-byte output buffer. (srlx.h, srld.c)
  2001. </pre><h3><a name="V4.38_Library"></a>Library</h3><pre>
  2002. Fixes bugs:
  2003. - The sine and cosine of multiples of 90 degrees weren't exact.
  2004. (gxfarith.h, gsmisc.c)
  2005. - The expanded bounding box computation for strokes didn't take into
  2006. account the possibility of overflow. (gxstroke.c)
  2007. - The allocator didn't fill freed strings with the 'free' mark.
  2008. (gsalloc.c)
  2009. - When using a pattern with RasterOp, the phase was computed
  2010. incorrectly, leading to anomalous filling patterns. (gspcolor.c)
  2011. - Patterns with a non-zero translation in the matrix passed to
  2012. makepattern didn't translate the pattern origin properly. (gxcolor2.h,
  2013. gxpcolor.h, gspcolor.c)
  2014. Adds a subroutineNumberBias field to Type 1 fonts. This is an undocumented
  2015. feature of the Type 1 font format. (gxfont1.h, gstype1.c)
  2016. Interprets lenIV = -1 in Type 1 fonts as meaning that the CharStrings are
  2017. unencrypted. This too is an undocumented feature of the Type 1 format.
  2018. (gxfont1.h, gxtype1.h, gstype1.c, gstype2.c)
  2019. Changes gs_clippath so it returns more reasonable outlines. (There are too
  2020. many programs that rely on being able to stroke the result of clippath, even
  2021. though both the Adobe and H-P literature specifically say the results are
  2022. unpredictable.) (gxcpath.h, gxcpath.c)
  2023. </pre>
  2024. <h2><a name="Version4.37"></a>Version 4.37 (limited) (12/10/96)</h2>
  2025. <p>
  2026. This version implements separate halftone phase for source and texture,
  2027. required for PCL XL implementation.
  2028. <h3><a name="V4.37_Fonts"></a>Fonts</h3><pre>
  2029. Fixes bugs:
  2030. - Loading a native TrueType font without a 'post' table caused an
  2031. error. (gs_ttf.ps)
  2032. </pre><h3><a name="V4.37_Interpreter"></a>Interpreter</h3><pre>
  2033. Extends the interpreter to handle the new separate halftone phases for the
  2034. RasterOp source and texture. (gs_dps1.ps, zdps1.c)
  2035. Makes a small change to accommodate a library change supporting Type 2
  2036. charstrings. (zfont1.c)
  2037. </pre><h3><a name="V4.37_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  2038. Implements the FontFile2 key for embedded TrueType fonts. (pdf_font.ps)
  2039. Starts to implement the FontFile3 key for compressed Type 1 fonts. This
  2040. code is currently disabled, because none of the necessary underlying C is
  2041. written yet. (pdf_font.ps)
  2042. </pre><h3><a name="V4.37_Library"></a>Library</h3><pre>
  2043. Fixes bugs:
  2044. - The floating point emulator often returned incorrect results (too
  2045. many bugs to list). (This is not used in any standard configuration.)
  2046. (gsfemu.c)
  2047. - The new copy_for procedure for gstates incorrectly declared an
  2048. argument as const. (gxstate.h, gsstate.c)
  2049. - If a curve had to be split twice along the same axis to make it
  2050. monotonic, the split points could still be returned in the wrong order,
  2051. possibly causing curved edges to turn into straight lines, and the algorithm
  2052. still produced the wrong results if the curve had to be split twice along a
  2053. single axis. This is the second time we have "fixed" these problems and the
  2054. 4th time we have "fixed" the curve monotonizing algorithm. (gxpcopy.c)
  2055. - Setting halftones cause a memory leak, because the subsidiary
  2056. objects of the device halftone weren't freed properly. Fixing this required
  2057. changing the graphics state implementation from allocating a device halftone
  2058. for each gstate to managing the device halftone with reference counting.
  2059. (gxdht.h, gzstate.h, gsht.c, gsstate.c)
  2060. Provides an optimized version of ldexp for FPU-less configurations, and
  2061. changes one key algorithm to use it. (gxfixed.h, gsmisc.c, gxpcopy.c)
  2062. Speeds up imagemask with a halftone a little. (This will eventually require
  2063. more serious optimization.) (gximage2.c)
  2064. Adds a -Z* switch for tracing varieties of image rendering. (gximage.c)
  2065. Recognizes that if the logical operation is equivalent to D = S (after
  2066. accounting for a constant texture, if any), or if it is equivalent to D = ~S
  2067. or D = D {&amp;,|}{S,~S} and D and S are both monobit and both colors are pure,
  2068. imaging with RasterOp can be executed without invoking RasterOp. (gsropt.h,
  2069. gximage.c)
  2070. Makes coordinate transformations with landscape matrices execute as fast as
  2071. with portrait matrices. (gxmatrix.h, gscoord.c, gsmatrix.c)
  2072. Adds some sketch code for interpreting Type 2 charstrings. It compiles, but
  2073. it makes no pretense of being runnable. (gstype1.h, gxop1.h, gxtype1.h,
  2074. gstype2.h, gxfont1.h, gstype1.c, gstype2.c)
  2075. Extends the library to allow setting separate halftone phases for the
  2076. RasterOp source and texture, which is needed to implement halftone screens
  2077. that behave like those in H-P's PCL XL printers. (gscsel.h, gsstate.h,
  2078. gxcmap.h, gxcspace.h, gxdcolor.h, gxdither.h, gxpcolor.h, gzht.h, gzstate.h,
  2079. gscie.c, gscsepr.c, gsht.c, gspcolor.c, gxcht.c, gxcmap.c, gxdcolor.c,
  2080. gxht.c, gximage.c, gximage[2345].c, gspcmap.c) ****** STILL NEED TO UPDATE
  2081. BANDING CODE, grep FOR phase ******
  2082. Removes the rc_header member from the gs_halftone structure, since we don't
  2083. need it after all. (gxht.h)
  2084. </pre>
  2085. <h2><a name="Version4.36"></a>Version 4.36 (limited) (12/3/96)</h2>
  2086. <p>
  2087. This version fixes a number of library bugs related to RasterOp, Patterns,
  2088. and memory management.
  2089. <h3><a name="V4.36_Documentation"></a>Documentation</h3><pre>
  2090. Changes the definition of texture transparency to match the peculiar H-P
  2091. specification. (drivers.txt, language.txt)
  2092. </pre><h3><a name="V4.36_Drivers"></a>Drivers</h3><pre>
  2093. Fixes bugs:
  2094. - x_get_bits didn't flush updates to the frame buffer, leading to
  2095. possibly incorrect data being returned. (gdevx.c)
  2096. - x_get_bits added padding to the scan line being copied, possibly
  2097. corrupting memory. (gdevx.c)
  2098. Changes the x11mono driver to define white = 0, black = 1 to more closely
  2099. model black-and-white printers. (This is an internal change that doesn't
  2100. affect the output.) (gdevxalt.c)
  2101. </pre><h3><a name="V4.36_Interpreter"></a>Interpreter</h3><pre>
  2102. Removes some code that is no longer needed, by virtue of the fix for the
  2103. memory leak in Pattern remapping. (zpcolor.c)
  2104. </pre><h3><a name="V4.36_Library"></a>Library</h3><pre>
  2105. Fixes bugs:
  2106. - Patterns wider than 1024 bits caused a rangecheck. (gxclip2.h,
  2107. gxclip2.c)
  2108. - Dash patterns never got freed. The fix for this slows down gsave
  2109. and grestore slightly, but we don't see any way around it. (gsline.c,
  2110. gsstate.c)
  2111. - If the CTM was very non-uniform in X and Y, stroke sometimes
  2112. didn't recognize thin lines as being thin, leading to dropouts.
  2113. (gxstroke.c)
  2114. - RasterOps that didn't use S or T still took S or T transparency
  2115. into account. (gdevmrop.c)
  2116. - RasterOps with no source didn't handle the possibility that the
  2117. device color for black might have a value other than 0. (gxdcolor.h,
  2118. gspcolor.c, gxcht.c, gxdcolor.c, gxht.c)
  2119. - White pixels in halftones on black-and-white devices apparently
  2120. are *not* supposed to be treated as opaque for RasterOp. (gxcht.c, gxht.c)
  2121. - clippath caused memory to be lost until a restore or a garbage
  2122. collection. (gspath.c)
  2123. - Clipping lists weren't ever freed, and clipping paths sometimes
  2124. weren't freed, causing memory to be lost until a restore or a garbage
  2125. collection. (gzacpath.h, gxacpath.c, gxcpath.c)
  2126. - Freeing a pattern instance referenced a pointer after it had been
  2127. freed, causing an invalid memory access. (gspcolor.c)
  2128. - Remapping a Pattern color lost track of the temporary gstate,
  2129. memory devices, and possibly the mask, causing memory to be lost until a
  2130. restore or GC. (gxpcolor.h, gxpcmap.c)
  2131. - Remapping a Pattern color could cause paths to be marked as
  2132. shared, preventing them from being freed until a restore or GC. (gxpcmap.c)
  2133. Enhances the non-tracing garbage collector so that if there are no strings
  2134. allocated at all, it resets the string allocation pointers. (gsnogc.c)
  2135. Optimizes the black-and-white RasterOp implementation by recognizing cases
  2136. that can be implemented directly by fill_rectangle, copy_mono, or
  2137. tile_rectangle. (gdevmrop.h, gsropt.h, gdevmrop.c, gsroptab.c)
  2138. Changes -ZA so it no longer produces [P] tracing messages for path
  2139. construction. (gxpath.c)
  2140. Adds a gx_pattern_cache_winnow procedure for selectively removing entries
  2141. from the Pattern cache, similar to gx_purge_selected_cached_chars.
  2142. (gscolor2.h, gxpcolor.h, gxpcmap.c)
  2143. Adds the Pattern UID to Pattern cache entries. (gxpcolor.h, gxpcmap.c)
  2144. ****** MUST HANDLE XUID POINTERS ON GC (RELOC) &amp; RESTORE (CLEAR LIKE HT
  2145. CACHE) ******
  2146. Makes gs_gstate free the path representation of the clipping path if it's a
  2147. rectangle, since reconstructing it is cheap and otherwise the path segments
  2148. would not be freeable until a restore or GC. (gsstate.c)
  2149. Extends the "client data" interface for gstates so that the copy procedure
  2150. can determine why it is being called. (gxstate.h, gsstate.c)
  2151. </pre>
  2152. <h2><a name="Version4.35"></a>Version 4.35 (limited) (11/24/96)</h2>
  2153. <p>
  2154. This contains the usual bug fixes, and two minor enhancements: an option for
  2155. handling EPSF files with binary headers, and support for file-based
  2156. resources.
  2157. <h3><a name="V4.35_Documentation"></a>Documentation</h3><pre>
  2158. Documents the new EPSF-reading capability. (gs.mak)
  2159. </pre><h3><a name="V4.35_Procedures"></a>Procedures</h3><pre>
  2160. Fixes bugs:
  2161. - Some obsolete definitions were accidentally left in the rules for
  2162. compiling fonts into the executable. (int.mak)
  2163. </pre><h3><a name="V4.35_Interpreter"></a>Interpreter</h3><pre>
  2164. Fixes bugs:
  2165. - initgraphics left the current color space in an inconsistent
  2166. state. (bug introduced in 4.32) (zgstate.c)
  2167. - restore didn't properly rebind FontDirectory to either Local or
  2168. SharedFontDirectory according to the current VM selection. (gs_dps1.ps)
  2169. - If FontDirectory was redefined, many things broke. (gs_ccfnt.ps,
  2170. gs_dps1.ps, gs_fonts.ps, gs_pdfwr.ps)
  2171. - If a resource provided a file name but the file couldn't be
  2172. opened, an error occurred. (gs_res.ps)
  2173. - flushfile didn't work with procedure-based streams. (zfileio.c)
  2174. Adds a feature (epsf.dev) that allows the interpreter to recognize and
  2175. handle MS-DOS EPSF files with a binary header. (int.mak, gs_epsf.ps,
  2176. gs_init.ps, pdf_main.ps)
  2177. Adds (internal) .getuserparam and .getsystemparam operators for getting the
  2178. value of a single user or system parameter. (gs_lev2.ps, zusparam.c)
  2179. To support file-based resources, implements the FontResourceDir,
  2180. GenericResourceDir, and GenericResourcePathSep system parameters, and
  2181. ResourceFileName for the built-in resource categories. (gs_init.ps,
  2182. gs_lev2.ps, gs_res.ps)
  2183. </pre><h3><a name="V4.35_Streams"></a>Streams</h3><pre>
  2184. Fixes bugs:
  2185. - The 2-D CCITTFaxDecode filter became confused if a buffer boundary
  2186. fell between a horizontal make-up code and its terminating code, typically
  2187. causing an ioerror. (scfd.c)
  2188. </pre><h3><a name="V4.35_Library"></a>Library</h3><pre>
  2189. Fixes bugs:
  2190. - Using the null color could confuse the reference counts for color
  2191. spaces, causing memory access errors. (gscolor.c)
  2192. - Images with CombineWithColor = true caused memory access error,
  2193. because a structure element wasn't initialized. (gdevmrop.c)
  2194. - gs_setnullcolor tried to return an error code, even though it was
  2195. declared as returning void. (Why doesn't gcc catch this??) (gscolor.h,
  2196. gscolor.c)
  2197. - gs_setnullcolor was declared inconsistently as taking a const or
  2198. non-const argument. (gscolor.h)
  2199. - Small color tiles in the band list were not read in correctly.
  2200. (gxclread.c)
  2201. - The band list could get confused, causing ioerrors, invalid memory
  2202. accesses, or garbled output, because the algorithms for computing the size
  2203. of bitmaps when writing and when reading had gotten inconsistent. This code
  2204. has been broken and "fixed" at least 4 or 5 times. (gxcldev.h, gxclbits.c,
  2205. gxclread.c)
  2206. - When using banding, characters that extended off the page
  2207. vertically in the -Y direction came out garbled. (gxclimag.c)
  2208. - The bounding box device didn't compute the box correctly for
  2209. trapezoids. (gdevbbox.c)
  2210. - The fastest case of rendering monochrome images could cause
  2211. unaligned data accesses. (bug introduced recently.) (gximage.h,
  2212. gximage1.c)
  2213. - TrueType characters with no contours could cause an invalid memory
  2214. access. (gstype42.c)
  2215. - Composite TrueType characters weren't rendered properly.
  2216. (gstype42.c)
  2217. Adds a get_outline procedure to the Type 42 font header, to provide a
  2218. callback for getting the outline data for a glyph. (gxfont42.h, gstype42.c)
  2219. </pre>
  2220. <h2><a name="Version4.34"></a>Version 4.34 (limited) (11/18/96)</h2>
  2221. <p>
  2222. This release adds a little more support for CID-keyed fonts and for PCL
  2223. emulation, and a bit more of the machinery for passing images through the
  2224. band list.
  2225. <h3><a name="V4.34_Documentation"></a>Documentation</h3><pre>
  2226. Fixes bugs:
  2227. - The RasterOp source device wasn't listed as an internal device in
  2228. drivers.txt. (drivers.txt)
  2229. Corrects a statement regarding the pstotext license. (new-user.txt)
  2230. </pre><h3><a name="V4.34_Procedures"></a>Procedures</h3><pre>
  2231. Fixes bugs:
  2232. - The Watcom makefile for the library didn't work properly if
  2233. certain variables were overridden from the command line. (watclib.mak)
  2234. - The library code inadvertently depended on an interpreter header
  2235. file. (*.mak)
  2236. </pre><h3><a name="V4.34_Drivers"></a>Drivers</h3><pre>
  2237. Fixes bugs:
  2238. - Some very picky compilers complained about assigning 0 to a
  2239. variable of an enum type. (gdevpdfx.h, gdevpdf.c)
  2240. </pre><h3><a name="V4.34_Interpreter"></a>Interpreter</h3><pre>
  2241. Fixes bugs:
  2242. - Some very picky compilers didn't like a cast from a pointer type
  2243. to an int type. (idebug.c)
  2244. - Some very picky (and non-ANSI-compliant) compilers didn't allow
  2245. assigning an int to a variable of enumerated type. (zfont2.c, zht2.c)
  2246. - The library code inadvertently depended on an interpreter header
  2247. file. (iref.h)
  2248. Restructures the font building code slightly to support CID fonts better.
  2249. (gs_cidfn.ps, bfont.h, zcid.c, zfont0.c, zfont1.c, zfont2.c, zfont42.c)
  2250. Adds a .setcurrentfile operator to allow disk-based fonts to keep their file
  2251. open. (gs_cidfn.ps, zcontrol.c)
  2252. </pre><h3><a name="V4.34_Streams"></a>Streams</h3><pre>
  2253. Fixes bugs:
  2254. - Some very picky compilers didn't like the computation (const byte
  2255. *)0 - 1. (stream.c)
  2256. - A cast to ulong was omitted. (smtf.c)
  2257. - Some compilers got confused by typedefs in the zlib header files.
  2258. (szlibd.c, szlibe.c)
  2259. </pre><h3><a name="V4.34_Library"></a>Library</h3><pre>
  2260. Fixes bugs:
  2261. - A header file didn't select the proper system header on all POSIX
  2262. systems. (malloc_.h)
  2263. - A subclass/superclass type discrepancy upset some compilers.
  2264. (gsline.h, gsline.c, gxpdash.c)
  2265. - Some very picky compilers didn't accept the previous definition of
  2266. the offset_of macro. (stdpre.h)
  2267. - Some very picky (and non-ANSI-compliant) compilers didn't like
  2268. mixing int and enumerated types. (gsropt.h, gzstate.h, gdevmrop.c,
  2269. gdevrrgb.c, gsrop.c, gxclist.c)
  2270. - A cast was missing. (gslib.c)
  2271. - The gs_setxxxtransparent procedures interpreted their argument
  2272. backwards (i.e., as "opaque" rather than "transparent"). (gsrop.c)
  2273. - Intersecting clipping paths didn't reset the logical operation to
  2274. the default, causing a possible crash. (gsrop.h, gsrop.c, gxacpath.c)
  2275. - Pattern accumulation didn't reset the logical operation to the
  2276. default, possibly causing incorrect output. (gspcolor.c)
  2277. - If a Type 1 character ended with a curve and a closepath, a
  2278. microscopic line could result, causing output anomalies. (gstype1.c)
  2279. - Stroking a path with a mix of thin and non-thin lines could cause
  2280. extraneous lines to appear. (gxstroke.c)
  2281. - Zero-width rectangles were painted even when fill adjustment was
  2282. turned off. (gxpaint.c, gxstroke.c)
  2283. - The algorithm for dividing a curve into monotonic pieces could
  2284. produce incorrect results, causing anomalies when filling curved regions
  2285. with zero fill adjustment. (gxpcopy.c)
  2286. - The algorithms for outside clipping were wrong, causing some
  2287. inside regions not to be clipped. (gxcpath.c)
  2288. - The white pixels in halftones weren't treated as unconditionally
  2289. opaque for RasterOp. (gxht.c, gxcht.c)
  2290. - Images with RasterOp didn't work properly. (gdevmrop.c,
  2291. gximage[2345].c, gxpcmap.c)
  2292. - The library code inadvertently depended on an interpreter header
  2293. file. (gxalloc.h, genarch.c)
  2294. - An important optimization for stroking (recognizing portrait,
  2295. landscape, and unscaled CTMs) was commented out. WE DON'T HAVE ANY RECORD
  2296. OF WHY WE DID THIS, AND RESTORING IT MAY INTRODUCE NEW BUGS. (gxstroke.c)
  2297. - Bitmap images with non-zero data_x values were passed through the
  2298. band list incorrectly, possibly causing vertical "streaks" in the output.
  2299. (gxcldev.h, gxclread.c)
  2300. - If a curve had to be split twice along the same axis to make it
  2301. monotonic, the split points were returned in the wrong order, possibly
  2302. causing curved edges to turn into straight lines. (gxpcopy.c)
  2303. Changes the debugging printout format for paths so the output can be
  2304. processed mechanically more easily. (gxpath.c)
  2305. Adds gs_glyphpath, like charpath but taking a glyph rather than a string of
  2306. character codes. (gschar.h, gschar.c)
  2307. Adds an internal concept of a "null color", a color that doesn't actually
  2308. mark any pixels. (gscolor.h, gsdcolor.h, gxdcolor.h, gscolor.c, gxdcolor.c)
  2309. Takes the next incremental steps towards passing images through the band
  2310. list:
  2311. - Implements the ability to pass some color mapping information
  2312. (transfer functions, black generation, undercolor removal) through the band
  2313. list. (gxclist.h, gxclimag.c, gxclist.c, gxclread.c)
  2314. </pre>
  2315. <h2><a name="Version4.33"></a>Version 4.33 (limited) (11/6/96)</h2>
  2316. <p>
  2317. This release fixes yet another obscure bug in the recently rewritten fast
  2318. loops for image rendering. (These loops have caused more problems than any
  2319. other single module of the entire library.) It also adds preliminary
  2320. support for CID-keyed fonts (CIDFonts only, not CMaps yet) and some library
  2321. extensions for supporting HP-GL/2.
  2322. <h3><a name="V4.33_Documentation"></a>Documentation</h3><pre>
  2323. Adds considerable new material to the C style document. (c-style.txt)
  2324. Changes -cckr to -ansi in the SGI build procedure. (make.txt)
  2325. Corrects an error in the description of the .type42execchar operator.
  2326. (gs_typ42.ps)
  2327. </pre><h3><a name="V4.33_Procedures"></a>Procedures</h3><pre>
  2328. Fixes bugs:
  2329. - The 'man' pages were installed in the documentation directory as
  2330. well as in the man directory. (unix-end.mak)
  2331. </pre><h3><a name="V4.33_Interpreter"></a>Interpreter</h3><pre>
  2332. Adds support for CID-keyed fonts. There is no CMap support yet, and some
  2333. things are done with hacks. (int.mak, gs_cidfn.ps, gs_cmap.ps, ichar.h,
  2334. zchar.c, zchar2.c, zchar42.c, zfont2.c, zfont42.c, zcid.c)
  2335. Adds operators for accessing the new dash adaptation and dot length
  2336. parameters in the graphics state. (gs_init.ps, zgstate.c)
  2337. </pre><h3><a name="V4.33_Library"></a>Library</h3><pre>
  2338. Fixes bugs:
  2339. - The fast case of monobit image rendering could overwrite memory.
  2340. (gximage1.c)
  2341. - The new fast implementation of rectfill didn't check for
  2342. fixed-point overflow. (gsdps1.c)
  2343. - Internally, fonts with no name all appeared to have the same name,
  2344. possibly confusing the xfont machinery. (gxccman.c)
  2345. - A cast to remove const was omitted, upsetting some compilers.
  2346. (gximage1.c)
  2347. - The driver's stroke_path routine was not called if the logical
  2348. operation was not the default one. (gxpaint.c)
  2349. Adds support for CID-keyed fonts. (gsccode.h, gxfont.h)
  2350. Adds a new "dash pattern adaptation" flag in the imager state. When this
  2351. flag is set and a dash pattern is in effect, each line segment will receive
  2352. an integral number of repetitions of the dash pattern (if necessary, rounded
  2353. up). (gsline.h, gxline.h, gsline.c, gsstate.c, gxpdash.c)
  2354. Adds a new "dot length" parameter to the imager state. If this parameter is
  2355. non-zero, it gives a length for rendering dots (zero-length lines). See
  2356. language.txt for details. (gsline.h, gxline.h, gsline.c, gsstate.c,
  2357. gxstroke.c)
  2358. Extends band lists so they can handle dash pattern adaptation and dot
  2359. length. (gxcldev.h, gxclpath.h, gxclpath.c, gxclread.c)
  2360. Adds a floating point emulator to allow more realistic profiling of
  2361. configurations without a FPU. (gsfemu.c)
  2362. </pre>
  2363. <h2><a name="Version4.32"></a>Version 4.32 (limited) (11/1/96)</h2>
  2364. <p>
  2365. This fixes a couple more bugs, most notably the infamous "pixel stripe" bug.
  2366. <h3><a name="V4.32_Documentation"></a>Documentation</h3><pre>
  2367. Fixes bugs:
  2368. - The documentation said that Ghostscript could not interpret
  2369. encrypted PDF files. (language.txt)
  2370. - A number of Ghostscript's extensions to the PostScript language
  2371. were missing. (language.txt)
  2372. </pre><h3><a name="V4.32_Drivers"></a>Drivers</h3><pre>
  2373. Fixes bugs:
  2374. - A compiler complained about initializing an unsigned variable with
  2375. a negative value. (gdevx.c)
  2376. - An off-by-1 allocation error could cause memory overwriting.
  2377. (gdevepsc.c)
  2378. </pre><h3><a name="V4.32_Platforms"></a>Platforms</h3><pre>
  2379. Declares a pointer 'const' that is actually only used for reading.
  2380. (gp_unifs.c)
  2381. </pre><h3><a name="V4.32_Fonts"></a>Fonts</h3><pre>
  2382. Fixes bugs:
  2383. - The code for adding nominal UnderlinePosition and
  2384. UnderlineThickness entries to FontInfo assumed (incorrectly) that all Type 1
  2385. fonts had FontBBox entries. (gs_type1.ps)
  2386. Brings CIDFont support closer to reality. It doesn't work yet, though.
  2387. (gs_cidfn.ps, gs_fonts.ps, gs_init.ps, gs_res.ps, gs_typ42.ps)
  2388. </pre><h3><a name="V4.32_Interpreter"></a>Interpreter</h3><pre>
  2389. Removes a redundant implementation of initgraphics. (gs_init.ps)
  2390. Speeds up rectfill a little for the common case (4 numbers on the stack).
  2391. (zdps1.c)
  2392. </pre><h3><a name="V4.32_Library"></a>Library</h3><pre>
  2393. Fixes bugs:
  2394. - Zero-width, 1-bit-deep, landscape or portrait images could
  2395. overwrite memory ad lib. (gximage1.c)
  2396. - A procedure was declared 'static' inconsistently, upsetting many
  2397. compilers (but not gcc, which, in contradiction to the ANSI standard,
  2398. doesn't check this properly). (gxcpath.c)
  2399. - A local variable was initialized with a value computed from a
  2400. variable that hadn't been set yet, leading to possibly incorrect coloring of
  2401. the first run of pixels in images with 12 bits per sample. (gximage4.c)
  2402. - A compiler complained about initializing an unsigned variable with
  2403. a negative value. (shcgen.c)
  2404. - A rounding problem could produce a vertical stripe of 1 (or on
  2405. very large images possibly more) incorrect pixels at the right edge of a
  2406. 1-bit-deep image. (gxdda.h, gximage1.c)
  2407. Speeds up gs_rectfill substantially for the portrait/landscape case with a
  2408. rectangular clipping region. (gsdps1.c)
  2409. Adds a parameter so we can include gx_line_params in subclasses. (gzline.h)
  2410. </pre>
  2411. <h2><a name="Version4.31"></a>Version 4.31 (limited) (10/27/96)</h2>
  2412. <p>
  2413. This is primarily a bug fix release for 4.30, which we had hoped wouldn't be
  2414. necessary....
  2415. <h3><a name="V4.31_Documentation"></a>Documentation</h3><pre>
  2416. Fixes bugs:
  2417. - The comment describing the order of coefficients in a CTM written
  2418. on the band list was wrong. (gxclpath.h)
  2419. </pre><h3><a name="V4.31_Procedures"></a>Procedures</h3><pre>
  2420. Fixes bugs:
  2421. - bug-form.txt wasn't installed by 'make install'. (unix-end.mak)
  2422. - The default flags in ugcclib.mak didn't take the gcc code
  2423. generation bug into account. (ugcclib.mak)
  2424. </pre><h3><a name="V4.31_Platforms"></a>Platforms</h3><pre>
  2425. Fixes bugs:
  2426. - MetroWerks CodeWarrior predefines true and false, causing
  2427. compilation errors on the Mac. (stdpre.h)
  2428. </pre><h3><a name="V4.31_Interpreter"></a>Interpreter</h3><pre>
  2429. Updates code for the change in the ENUM_PTR macros. (iscan.c)
  2430. Changes the allocator to keep track of "lost" ref space separately, to allow
  2431. an independent check on its activities. (gxalloc.h, ialloc.c, isave.c)
  2432. Changes the garbage collector API slightly to allow implementation of the
  2433. API in applications other than PostScript interpreters. (ivmspace.h,
  2434. ireclaim.c, igc.c)
  2435. </pre><h3><a name="V4.31_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  2436. Implements the PDF 1.1 BX and EX operators. (pdf_base.ps, pdf_main.ps)
  2437. </pre><h3><a name="V4.31_Streams"></a>Streams</h3><pre>
  2438. Fixes bugs:
  2439. - Some (harmless) pointer incompatibilities upset some compilers.
  2440. (szlibd.c, szlibe.c)
  2441. Updates code for the change in the ENUM_PTR macros. (stream.c)
  2442. </pre><h3><a name="V4.31_Library"></a>Library</h3><pre>
  2443. Fixes bugs:
  2444. - A label in the ENUM_PTR procedure generating macros was often not
  2445. referenced, leading to compiler warnings. (gsstruct.h, gxxfont.h,
  2446. gdevmem.c, gschar.c, gscolor2.c, gsdevice.c, gsfont0.c, gsht.c, gsstate.c,
  2447. gxcpath.c, gximage.c)
  2448. - Using the gstate version of setflat rather than the imager version
  2449. caused compiler warnings (and, in some cases, errors). (gstype1.c)
  2450. - Non-standard ImageMatrix values for banded images didn't work.
  2451. (This wasn't actually used.) (gxclread.c)
  2452. - imagemask with a halftone and portrait orientation colored some
  2453. inappropriate pixels. (bug introduced in 4.30) (gximage2.c)
  2454. - When banding, if a character straddled a band boundary the first
  2455. time it occurred, all occurrences of it were clipped. (bug introduced in
  2456. 4.2x or 4.30) (gxclimag.c)
  2457. - Degenerate clipping rectangles sometimes got turned into
  2458. non-degenerate ones by swapping the min and max coordinates. (gxcpath.c)
  2459. - Resizing an object either allocated a new object unnecessarily
  2460. (performance bug only), or in very rare cases could corrupt memory.
  2461. (gsalloc.c)
  2462. - Very small objects didn't get put on a free list when freed.
  2463. (Performance bug only.) (gsalloc.c)
  2464. - Some pointers were incorrectly declared 'const', upsetting some
  2465. compilers. (gxclread.c)
  2466. Adds more tracing output for -ZL. (gxclread.c)
  2467. Changes the -Za tracing output slightly to aid mechanical analysis of
  2468. allocation traces: allocation events now always include a '+', deallocation
  2469. events always include a '-', and the address is always the address of the
  2470. object data and not the header. (gsalloc.c, gsmemory.c)
  2471. Changes the allocator to keep track of "lost" object and string space
  2472. separately, to allow an independent check on its activities. (gxalloc.h,
  2473. gsalloc.c)
  2474. Changes the allocator to use 'memmove' in an obvious place. (gsalloc.c)
  2475. Provides a garbage collector API at the library level to allow
  2476. implementation of the API in applications other than PostScript
  2477. interpreters. (gsgc.h)
  2478. </pre>
  2479. <h2><a name="Version4.30"></a>Version 4.30 (limited) (10/23/96)</h2>
  2480. <p>
  2481. The main purpose of this release is to implement a substantial change in the
  2482. "high level" image API, after which we believe this API will be stable.
  2483. <h3><a name="V4.30_Documentation"></a>Documentation</h3><pre>
  2484. Documents the changes in the begin_image and image_data device procedures.
  2485. (drivers.txt)
  2486. </pre><h3><a name="V4.30_Drivers"></a>Drivers</h3><pre>
  2487. Speeds up the PDF writer a little by reducing the amount of allocation,
  2488. which was causing very frequent garbage collections. (gs_pdfwr.ps,
  2489. gdevpdft.c)
  2490. Updates the PDF writer for the change in begin_image/image_data.
  2491. (gdevpdfi.c)
  2492. </pre><h3><a name="V4.30_Platforms"></a>Platforms</h3><pre>
  2493. Fixes bugs:
  2494. - Some versions of the SGI IRIX compiler have a bug that causes them
  2495. to try to expand macros that require arguments even when the macro name
  2496. isn't followed by a left parenthesis. (gdevsgi.h, gdevsgi.c)
  2497. - The IBM RS6000 compilers now provide &lt;stdlib.h&gt;, so our
  2498. definitions of malloc and free caused a conflict. (malloc_.h)
  2499. </pre><h3><a name="V4.30_Fonts"></a>Fonts</h3><pre>
  2500. Fixes bugs:
  2501. - Many Fontmaps included obsolete references to an old
  2502. Helvetica-Narrow font. (Fontmap.*)
  2503. Makes the GS_FONTPATH directory scanner a little more liberal about what
  2504. files it examines: it will now examine any file whose first line begins with
  2505. %!PS-Adobe or %!FontType. (gs_fonts.ps)
  2506. To match an apparent Adobe convention, augments findfont so that if a font
  2507. isn't in the Fontmap, it will try to load a file whose name is the same as
  2508. the font name. (gs_fonts.ps)
  2509. To make some questionable Apple font inquiry code work, augments the
  2510. FAKEFONTS facility so that it sets the FontType of fake fonts to 1.
  2511. (gs_fonts.ps)
  2512. </pre><h3><a name="V4.30_Interpreter"></a>Interpreter</h3><pre>
  2513. Fixes bugs:
  2514. - .checkpassword, .putdeviceparams, .putdevparams, setsystemparams,
  2515. and setuserparams didn't free the results byte array, causing a memory leak
  2516. (until the next garbage collection). (zdevice.c, ziodev.c, zusparam.c)
  2517. </pre><h3><a name="V4.30_Library"></a>Library</h3><pre>
  2518. Fixes bugs:
  2519. - The code for emulating floating point multiplication with
  2520. conversion to fixed point didn't detect overflow correctly, which could
  2521. produce incorrect results instead of a limitcheck. (gsmisc.c)
  2522. - A macro cast a pointer incorrectly, leading to spurious compiler
  2523. warnings. (gxfixed.h)
  2524. - The code for emulating fixed-to-float conversion computed the
  2525. exponent incorrectly. (gsmisc.c)
  2526. - The algorithm for advancing a DDA a given number of steps (not
  2527. actually used anywhere before this version) was wrong. (gxdda.h)
  2528. - The clipping box returned by clipping devices was incorrect,
  2529. causing parts of the page to disappear. (bug introduced in 4.20)
  2530. (gxcpath.c)
  2531. Changes the begin_image and image_data device procedures:
  2532. - begin_image now takes an optional subrectangle instead of a set of
  2533. shape flags.
  2534. - image_data now always takes complete rows of pixels, takes a
  2535. source X offset, and returns 1 when it has received all the data.
  2536. The change in begin_image and image_data is a NON-BACKWARD-COMPATIBLE CHANGE
  2537. IN A PUBLIC INTERFACE; however, this interface was still designated "subject
  2538. to change", per the notes for release 3.67 and the documentation in
  2539. drivers.txt. (gsiparam.h, gxclpath.h, gxdda.h, gxdevice.h, gximage.h,
  2540. gdevbbox.c, gdevnfwd.c, gsimage.c, gxclimag.c, gxclread.c, gximage.c,
  2541. gximage?.c)
  2542. </pre>
  2543. <hr>
  2544. <h2><a name="Version4.21"></a>Version 4.21 (limited) (10/17/96)</h2>
  2545. <p>
  2546. The purpose of this release is to fix bugs reported in 4.0x, 4.10, and 4.20.
  2547. <h3><a name="V4.21_Documentation"></a>Documentation</h3><pre>
  2548. Fixes bugs:
  2549. - The Ghostscript man page had a .TH in the middle. (gs.1)
  2550. </pre><h3><a name="V4.21_Procedures"></a>Procedures</h3><pre>
  2551. Fixes bugs:
  2552. - The shared version of zlib was always called libgz; on most
  2553. systems, it is now called libz (but not on Red Hat Linux, where libz is a
  2554. library for dealing with time zones). (*.mak, gs.mak, libpng.mak, zlib.mak)
  2555. - The pdf2dsc.1 man page wasn't installed on Unix systems.
  2556. (unix-end.mak)
  2557. - font2c generated procedures named gsf_xxx, but genconf assumed
  2558. they were named gs_f_xxx. (int.mak)
  2559. </pre><h3><a name="V4.21_Drivers"></a>Drivers</h3><pre>
  2560. Updates the user-contributed LBP-8II driver to correct unspecified problems.
  2561. (gdevlbp8.c)
  2562. Adds a user-contributed driver for Avance Logic SuperVGA cards.
  2563. (gdevsvga.c, devs.mak)
  2564. </pre><h3><a name="V4.21_Platforms"></a>Platforms</h3><pre>
  2565. Fixes bugs:
  2566. - On Windows NT, a 32-bit parameter was truncated to 16 bits,
  2567. preventing drawing of scroll bars of the image window when the window is
  2568. uncovered. (dwimg.cpp)
  2569. </pre><h3><a name="V4.21_Fonts"></a>Fonts</h3><pre>
  2570. Fixes bugs:
  2571. - The free URW Grotesk and Antiqua fonts were omitted from the
  2572. distribution.
  2573. </pre><h3><a name="V4.21_Interpreter"></a>Interpreter</h3><pre>
  2574. Fixes bugs:
  2575. - Defining a new global instance of a built-in resource
  2576. (ColorRendering, ColorSpace, Form, Halftone, Pattern, ProcSet) caused an
  2577. invalidaccess error. (gs_res.ps)
  2578. - pathbbox with no current path left an extra item on the stack when
  2579. the error occurred. (gs_init.ps)
  2580. - findresource for an undefined resource instance didn't preserve
  2581. the contents of the stack. (gs_res.ps)
  2582. Adds a new file providing a procedural interface with a very rudimentary
  2583. form of job encapsulation. (gserver.c)
  2584. Changes the initial value of MaxOpStack to 20000, for the sake of a few
  2585. badly-behaved files. (gs_init.ps, pdf_base.ps)
  2586. </pre><h3><a name="V4.21_Library"></a>Library</h3><pre>
  2587. Fixes bugs:
  2588. - If the image operators failed to allocated their bookkeeping
  2589. structure, the result was a crash rather than VMerror. (gximage.c)
  2590. - gx_default_fill_triangle (currently used only to implement the
  2591. fastest case of stroke) had a typo that could cause a numeric exception or
  2592. incorrect output, and another typo that could produce incorrect output.
  2593. (gdevddrw.c)
  2594. - When banding, if the first occurrence of a character fell partly
  2595. off the page, all occurrences of that character on the page could be clipped
  2596. or mangled. (gxclbits.c, gxclimag.c)
  2597. - When testing whether it's worthwhile compressing a bitmap for
  2598. banding, the compressor was allowed to generate a lot more output than
  2599. needed to make the test. (gxclbits.c)
  2600. - Certain cases of unrotated gray-scale images dropped the first or
  2601. last pixel of each scan line. (gximage2.c)
  2602. - In rare cases, a run of pixels in a image could get erroneously
  2603. displayed in the same color as the previous run, because of a cache
  2604. bookkeeping bug. (gximage3.c)
  2605. - The sample driver for the library had gotten inconsistent with a
  2606. header file. (gslib.c)
  2607. - A declaration was followed by an extraneous semicolon, which upset
  2608. some compilers. (gxht.h)
  2609. - Missing parentheses caused a test for thin lines to be incorrect.
  2610. (gxstroke.c)
  2611. </pre>
  2612. <h2><a name="Version4.20"></a>Version 4.20 (limited) (10/13/96)</h2>
  2613. <p>
  2614. This release has internal changes for future support of banded image
  2615. processing, but no externally visible changes. Its primary purpose is to
  2616. incorporate speedups for clipped images. It does *not* incorporate fixes
  2617. for all problems reported in 4.0x or 4.10.
  2618. <h3><a name="V4.20_Documentation"></a>Documentation</h3><pre>
  2619. Documents the new get_clipping_box device procedure. (drivers.txt)
  2620. </pre><h3><a name="V4.20_Procedures"></a>Procedures</h3><pre>
  2621. Fixes bugs:
  2622. - There were many, many minor inconsistencies between the makefiles
  2623. and the source code. (We finally have an automated tool to detect these.)
  2624. (devs.mak, int.mak, lib.mak, unixtail.mak; gsutil.c, zwppm.c)
  2625. - Some makefile rules weren't properly terminated by a blank line.
  2626. (lib.mak)
  2627. </pre><h3><a name="V4.20_Utilities"></a>Utilities</h3><pre>
  2628. Fixes bugs:
  2629. - The comments in gslp.ps had gotten out of date. (gslp.ps)
  2630. Adds --no-eject-file and --no-eject-formfeed switches to gslp.ps, to allow
  2631. packing files in multi-column printouts. (gslp.ps)
  2632. </pre><h3><a name="V4.20_Drivers"></a>Drivers</h3><pre>
  2633. Adds a user-contributed driver for the Epson LP-8000 laser printer.
  2634. (gdevlp8k.c)
  2635. Adds a DisplayMode parameter to the vgalib device. (gdevvglb.c)
  2636. Removes the requirement of typing a character at the end of each page using
  2637. the vgalib driver. THIS IS A USER-VISIBLE, NON-BACKWARD-COMPATIBLE CHANGE.
  2638. (gdevvglb.c)
  2639. </pre><h3><a name="V4.20_Interpreter"></a>Interpreter</h3><pre>
  2640. Updates code to accommodate the new get_clipping_box device procedure.
  2641. (zupath.c)
  2642. </pre><h3><a name="V4.20_Library"></a>Library</h3><pre>
  2643. Fixes bugs:
  2644. - When a CTM was passed through the band list, it didn't get
  2645. translated to match the band coordinate system. (This had no effect,
  2646. because the translation part of the CTM was never used.) (gxclread.c)
  2647. Adds a ',' debugging switch to disable high-level operations when banding.
  2648. (gxclpath.c)
  2649. Adds an optional get_clipping_box device procedure, so that filling and
  2650. stroking can clip more aggressively. (gdevmem.h, gdevprn.h, gxdevice.h,
  2651. gxpaint.h, gxpath.h, gzacpath.h, gdevdflt.c, gdevht.c, gdevnfwd.c,
  2652. gxacpath.c, gxclip2.c, gxclist.c, gxcpath.c, gxpcmap.c, gxfill.c,
  2653. gxstroke.c)
  2654. Speeds up clipped filling and stroking, by checking against the device
  2655. clipping box. (gxfill.c, gxstroke.c)
  2656. Adds the ability to clip with a rectangle a clipping path being accumulated,
  2657. and uses it to do more aggressive clipping when banding. (gzacpath.h,
  2658. gxacpath.c, gxclread.c)
  2659. Speeds up clipping of objects lying partly above or below the clipping
  2660. region. (gxcpath.c)
  2661. Speeds up clipping vertically-oriented objects (such as 90 degree rotated
  2662. images or vertical rectangles) with convex clipping regions, by checking for
  2663. vertical rectangles contained in multiple clipping rectangles. (gxcpath.c)
  2664. Speeds up the handling of 90 degree rotated gray-scale images. (gximage2.c)
  2665. Enhances the band list so that it can contain commands for a range of bands,
  2666. not just a single band or all bands. (gxcldev.h, gxclist.h, gxclbits.c,
  2667. gxclist.c, gxclread.c)
  2668. Adds an operation to the DDA structure, for eventual support of clipped
  2669. images. (gxdda.h)
  2670. Factors out some macros useful for generating bit-transformation tables.
  2671. (gsbittab.h, gsbittab.c, gsflip.c)
  2672. </pre>
  2673. <hr>
  2674. <h2><a name="Version4.10"></a>Version 4.10 (limited) (9/25/96)</h2>
  2675. <p>
  2676. This release adds local garbage collection, and a number of performance
  2677. improvements for garbage collection in general. We will support it for one
  2678. or two OEMs, but it is not a public release.
  2679. <h3><a name="V4.10_Documentation"></a>Documentation</h3><pre>
  2680. Moves documentation for all releases before 4.0 to history3.txt. (NEWS,
  2681. history3.txt)
  2682. </pre><h3><a name="V4.10_Utilities"></a>Utilities</h3><pre>
  2683. Fixes bugs:
  2684. - pdf2dsc.ps didn't have a proper license notice. (pdf2dsc.ps)
  2685. </pre><h3><a name="V4.10_Drivers"></a>Drivers</h3><pre>
  2686. Adds a psgray driver, like psmono, to produce 8-bit gray PostScript (level
  2687. 1) images. (devs.mak, *.mak, gdevpsim.c)
  2688. Changes the psmono driver to allow runs of up to 255 repeated bytes.
  2689. (gdevpsim.c)
  2690. </pre><h3><a name="V4.10_Interpreter"></a>Interpreter</h3><pre>
  2691. Fixes bugs:
  2692. - setdevice erased the page even if this wasn't necessary.
  2693. (zdevice.c)
  2694. Speeds up the garbage collector, primarily by speeding up pointer
  2695. relocation. (int.mak, ipacked.h, iref.h, ialloc.c, igc.c, igcref.c)
  2696. Actually implements local garbage collection. (igc.h, ivmspace.h, igc.c,
  2697. igcref.c, igcstr.c, ireclaim.c)
  2698. Adds some additional error checking for the -Z? switch. (ilocate.c)
  2699. Moves a utility for color mapping from the interpreter to the library.
  2700. (icolor.h, zcolor.c)
  2701. Adds a MinScreenLevels user parameter. (zusparam.c)
  2702. </pre><h3><a name="V4.10_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  2703. Adds partial support for the PDF 1.2 gs operator, reverse engineered from a
  2704. PDF 1.2 file. (pdf_draw.ps)
  2705. </pre><h3><a name="V4.10_Library"></a>Library</h3><pre>
  2706. Fixes bugs:
  2707. - The test for "thin" stroked lines incorrectly claimed some
  2708. non-thin lines were thin. (gxstroke.c)
  2709. - The computations for halftone cells didn't work for non-square
  2710. pixels. (gxdht.h, gsht.c, gsht1.c, gshtscr.c)
  2711. Speeds up the garbage collector a little. (gsstruct.h, gxalloc.h,
  2712. gxfcache.h, gsfont.c)
  2713. Replaces references to private statically allocated color spaces with
  2714. references to shared dynamically allocated ones, which are guaranteed to be
  2715. fully filled-in. (gscie.c)
  2716. Moves a utility for color mapping from the interpreter to the library.
  2717. (gxfmap.h, gxcmap.c)
  2718. Makes available an imager analogue of setmatrix. (gscoord.h, gscoord.c)
  2719. Adds a parameter to control the minimum number of halftone screen levels.
  2720. If a halftone cell has fewer pixels than this number, it will be replicated
  2721. (similar to what AccurateScreens does) until the replicated screen has
  2722. enough levels. (gxht.h, gshtscr.c)
  2723. </pre>
  2724. <hr>
  2725. <h2><a name="Version4.03"></a>Version 4.03 (9/23/96)</h2>
  2726. <p>
  2727. This was an emergency re-release of 4.02 to fix the stdin redirection
  2728. problem. It has essentially no other changes.
  2729. <h3><a name="V4.03_Documentation"></a>Documentation</h3><pre>
  2730. Fixes bugs:
  2731. - Solaris 2.x has /usr/ucb/install, not installbsd. (make.txt)
  2732. Updates current.txt to mention the ability to share libpng and libgz.
  2733. (current.txt)
  2734. </pre><h3><a name="V4.03_Procedures"></a>Procedures</h3><pre>
  2735. Fixes bugs:
  2736. - A rule assumed that the makefile was named `makefile'.
  2737. (unixtail.mak)
  2738. </pre><h3><a name="V4.03_Drivers"></a>Drivers</h3><pre>
  2739. Fixes bugs:
  2740. - The stcolor drivers had an off-by-1 error that could cause them to
  2741. write into unallocated memory. (gdevstc.c)
  2742. - The Imagen driver wouldn't compile with gcc. (gdevimgn.c)
  2743. </pre><h3><a name="V4.03_Fonts"></a>Fonts</h3><pre>
  2744. Fixes bugs:
  2745. - The Solaris fontmap had gotten out of date. (Fontmap.Sol)
  2746. </pre><h3><a name="V4.03_Streams"></a>Streams</h3><pre>
  2747. Fixes bugs:
  2748. - The test for stdin being non-seekable could leave the file error
  2749. flag set, which caused an infinite loop when trying to read from the file
  2750. later. (sfile.c, sfileno.c)
  2751. </pre>
  2752. <h2><a name="Version4.02"></a>Version 4.02 (9/19/96)</h2>
  2753. <p>
  2754. This release fixes a few more bugs, and adds the ability to read encrypted
  2755. PDF files and some PDF 1.2 files.
  2756. <p>
  2757. This release was withdrawn after a few days because the stdin redirection
  2758. fix, which was made at the last minute, cause Ghostview to hang.
  2759. <h3><a name="V4.02_Documentation"></a>Documentation</h3><pre>
  2760. Fixes bugs:
  2761. - The list of required support files was incorrect. (install.txt)
  2762. - The descriptions of file name lookup weren't accurate. (use.txt)
  2763. - A J should have been an H. (gxbitmap.h)
  2764. Updates the documentation about encrypted PDF files. (new-user.txt)
  2765. Documents what the 13 base PDF fonts are. (ps2pdf.txt)
  2766. Fixes a tiny typo. (c-style.txt)
  2767. Adds a user-contributed man page for the new pdf2dsc script. (pdf2dsc.1)
  2768. Updates the government restricted rights notice in the Aladdin Ghostscript
  2769. Free Public License. (PUBLIC)
  2770. Adds the URL of test files to the bug report form. (new-user.txt)
  2771. Puts the bug reporting form in a separate file. (readme, bug-form.txt,
  2772. new-user.txt)
  2773. Notes that map_xxx_color procedures should not return gx_no_color_index.
  2774. (drivers.txt)
  2775. Notes that Ghostscript supports the Flate filters. (language.txt)
  2776. Documents the use of the system libpng and zlib. (make.txt, gs.mak)
  2777. Notes that Borland C++ 5.0 and 5.01 will not compile Ghostscript correctly.
  2778. (make.txt)
  2779. </pre><h3><a name="V4.02_Procedures"></a>Procedures</h3><pre>
  2780. Fixes bugs:
  2781. - Using both DELAYBIND and SAFER caused problems. (pstotext uses
  2782. DELAYBIND.) (gs_init.ps)
  2783. </pre><h3><a name="V4.02_Utilities"></a>Utilities</h3><pre>
  2784. Fixes bugs:
  2785. - Some pdf2ps machinery interfered with the PDF interpreter.
  2786. (pdf_2ps.ps, pdf_main.ps)
  2787. - In the output of pdf2ps, page numbers in link destinations were
  2788. too high by 1. (pdf_main.ps)
  2789. - viewpbm didn't handle value ranges other than [0..255] correctly.
  2790. (viewpbm.ps)
  2791. Adds a user-contributed shell script to invoke pdf2dsc.ps. (pdf2dsc,
  2792. unix-end.mak)
  2793. Adds a switch to the genconf utility to set the prefix for generated
  2794. procedure names. (genconf.c)
  2795. Adds the option of using system libraries (possibly shared) for libpng
  2796. and/or zlib. (*head.mak, msc*.mak, os2.mak, tccommon.mak, wccommon.mak;
  2797. libpng.mak, zlib.mak)
  2798. </pre><h3><a name="V4.02_Drivers"></a>Drivers</h3><pre>
  2799. Fixes bugs:
  2800. - The X11 display devices ignored the -DA4 compile-time option.
  2801. (gdevx.c)
  2802. - The garbage collector could scramble the state of the CGM drivers.
  2803. (gxdevice.h, gdevcgm.c)
  2804. - An identifier of more than 31 characters upset the VAX DEC C
  2805. compiler. (gdevcgml.h, gdevcgml.c)
  2806. - In case of an error in trying to set the CoreDistVersion distiller
  2807. parameter, a variable could be used without initialization. (gdevpdfp.c)
  2808. - When DEBUG is selected, the X Windows driver referenced _Xdebug,
  2809. which is not defined in (at least the VMS version of) DECWindows. (x_.h,
  2810. gdevxini.c)
  2811. - Some map_cmyk_color implementations could return "transparent".
  2812. (gdevbit.c)
  2813. - Setting GraphicsAlphaBits or TextAlphaBits in the P*M drivers
  2814. caused an error. (gdevpbm.c)
  2815. - If a user cancelled printing under MS Windows, a confusing error
  2816. resulted, and a temporary file wasn't deleted. (gdevwpr2.c)
  2817. - The map_color_rgb procedure for the bit devices produced incorrect
  2818. results. (This probably had no effect in practice.) (gdevbit.c)
  2819. - The os2prn device produced incorrect output. (gdevos2p.c)
  2820. - The OS/2 PM device didn't detect PM applications correctly.
  2821. (gdevpm.c)
  2822. - The MS Windows printer driver didn't automatically detect the
  2823. printer's color capabilities. (gdevwpr2.c)
  2824. - The BJC-610 driver didn't print at 720 dpi. (gdevcdj.c)
  2825. - The static prototypes of many devices didn't include the far_data
  2826. keyword. (gdev3852.c, gdev4081.c, gdevbgi.c, gdevcgm.c, gdevht.c,
  2827. gdevimgn.c, gdevl256.c, gdevmrop.c, gdevn533.c, gdevnfwd.c, gdevnp6.c,
  2828. gdevo182.c, gdevpcfb.c, gdevpdf.c, gdevpe.c, gdevpm.c, gdevs3ga.c,
  2829. gdevsnfb.c, gdevsppr.c, gdevsun.c, gdevsvga.c, gdevtknk.c, gdevvglb.c,
  2830. gdevwddb.c, gdevwprn.c, gdevx.c, gdevxalt.c)
  2831. - The (original) deskjet driver collapsed print lines towards the
  2832. left margin. (gdevdjet.c)
  2833. Adds to the pgm/pgnm/ppm/pnm[raw] drivers the ability to set the maximum
  2834. pixel value, by setting any of the Gray/Red/Green/BlueValues device
  2835. parameters. (gdevpbm.c)
  2836. Adds pkm[raw] drivers, which do all their internal computations in CMYK and
  2837. convert the data to RGB as they write the file. (gdevpbm.c)
  2838. </pre><h3><a name="V4.02_Platforms"></a>Platforms</h3><pre>
  2839. Fixes bugs:
  2840. - The VMS script referred to old versions of the third-party
  2841. libraries. (vms.mak)
  2842. - Under VMS with DEC C, attempting to open a new file fails.
  2843. (gp_vms.c)
  2844. - If you tried to print (gp_printfile) under Windows on a system
  2845. with no printers installed, Ghostscript caused a GPF. (gp_mswin.c)
  2846. Restores support for a non-DLL MS Windows platform. (bcwin32.mak,
  2847. dwnodll.cpp)
  2848. Adds a new MS Windows DLL call, gsdll_get_bitmap. (gsdll16.def,
  2849. gsdll32.def, dll.txt, gdevwdib.c)
  2850. Fixes a variety of other small Windows- and OS/2-related problems, mostly
  2851. related to printing. (gp_mswin.h, dpmainc.c, dwmain.cpp, dwmainc.cpp,
  2852. gdevmswn.c, gdevpm.c, gdevwpr2.c, gp_mswin.c)
  2853. </pre><h3><a name="V4.02_Interpreter"></a>Interpreter</h3><pre>
  2854. Fixes bugs:
  2855. - The value of /newerror in $error was true at the end of
  2856. initialization. We now reset it after each internal use of stopped if
  2857. necessary. (gs_dps1.ps, gs_fform.ps, gs_fonts.ps, gs_init.ps, gs_pdf.ps,
  2858. gs_res.ps, gs_type1.ps)
  2859. - setpagedevice (and finddevice) didn't recognize Default.
  2860. (gs_init.ps)
  2861. - When running with -dNODISPLAY, calling gssetresolution would cause
  2862. a crash. (gs_init.ps)
  2863. - A particular combination of save, .forgetsave, and garbage
  2864. collection could cause a memory access error in restore. (isave.c)
  2865. - Some references to systemdict were affected if a user redefined
  2866. the name /systemdict. (gs_cmdl.ps, gs_fonts.ps, gs_kanji.ps, gs_dps1.ps,
  2867. gs_init.ps, gs_res.ps, gs_statd.ps, gs_type1.ps)
  2868. - The insideness testing operators caused an invalid memory access.
  2869. (drivers.txt, zupath.c)
  2870. - If a readline reached an input buffer boundary between the \r and
  2871. \n of a 2-character EOL, an error could occur. (zfileio.c)
  2872. - setdevparams caused an error. (gs_lev2.ps)
  2873. Changes file names beginning with ./ or ../ so they are recognized as
  2874. "absolute" and not subject to the search path. (gp_dosfs.c, gp_ntfs.c,
  2875. gp_os2.c, gp_unifn.c)
  2876. Changes the exit code for -h or --help from 0 to 1, so an invoking program
  2877. will keep the output around for the user to look at. (imainarg.c)
  2878. Adds the FlateEncode and FlateDecode filters; adds PNG pixel prediction to
  2879. the LZW filters. These additions are required for PDF 1.2 and will be part
  2880. of PostScript Level 3. (int.mak, lib.mak, zfdecode.c, zfilter2.c, zfzlib.c,
  2881. zfpngp.c [deleted])
  2882. </pre><h3><a name="V4.02_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  2883. Fixes bugs:
  2884. - The copyright notices on some files didn't mention the Aladdin
  2885. free license. (pdf_*.ps)
  2886. - Some references to systemdict were affected if a user redefined
  2887. the name /systemdict. (pdf_font.ps)
  2888. - The value of /newerror in $error was true at the end of
  2889. initialization. We now reset it after each internal use of stopped if
  2890. necessary. (pdf_main.ps)
  2891. - stdin redirection failed for PDF files even if the new stdin was
  2892. seekable. (pdf_main.ps)
  2893. - The Rotate key rotated pages in the wrong direction.
  2894. (pdf_main.ps)
  2895. Adds a minimal "security socket" to the interpreter. This does not include
  2896. any actual decryption code; such code is available elsewhere (see
  2897. new-user.txt). (int.mak, pdf_base.ps, pdf_main.ps, pdf_sec.ps)
  2898. Adds a PDF 1.2 capability:
  2899. - The destination in a Dest array can be a page number as well as a
  2900. page object. (pdf_main.ps)
  2901. </pre><h3><a name="V4.02_Streams"></a>Streams</h3><pre>
  2902. Fixes bugs:
  2903. - stdin was assumed to be non-seekable. (sfile.c, sfileno.c)
  2904. </pre><h3><a name="V4.02_Library"></a>Library</h3><pre>
  2905. Fixes bugs:
  2906. - Garbage collection could corrupt a pointer in Type 0 fonts.
  2907. (gxfont0.h, gsfont0.c)
  2908. - When applying hints to a Type 1 font outline, the last point could
  2909. sometimes get moved twice, causing output anomalies. (gxhint3.c)
  2910. - An #include needed for debugging was missing. (gxcmap.h)
  2911. - Graphics states included a no-longer-used private color space
  2912. object. (gsstate.c)
  2913. - Images could get clipped randomly in the X direction. (I don't
  2914. understand why this problem hasn't shown up more often, since it's been
  2915. there since release 4.00.) (gximage.c)
  2916. - The arct and arcto operators failed to draw the line to the
  2917. starting point of the arc. (bug introduced in 4.01) (gspath1.c)
  2918. - Prefix subclasses of simple structures caused an invalid memory
  2919. access. (gsstruct.h)
  2920. - The variable fheight was sometimes unused. (gstype1.c)
  2921. - igcd and imod didn't have prototypes in an appropriate header
  2922. file, and were declared extern in several places. (gsdcolor.h, gsline.h,
  2923. gxarith.h, gxdht.h, gsht.c, gshtscr.c, gsimage.c, gsline.c, gstype1.c,
  2924. gxclimag.c)
  2925. - When using a non-identity RenderTable in a CIE rendering
  2926. dictionary, all colors came out too light. (gscie.c)
  2927. - When using anti-aliased graphics, stroked lines were rendered too
  2928. thin. (gspaint.c)
  2929. - The default map_cmyk_color implementations could return
  2930. "transparent". (gxcmap.c)
  2931. - The number of bits of alpha requested when rendering anti-aliased
  2932. characters could exceed 4. (gschar.c)
  2933. - Multi-screen halftones could cause errors or infinite looping when
  2934. banding. (This problem predates 4.0; I don't know why it didn't show up
  2935. before.) (gxcldev.h, gxclist.c, gxclread.c)
  2936. - Skewed or rotated gray-scale images, or masks with a halftoned
  2937. color, omitted one line of pixels and displaced the image by one pixel.
  2938. (gximage2.c)
  2939. Adds an implementation of realloc, for systems that don't have one that
  2940. works. I don't know how to determine this automatically, so for the moment,
  2941. the code uses our own implementation on Linux (where realloc is known to be
  2942. broken, at least in some releases) and nowhere else. (malloc_.h,
  2943. gsmemory.c, gsmisc.c)
  2944. Removes the "OLD" algorithms from the Type 1 hinting source code, since they
  2945. are no longer executed. (If necessary, they can be retrieved from an older
  2946. version.) (gxhint3.c)
  2947. </pre>
  2948. <h2><a name="Version4.01"></a>Version 4.01 (7/10/96)</h2>
  2949. <p>
  2950. This fixes a few minor bugs discovered since the 4.0 release.
  2951. <h3><a name="V4.01_Documentation"></a>Documentation</h3><pre>
  2952. Fixes bugs:
  2953. - An installation directory name was wrong. (make.txt,
  2954. unix-lpr.txt)
  2955. - A URL was wrong. (devices.txt)
  2956. - A reference to use.doc hadn't been updated. (gs.1)
  2957. - Some references to /usr/local/lib hadn't been updated. (gs.1)
  2958. - The NEWS file and history* files still referred to *.doc rather
  2959. than *.txt. (NEWS, history*.txt)
  2960. Adds a note about compilation on Digital Unix. (make.txt)
  2961. Clarifies that calling gs_exit calls gs_finit automatically. (imain.h)
  2962. Adds a pointer to the PDF encryption patch. (Ridiculous U.S. export control
  2963. laws don't allow including the patch itself in the main fileset.)
  2964. (new-user.txt)
  2965. Adds a help file for VMS. (gs-vms.hlp)
  2966. </pre><h3><a name="V4.01_Procedures"></a>Procedures</h3><pre>
  2967. Fixes bugs:
  2968. - vms.mak had gotten out of sync with the makefiles (again).
  2969. (vms.mak)
  2970. - DEVICE{WIDTH,HEIGHT}POINTS didn't override PAPERSIZE.
  2971. (gs_init.ps)
  2972. - The Microsoft C makefiles had gotten out of date. (msc.mak)
  2973. The (few) GNU-Licensed drivers were accidentally omitted from the fileset.
  2974. Modifies a makefile for greater reusability. (watclib.mak)
  2975. Adds a 'debug' target for making Unix debugging configurations.
  2976. (unix-end.mak)
  2977. </pre><h3><a name="V4.01_Utilities"></a>Utilities</h3><pre>
  2978. Fixes bugs:
  2979. - Some uses of 'run' should be changed to runlibfile. (bdftops.ps,
  2980. impath.ps, markhint.ps, packfile.ps, showchar.ps, waterfal.ps, wftopfa.ps,
  2981. wrfont.ps)
  2982. - Some debugging code hadn't been removed. (gslp.ps)
  2983. Adds a new utility, viewcmyk.ps, for viewing 4-bit CMYK data. (psfiles.txt,
  2984. unix-end.mak, viewcmyk.ps)
  2985. Improves pdf2dsc by including Title and CreationDate DSC comments (these are
  2986. displayed by Ghostview) and reducing the size of typical output files by a
  2987. factor of about 3. (pdf2dsc.ps)
  2988. Incorporates major changes (claimed to be improvements) to ps2ascii
  2989. contributed by a user. If you have problems with it, please contact him,
  2990. not Aladdin. (ps2ascii.ps)
  2991. </pre><h3><a name="V4.01_Platforms"></a>Platforms</h3><pre>
  2992. Fixes bugs:
  2993. - The X value of a bounding box could be computed incorrectly.
  2994. (gdevbbox.c)
  2995. </pre><h3><a name="V4.01_Platforms"></a>Platforms</h3><pre>
  2996. Fixes bugs:
  2997. - The Windows DLL sometimes didn't clean up properly. (dll.txt,
  2998. dpmainc.c, dwdll.cpp, dwmain.cpp, dwmainc.cpp, gsdll.c, gsdll.h)
  2999. </pre><h3><a name="V4.01_Interpreter"></a>Interpreter</h3><pre>
  3000. Fixes bugs:
  3001. - Reading from a filter could hang forever, because a buffer was
  3002. allocated 1 byte too small. (zfilter.c)
  3003. - The search path could become garbage under some circumstances.
  3004. (imain.c)
  3005. - A dangling reference to a stack-allocated variable could corrupt
  3006. memory if a client mixed interpreter calls and direct C calls. (interp.c)
  3007. - Printing an object to a procedure-based filter could cause an
  3008. invalid memory access. (zfileio.c)
  3009. </pre><h3><a name="V4.01_Library"></a>Library</h3><pre>
  3010. Fixes bugs:
  3011. - Setting parameters for an unopened device could cause an access
  3012. error or invoke the wrong put_params procedure. (gsdparam.c)
  3013. - Reading from a filter could hang forever, because a buffer was
  3014. allocated 1 byte too small. (stream.h)
  3015. - If the current device was the nullpage device, doing a [g]save,
  3016. selecting a different device, and doing a [g]restore caused an error.
  3017. (gsdparam.c)
  3018. Adds the ability to append arcs without the initial lineto, for PCL
  3019. emulation. (gspath.h, gspath1.c)
  3020. </pre>
  3021. <h2><a name="Version4.0"></a>Version 4.0 (6/28/96)</h2>
  3022. <p>
  3023. This is the first public release since 3.53, with a few more last-minute
  3024. patches beyond 3.70.
  3025. <h3><a name="V4.0_Documentation"></a>Documentation</h3><pre>
  3026. Fixes bugs:
  3027. - Many makefiles still referred to .doc files rather than .txt.
  3028. (cfonts.mak, devs.mak, gs.mak, int.mak, libpng.mak, unix-end.mak, watc.mak,
  3029. watcwin.mak, wccommon.mak, zlib.mak)
  3030. - Some FONTPATH-related information was out of date. (use.txt)
  3031. - The installation directory for fonts was incorrect. (install.txt)
  3032. - The libpng and zlib versions were out of date. (libpng.mak,
  3033. zlib.mak)
  3034. - Some information about GSview was incorrect or incomplete.
  3035. (new-user.txt)
  3036. - make.txt said it described installation as well as building.
  3037. (make.txt)
  3038. Notes that the current release of zlib won't compile and link correctly with
  3039. Sun cc. (make.txt)
  3040. Adds a little more detail to the C style document. (c-style.txt)
  3041. </pre><h3><a name="V4.0_Procedures"></a>Procedures</h3><pre>
  3042. Fixes bugs:
  3043. - Some documentation files weren't installed. (unix-end.mak)
  3044. - Some dependencies were incorrect. (bcwin32.mak)
  3045. - 'make begin' and 'make clean' deleted too many and/or the wrong
  3046. files. (bcwin.mak, bcwin32.mak)
  3047. - libpng.mak didn't work with libpng version 0.89c. (libpng.mak)
  3048. - -d&lt;var&gt;=&lt;name&gt; was equivalent to -d&lt;var&gt;=/&lt;name&gt;, and there was no
  3049. way to set a variable to true, false, or null. (use.txt, gs_init.ps,
  3050. iinit.c, imainarg.c)
  3051. Removes the modules.lis file, which is no longer used.
  3052. Undoes detecting automatically the need to run tar_cat -- the mechanism
  3053. didn't work, and caused confusion. (unix-end.mak)
  3054. Updates the makefiles to libpng version 0.89, but allows them to work with
  3055. either 0.88 or 0.89. (*.mak)
  3056. </pre><h3><a name="V4.0_Utilities"></a>Utilities</h3><pre>
  3057. Fixes bugs:
  3058. - Showing the details of a protected font caused an error.
  3059. (markhint.ps)
  3060. </pre><h3><a name="V4.0_Drivers"></a>Drivers</h3><pre>
  3061. Fixes bugs:
  3062. - A copyright notice was wrong. (gs_pdfwr.ps)
  3063. - PDF link annotations could get written with two Dest keys.
  3064. (gdevpdfm.c)
  3065. - MakeProcInstance and FreeProcInstance were called on platforms
  3066. where it wasn't appropriate. (gdevwpr2.c, gdevwprn.c, gp_mswin.c)
  3067. - On X servers that return very large values for the "virtual
  3068. screen" size in millimeters but correct values for the screen size in
  3069. pixels, a rangecheck could occur. (gdevxini.c)
  3070. - The bounding box device could return garbage if stroke or fill was
  3071. ever invoked with an empty path. (gdevbbox.c)
  3072. Replaces the LBP8 driver with a revised one contributed by a user.
  3073. (gdevlbp8.c, devs.mak)
  3074. </pre><h3><a name="V4.0_Platforms"></a>Platforms</h3><pre>
  3075. Fixes bugs:
  3076. - Some Windows menu parameters were incorrect. (gsdll16.rc,
  3077. gsdll32.rc)
  3078. </pre><h3><a name="V4.0_Interpreter"></a>Interpreter</h3><pre>
  3079. Fixes bugs:
  3080. - .getdevparams sometimes returned duplicate entries for /Type.
  3081. (ziodev2.c)
  3082. - File names weren't parsed or concatenated properly on all
  3083. platforms. (gs_fonts.ps, zfile.c)
  3084. - Filter lookahead caused problems with special files. (zfproc.c)
  3085. - If a TransformPQR procedure in a CIE color rendering dictionary
  3086. didn't pop its 4 array arguments, an error occurred. (gs_lev2.ps, zcrd.c)
  3087. </pre><h3><a name="V4.0_Streams"></a>Streams</h3><pre>
  3088. Fixes bugs:
  3089. - Filter lookahead caused problems with special files. (bug
  3090. introduced in 3.70) (stream.h)
  3091. </pre><h3><a name="V4.0_Library"></a>Library</h3><pre>
  3092. Fixes bugs:
  3093. - .getdevparams sometimes returned duplicate entries for /Type.
  3094. (gxiodev.h, gsiodev.c)
  3095. </pre>
  3096. <!-- [3.0 begin visible trailer] =========================================== -->
  3097. <hr>
  3098. <p>
  3099. <small>Copyright &copy; 1996, 1997, 1998 Aladdin Enterprises.
  3100. All rights reserved.</small>
  3101. <p>
  3102. <small>This file is part of AFPL Ghostscript. See the
  3103. <a href="Public.htm">Aladdin Free Public License</a> (the "License") for
  3104. full details of the terms of using, copying, modifying, and redistributing
  3105. AFPL Ghostscript.</small>
  3106. <p>
  3107. <small>Ghostscript version 7.04, 31 January 2002
  3108. <!-- [3.0 end visible trailer] ============================================= -->
  3109. </body>
  3110. </html>