History2.htm 206 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229
  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 1.n</title>
  5. <!-- $Id: History2.htm,v 1.13.2.2 2002/02/01 05:31:24 raph Exp $ -->
  6. <!-- Originally: history2.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 2.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="#Version2.9.10b">Version 2.9.10-beta (7/28/94)</a>
  25. <ul>
  26. <li><a href="#V2.9.10b_Documentation">Documentation</a>,
  27. <a href="#V2.9.10b_Procedures">Procedures</a>,
  28. <a href="#V2.9.10b_Utilities">Utilities</a>,
  29. <a href="#V2.9.10b_Drivers">Drivers</a>,
  30. <a href="#V2.9.10b_Platforms">Platforms</a>,
  31. <a href="#V2.9.10b_Fonts">Fonts</a>,
  32. <a href="#V2.9.10b_Interpreter">Interpreter</a>,
  33. <a href="#V2.9.10b_Streams">Streams</a>,
  34. <a href="#V2.9.10b_Library">Library</a>
  35. </ul>
  36. <li><a href="#Version2.9.9b">Version 2.9.9-beta (6/23/94)</a>
  37. <ul>
  38. <li><a href="#V2.9.9b_Documentation">Documentation</a>,
  39. <a href="#V2.9.9b_Platforms">Platforms</a>,
  40. <a href="#V2.9.9b_Fonts">Fonts</a>,
  41. <a href="#V2.9.9b_Interpreter">Interpreter</a>,
  42. <a href="#V2.9.9b_Library">Library</a>
  43. </ul>
  44. <li><a href="#Version2.9.8">Version 2.9.8 (6/20/94)</a>
  45. <ul>
  46. <li><a href="#V2.9.8_Documentation">Documentation</a>,
  47. <a href="#V2.9.8_Procedures">Procedures</a>,
  48. <a href="#V2.9.8_Utilities">Utilities</a>,
  49. <a href="#V2.9.8_Drivers">Drivers</a>,
  50. <a href="#V2.9.8_Platforms">Platforms</a>,
  51. <a href="#V2.9.8_Fonts">Fonts</a>,
  52. <a href="#V2.9.8_Interpreter">Interpreter</a>,
  53. <a href="#V2.9.8_Library">Library</a>
  54. </ul>
  55. <li><a href="#Version2.9.7b">Version 2.9.7-beta (6/5/94)</a>
  56. <ul>
  57. <li><a href="#V2.9.7b_Documentation">Documentation</a>,
  58. <a href="#V2.9.7b_Procedures">Procedures</a>,
  59. <a href="#V2.9.7b_Utilities">Utilities</a>,
  60. <a href="#V2.9.7b_Drivers">Drivers</a>,
  61. <a href="#V2.9.7b_Platforms">Platforms</a>,
  62. <a href="#V2.9.7b_Fonts">Fonts</a>,
  63. <a href="#V2.9.7b_Interpreter">Interpreter</a>,
  64. <a href="#V2.9.7b_Library">Library</a>
  65. </ul>
  66. <li><a href="#Version2.9.6b">Version 2.9.6-beta (5/23/94, not distributed to the public)</a>
  67. <ul>
  68. <li><a href="#V2.9.6b_Documentation">Documentation</a>,
  69. <a href="#V2.9.6b_Procedures">Procedures</a>,
  70. <a href="#V2.9.6b_Utilities">Utilities</a>,
  71. <a href="#V2.9.6b_Drivers">Drivers</a>,
  72. <a href="#V2.9.6b_Platforms">Platforms</a>,
  73. <a href="#V2.9.6b_Fonts">Fonts</a>,
  74. <a href="#V2.9.6b_Interpreter">Interpreter</a>,
  75. <a href="#V2.9.6b_Library">Library</a>
  76. </ul>
  77. <li><a href="#Version2.9.5b">Version 2.9.5-beta (4/11/94)</a>
  78. <ul>
  79. <li><a href="#V2.9.5b_Documentation">Documentation</a>,
  80. <a href="#V2.9.5b_Procedures">Procedures</a>,
  81. <a href="#V2.9.5b_Utilities">Utilities</a>,
  82. <a href="#V2.9.5b_Drivers">Drivers</a>,
  83. <a href="#V2.9.5b_Platforms">Platforms</a>,
  84. <a href="#V2.9.5b_Interpreter">Interpreter</a>,
  85. <a href="#V2.9.5b_Library">Library</a>
  86. </ul>
  87. <li><a href="#Version2.9.4b">Version 2.9.4-beta (2/19/94)</a>
  88. <ul>
  89. <li><a href="#V2.9.4b_Procedures">Procedures</a>,
  90. <a href="#V2.9.4b_Utilities">Utilities</a>,
  91. <a href="#V2.9.4b_Drivers">Drivers</a>,
  92. <a href="#V2.9.4b_Platforms">Platforms</a>,
  93. <a href="#V2.9.4b_Interpreter">Interpreter</a>,
  94. <a href="#V2.9.4b_Library">Library</a>
  95. </ul>
  96. <li><a href="#Version2.9.3b">Version 2.9.3-beta (1/19/94)</a>
  97. <ul>
  98. <li><a href="#V2.9.3b_Documentation">Documentation</a>,
  99. <a href="#V2.9.3b_Procedures">Procedures</a>,
  100. <a href="#V2.9.3b_Drivers">Drivers</a>,
  101. <a href="#V2.9.3b_Platforms">Platforms</a>,
  102. <a href="#V2.9.3b_Interpreter">Interpreter</a>,
  103. <a href="#V2.9.3b_Library">Library</a>
  104. </ul>
  105. <li><a href="#Version2.9.2b">Version 2.9.2-beta (1/2/94)</a>
  106. <ul>
  107. <li><a href="#V2.9.2b_Documentation">Documentation</a>,
  108. <a href="#V2.9.2b_Utilities">Utilities</a>,
  109. <a href="#V2.9.2b_Drivers">Drivers</a>,
  110. <a href="#V2.9.2b_Platforms">Platforms</a>,
  111. <a href="#V2.9.2b_Fonts">Fonts</a>,
  112. <a href="#V2.9.2b_Interpreter">Interpreter</a>,
  113. <a href="#V2.9.2b_Library">Library</a>
  114. </ul>
  115. <li><a href="#Version2.9.1b">Version 2.9.1-beta (12/7/93)</a>
  116. <ul>
  117. <li><a href="#V2.9.1b_Utilities">Utilities</a>,
  118. <a href="#V2.9.1b_Interpreter">Interpreter</a>,
  119. <a href="#V2.9.1b_Library">Library</a>
  120. </ul>
  121. <li><a href="#Version2.9b">Version 2.9-beta (12/6/93)</a>
  122. <ul>
  123. <li><a href="#V2.9b_Documentation">Documentation</a>,
  124. <a href="#V2.9b_Procedures">Procedures</a>,
  125. <a href="#V2.9b_Utilities">Utilities</a>,
  126. <a href="#V2.9b_Drivers">Drivers</a>,
  127. <a href="#V2.9b_Platforms">Platforms</a>,
  128. <a href="#V2.9b_Interpreter">Interpreter</a>,
  129. <a href="#V2.9b_Library">Library</a>
  130. </ul>
  131. <li><a href="#Version2.8b">Version 2.8-beta (11/10/93)</a>
  132. <ul>
  133. <li><a href="#V2.8b_Documentation">Documentation</a>,
  134. <a href="#V2.8b_Procedures">Procedures</a>,
  135. <a href="#V2.8b_Utilities">Utilities</a>,
  136. <a href="#V2.8b_Drivers">Drivers</a>,
  137. <a href="#V2.8b_Platforms">Platforms</a>,
  138. <a href="#V2.8b_Fonts">Fonts</a>,
  139. <a href="#V2.8b_Interpreter">Interpreter</a>,
  140. <a href="#V2.8b_Library">Library</a>
  141. </ul>
  142. <li><a href="#Version2.7.2b">Version 2.7.2-beta (10/11/93)</a>
  143. <ul>
  144. <li><a href="#V2.7.2b_Utilities">Utilities</a>,
  145. <a href="#V2.7.2b_Interpreter">Interpreter</a>,
  146. <a href="#V2.7.2b_Library">Library</a>
  147. </ul>
  148. <li><a href="#Version2.7.1b">Version 2.7.1-beta (10/4/93, not distributed to the public)</a>
  149. <ul>
  150. <li><a href="#V2.7.1b_Documentation">Documentation</a>,
  151. <a href="#V2.7.1b_Utilities">Utilities</a>,
  152. <a href="#V2.7.1b_Drivers">Drivers</a>,
  153. <a href="#V2.7.1b_Platforms">Platforms</a>,
  154. <a href="#V2.7.1b_Fonts">Fonts</a>,
  155. <a href="#V2.7.1b_Interpreter">Interpreter</a>,
  156. <a href="#V2.7.1b_Library">Library</a>
  157. </ul>
  158. <li><a href="#Version2.7b">Version 2.7-beta (9/20/93, not distributed to the public)</a>
  159. <ul>
  160. <li><a href="#V2.7b_Documentation">Documentation</a>,
  161. <a href="#V2.7b_Procedures">Procedures</a>,
  162. <a href="#V2.7b_Utilities">Utilities</a>,
  163. <a href="#V2.7b_Drivers">Drivers</a>,
  164. <a href="#V2.7b_Platforms">Platforms</a>,
  165. <a href="#V2.7b_Fonts">Fonts</a>,
  166. <a href="#V2.7b_Interpreter">Interpreter</a>,
  167. <a href="#V2.7b_Library">Library</a>
  168. </ul>
  169. <li><a href="#Version2.6.1">Version 2.6.1 (5/28/93)</a>
  170. <ul>
  171. <li><a href="#V2.6.1_Documentation">Documentation</a>,
  172. <a href="#V2.6.1_Procedures">Procedures</a>,
  173. <a href="#V2.6.1_Utilities">Utilities</a>,
  174. <a href="#V2.6.1_Drivers">Drivers</a>,
  175. <a href="#V2.6.1_Platforms">Platforms</a>,
  176. <a href="#V2.6.1_Fonts">Fonts</a>,
  177. <a href="#V2.6.1_Interpreter">Interpreter</a>,
  178. <a href="#V2.6.1_Library">Library</a>
  179. </ul>
  180. <li><a href="#Version2.6">Version 2.6 (5/9/93)</a>
  181. <ul>
  182. <li><a href="#V2.6_Documentation">Documentation</a>,
  183. <a href="#V2.6_Procedures">Procedures</a>,
  184. <a href="#V2.6_Utilities">Utilities</a>,
  185. <a href="#V2.6_Platforms">Platforms</a>,
  186. <a href="#V2.6_Fonts">Fonts</a>,
  187. <a href="#V2.6_Drivers">Drivers</a>,
  188. <a href="#V2.6_Interpreter">Interpreter</a>,
  189. <a href="#V2.6_Library">Library</a>
  190. </ul>
  191. <li><a href="#Version2.5.2">Version 2.5.2 (9/20/92)</a>
  192. <ul>
  193. <li><a href="#V2.5.2_Procedures">Procedures</a>,
  194. <a href="#V2.5.2_Utilities">Utilities</a>,
  195. <a href="#V2.5.2_Platforms">Platforms</a>,
  196. <a href="#V2.5.2_Drivers">Drivers</a>,
  197. <a href="#V2.5.2_Interpreter">Interpreter</a>,
  198. <a href="#V2.5.2_Library">Library</a>
  199. </ul>
  200. <li><a href="#Version2.5.1">Version 2.5.1 (9/11/92)</a>
  201. <ul>
  202. <li><a href="#V2.5.1_Procedures">Procedures</a>,
  203. <a href="#V2.5.1_Utilities">Utilities</a>,
  204. <a href="#V2.5.1_Platforms">Platforms</a>,
  205. <a href="#V2.5.1_Fonts">Fonts</a>,
  206. <a href="#V2.5.1_Drivers">Drivers</a>,
  207. <a href="#V2.5.1_Interpreter">Interpreter</a>,
  208. <a href="#V2.5.1_Library">Library</a>
  209. </ul>
  210. <li><a href="#Version2.5">Version 2.5 (8/18/92)</a>
  211. <ul>
  212. <li><a href="#V2.5_Procedures">Procedures</a>,
  213. <a href="#V2.5_Utilities">Utilities</a>,
  214. <a href="#V2.5_Platforms">Platforms</a>,
  215. <a href="#V2.5_Fonts">Fonts</a>,
  216. <a href="#V2.5_Drivers">Drivers</a>,
  217. <a href="#V2.5_Interpreter">Interpreter</a>,
  218. <a href="#V2.5_Library">Library</a>
  219. </ul>
  220. <li><a href="#Version2.4.2">Version 2.4.2 (5/8/92)</a>
  221. <ul>
  222. <li><a href="#V2.4.2_Procedures">Procedures</a>,
  223. <a href="#V2.4.2_Utilities">Utilities</a>,
  224. <a href="#V2.4.2_Platforms">Platforms</a>,
  225. <a href="#V2.4.2_Fonts">Fonts</a>,
  226. <a href="#V2.4.2_Drivers">Drivers</a>,
  227. <a href="#V2.4.2_Interpreter">Interpreter</a>,
  228. <a href="#V2.4.2_Library">Library</a>
  229. </ul>
  230. <li><a href="#Version2.4.1">Version 2.4.1 (4/21/92)</a>
  231. <ul>
  232. <li><a href="#V2.4.1_Procedures">Procedures</a>,
  233. <a href="#V2.4.1_Utilities">Utilities</a>,
  234. <a href="#V2.4.1_Drivers">Drivers</a>,
  235. <a href="#V2.4.1_Fonts">Fonts</a>,
  236. <a href="#V2.4.1_Interpreter">Interpreter</a>,
  237. <a href="#V2.4.1_Library">Library</a>
  238. </ul>
  239. <li><a href="#Version2.4">Version 2.4 (3/25/92)</a>
  240. <ul>
  241. <li><a href="#V2.4_Procedures">Procedures</a>,
  242. <a href="#V2.4_Utilities">Utilities</a>,
  243. <a href="#V2.4_Drivers">Drivers</a>,
  244. <a href="#V2.4_Fonts">Fonts</a>,
  245. <a href="#V2.4_Interpreter">Interpreter</a>,
  246. <a href="#V2.4_Library">Library</a>
  247. </ul>
  248. <li><a href="#Version2.3">Version 2.3 (8/28/91)</a>
  249. <ul>
  250. <li><a href="#V2.3_Utilities">Utilities</a>,
  251. <a href="#V2.3_Drivers">Drivers</a>
  252. </ul>
  253. <li><a href="#Version2.2">Version 2.2 (6/1/91)</a>
  254. <ul>
  255. <li><a href="#V2.2_Procedures">Procedures</a>,
  256. <a href="#V2.2_Drivers">Drivers</a>,
  257. <a href="#V2.2_Fonts">Fonts</a>,
  258. <a href="#V2.2_Utilities">Utilities</a>,
  259. <a href="#V2.2_Interpreter">Interpreter</a>,
  260. <a href="#V2.2_Library">Library</a>
  261. </ul>
  262. <li><a href="#Version2.1.1">Version 2.1.1 (1/15/91)</a>
  263. <ul>
  264. <li><a href="#V2.1.1_Build_procedures">Build procedures</a>,
  265. <a href="#V2.1.1_Interpreter">Interpreter</a>,
  266. <a href="#V2.1.1_Drivers">Drivers</a>,
  267. <a href="#V2.1.1_Library">Library</a>
  268. </ul>
  269. <li><a href="#Version2.1">Version 2.1 (12/31/90)</a>
  270. <ul>
  271. <li><a href="#V2.1_Build_procedures">Build procedures</a>,
  272. <a href="#V2.1_Drivers">Drivers</a>,
  273. <a href="#V2.1_Fonts">Fonts</a>,
  274. <a href="#V2.1_Interpreter">Interpreter</a>,
  275. <a href="#V2.1_Library">Library</a>
  276. </ul>
  277. <li><a href="#Version2.0">Version 2.0 (9/12/90)</a>
  278. <ul>
  279. <li><a href="#V2.0_Miscellaneous">Miscellaneous</a>,
  280. <a href="#V2.0_Drivers">Drivers</a>,
  281. <a href="#V2.0_Build_procedures">Build procedures</a>,
  282. <a href="#V2.0_Interpreter">Interpreter</a>,
  283. <a href="#V2.0_Library">Library</a>
  284. </ul>
  285. </ul></blockquote>
  286. <!-- [1.2 end table of contents] =========================================== -->
  287. <!-- [1.3 begin hint] ====================================================== -->
  288. <p>
  289. This document is a history of Ghostscript releases numbered 2.n. For more
  290. recent changes, see the the other history documents and, for the latest
  291. versions, the new:
  292. <blockquote>
  293. <a href="News.htm">News</a><br>
  294. <a href="History4.htm">History of Ghostscript versions 4.n</a><br>
  295. <a href="History3.htm">History of Ghostscript versions 3.n</a><br>
  296. History of Ghostscript versions 2.n (this document)<br>
  297. <a href="History1.htm">History of Ghostscript versions 1.n</a>
  298. </blockquote>
  299. <p>For other information, see the <a href="Readme.htm">Ghostscript
  300. overview</a>.
  301. <!-- [1.3 end hint] ======================================================== -->
  302. <hr>
  303. <!-- [1.0 end visible header] ============================================== -->
  304. <h2><a name="Version2.9.10b"></a>Version 2.9.10-beta (7/28/94)</h2>
  305. <p>
  306. This is the last 2.9 beta, since 3.0 will be released on July 31.
  307. <h3><a name="V2.9.10b_Documentation"></a>Documentation</h3><pre>
  308. Fixes bugs:
  309. - A | in gs.1 had a \ in front of it instead of \\.
  310. Adds a paragraph in gs.1 that tells how to select paper size.
  311. Notes in devs.mak that the cdj550 driver is the best one for the H-P
  312. DeskJet 520, and the pjxl300 driver is the right one for the H-P DeskJet
  313. 1200C.
  314. Notes in make.doc that Watcom C++ 10.0 may require a change in a makefile.
  315. </pre><h3><a name="V2.9.10b_Procedures"></a>Procedures</h3><pre>
  316. Removes ICCINIT from MODULES.LIS for VMS systems.
  317. Updates VMS.MAK to support Motif V1.2.
  318. Updates jpeg.mak to work with version 5alpha4 of the IJG JPEG code.
  319. </pre><h3><a name="V2.9.10b_Utilities"></a>Utilities</h3><pre>
  320. Fixes bugs:
  321. - font2c didn't leave extra room in Type 0 font dictionaries for
  322. entries added by definefont.
  323. - font2c left extra information on the stack.
  324. - ansi2knr would remove newline characters within formal argument
  325. lists.
  326. - font2c got an Error: /undefined in makefontprocname.
  327. Updates ansi2knr to work better with the GNU configure program.
  328. Updates ansi2knr to handle procedure formal arguments automatically.
  329. </pre><h3><a name="V2.9.10b_Drivers"></a>Drivers</h3><pre>
  330. Fixes bugs:
  331. - If a file contained color or gray-scale information followed by a
  332. masked image, the X driver would sometimes invert the polarity of the
  333. image.
  334. </pre><h3><a name="V2.9.10b_Platforms"></a>Platforms</h3><pre>
  335. Fixes bugs:
  336. - Unix systems with a 2-argument gettimeofday returned garbage
  337. values for the current time.
  338. - The VMS build script for compiled fonts omitted the requirement
  339. to load gs_ccfnt.ps.
  340. - memory_.h didn't note that System V Unix platforms need memmove.
  341. On Unix systems, changes the subdirectory of $datadir/ghostscript to just
  342. be the version number (e.g., 2.9.10 rather than gs-2.9.9).
  343. </pre><h3><a name="V2.9.10b_Fonts"></a>Fonts</h3><pre>
  344. Adds support code for the Wadalab (University of Tokyo) free Kanji font.
  345. Notes in the documentation in Fontmap that .pfa and .pfb fonts are
  346. compatible with ATM, but .gsf fonts are not.
  347. Changes the names of Thomas Wolff's expanded Hershey fonts, replacing .gsf
  348. with .pfa.
  349. </pre><h3><a name="V2.9.10b_Interpreter"></a>Interpreter</h3><pre>
  350. Fixes bugs:
  351. - The scanner became confused if the literal names /&lt;&lt; or /&gt;&gt;
  352. straddled an input buffer boundary.
  353. - .setlanguagelevel gave an invalidaccess error when
  354. switching from level 2 to level 1.
  355. - currentgstate, setgstate, and copy for gstates didn't do
  356. the necessary access checks.
  357. - The Category resource category didn't define .ResourceFile, so
  358. /Category resourcestatus gave an error.
  359. - The garbage collector didn't trace the structures used by
  360. filenameforall properly on most platforms.
  361. - Automatically expanding systemdict didn't work, but didn't give
  362. an error.
  363. - Automatically expanding a dictionary usually expanded it by too
  364. much.
  365. - systemdict was created too small.
  366. - The garbage collector didn't trace the structures referenced only
  367. from allocator objects, leading to attempts to access freed storage.
  368. - If a chunk was empty, the GC tried to free it even if it had
  369. inner chunks.
  370. * - The outer loop in dict_find_name_by_index() could cause an
  371. addressing fault on segmented machines when looking up Level 2 operators,
  372. because the offset could get decremented past 0.
  373. - The heap_available procedure in gsmemory.c didn't convert
  374. properly to non-ANSI syntax. (New bug in 2.9.9.)
  375. - The ledgertray procedure wasn't implemented.
  376. - The xxxtray procedures didn't set the page size.
  377. - The settumble operator wasn't implemented, even as a dummy.
  378. - glyphshow didn't work with Type 3 fonts.
  379. - Supplying a RenderTable for a CIE color space caused an error.
  380. - The DCT filter code had the jpeg/ subdirectory name "wired in" to
  381. the source files.
  382. Adds experimental filters for Burrows/Wheeler block sorting compression
  383. (BWBlockSortEncode/Decode), described in DEC SRC Research Report #124,
  384. move-to-front coding (MoveToFrontEncode/Decode), and a simple form of
  385. Huffman coding (BoundedHuffmanEncode/Decode). These are experimental -- do
  386. not rely on them remaining the same (or existing at all) in future
  387. releases!
  388. Adds all function prototypes needed to pacify strict compilers.
  389. Removes all explicit references to userdict from the C code.
  390. Changes the SAFER switch so that it disallows not only explicit writing,
  391. deleting, or renaming of files, but also disallows specifying an explicit
  392. OutputFile for any device (except for the initial device, by means of
  393. -sOutputFile= on the command line).
  394. </pre><h3><a name="V2.9.10b_Streams"></a>Streams</h3><pre>
  395. Fixes bugs:
  396. - Hex decoding (ASCIIHexDecode stream and &lt;&gt; literals) didn't treat
  397. the data source as read-only (although it restored it to its original
  398. contents).
  399. Implements move-to-front coding, a simple form of Huffman coding, and
  400. Burrows/Wheeler block sorting compression.
  401. </pre><h3><a name="V2.9.10b_Library"></a>Library</h3><pre>
  402. Fixes bugs:
  403. * - (The following bug fix was actually implemented somewhere around
  404. version 2.7.) restore didn't purge character cache entries whose keys were
  405. names created more recently than the save.
  406. - gstype1.h declared gs_type1_state_sizeof as an extern, but this
  407. wasn't defined anywhere.
  408. - gs_makeimagedevice didn't set the size of the palette correctly,
  409. which confused the GC.
  410. - gs_makeimagedevice didn't set num_components to 1 for
  411. mapped-color devices with only gray values.
  412. * - The two-color halftoning algorithms truncated when computing the
  413. halftone level, rather than rounding it.
  414. * - If a path being filled had line segments that fell entirely to
  415. the right of the clipping region, part of the path might not be filled.
  416. - The optimized code for 24-bit color didn't ensure properly that
  417. 32-bit accesses would be aligned appropriately.
  418. - The miter join check had gotten reversed somewhere along the way.
  419. * - Because x and y were interchanged in the miter check computation,
  420. in some situations the check was inverted. (This is a very old bug!)
  421. - It was believed that strokepath didn't work with dashed lines;
  422. the problem appears to have been an incorrect testing program.
  423. Adds all function prototypes needed to pacify strict compilers.
  424. Changes fixed2float so it doesn't cast the result to float, and removes
  425. fixed2double. This produces slightly more accurate results in many places,
  426. and may even be faster (for FPUs that normally generate double rather than
  427. single precision results).
  428. </pre>
  429. <h2><a name="Version2.9.9b"></a>Version 2.9.9-beta (6/23/94)</h2>
  430. <h3><a name="V2.9.9b_Documentation"></a>Documentation</h3><pre>
  431. Puts a pointer to devs.mak in the section of use.doc that talks about
  432. MS-DOS displays.
  433. </pre><h3><a name="V2.9.9b_Platforms"></a>Platforms</h3><pre>
  434. Fixes bugs:
  435. - The %pipe% IODevice was omitted on System V platforms.
  436. - The AXP VMS build script needed /NESTED_INCLUDE=PRIMARY in
  437. CC_QUAL to work around a bug in the DEC C compiler.
  438. </pre><h3><a name="V2.9.9b_Fonts"></a>Fonts</h3><pre>
  439. Fixes bugs:
  440. - gs_lev2.ps redefined .loadFontmap incorrectly.
  441. </pre><h3><a name="V2.9.9b_Interpreter"></a>Interpreter</h3><pre>
  442. Fixes bugs:
  443. - stream_compact used memcpy even though the source and destination
  444. might overlap.
  445. - filter applied to a closed file could cause a crash.
  446. </pre><h3><a name="V2.9.9b_Library"></a>Library</h3><pre>
  447. Fixes bugs:
  448. - putdeviceparams to a printer didn't close and reopen the device
  449. if only the page size or resolution was changed.
  450. </pre>
  451. <h2><a name="Version2.9.8"></a>Version 2.9.8 (6/20/94)</h2>
  452. <p>
  453. This is the first version that claims to be a full Level 2
  454. implementation.
  455. It was distributed to satisfy a contractual requirement.
  456. </p>
  457. <h3><a name="V2.9.8_Documentation"></a>Documentation</h3><pre>
  458. In make.doc:
  459. - Adds a reference to the generic System V section at the end of
  460. the SCO section.
  461. - Notes that DEC OSF/1 systems may require changing the name of the
  462. install program to installbsd.
  463. Updates drivers.doc to reflect the change from "properties" to
  464. "parameters".
  465. Updates the Aladdin Enterprises Free Public License to version 1.
  466. In language.doc, notes that certain device parameters will be phased out.
  467. </pre><h3><a name="V2.9.8_Procedures"></a>Procedures</h3><pre>
  468. Fixes bugs:
  469. - The file aa.ps was included in the distribution by mistake.
  470. Notes in the Unix makefiles that X11R6 probably needs SM and ICE added to
  471. XLIBS.
  472. </pre><h3><a name="V2.9.8_Utilities"></a>Utilities</h3><pre>
  473. Fixes bugs:
  474. - viewjpeg.ps used a non-existent file as its example.
  475. - A temporary string in wrfont.ps was allocated too small.
  476. Upgrades font2c.ps so it will handle (simple) Type 0 fonts as well as Type
  477. 1.
  478. </pre><h3><a name="V2.9.8_Drivers"></a>Drivers</h3><pre>
  479. Fixes bugs:
  480. - The TIFF drivers didn't byte-align each scan line.
  481. - gdevtfax.c applied &amp; to an array member of a structure.
  482. Changes the param_list interface slightly: Implementations of the
  483. put_params driver procedure should now use param_signal_error to report
  484. errors, and should not give up at the first error. (Even though this is a
  485. non-backward-compatible change, old implementations will continue to work;
  486. they just won't deliver complete results to the setpagedevice Policies
  487. machinery.)
  488. </pre><h3><a name="V2.9.8_Platforms"></a>Platforms</h3><pre>
  489. Fixes bugs:
  490. - Removes the time zone adjustment from gp_get_clock in gp_unix.c,
  491. since the value returned by all Unix systems is bogus.
  492. - The DV/X makefile still included the dfaxhigh and dfaxlow drivers.
  493. - gssetmod.com (VMS command file) didn't work properly if the
  494. argument list was empty.
  495. - vms.mak, vms-axp.mak, and modules.lis hadn't been updated to
  496. reflect changes in 2.9.7.
  497. - The MS Windows version wouldn't link (overflowed the 64K primary
  498. data segment).
  499. </pre><h3><a name="V2.9.8_Fonts"></a>Fonts</h3><pre>
  500. Makes the font substitution algorithm somewhat more intelligent.
  501. </pre><h3><a name="V2.9.8_Interpreter"></a>Interpreter</h3><pre>
  502. Fixes bugs:
  503. - Enumerating the pointers of a zero-length array of structures
  504. caused a divide by zero.
  505. - iref.h didn't protect itself against multiple inclusion.
  506. - The CCITTFaxEncode filter didn't byte-align the final
  507. end-of-block code if EndOfBlock and EncodedByteAlign were both true.
  508. - make_initial_dict in iinit.c used `name' as a formal parameter
  509. name, which some compilers believe conflicts with a typedef.
  510. - Not all internal operators had registered names.
  511. - The GC used memcpy, rather than bytes_copy, when compacting
  512. objects, even though the source and destination might overlap.
  513. - When debugging was enabled, gc_string_mark could give a spurious
  514. error indication.
  515. - vmstatus returned too small a value for the maximum VM.
  516. - The scanner could get into a loop when reading a radix-85 string.
  517. - The GC could get into a state where it was called after every
  518. allocation (because of the patch setting global = true in ireclaim).
  519. - The general path filling algorithm didn't skip regions that were
  520. completely outside the clipping box.
  521. - The gs_screen_enum structure contained a pointer (porder) that
  522. pointed into the middle of a structure, confusing the GC.
  523. Implements the BitmapWidths flag in fonts. The default of false means that
  524. we use scalable widths even with xfonts.
  525. Changes the Generic resource category so that ResourceFileName is optional.
  526. Changes the .getdeviceparams operator so that it takes an optional
  527. dictionary giving the set of keys whose values are wanted. Changes the
  528. .putdeviceparams operator so that it takes an optional policy dictionary
  529. specifying the action to be taken on errors, and returns a list of keys and
  530. errors if it fails, rather than causing an error. These are
  531. non-backward-compatible changes, but ordinary programs do not use these
  532. operators.
  533. Changes the names of some internal operators and procedures by adding
  534. a . to the beginning:
  535. currenttime
  536. devicename
  537. Implements currentpagedevice, and a small subset of setpagedevice. Only
  538. the following keys in the page device dictionary are known to the current
  539. implementation, and the ones marked with * are not actually processed:
  540. PageSize
  541. InputAttributes
  542. MediaColor, MediaWeight, MediaType, InsertSheet
  543. (for InputAttributes matching only)
  544. *ImagingBBox
  545. OutputAttributes
  546. OutputType
  547. (for OutputAttributes matching only)
  548. NumCopies
  549. HWResolution
  550. *Margins
  551. *Orientation (for all devices, not just roll devices)
  552. Policies
  553. Install
  554. BeginPage
  555. EndPage
  556. Does not implement:
  557. - Updating InputAttributes or OutputAttributes by sensing the state
  558. of the device;
  559. - Retrying media matching after an initial failure;
  560. - Automatic handling of portrait vs. landscape page size;
  561. - Recording the CTM after Install as the one to be used for
  562. defaultmatrix, initmatrix, and initgraphics.
  563. Also, media matching is normally disabled (with InputAttributes = null)
  564. for all devices. ****** We had to disable setpagedevice just before
  565. shipping this release, because of interactions with the older device
  566. handling machinery that we could not fix in the time available.
  567. </pre><h3><a name="V2.9.8_Library"></a>Library</h3><pre>
  568. Fixes bugs:
  569. - 24-bit color (mem_true24_fill_rectangle and _copy_mono) had
  570. algorithm bugs.
  571. - A complex conditional expression in gx_render_gray wouldn't
  572. compile properly with the DECStation 3100 Ultrix 4.3 compiler.
  573. - The GC routines for gx_device_clip didn't handle the case where
  574. the 'current' pointer pointed to list.single.
  575. - gx_add_char_bits used memcpy, rather than bytes_copy, for
  576. compressing character bitmaps, even though the source and destination might
  577. overlap.
  578. - Some compilers require the definition of st_gstate_contents to
  579. precede the definitions of the GC procedures.
  580. - Filling a large rectangle (more than 1K of bitmap) with a colored
  581. halftone overwrote random areas of the stack.
  582. Changes gs_setcachedevice[2] to take a pointer to an array of floats,
  583. rather than 6 or 10 individual floats. THIS IS A NON-BACKWARD-COMPATIBLE
  584. CHANGE.
  585. Implements the BitmapWidths flag in fonts.
  586. </pre>
  587. <h2><a name="Version2.9.7b"></a>Version 2.9.7-beta (6/5/94)</h2>
  588. <p>
  589. Yet another pre-3.0 beta. The main features are a fairly reliable
  590. garbage
  591. collector, and function prototypes almost everywhere they are needed.
  592. <h3><a name="V2.9.7b_Documentation"></a>Documentation</h3><pre>
  593. Fixes bugs:
  594. - The comment at the beginning of the zfindlibfile procedure was
  595. incorrect.
  596. Replaces the GNU License (the COPYING file) with version 0 of the new
  597. Aladdin Enterprises Free Public License (the PUBLIC file).
  598. </pre><h3><a name="V2.9.7b_Procedures"></a>Procedures</h3><pre>
  599. Fixes bugs:
  600. - The definition of cmykread.dev in gs.mak was incorrect (it
  601. modified color.dev).
  602. Adds the ability to specify a value for FONTPATH on the command line
  603. (-sFONTPATH=), overriding GS_FONTPATH.
  604. Replaces the -oper2 configuration resource type with the ability to specify
  605. in the op_def list the dictionary in which operators will be defined. (See
  606. opdef.h for more details.) This is an internal change only.
  607. </pre><h3><a name="V2.9.7b_Utilities"></a>Utilities</h3><pre>
  608. Fixes bugs:
  609. - viewgif.ps got an error on interlaced GIF files whose height
  610. wasn't a multiple of 8.
  611. Changes traceop.ps so it stores the traced operator in the same dictionary
  612. where the operator is currently defined, if possible.
  613. </pre><h3><a name="V2.9.7b_Drivers"></a>Drivers</h3><pre>
  614. Fixes bugs:
  615. - The new G3 fax drivers crashed on page widths greater than 2623
  616. (40 * 64 + 63) pixels. (We fixed this by disallowing page widths greater
  617. than approximately twice this.)
  618. - The 24-bit PCX driver had some debugging code accidentally left
  619. in it that produced large volumes of useless console output.
  620. Removes the previous (Leffler) TIFF/F driver and the TruFax driver.
  621. </pre><h3><a name="V2.9.7b_Platforms"></a>Platforms</h3><pre>
  622. Fixes bugs:
  623. - time_.h, gp_unix.c, and gp_sysv.c didn't do the right thing on
  624. SVR4 platforms, where gettimeofday only takes 1 argument.
  625. - The final linking command on Turbo C platforms didn't specify the
  626. COMPDIR directory for the linker.
  627. </pre><h3><a name="V2.9.7b_Fonts"></a>Fonts</h3><pre>
  628. Changes the standard Fontmap to use the URW contributed fonts as
  629. work-alikes for Helvetica and Times Roman.
  630. </pre><h3><a name="V2.9.7b_Interpreter"></a>Interpreter</h3><pre>
  631. Fixes bugs:
  632. - The garbage collector wasn't in a consistent state.
  633. - In Level 2 mode, statusdict was allocated in global VM rather
  634. than local VM.
  635. - resourceforall gave an error on the built-in categories such as
  636. Filter.
  637. - The file searching algorithm didn't check the current directory
  638. first.
  639. - When opening a file failed, it didn't return a different error
  640. depending on the problem.
  641. - The CCITTFaxEncode filter crashed on widths larger than 2623 (64
  642. * 40 + 63) pixels. (We fixed this by disallowing page widths greater than
  643. approximately twice this.)
  644. - The .type1getsbw operator gave an invalidfont error if a
  645. CharString started with anything other than a [h]sbw. (Adobe's published
  646. specs say this is invalid, but some Adobe MultiMaster fonts start with a
  647. callsubr and/or a callothersubr.)
  648. - When printing out the stack with == after an error, the error
  649. handler got a repeated (and ultimately fatal) typecheck error if it
  650. encountered an object of non-standard type.
  651. - The token operator could incorrectly attempt to free a structure
  652. on the stack if it encountered an input buffer boundary.
  653. - string_to_ref didn't correctly set the a_local flag in the string
  654. object it created.
  655. - If the -c switch was the last switch on the command line,
  656. Ghostscript always exited without going into interactive mode.
  657. - copy didn't check for errors when copying a dictionary.
  658. Makes many minor changes (mostly adding prototypes) to reduce error and
  659. warning messages from gcc and other strict compilers.
  660. Adds files containing the 4 predefined PDF encodings (MacRoman, MacExpert,
  661. WinAnsi, and PDFDoc).
  662. </pre><h3><a name="V2.9.7b_Library"></a>Library</h3><pre>
  663. Fixes bugs:
  664. - image_bbox in gxccman.c could produce a division by 0 if a
  665. 0-width character was being entered into the cache.
  666. - gx_image_cached_char incorrectly specified a scale of 2x2 rather
  667. than 1x1 if it had to read bits from an xfont.
  668. - Stale pointers in the halftone cache weren't cleared properly by
  669. a restore. (We fixed this by making grestoreall clear the halftone cache.)
  670. - setdash used gs_malloc, rather than the current allocator, for
  671. allocating the dash pattern.
  672. - If one attempted to fill a very wide region with a colored
  673. halftone, gx_dc_ht_colored_fill_rectangle would loop indefinitely.
  674. - The container_offset in clipping devices was set incorrectly,
  675. causing the garbage collector to mangle pointers.
  676. Changes the fopen routine in IODevices so that it can return an arbitrary
  677. error code, rather than simply succeeding or failing. THIS IS A
  678. NON-BACKWARD-COMPATIBLE CHANGE. It only affects IODevice implementations,
  679. of which there are very few. (It doesn't affect ordinary device drivers.)
  680. Changes the char_metrics xfont procedure so it returns the width as
  681. floating point numbers rather than integers. THIS IS A
  682. NON-BACKWARD-COMPATIBLE CHANGE. It only affects xfont implementations, of
  683. which there are very few.
  684. Makes many minor changes (mostly adding prototypes) to reduce error and
  685. warning messages from gcc and other strict compilers.
  686. </pre>
  687. <h2><a name="Version2.9.6b"></a>Version 2.9.6-beta (5/23/94, not
  688. distributed to the public)</h2>
  689. <p>
  690. This, too, was supposed to be the last beta release for public
  691. release 3.0.
  692. It was created primarily for a user who desperately needed a Level 1 system
  693. that would run properly on a 64-bit hardware architecture. The garbage
  694. collector is badly broken (it's in the middle of an architectural change);
  695. setpagedevice is still not implemented.
  696. <h3><a name="V2.9.6b_Documentation"></a>Documentation</h3>
  697. <pre>
  698. Documents the standard location of Type 1 fonts on AIX.
  699. Changes the last few mentions of Ghostview for Microsoft Windows to GSview
  700. for Windows.
  701. Notes that Solaris 2.n provides the X11 header files in a different place.
  702. Changes README to reflect the differentiation between Aladdin Ghostscript
  703. and GNU Ghostscript.
  704. </pre>
  705. <h3><a name="V2.9.6b_Procedures"></a>Procedures</h3>
  706. <pre>
  707. Fixes bugs:
  708. - The compilation rules for the modules that call the IJG library
  709. used -Ijpeg rather than -I$(JPEGSRC).
  710. - The rule for gslib.dev omitted echogs$(XE) as a prerequisite.
  711. Makes it possible to define the values of buildtime, copyright, revision,
  712. revisiondate, and serialnumber in the makefile.
  713. </pre><h3><a name="V2.9.6b_Utilities"></a>Utilities</h3><pre>
  714. Fixes bugs:
  715. - The viewgif.ps utility didn't handle local color tables.
  716. Updates ps2ai.ps to version 1.81.
  717. </pre><h3><a name="V2.9.6b_Drivers"></a>Drivers</h3><pre>
  718. Fixes bugs:
  719. - The TIFF and fax devices used some identical names, causing
  720. linker complaints.
  721. - The bj10e/bj200 driver inadvertently disabled the sheet feeder.
  722. (The change may not actually fix this bug, since we don't have either of
  723. these printers with a sheet feeder to test it on.)
  724. - The 'bit' device didn't map colors to pixel values correctly.
  725. - The monochrome PCL driver didn't work around the fact that the
  726. Canon LBP4i printer didn't clear its seed row correctly.
  727. Adds new drivers:
  728. - A user-contributed driver for the H-P DesignJet 650C.
  729. - A user-contributed driver for the Canon LIPS III printer.
  730. - A completely new tiffg3 driver with one based on the new, fast
  731. faxg3 code. This driver does not include any external code, and carries an
  732. Aladdin copyright.
  733. - A tiffg4 driver, also based on the fast CCITT filter code.
  734. Removes the tiffg3x driver that appeared briefly in 2.9.5, and renames the
  735. previous (Leffler) tiffg3 driver as tiffg3x.
  736. Adds support for A0, A1, and A2 paper sizes to PCL drivers.
  737. Changes all the names involving "props" to "params", for consistency with
  738. the header files, some other internal interfaces, and Adobe's terminology.
  739. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE. However, it only affects devices
  740. that implement their own get_props and put_props procedures, of which there
  741. aren't very many.
  742. </pre><h3><a name="V2.9.6b_Platforms"></a>Platforms</h3><pre>
  743. Fixes bugs:
  744. - The DV/X makefile used X11 rather than X for the X11 library name.
  745. - The DV/X makefile incorrectly included the PC display drivers.
  746. - The DV/X makefile omitted gp_dosfs.$(OBJ) from the list of
  747. platform-specific files.
  748. - The DV/X makefile used : rather than ; for separating directory
  749. names in GS_LIB_DEFAULT.
  750. - x_.h omitted a needed alias for XtAppSetFallbackResources.
  751. - The makefile entry for System V Unix systems didn't include
  752. gp_unifn.$(OBJ).
  753. - The comment before LDFLAGS in the gcc makefiles incorrectly
  754. suggested using the -x switch on Ultrix platforms.
  755. - The forward declaration of quant_params in zfdct.c upset the Sun
  756. compiler because it declared a parameter as float rather than floatp.
  757. * - The Microsoft C compiler, like the Borland C compilers, only
  758. compares the offset part of segmented pointers.
  759. </pre><h3><a name="V2.9.6b_Fonts"></a>Fonts</h3><pre>
  760. Adds a fontmap suitable for use with Adobe Type Basics.
  761. </pre><h3><a name="V2.9.6b_Interpreter"></a>Interpreter</h3><pre>
  762. Fixes bugs:
  763. - The STACK_LOOP_BEGIN macro in istack.h didn't work correctly on
  764. segmented systems.
  765. - The end_phase procedure in igc.c didn't work correctly on
  766. segmented systems.
  767. - Indexed color spaces didn't mark their base space properly when
  768. garbage collecting.
  769. - The garbage collector didn't work on segmented systems, because
  770. it smashed the lsize field of large objects with mark/reloc information.
  771. - Some structures didn't have correct associated GC procedures:
  772. gs_indexed_map, gs_client_pattern, gs_pattern_instance.
  773. - restore could free names or stack segments that were still
  774. referenced.
  775. * - If a packed object caused an error, the error object could be set
  776. to garbage rather than the correct object.
  777. * - Badly designed error handlers which use $error for temporary
  778. storage could cause a dictfull error.
  779. - Some compilers objected to the use of "dict" as a variable name
  780. in a scope where it was defined as a type.
  781. - IODevices were declared const and non-const inconsistently.
  782. - setpagedevice popped one object too many off the stack if the
  783. request included any subdictionaries that needed to be merged.
  784. - More garbage collector bugs were fixed.
  785. - If the current stack block was empty, Level 2 restore would give
  786. a spurious typecheck error.
  787. - The CCITTFaxEncode filter could get confused if it emptied the
  788. input and filled the output at the same time.
  789. - The CCITTFaxEncode filter could insert an extra EOL if it had to
  790. suspend at certain times.
  791. - The new parser for literal strings (as of 2.9.5) could mis-count
  792. internal parentheses if a parenthesis caused the internal buffer collecting
  793. the string to overflow.
  794. - If the current stack block had fewer than 3 elements,
  795. .type1addpath could report a spurious typecheck error.
  796. - Text rendering operations (show, stringwidth, etc.) caused a
  797. crash if the current color was a Pattern that hadn't already been
  798. rasterized.
  799. - If a program did a grestore when the graphics state stack was
  800. empty, the graphics state was initialized to unexpected (and, in some
  801. cases, invalid) values.
  802. - pathforall could cause a bogus stackoverflow if it overflowed the
  803. current stack block.
  804. - Closing an encoding filter with a procedure as target left the
  805. filter on the stack.
  806. * - The outer loop in dict_lookup() could cause an addressing fault
  807. on segmented machines when looking up Level 2 operators, because the offset
  808. could get decremented past 0.
  809. - There was an = instead of an == in a test in scanner_reloc_ptrs.
  810. - The call on gs_reloc_refs in sproc_reloc_ptrs in zfproc.c omitted
  811. the last (gcst) argument.
  812. (Re-)implements the 2-D case of CCITTFaxEncode, and fixes a couple of bugs
  813. in it.
  814. Adds DiffEncode and DiffDecode filters that implement color prediction for
  815. the PDF variant of the LZWDecode filter.
  816. Changes the specification of .oserrorstring to be similar to getenv,
  817. where, etc. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE; however, no
  818. user-written code should be using .oserrorstring.
  819. Adds oversampling for better character rasterizing.
  820. </pre><h3><a name="V2.9.6b_Library"></a>Library</h3><pre>
  821. Fixes bugs:
  822. - gx_dc_ht_colored_fill_rectangle gave a compiler warning because
  823. of a problem with const pointers.
  824. - dfmul2fixed_vars (in gxfixed.h) omitted the &amp; before vda on
  825. big-endian platforms, causing compilation errors.
  826. - IODevices were declared const and non-const inconsistently.
  827. - The Type 1 rasterizer never enabled overshoot suppression.
  828. - stroke didn't fatten the line properly if stroke adjustment was
  829. enabled, or if the line was horizontal or vertical.
  830. * - The clipping test for characters was too strict by almost 1
  831. pixel, leading to unnecessary clipping of text at the edge of the clipping
  832. box.
  833. * - The initial clipping box was computed incorrectly for devices
  834. whose initial transformation matrix included a rotation.
  835. Changed the implementation of clipping lists and show enumerators to use
  836. separate objects rather than embedded objects, to pacify the GC. (This is
  837. an internal change, not visible at the PostScript or API level.)
  838. Makes the character cache trim off left and right blank areas, as well as
  839. top and bottom. (Internal change.)
  840. Adds oversampling for better character rasterizing.
  841. </pre>
  842. <h2><a name="Version2.9.5b"></a>Version 2.9.5-beta (4/11/94)</h2>
  843. <p>
  844. This was supposed to be the last beta release before 3.0, but it
  845. won't be.
  846. The only known major defects are the unreliable garbage collector, and the
  847. dummy implementation of setpagedevice/currentpagedevice.
  848. <h3><a name="V2.9.5b_Documentation"></a>Documentation</h3>
  849. <pre>
  850. Fixes bugs:
  851. - The file commnew.doc didn't belong in the fileset.
  852. Notes in the makefiles that SVR4 systems may need to set EXTRALIBS=-lnsl.
  853. Adds a user-contributed `man' page for the ps2epsi utility.
  854. </pre><h3><a name="V2.9.5b_Procedures"></a>Procedures</h3><pre>
  855. Fixes bugs:
  856. - The IJG files didn't compile properly by themselves, because they
  857. didn't have $(AK) in their dependency list.
  858. Changes back the handling of files named on the command line, so that they
  859. are first sought in the current directory, and if that fails, use the
  860. search path. (2.9.4-beta changed things so that files on the command line
  861. did not use the search path, because as of that version, the search path
  862. doesn't necessarily include the current directory. I consider the "check
  863. the current directory and then use the search path" rule, which is the
  864. MS-DOS standard and was used in Ghostscript prior to 2.9.4, a serious
  865. mistake, since it is one of the best-known security holes in Unix and can
  866. also produce confusing and unexpected results depending on the current
  867. directory; I would much rather have a clear distinction between
  868. user-specified files, which should not use any path searching, and system
  869. files, that only use the defined search path. However, as of this moment,
  870. users seem to want the convenience at the expense of insecurity and
  871. confusion.)
  872. Adds '.' to the beginning of the search path for MS-DOS platforms, to
  873. conform to the usual MS-DOS file searching convention.
  874. Adds a -c ("code") switch, which interprets following arguments (until the
  875. next switch) as PostScript tokens.
  876. Changes the handling of FEATURE_DEVS so that either level1.dev or
  877. level2.dev must normally be selected. THIS IS A NON-BACKWARD-COMPATIBLE
  878. CHANGE for Level 1 systems, which formerly set FEATURE_DEVS to an empty
  879. definition.
  880. </pre><h3><a name="V2.9.5b_Utilities"></a>Utilities</h3><pre>
  881. Fixes bugs:
  882. - bench.ps didn't switch back to local VM properly before running
  883. the program being benchmarked.
  884. Adds a ppmsetpagesize command to the pstoppm utility.
  885. </pre><h3><a name="V2.9.5b_Drivers"></a>Drivers</h3><pre>
  886. Fixes bugs:
  887. - The PCX and GIF drivers used an incorrect algorithm for computing
  888. the blue component of the color palette, which could cause colors to come
  889. out with not quite enough blue.
  890. - The SPARCprinter driver wouldn't compile with non-ANSI compilers.
  891. Adds new drivers:
  892. - A user-contributed driver for DEC sixel displays like the VT240
  893. (sxlcrt, in gdevln03.c, which has a FSF copyright.)
  894. - A much larger and supposedly faster version of the TIFF/F driver
  895. (tiffg3x, in gdevtifx.c), contributed by a user. This has the same
  896. copyright as the TIFF/F driver (gdevtiff.c).
  897. - A driver (faxg3, in gdevfax.c) that produces plain Group 3 fax
  898. output with no header, using the CCITTFaxEncode filter to do the work.
  899. (This is around 2.5-3 times as fast as the other fax drivers distributed
  900. with Ghostscript.)
  901. - A user-contributed driver for the Mitsubishi CP50 color printer.
  902. Changes the `bit' driver so one can set the Colors and *Values properties.
  903. Makes the color mapping for PC displays, PCX files, and GIF files identical
  904. (they differed slightly before).
  905. </pre><h3><a name="V2.9.5b_Platforms"></a>Platforms</h3><pre>
  906. Fixes bugs:
  907. - VMS used DISPLAY rather than DECW$DISPLAY to get the display name
  908. if opening the display failed.
  909. - Many minor bugs relating to OS/2 and Win32 were fixed.
  910. - On Unix and DV/X platforms, the install script didn't mkdir
  911. $(gsdir), and didn't mkdir the intermediate directory for the man page.
  912. - On BSD and UTek platforms, the declaration of memset in
  913. memory_.h, and the definition in gsmisc.c, conflicted with the ANSI
  914. declaration.
  915. - One of the SPARC compilers compiled the intersection computation
  916. in arc_either (gspath.c) incorrectly.
  917. - The temporary file names created under OS/2 could exceed the 8.3
  918. length limit.
  919. </pre><h3><a name="V2.9.5b_Interpreter"></a>Interpreter</h3><pre>
  920. Fixes bugs:
  921. - The test files for the IJG library had been damaged by EOL
  922. conversion.
  923. - The garbage collector didn't mark some of the most recently
  924. created names.
  925. - The interpreter would sometimes report a typecheck instead of a
  926. stackunderflow.
  927. - If aload didn't have enough room on the stack, it would report a
  928. rangecheck rather than a stackoverflow.
  929. - zcontext wouldn't compile, because it hadn't been updated to the
  930. new GC interfaces.
  931. - The definition of private_st_stream_proc_state in ifilter.h ended
  932. with a semicolon, which upset some compilers.
  933. - load didn't check to make sure that the dictionaries it examined
  934. had read access.
  935. - cvrs didn't handle negative numbers in radix 2 or 3 properly.
  936. - The allocator could become confused if it was asked to allocate a
  937. large array.
  938. - readline gave an ioerror rather than a rangecheck if it
  939. overflowed the string.
  940. - The allocator didn't free packed arrays properly.
  941. - The allocator's check for LIFO freeing of arrays was off by 1, so
  942. it never succeeded.
  943. - The undercolor removal and black generation procedures weren't
  944. initialized properly.
  945. - If the interpreter couldn't find gs_init.ps, it returned a random
  946. exit code.
  947. - If an operator expected a procedure and didn't get one, it
  948. sometimes gave an invalidaccess rather than a typecheck.
  949. - Unix file enumeration often did the wrong thing if there were
  950. directories in the pattern.
  951. - The ASCIIHexDecode filter read an extra character after the
  952. terminating &gt;.
  953. - scalefont didn't fill in ScaleMatrix properly.
  954. - The CCITTFaxEncode filter crashed if the width of the page wasn't
  955. a multiple of 8 bits.
  956. - The error printing code used .languagelevel, which wasn't defined
  957. in Level 1 configurations.
  958. - setpagedevice didn't pop its argument.
  959. - Definitions in statusdict didn't change according to the current
  960. language level.
  961. - Separation color spaces didn't allow strings as color space names.
  962. - Due to a bug in chunk_locate_ptr, the garbage collector sometimes
  963. decided incorrectly that a pointer was pointing outside collectable space.
  964. - (Many other garbage collector bugs were fixed.)
  965. Implements additional Level 2 features:
  966. - Garbage collection for strings.
  967. - Expandable operand and dictionary stacks, and the ability to set
  968. the maximum size of these stacks.
  969. - Additional user and system parameters. The following are dummies:
  970. AccurateScreens, JobName, JobTimeout, WaitTimeout.
  971. - Procedure-based filters usable with cvx/exec and token.
  972. - Separation color spaces (always using the alternate space).
  973. (These were theoretically implemented in version 2.6, but they were
  974. never tested and were actually missing most of the implementation.)
  975. - VMThreshold and VMReclaim for invoking GC automatically.
  976. Adds a hook in iscan.c for parsing DSC comments.
  977. Adds encoding and decoding filters for the BCP and TBCP protocols. These
  978. are not fully implemented yet:
  979. - The interrupt and status request characters are ignored on input,
  980. and never generated on output;
  981. - The TBCP encoder doesn't emit the start-of-protocol string;
  982. - The TBCP decoder doesn't recognize the end-of-protocol string.
  983. Factors out Type 1 font capability as a separate feature.
  984. Changes the names of some files:
  985. packed.h to ipacked.h;
  986. bnum.h to ibnum.h.
  987. Changes the name of the value.index member of a ref to value.boolval.
  988. (Internal change only.)
  989. </pre><h3><a name="V2.9.5b_Library"></a>Library</h3><pre>
  990. Fixes bugs:
  991. - The definition of RELOC_PTRS_BEGIN in gsstruct.h wouldn't compile
  992. properly with non-ANSI compilers.
  993. - The JPEG library wouldn't compile properly with non-ANSI compilers.
  994. * - The platform font machinery gave up too easily in some cases.
  995. - CMYK devices needing halftoning converted the CMYK color to RGB.
  996. - The debugging code in arc_add (gspath.c) didn't print the output
  997. values correctly.
  998. Factors out Type 1 font capability as a separate feature.
  999. </pre>
  1000. <h2><a name="Version2.9.4b"></a>Version 2.9.4-beta (2/19/94)</h2>
  1001. <h3><a name="V2.9.4b_Procedures"></a>Procedures</h3>
  1002. <pre>
  1003. Changes Ghostscript's path searching algorithm so that it does not
  1004. automatically look in the current directory first. (The former algorithm
  1005. was more MS-DOS-like; the new one is more Unix-like.) If you want to
  1006. include the current directory, you must include '.' in the search path.
  1007. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE.
  1008. Adds two new resource types for genconf.c:
  1009. - -header filexxx.h adds #include "filexxx.h" to gconfig.h.
  1010. - -libpath dir adds dir to the list of library search paths.
  1011. </pre><h3><a name="V2.9.4b_Utilities"></a>Utilities</h3><pre>
  1012. Fixes bugs:
  1013. - impath.ps (used by bdftops) computed the starting X coordinate
  1014. incorrectly, typically causing characters to be displaced slightly to the
  1015. right.
  1016. - pstoppm.ps didn't handle local and global VM properly.
  1017. Adds a ps2ai.ps utility, contributed by a user, for converting arbitrary
  1018. PostScript files into a form compatible with Adobe Illustrator.
  1019. </pre><h3><a name="V2.9.4b_Drivers"></a>Drivers</h3><pre>
  1020. Adds new drivers:
  1021. - A user-contributed driver for Imagen Impress laser printers.
  1022. - A user-contributed driver for the DEC LA75plus printer.
  1023. </pre><h3><a name="V2.9.4b_Platforms"></a>Platforms</h3><pre>
  1024. Under OS/2, adds the ability to keep Ghostscript in memory for a
  1025. specified number of minutes.
  1026. Adds support for Win32 and Win32s.
  1027. Changes the MS Windows platform font interface so that it does not attempt
  1028. to render fonts at sizes smaller than 6 pixels. Changes the X Windows
  1029. interface, which already did this for 4-point and smaller fonts, to also
  1030. use a lower limit of 6 pixels. Also changes the X Windows platform font
  1031. machinery so it does not render fonts at sizes larger than 36 pixels: at
  1032. large sizes, Ghostscript does a perfectly good job, and some X font servers
  1033. rasterize the entire font and lock up the entire window system while doing
  1034. so.
  1035. </pre><h3><a name="V2.9.4b_Interpreter"></a>Interpreter</h3><pre>
  1036. Fixes bugs:
  1037. - currentdash always returned a new array of reals, rather than the
  1038. actual argument of setdash.
  1039. - Strings in binary object sequences read in as integers.
  1040. - Because of a bug in chunk_locate_ptr, some large objects didn't
  1041. get freed properly.
  1042. - If an error occurred while processing an image, Ghostscript would
  1043. attempt to free random blocks of storage.
  1044. - Input filters discarded trailing data, rather than filling it out
  1045. with zeros. (This is now fixed for ASCIIHexDecode and ASCII85Decode; it's
  1046. not clear what other filters it should affect.)
  1047. - The ASCII85Encode filter produced garbage output for the final
  1048. 1-4 bytes before EOD.
  1049. * - The TIFF output driver produced incorrect output for the second
  1050. and subsequent pages if the output was being produced on multiple files.
  1051. * - The default handleerror did a 'stop', which was not correct.
  1052. - gpcheck.h converted all positive return codes to 0 if interrupt
  1053. checking was enabled.
  1054. - Images with multiple data sources didn't work.
  1055. - Images with 12-bit sample values didn't work.
  1056. - Images with a file as the data source read additional data beyond
  1057. what was required.
  1058. - 2 vmreclaim worked (pretty much), but 1 vmreclaim didn't.
  1059. - If %lineedit was opened multiple times, characters from later
  1060. openings overwrote characters from earlier ones.
  1061. - token returned garbage for the "remaining string" result when
  1062. reading from a string, if it actually read all of the string. (New bug in
  1063. 2.9.2, probably.)
  1064. Implements additional Level 2 features:
  1065. - DCTEncode and DCTDecode filters.
  1066. - Filters with procedures as the data source or target.
  1067. (Except for token and cvx/exec.)
  1068. - Garbage collection for names.
  1069. Changes the error printout so that strings are always truncated at 200
  1070. characters.
  1071. For Level 2 systems, changes the initial setting of the object format
  1072. parameter from 0 to an appropriate non-zero value.
  1073. * Changes the .quit operator so that it takes two operands, an error object
  1074. and an error code; if the latter is negative, the interpreter returns this
  1075. as the error code, rather than e_Quit.
  1076. Makes StandardEncoding and ISOLatin1Encoding arrays, rather than packed
  1077. arrays, on large-memory systems, for compatibility with certain test
  1078. suites. Changes .registerencoding to accept arrays as well as packed
  1079. arrays.
  1080. </pre><h3><a name="V2.9.4b_Library"></a>Library</h3><pre>
  1081. Fixes bugs:
  1082. - Due to an error in cie_mult3, CIE-based colors were badly
  1083. mis-mapped.
  1084. * - Very narrow (but not empty) rectangles would disappear.
  1085. * - Small halftone cells could smash the next higher entry in the
  1086. halftone cache.
  1087. - The orientation algorithm in gxstroke.c still interchanged
  1088. clockwise and counter-clockwise coordinate systems (after having been
  1089. "fixed" at least 3 times).
  1090. - Stroking 1-pixel-wide lines shortened them, instead of
  1091. lengthening them, if non-butt caps were requested.
  1092. Refactors mem_mapped8_copy_mono because of limitations in the bcc32
  1093. compiler.
  1094. </pre>
  1095. <h2><a name="Version2.9.3b"></a>Version 2.9.3-beta (1/19/94)</h2>
  1096. <p>This version was created for evaluation purposes for a few users who
  1097. needed Level 2 capability; it was never released to anyone else, even
  1098. beta testers.
  1099. <h3><a name="V2.9.3b_Documentation"></a>Documentation</h3><pre>
  1100. Fixes bugs:
  1101. - The description of psview and xpsview was incorrect.
  1102. </pre><h3><a name="V2.9.3b_Procedures"></a>Procedures</h3><pre>
  1103. Changes the installation directories for Unix and similar systems to put
  1104. Ghostscript data in $(datadir)/ghostscript/gs-NN.NN.NN rather than directly
  1105. in $(datadir)/ghostscript. (Fonts still go in $(datadir)/ghostscript/fonts.)
  1106. </pre><h3><a name="V2.9.3b_Drivers"></a>Drivers</h3><pre>
  1107. Fixes bugs:
  1108. - Some spaces were incorrectly replaced with tabs in the help
  1109. message in the 3B1 display driver.
  1110. - The BMP driver wrote a spurious scan line at the beginning
  1111. of its output.
  1112. - The monochrome PCX driver had the two palette elements
  1113. interchanged.
  1114. Adds new drivers:
  1115. - A user-contributed driver for the Xerox XES printer format. This
  1116. has a FSF copyright.
  1117. - A user-contributed driver for the Epson AP3250 printer. (This is
  1118. the same as the Stylus 800, with slightly different margins.)
  1119. - A user-contributed driver for the DEC LA70 printer with some
  1120. algorithms for improving text at low resolutions. This has a FSF
  1121. copyright.
  1122. - A user-contributed driver for an intermediate-resolution mode
  1123. for 9-pin "Epson-compatible" printers.
  1124. Changes the name of the Stylus 800 driver from escp2 to st800.
  1125. Adds a compile-time flag to the Epson driver to cope with Panasonic 9-pin
  1126. printers, which sometimes have trouble mixing graphics and tabs.
  1127. </pre><h3><a name="V2.9.3b_Platforms"></a>Platforms</h3><pre>
  1128. Fixes bugs:
  1129. - The MS Windows driver (gp_mswin.c) referred to iodev.h rather
  1130. than gxiodev.h.
  1131. - On Unix System V platforms, gp_unifs.c and gdevpipe.c were
  1132. incorrectly omitted from the link list.
  1133. - (Some?) System V platforms don't have the S_ISDIR macro,
  1134. requiring a change in stat_.h.
  1135. - The Unix `install' target didn't install gs_std_e.ps and
  1136. gs_iso_e.ps.
  1137. - No MODULES.LIS file was provided for VMS.
  1138. Adds Desqview/X makefiles that actually work.
  1139. Documents the set of H-P-supplied patches needed to make H-P's
  1140. compilers process Ghostscript.
  1141. Changes the MS Windows driver so that if the user presses the Enter key
  1142. while the image window has the focus, the text window will be brought to
  1143. the top and made the active window. This is useful when viewing a
  1144. multi-page document with Ghostscript.
  1145. </pre>
  1146. <h3><a name="V2.9.3b_Interpreter"></a>Interpreter</h3><pre>
  1147. Fixes bugs:
  1148. - The definition of public_st_client_color() in gxccolor.h
  1149. included an extraneous semicolon.
  1150. - The definition of private_st_AXD_state() in sfilter.h included an
  1151. extraneous semicolon.
  1152. - saxx.c didn't include sfilter.h, which it needed for the
  1153. definition of private_st_AXD_state().
  1154. - ialloc_struct failed to create a separate chunk if the structure
  1155. was very large.
  1156. - setcolorspace didn't allocate the colorspace object in the same
  1157. VM space as the graphics state, causing problems when the colorspace was
  1158. freed.
  1159. - In rare circumstances, currentfile could return an empty array
  1160. rather than a file.
  1161. - Dictionary keys were always allocated in global VM.
  1162. - If NOPLATFONTS was true, definefont didn't check whether the
  1163. dictionary was read-only before trying to insert an ExactSize key.
  1164. - startjob could get an invalidaccess error, because serverdict was
  1165. allocated in global VM.
  1166. - Using definefont with an already registered font created a
  1167. circular list structure.
  1168. - If a PostScript procedure appeared as a CharString in a Type 1
  1169. font, it was always called with the character name, never the character
  1170. code.
  1171. - The SubFileDecode filter didn't work with a non-empty EOD string
  1172. (went into an endless loop). (Probably a new bug in 2.8.)
  1173. - save/restore didn't properly restore the maxlength of a
  1174. dictionary, causing data to get smashed at random. (New bug in 2.9.)
  1175. - save didn't mark objects as old, so a nested restore had no
  1176. effect. (New bug in 2.9.2.)
  1177. - After returning from an OtherSubrs callback, op_type1_free
  1178. freed the saved interpreter state incorrectly. (New bug in 2.7.)
  1179. - Level 1 configurations didn't work because .makeoperator gave an
  1180. invalidaccess error. (New bug in 2.9.2.)
  1181. - ASCII85 string literals didn't work. (Probably a new bug in 2.8.)
  1182. - If the current global/local allocation mode was different at the
  1183. end of a file than at the beginning, an addressing fault could occur
  1184. (gs_unregister_root in gs_run_string). (New bug in 2.9.2.)
  1185. - After a setfileposition on a file open for reading,
  1186. fileposition would return an incorrect value, even though the stream
  1187. was actually repositioned properly.
  1188. Brings the dictionary unpacking code for the DCT filters into line with
  1189. Adobe Technical Note 5116, which describes the Picky parameter for
  1190. DCTDecode and the NoMarker, Resync, Blend, Picky, and Relax parameters for
  1191. DCTEncode.
  1192. Changes the .quit operator so that if given a negative argument, the
  1193. interpreter returns this as the error code, rather than e_Quit.
  1194. Changes the Ghostscript integer version number from 100P+10S+T to
  1195. 10000P+100S+T.
  1196. Changes the default halftone screen for high-resolution devices, both
  1197. black-and-white and color.
  1198. </pre><h3><a name="V2.9.3b_Library"></a>Library</h3><pre>
  1199. Fixes bugs:
  1200. - The software floating multiply code used with USE_FPU=-1 only
  1201. worked on little-endian platforms.
  1202. - Specifying a left side bearing to .type1addpath produced an
  1203. inappropriate offset.
  1204. </pre>
  1205. <h2><a name="Version2.9.2b"></a>Version 2.9.2-beta (1/2/94)</h2>
  1206. <p>This version was distributed only to beta testers. It adds a garbage
  1207. collector and full local and global VM support. It is the first version
  1208. that sets languagelevel = 2, i.e., claims to be a Level 2 implementation.
  1209. <h3><a name="V2.9.2b_Documentation"></a>Documentation</h3><pre>
  1210. Fixes bugs:
  1211. - make.doc still referred to use_* variables in gdevx.c, and
  1212. use.doc didn't explain the use* X resources.
  1213. Notes that -Olimit=1000 is needed to compile Ghostscript on AXP systems
  1214. under OSF/1 1.3.
  1215. </pre>
  1216. <h3><a name="V2.9.2b_Utilities"></a>Utilities</h3><pre>
  1217. Fixes bugs:
  1218. - viewgif.ps did not work with interlaced images.
  1219. - font2c.ps omitted gsmemory.h from the #include list in compiled
  1220. fonts.
  1221. </pre><h3><a name="V2.9.2b_Drivers"></a>Drivers</h3><pre>
  1222. Fixes bugs:
  1223. - The MS Windows driver hadn't been updated to work with the
  1224. new additions to the gx_device structure.
  1225. - The BMP file driver wrote one scan line too many.
  1226. - The cdj driver omitted an important cast to int in the error
  1227. diffusion code (FSdither macro).
  1228. Changes the SuperVGA drivers to recognize erasepage and reset the
  1229. color table, like the X driver.
  1230. Adds some fragmentary code to begin implementing the PostScript fax
  1231. extensions.
  1232. </pre><h3><a name="V2.9.2b_Platforms"></a>Platforms</h3><pre>
  1233. Fixes bugs:
  1234. - The procedure initializers for the MS Windows console I/O
  1235. were missing the new reset element.
  1236. - The makefile entry in bcwin.mak used -fdev rather than -iodev.
  1237. - The Borland C++ makefiles exceeded MS-DOS's line length limit if
  1238. the compiler files were in the standard Borland directory (BORLANDC).
  1239. - Some procedures weren't declared with prototypes in gp_vms.c.
  1240. - Some declarations had to be reordered to pacify the VAX compiler.
  1241. - Under MS Windows, Ghostscript didn't automatically de-iconify the
  1242. text window to display messages on an error exit.
  1243. - The Unix makefile rule for gconfig_.h used echogs rather than
  1244. ./echogs.
  1245. - The Microsoft C makefile referred to an obsolete file gs.tr.
  1246. - gp_unifs.c used strpbrk and strrchr, which some systems lack.
  1247. Updates the OS/2 code and documentation for compatibility with the current
  1248. Ghostscript version.
  1249. </pre><h3><a name="V2.9.2b_Fonts"></a>Fonts</h3><pre>
  1250. Fixes bugs:
  1251. - The X11 .pfa fonts replaced their .gsf requirements in the
  1252. fontmap, but not distributed with the previous (beta) release.
  1253. Adds fontmaps appropriate for use with DEC Ultrix and OSF/1 systems.
  1254. </pre><h3><a name="V2.9.2b_Interpreter"></a>Interpreter</h3><pre>
  1255. Fixes bugs:
  1256. - 4-value entries in the Metrics dictionary were interpreted with
  1257. the width and side bearing interchanged.
  1258. - Objects large enough to require their own chunk were not freed
  1259. properly.
  1260. - The GS_FONTPATH scanner didn't deal with the possibility that
  1261. opening a file might fail.
  1262. - The interrupt and timeout errors incorrectly pushed an error
  1263. object on the operand stack.
  1264. - imagemask gave an error if it was invoked with a dictionary
  1265. argument with a current color space with more than 1 parameter.
  1266. - definefont insisted that a new font not have a FID entry.
  1267. - Some places didn't cast char to byte when needed.
  1268. - An extra element was left on the stack when substituting the
  1269. default font for a font whose file couldn't be found.
  1270. - The CCITTFaxDecode filter didn't allow the dictionary to be
  1271. omitted. (The Adobe documentation doesn't allow this, but Adobe
  1272. implementations do.)
  1273. - When the input came from a pipe (`-') switch, opening a filter on
  1274. currentfile that required more than 1 input byte to make progress would
  1275. cause Ghostscript to hang (in sreadbuf).
  1276. - The interpreter didn't call gs_set_lib_paths before executing a
  1277. compiled-in initialization file.
  1278. - A stream could be closed more than once. (New bug in 2.8.)
  1279. - The LZW decoder produced incorrect output if a code string was
  1280. too long to fit into a single output buffer. (New bug as of 2.8.)
  1281. Implements a special check in def to allow construction of systemdict,
  1282. which is stored in global VM but references dictionaries in local VM.
  1283. Implements additional Level 2 features:
  1284. - %null% and %ram% IODevices.
  1285. - startjob, exitserver.
  1286. - Local and global VM (finish).
  1287. - Garbage collection (for everything except names and strings).
  1288. Moves the procedures for selecting paper size from systemdict to userdict.
  1289. Sets languagelevel to 2 in Level 2 mode, since essentially all of
  1290. Level 2 is now implemented.
  1291. Factors out the Level 1 extended color facilities (CMYK color and
  1292. colorimage) as a separate configuration feature.
  1293. Adds some preliminary code to begin implementing the Adobe BCP and TBCP
  1294. communication protocols.
  1295. Changes the implementation of save and restore so that the bookkeeping
  1296. structures are allocated in the new area, not the old. (This is an
  1297. internal change not visible at the PostScript level.)
  1298. </pre><h3><a name="V2.9.2b_Library"></a>Library</h3><pre>
  1299. Fixes bugs:
  1300. - gdevprn used some preprocessor macros in formal argument
  1301. lists that ansi2knr couldn't handle.
  1302. - pick_cell_size called gs_distance_transform with a 0 argument
  1303. that non-ANSI compilers didn't automatically promote to floating point.
  1304. - gs_screen_init called hypot with integer arguments that
  1305. non-ANSI compilers didn't automatically promote to floating point.
  1306. - Some places didn't cast char to byte when needed.
  1307. - The vx/vy origin adjustment for WMode=1 wasn't implemented.
  1308. - The pattern cache wasn't initialized properly.
  1309. - Composite fonts didn't properly decode strings that started with
  1310. an escape sequence, which have a special (undocumented) decoding rule, and
  1311. also didn't properly decode strings with multiple consecutive escape
  1312. sequences.
  1313. Factors out the Level 1 extended color facilities (CMYK color and
  1314. colorimage) as a separate configuration feature.
  1315. </pre>
  1316. <h2><a name="Version2.9.1b"></a>Version 2.9.1-beta (12/7/93)</h2>
  1317. <p>This version was distributed only to beta testers.
  1318. <h3><a name="V2.9.1b_Utilities"></a>Utilities</h3><pre>
  1319. Adds a viewgif.ps utility to view GIF files. The current version does not
  1320. work with interlaced data, local color tables, or files containing more
  1321. than one image.
  1322. </pre><h3><a name="V2.9.1b_Interpreter"></a>Interpreter</h3><pre>
  1323. Fixes bugs:
  1324. - putinterval and copy didn't do the right thing if the source and
  1325. destination were aliases for overlapping sections of the same array or
  1326. string.
  1327. - The DCT filter stub didn't allow the dictionary to be omitted.
  1328. (The Adobe documentation doesn't allow this, but Adobe implementations
  1329. do.)
  1330. Adds an optional dictionary argument to the LZWDecode filter, containing
  1331. InitialCodeLength, FirstBitLowOrder, BlockData, and EarlyChange entries.
  1332. Setting these parameters appropriately allows reading (non-interlaced) GIF
  1333. data directly.
  1334. </pre><h3><a name="V2.9.1b_Library"></a>Library</h3><pre>
  1335. Fixes bugs:
  1336. - setdash produced inverted output if the pattern had an odd
  1337. number of elements and the offset O had the property that L &lt;= O mod
  1338. 2*L, where L was the sum of the pattern elements.
  1339. </pre>
  1340. <h2><a name="Version2.9b"></a>Version 2.9-beta (12/6/93)</h2>
  1341. <p>Like 2.7, this version was created to satisfy a contractual
  1342. requirement,
  1343. and will never be distributed to anyone other than the other party to the
  1344. contract.
  1345. <h3><a name="V2.9b_Documentation"></a>Documentation</h3><pre>
  1346. Notes that Ghostscript runs on IBM PCs and compatibles under DR DOS
  1347. 6.0.
  1348. Notes that Ghostscript will run on IBM PCs and compatibles with
  1349. Hercules display cards if you redirect text output to a file.
  1350. Notes that the alternate DeskJet 500C driver (djet500c) does not work
  1351. on the 550C.
  1352. Gives a list of system-specific directories where Type 1 fonts are
  1353. likely to be installed, as a suggested setting for GS_FONTPATH.
  1354. </pre><h3><a name="V2.9b_Procedures"></a>Procedures</h3><pre>
  1355. Changes the distribution script so that it stores all text files in the
  1356. main source archive with Unix end-of-line conventions, but with DOS
  1357. end-of-line conventions in the MS-DOS-specific archive.
  1358. Changes the MS-DOS, MS Windows, and OS/2 makefiles so that 486SX and 486DX
  1359. processors are different CPU_TYPEs. (The former, designated by
  1360. CPU_TYPE=485, does not include an on-chip FPU.)
  1361. Adds a line to gs_init.ps which can be uncommented to select A4 as
  1362. the default paper size.
  1363. Adds a definable CFLAGS macro to the makefiles, allowing -DA4 to
  1364. select A4 as the default paper size.
  1365. Adds the H-P printer drivers to the standard Unix configurations.
  1366. </pre><h3><a name="V2.9b_Utilities"></a>Utilities</h3><pre>
  1367. Fixes bugs:
  1368. - If there were no unencoded characters, prfont.ps would get
  1369. an error.
  1370. Changes ansi2knr to accept a wider range of function declaration syntax,
  1371. and to not depend on any Ghostscript header files.
  1372. </pre><h3><a name="V2.9b_Drivers"></a>Drivers</h3><pre>
  1373. Fixes bugs:
  1374. - Several drivers (DigiFax, Epson LQ-2550, NEC P6) didn't handle
  1375. A4 paper width.
  1376. - The IBM ProPrinter wasn't being initialized properly.
  1377. - The Epson driver didn't work properly with compilers that
  1378. insisted on 'char' being a signed type.
  1379. - The Epson driver ignored its end_string argument, producing
  1380. incorrect end-of-page behavior on some printers.
  1381. Adds new drivers:
  1382. - User-contributed drivers for Bellcore MGR (a window manager most
  1383. commonly used with OS-9) devices.
  1384. - A user-contributed driver for the CIF file format.
  1385. - A user-contributed driver for the HP 2563B line printer.
  1386. Changes the LaserJet 2p, 3, and 4 drivers so they set the initial position
  1387. to (0,0) rather than (0,0.25"). (I don't remember why it was the other
  1388. way.)
  1389. Implements the PageCount property in all drivers, not just printer
  1390. drivers.
  1391. Introduces a new gx_tile_bitmap type, and changes the tile_rectangle
  1392. device procedure to take it in place of gx_bitmap. THIS IS A
  1393. NON-BACKWARD-COMPATIBLE CHANGE. However, it only affects devices that
  1394. implement their own tile_rectangle procedures, of which there aren't very
  1395. many.
  1396. </pre><h3><a name="V2.9b_Platforms"></a>Platforms</h3><pre>
  1397. Fixes bugs:
  1398. - The VMS module lists referred to SDCTD and SDCTE instead of
  1399. SDCT.
  1400. - The Unix install script tried to install the non-existent file
  1401. readme.doc.
  1402. - Microsoft C does something bizarre with empty macro parameters,
  1403. which caused a problem with the gs_struct_type_... macros.
  1404. - The Unix platforms didn't automatically handle the presence
  1405. or absence of &lt;dirent.h&gt;.
  1406. - The DEC Alpha OSF/1 1.3 library lacks `const' in the prototype
  1407. for popen, which requires a workaround.
  1408. - The DEC Alpha OSF/1 1.3 X Windows library uses `private' as a
  1409. member name.
  1410. Splits off gp_unifs.c, containing code common to "Unix-like" file systems.
  1411. Adds a user-contributed OS-9 platform.
  1412. </pre><h3><a name="V2.9b_Interpreter"></a>Interpreter</h3><pre>
  1413. Fixes bugs:
  1414. - The currentfile cache wasn't updated properly if an executable
  1415. file appeared in the middle of a procedure. In particular, eexec-encoded
  1416. .PFB fonts often didn't work.
  1417. - There was an extraneous `goto top' in scfd.c.
  1418. - An integer constant overflowed in iname.c.
  1419. - -2147483648 (i.e., -1 &lt;&lt; 31) was converted to a float.
  1420. - eexec didn't skip the first 4 characters correctly if they were
  1421. split across a buffer boundary.
  1422. - The font/matrix pair cache didn't properly free entries with only
  1423. an XUID that was being deallocated.
  1424. Implements additional Level 2 features:
  1425. - Patterns, makepattern, setpattern.
  1426. - IODevice resource, setdevparams, currentdevparams.
  1427. - OutputDevice resource, setpagedevice, currentpagedevice.
  1428. (Partially implemented.)
  1429. Adds a new type t_struct to handle miscellaneous types that are allocated
  1430. as objects and that the interpreter doesn't handle specially, and changes
  1431. condition, fontID, gstate, lock, and save types to use t_struct. (This is
  1432. an internal change, not visible at the language level.)
  1433. Moves the maxlength of a dictionary to its own ref, eliminating the "size
  1434. of integer" hack. (This is an internal change, not visible at the
  1435. language level.)
  1436. Adds the last OS error number to the error printout.
  1437. Removes the obsolete framedevice operator.
  1438. Implements resetfile (the only Level 1 operator not yet implemented!).
  1439. Changes the name of the getdevice operator to .getdevice.
  1440. </pre><h3><a name="V2.9b_Library"></a>Library</h3><pre>
  1441. Fixes bugs:
  1442. - A couple of necessary casts from char * to byte * were omitted.
  1443. - A Sun compiler required an extra cast to (void *) in the e1
  1444. macro in clip_rect_enum_ptrs in gxcpath.c.
  1445. - The gx_dc_ procedures defined in gxdraw.c weren't marked as
  1446. 'private'.
  1447. - The number of "on" pixels in a halftone cell sometimes varied by
  1448. 1 from cell to cell.
  1449. - Mapping a gray level to CMYK didn't subtract it from 1 (to
  1450. produce the K component).
  1451. * - charpath took hints into account.
  1452. Shuffles the order of some declarations to pacify the VMS C compiler.
  1453. </pre>
  1454. <hr>
  1455. <h2><a name="Version2.8b"></a>Version 2.8-beta (11/10/93)</h2>
  1456. <p>This version was distributed only to beta testers. It adds Type 0
  1457. font
  1458. support. It also includes extensive redesign of streams (to eventually
  1459. support procedure streams) and device properties (to eventually support
  1460. get/setpagedevice and get/setdevparams).
  1461. <h3><a name="V2.8b_Documentation"></a>Documentation</h3>
  1462. <pre>
  1463. Notes the change in X11 foreground/background handling.
  1464. Changes README so it no longer claims that Ghostscript works with X11R3.
  1465. Notes (in devs.mak) that the cdjmono driver is the best one to use for the
  1466. DeskJet 510.
  1467. </pre><h3><a name="V2.8b_Procedures"></a>Procedures</h3><pre>
  1468. Fixes bugs:
  1469. - echogs wasn't always invoked with ./ on Unix systems.
  1470. Changes the file name unix-ansi.mak to unixansi.mak, so it can be created
  1471. on a MS-DOS system.
  1472. Adds a new "feature", ccinit.dev, which compiles and links the
  1473. initialization files (gs_*.ps) into the executable, just as ccfonts.dev
  1474. compiles and links fonts. If ccinit and ccfonts are both selected, the
  1475. only external file needed at run time is Fontmap. Note that you must have
  1476. a working version of Ghostscript already in order to create a version that
  1477. uses the ccinit feature, just as for ccfonts.
  1478. </pre><h3><a name="V2.8b_Utilities"></a>Utilities</h3><pre>
  1479. Fixes bugs:
  1480. - the ps2image utility didn't put a %! on the first line of the
  1481. output.
  1482. </pre><h3><a name="V2.8b_Drivers"></a>Drivers</h3><pre>
  1483. Fixes bugs:
  1484. - The Hercules display driver didn't include definitions for
  1485. outport2 and PAGE_HEIGHT_INCHES, which it uses.
  1486. - The BGI driver didn't call setactivepage or setvisualpage,
  1487. which it needs to do in general.
  1488. - The Apple DMP driver declared dmp_print_page rather than
  1489. appledmp_print_page, causing a compilation error.
  1490. Changes the X11 driver so that it doesn't use the default foreground and
  1491. background colors: you must set foreground and background explicitly for
  1492. Ghostscript if you want them to be other than black and white
  1493. respectively.
  1494. Adds new user-contributed drivers for:
  1495. - The StarJet 48 inkjet printer;
  1496. - The Linux VGALIB display interface.
  1497. - OS/2 Presentation Manager.
  1498. Changes the margins of the Epson driver to 0.2, 0.0, 0.0, 0.0, which
  1499. more accurately reflect the printer's capabilities.
  1500. Changes the get_props and put_props device procedures to take property
  1501. list "objects" with a procedural interface, rather than a data structure
  1502. interface. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE. It affects all
  1503. get_props and put_props procedures. Fortunately, there were only a few
  1504. devices that implemented their own get_props and put_props procedures (the
  1505. H-P color printers, and the three window systems -- X Windows, MS Windows,
  1506. and OS/2 PM).
  1507. </pre><h3><a name="V2.8b_Platforms"></a>Platforms</h3><pre>
  1508. Fixes bugs:
  1509. - The meaning of the -p switch for the Watcom compile-and-link
  1510. program was changed between Watcom C/386 versions 8.5 and 9.5, causing the
  1511. make process to malfunction.
  1512. - The SCFTAB and SCFDTAB modules were omitted from the VMS link
  1513. list.
  1514. Adds user-contributed code for OS/2.
  1515. Removes the assumption that an 80486 CPU implies the presence of hardware
  1516. floating point, since the 486SX and Cyrix 486SLC don't have it.
  1517. </pre><h3><a name="V2.8b_Fonts"></a>Fonts</h3><pre>
  1518. Fixes bugs:
  1519. * - The GS_FONTPATH scanner didn't recognize .PFB fonts beginning
  1520. with %!PS-AdobeFont.
  1521. * - The GS_FONTPATH scanner often didn't recognize .PFB fonts at all.
  1522. - Type 1 fonts always set the line join, line cap, and miter limit
  1523. to known values, rather than using the current values. (Using the current
  1524. values doesn't make much sense, but it's apparently what the Adobe
  1525. implementations do.)
  1526. - DISKFONTS didn't work, because of the change in the Ghostscript
  1527. fonts to do a systemdict begin/end (in version 2.7.1).
  1528. </pre><h3><a name="V2.8b_Interpreter"></a>Interpreter</h3><pre>
  1529. Fixes bugs:
  1530. - == didn't produce exactly the same output as the Adobe
  1531. interpreters. (Some automated debugging and testing programs care.)
  1532. - The CCITTFaxEncode filter could get caught in an infinite loop,
  1533. because it failed to mask a byte datum when scanning for runs of black
  1534. pixels.
  1535. - The write operator gave an error for values outside the range 0
  1536. to 255, rather than just using the low-order 8 bits.
  1537. - Some applications call a statusdict procedure named
  1538. setresolution without checking first whether it is present; Ghostscript
  1539. didn't provide one.
  1540. - Reading from a closed stream caused an error instead of
  1541. returning EOF.
  1542. - Input streams didn't close automatically at EOF.
  1543. - findfont was defined as an operator, not a procedure.
  1544. - closefile on a closed file gave an error. (It isn't obvious
  1545. that the Adobe documentation specifies that it shouldn't, but that's what
  1546. Adobe says they do.)
  1547. - The LZWDecode filter didn't handle codes representing strings
  1548. longer than the buffer size correctly.
  1549. - The LZWDecode filter only allowed 4095 codes to be used, rather
  1550. than 4096.
  1551. - The rand operator produced an infinite string of zeros if
  1552. given 0 or 0x7fffffff as the seed.
  1553. - When a CDevProc procedure was called, there was an extra
  1554. copy of the character name on the operand stack below the operands of
  1555. CDevProc.
  1556. Replaces all stream implementations with new ones designed to allow
  1557. interruption at arbitrary times. ****** The 2-D case of CCITTFaxEncode
  1558. hasn't been converted (but it probably didn't work before, either).
  1559. Implements additional Level 2 features:
  1560. - Type 0 (composite) fonts.
  1561. Adds an eexecEncode filter.
  1562. Implements setcolorscreen, which was accidentally omitted from 2.7.
  1563. </pre><h3><a name="V2.8b_Library"></a>Library</h3><pre>
  1564. Fixes bugs:
  1565. * - In colorimage, if the color space of the image was different
  1566. from the current color space, and the first data values on a scan line
  1567. were zeros, the wrong color could result.
  1568. - The new flatness testing algorithm could overflow, producing
  1569. straight lines or obvious polygons instead of curves.
  1570. - Images could fail to display pixels after the first non-blank
  1571. pixel on a line if halftoned color was required. (This bug was probably
  1572. introduced in 2.7.)
  1573. - Interpolation between transfer map entries didn't work, because
  1574. of a rounding/truncation bug in frac2bits (bug introduced in 2.7.1.)
  1575. - cshow did an extra grestore at the end.
  1576. * Implements a hack to slightly displace 1-bit-wide or -high images. This
  1577. is necessary to work around a bug in TeX (or dvips?), which uses such
  1578. images to draw horizontal and vertical lines without positioning them to
  1579. ensure that they cover device pixel centers.
  1580. Adds support for composite fonts (no new client procedures).
  1581. </pre>
  1582. <hr>
  1583. <h2><a name="Version2.7.2b"></a>Version 2.7.2-beta (10/11/93)</h2>
  1584. <p>This version was distributed only to alpha testers.
  1585. <h3><a name="V2.7.2b_Utilities"></a>Utilities</h3><pre>
  1586. Fixes bugs:
  1587. - prfont.ps didn't print unencoded characters.
  1588. Improves mergeini.ps to remove embedded comments.
  1589. </pre><h3><a name="V2.7.2b_Interpreter"></a>Interpreter</h3><pre>
  1590. Fixes bugs:
  1591. - An error occurring within the scope of an internal .stopped
  1592. didn't pop the command and error name off the stack.
  1593. * - The = and == procedures weren't re-entrant.
  1594. * Adds a .writecvs operator that does a cvs to an internal string followed
  1595. by a writestring.
  1596. </pre><h3><a name="V2.7.2b_Library"></a>Library</h3><pre>
  1597. Fixes bugs:
  1598. - grestore freed the path and the clip path in an order that
  1599. was likely to lead to memory sandbars.
  1600. - moveto + closepath didn't actually close the path.
  1601. - moveto + reversepath produced an empty path (no moveto).
  1602. - moveto + closepath + reversepath produced an extra lineto.
  1603. - reversepath didn't set the current point to the end (i.e., the
  1604. former beginning) of the last subpath.
  1605. Adds a "planar" memory device.
  1606. </pre>
  1607. <h2><a name="Version2.7.1b"></a>Version 2.7.1-beta (10/4/93, not distributed to the public)</h2>
  1608. <p>Like 2.7, this version was created to satisfy a contractual
  1609. requirement,
  1610. and will never be distributed to anyone other than the other party to the
  1611. contract.
  1612. <h3><a name="V2.7.1b_Documentation"></a>Documentation</h3><pre>
  1613. Documents the GS_OPTIONS environment variable.
  1614. Adds a summary of all environment variables to the documentation
  1615. (use.doc).
  1616. Documents the existence of a third free viewer built on Ghostscript.
  1617. </pre><h3><a name="V2.7.1b_Utilities"></a>Utilities</h3><pre>
  1618. Fixes bugs:
  1619. - wrfont didn't wrap a systemdict begin / end around the body of
  1620. the font.
  1621. - wrfont wrote out the Symbol and ZapfDingbats encodings in a way
  1622. that only worked if the encoding was known by name.
  1623. Changes bdftops to include an XUID if desired.
  1624. Changes bdftops so that it uses 'show' for unknown ligatures, rather than
  1625. executing the characters as subroutines; this makes such ligatures work
  1626. properly with xfonts.
  1627. </pre><h3><a name="V2.7.1b_Drivers"></a>Drivers</h3><pre>
  1628. Fixes bugs:
  1629. - The PCL drivers sent a printer reset (&lt;ESC&gt;E) at the beginning
  1630. of every page, instead of only before the first page.
  1631. - The PCX driver didn't round up the scan line width in the
  1632. header, even though it produced scan lines with the correct (rounded)
  1633. number of bytes.
  1634. Adds a new map_rgb_alpha_color procedure. This is a backward-compatible
  1635. change; this procedure defaults to calling map_rgb_color.
  1636. </pre><h3><a name="V2.7.1b_Platforms"></a>Platforms</h3><pre>
  1637. Fixes bugs:
  1638. - On Unix platforms, the value of the TEMP environment variable
  1639. had to end with a '/'.
  1640. - On MS-DOS systems, printer output to devices other than PRN
  1641. (specifically, LPTn) didn't put the device into binary mode.
  1642. Adds FPU_TYPE to the Unix makefiles, with a default value of 1.
  1643. Removes the mention of Xmu linking problems on the SunOS platform,
  1644. since the problem no longer exists.
  1645. Changes the order of X Windows libraries from Xt X11 Xext to Xt Xext X11.
  1646. This makes the OSF/1 linker happier.
  1647. </pre><h3><a name="V2.7.1b_Fonts"></a>Fonts</h3><pre>
  1648. Fixes bugs:
  1649. - All the fonts originated by Aladdin, and the shareware fonts,
  1650. had UniqueIDs in the 4xxxxxx range, which is only supposed to be used for
  1651. limited-distribution fonts.
  1652. * - When Ghostscript loaded a font, it pushed a scratch dictionary
  1653. on the dictionary stack, rather than userdict. (Note that this fix also
  1654. requires fixing the fonts to include a protective systemdict begin /
  1655. end; see below.)
  1656. * - When loading a font failed, Ghostscript didn't check the font
  1657. name against the default font name properly.
  1658. - Ghostscript's own fonts didn't include a systemdict begin /
  1659. end to guard against redefinition of names used in the reading
  1660. procedures (e.g., index).
  1661. * - When Ghostscript scanned a .PFB font to get the FontName, it
  1662. didn't skip over the 6-byte header, which could cause confusion or a
  1663. syntaxerror.
  1664. - Loading a .PFB font that left extra information on the
  1665. operand stack didn't work.
  1666. Changes the ZapfDingbats font to use DingbatsEncoding rather than include
  1667. a copy of the encoding in itself, if DingbatsEncoding is known. Changes
  1668. the Symbol font similarly.
  1669. Removes eexec encryption from the 4 URW fonts, so they will work with
  1670. DISKFONTS.
  1671. Adds shareware Hiragana and Katakana fonts (Calligraphic-Hiragana and
  1672. Calligraphic-Katakana, by Kevin Hartig).
  1673. Adds GS on the end of the family names of all of Aladdin's own converted
  1674. fonts.
  1675. Replaces many of the Hershey fonts with new ones (mostly Type 1) created
  1676. by Thomas Wolff, who added accents, accented characters, and other
  1677. non-alphabetics. These too now have proper UniqueIDs.
  1678. </pre><h3><a name="V2.7.1b_Interpreter"></a>Interpreter</h3><pre>
  1679. Fixes bugs:
  1680. * - imagemask interpreted the Decode array incorrectly (inverted).
  1681. - Running out of memory when constructing a path incorrectly
  1682. signalled a limitcheck rather than a VMerror.
  1683. - restore didn't purge uncached scaled fonts properly.
  1684. Adds alpha (opacity) to the graphics state, and setalpha and
  1685. currentalpha operators.
  1686. Redefines erasepage in terms of a new .fillpage operator that fills
  1687. the current page with the current color and then does a sync_output.
  1688. Redefines setdevice and putdeviceprops in terms of new .setdevice and
  1689. .putdeviceprops operators that return a boolean indicating whether the
  1690. page needs to be erased. With this change, operators that erase the page
  1691. always call erasepage at the interpreter level rather than calling
  1692. gs_erasepage directly.
  1693. </pre><h3><a name="V2.7.1b_Library"></a>Library</h3><pre>
  1694. Fixes bugs:
  1695. - The null device allowed its size to be reset.
  1696. - clippath didn't establish a current point if the clipping
  1697. path was empty.
  1698. * - The Type 1 font interpreter (gs_type1_interpret) flattened
  1699. curves even if it was being invoked for charpath.
  1700. - Colored halftones usually didn't come out with the correct
  1701. phase, and had several other problems.
  1702. - A show or charpath within a BuildChar procedure didn't work.
  1703. - Accented characters composed with seac used the base
  1704. character width instead of the composed character width. (The Adobe
  1705. documentation says these must be the same, but some commercial fonts
  1706. don't obey this.)
  1707. - setcurrentpoint in the accent of a character composed with
  1708. seac didn't take the accent's displacement into account.
  1709. Adds an alpha (coverage) value to the graphics state, and
  1710. gs_setalpha/currentalpha procedures. Currently Ghostscript just passes
  1711. the alpha value to the driver; it doesn't attempt to emulate alpha
  1712. handling if the driver doesn't support it.
  1713. Redefines gs_erasepage to call gs_fillpage.
  1714. Bypasses the fill code if the clipping box is empty. This makes a big
  1715. difference for stringwidth, and doesn't hurt anything else.
  1716. Changes frac_1 from 0x7fff to 0x7ff8. This allows exact representation of
  1717. practically all useful fractions, since this number (32760) is
  1718. 2*2*2*3*3*5*7*13.
  1719. Changes float to double in several matrix routines for better accuracy.
  1720. Adds new device properties to implement the deviceinfo operator:
  1721. Colors, GrayValues, RedValues, GreenValues, BlueValues, ColorValues.
  1722. Also adds HWBitsPerPixel and HWColorMap.
  1723. Changes the sorting algorithm for halftones to use qsort instead of
  1724. special code.
  1725. Changes the Type 1 interpreter so that it uses the current point, rather
  1726. than (0,0), as the character origin.
  1727. </pre>
  1728. <h2><a name="Version2.7b"></a>Version 2.7-beta (9/20/93, not distributed to the public)</h2>
  1729. <p>This is the first of a series of beta-only versions planned for
  1730. release
  1731. between 2.6.n and 3.0. This version, in particular, was created to
  1732. satisfy a contractual requirement, and will never be distributed to anyone
  1733. other than the other party to the contract.
  1734. <h3><a name="V2.7b_Documentation"></a>Documentation</h3><pre>
  1735. Fixes bugs:
  1736. - The "HP XLFD extensions" to X11R5 are not specific to H-P
  1737. platforms.
  1738. - The configuration generation script used rm rather than rm -f.
  1739. - gs.1 was installed in $(docdir) rather than $(mandir);
  1740. $(mandir) wasn't defined.
  1741. - ansi2knr.1 was installed in $(docdir), which was
  1742. inappropriate because ansi2knr itself wasn't installed anywhere.
  1743. Moves documentation for versions 2.4.x and 2.5.x to history.doc.
  1744. Moves the documentation on how to add devices to the configuration
  1745. from devs.mak to make.doc.
  1746. Changes the name of readme.doc to current.doc, since the presence of
  1747. two "readme" files was confusing to users.
  1748. Documents how to use the Microsoft Windows PostScript printer driver
  1749. to convert TrueType fonts to Type 1 fonts embedded in the document.
  1750. Corrects several errors in the documentation of the get_bits driver
  1751. procedure.
  1752. Documents the fact that X11R3 is no longer supported.
  1753. Removes the last references to "Ghostscript" from the comments in the
  1754. gs_*.ps files. The only remaining reference, other than the boilerplate
  1755. comments at the beginning of each file, is in the message at the end of
  1756. gs_init.ps.
  1757. Documents the use of WMAKEL rather than WMAKE with the Watcom compiler.
  1758. </pre><h3><a name="V2.7b_Procedures"></a>Procedures</h3><pre>
  1759. Fixes bugs:
  1760. * - The Unix install script used gs rather than $(GS) as the name of
  1761. the executable.
  1762. * - The Unix install script didn't copy gs_dbt_e.ps to $(gsdatadir).
  1763. - genconf.c used ps2 as a variable name; ps2 is a predefined
  1764. preprocessor symbol in the VSC compiler used by IBM.
  1765. - @-expansion didn't interact properly with -- and -+.
  1766. - The Unix install script didn't copy COPYING to $(docdir),
  1767. and copied README to $(gsdatadir) rather than $(docdir).
  1768. - ps2ascii used /bin/sh -f, which is an incorrect flag.
  1769. Removes all uses and mentions of USG (a now-obsolete GNU convention)
  1770. as a synonym for SYSV.
  1771. Removes filter.dev and dps.dev from FEATURE_DEVS if level2.dev is
  1772. included, since they don't add anything beyond level2.dev.
  1773. Changes the ccgs script to explictly remove the old .o file before
  1774. doing the mv, for the benefit of people who have changed mv to prompt
  1775. before overwriting. Changes the configuration script to use rm -f
  1776. for the same reason.
  1777. Changes the -Z switch so an empty list of options does nothing, rather
  1778. than turning on all options.
  1779. Adds a -@ switch which is like -- and -+ except that it does
  1780. @-expansion of arguments.
  1781. Changes genconf so it takes patterns from the command line that describe
  1782. how to write the linker control files, rather than having the patterns
  1783. built in.
  1784. Changes -d and -D so that if no value is supplied, the default is
  1785. true rather than null.
  1786. </pre><h3><a name="V2.7b_Utilities"></a>Utilities</h3><pre>
  1787. Fixes bugs:
  1788. * - The ps2ascii script still referenced ps2ascii.ps under its
  1789. old name gs_2asc.ps.
  1790. * - ps2image.ps had a 'pop' missing in the written-out
  1791. definition of 'max' in the boilerplate code it put at the beginning
  1792. of compressed files.
  1793. * - ps2image.ps got a typecheck if a scan line had no repeated
  1794. data in it anywhere.
  1795. - wrfont.ps didn't handle CharStrings or Subrs that weren't
  1796. strings.
  1797. - mergeini.ps produced an init file that incorrectly
  1798. attempted to load the Symbol and Dingbats encodings dynamically.
  1799. Removes the gsview.bat file, since it was confusingly named and not
  1800. generally useful.
  1801. Changes bdftops back to using encrypted CharStrings, for compatibility
  1802. with Adobe interpreters, but also changes lenIV to 0, to save a little
  1803. more space.
  1804. Changes the traceop utility so it makes traced operators appear to be
  1805. operators, and so it will replace a definition in systemdict if explicitly
  1806. requested to do so and systemdict is writable.
  1807. Adds a printafm utility for printing the metrics of fonts in AFM format.
  1808. </pre><h3><a name="V2.7b_Drivers"></a>Drivers</h3><pre>
  1809. Fixes bugs:
  1810. - The cdj driver was missing a few type casts that were needed to
  1811. satisfy pedantic compilers.
  1812. - For banded devices, many of the non-displaying target routines
  1813. were getting called with the original device as the first argument, not
  1814. the target device. (This didn't make any difference in practice, because
  1815. gdev_prn_open explicitly copied the non-rendering procedures back into the
  1816. procedure vector.)
  1817. * - The X driver didn't catch and discard bogus errors on
  1818. XFreeColors, which faulty servers generate.
  1819. * - The X driver gave up on color allocation too easily.
  1820. * - The X driver dynamic color table size could become negative.
  1821. * - x_lookup_font could return platform fonts of very small sizes,
  1822. which have very inaccurate metrics.
  1823. * - The ESCP/2 driver was incorrectly named gdevescp2 in devs.mak.
  1824. - The Apple DMP driver used #if 0 / #endif instead of comment
  1825. brackets, and was incorrectly named "dmp" instead of "appledmp" in
  1826. the source code.
  1827. * - The X driver didn't free dynamic colors at the start of each page.
  1828. * - The X driver didn't bind foreground/background defaults tightly.
  1829. * - The X driver didn't check for GHOSTVIEW_COLORS properly.
  1830. * - The X driver freed too many colors if an allocation request failed.
  1831. * - The X driver didn't check return value of gs_malloc for being NULL.
  1832. * - The DeskJet/LaserJet driver used an incorrect command for
  1833. end-of-page.
  1834. * - The DeskJet/LaserJet driver incorrectly reset the printer at the
  1835. beginning of every page.
  1836. * - The PCX driver put an old version number in the header, and
  1837. didn't pad scan lines to an even number of bytes.
  1838. - The BMP driver used a variable named `quad', which is a
  1839. reserved word on some platforms.
  1840. * - The TIFF driver didn't handle A4 or B4 size paper correctly.
  1841. * - The X11 driver incorrectly demanded the Xmu library, which was
  1842. not needed and which caused link errors on some versions of SunOS.
  1843. * - X11 font matching scheme was too loose, causing overlaps and
  1844. other problems.
  1845. * - X11 Font Extensions (rotated and mirrored fonts) did not work
  1846. properly on NCD terminals.
  1847. * - When freeing the rgb cube/gray ramp, the parameters to gs_free()
  1848. did not exactly match the parameters to gs_malloc().
  1849. * - Ghostscript failed to warn the user when it could not allocate
  1850. the original color cube/gray ramp and dropped back to a smaller
  1851. cube/ramp, or from color to mono.
  1852. * - x_release could cause Ghostscript to fail if a font was freed
  1853. after the device was closed.
  1854. - The X driver continued to ask the server for colors even after a
  1855. request failed, causing colored images to display very slowly.
  1856. * Adds a pcxgray driver to provide 8-bit gray scale output in PCX format.
  1857. Adds a pcx24b driver to provide 24-bit RGB color PCX output.
  1858. * Adds a LaserJet 4 driver.
  1859. Adds a user-contributed driver for the DEC LA70 (very similar to the LA75).
  1860. Substantially improves the performance of the PxM drivers by eliminating
  1861. an unnecessary copying step and by writing each scan line with a single
  1862. fwrite when possible.
  1863. Moves the gray-scale and 24-bit RGB device color mapping routines to
  1864. gxcmap.c from gdevpcx.c and (nowhere).
  1865. Allows window granularities smaller than 64K in the VESA driver.
  1866. Changes the LaserJet margins again.
  1867. </pre><h3><a name="V2.7b_Platforms"></a>Platforms</h3><pre>
  1868. Fixes bugs:
  1869. - Platforms where stat doesn't return a st_blocks value
  1870. computed the block count wrong.
  1871. - In gp_vms.c, the call on SYS$FILESCAN needed two uint *s
  1872. rather than a long * and a struct *.
  1873. * - The VMS script files referenced IBSCAN instead of ISCAN2,
  1874. and omitted GDEVXXF.
  1875. * - The UUENCODEd icons for the MS Windows platform were omitted
  1876. from the fileset.
  1877. * - On MS-DOS systems, filenameforall didn't interpret * alone
  1878. as a pattern matching all files.
  1879. Adds wildcard matching capability to filenameforall under Unix.
  1880. Removes gp_file_status from the platform interface, since all
  1881. platforms provide identical stat calls in the C library.
  1882. Adds DesqView/X (using djgcc and go32) as a platform.
  1883. Removes the S3 driver from the standard PC configurations.
  1884. Adds documentation for compiling Ghostscript on the Intergraph Clipper.
  1885. Updates the documentation to add a better list of X Windows font
  1886. names for the Sun platform.
  1887. </pre><h3><a name="V2.7b_Fonts"></a>Fonts</h3><pre>
  1888. Creates an external file (gs_dbt_e.ps) with the ZapfDingbats encoding
  1889. (actually in 2.6.1, but not documented there).
  1890. Changes the names of the Cyrillic fonts to Shareware-Cyrillic-Regular
  1891. and Shareware-Cyrillic-Italic, keeping Cyrillic, Cyrillic-Regular,
  1892. and Cyrillic-Italic as aliases.
  1893. * Removes the requirement that the FontName in the font file be the same
  1894. as the name in Fontmap. (This requirement led to the need for aliases,
  1895. and was extremely confusing to users.)
  1896. * Adds a GS_FONTPATH environment variable containing a list of directories
  1897. that should be scanned automatically for fonts.
  1898. * Gets rid of the Ugly font, and changes the default to the IBM Courier
  1899. font, which is freely distributable.
  1900. </pre><h3><a name="V2.7b_Interpreter"></a>Interpreter</h3><pre>
  1901. Fixes bugs:
  1902. - cvs didn't check for stack underflow.
  1903. * - zht2.c didn't include alloc.h.
  1904. * - execstackoverflow cleared the e-stack instead of just
  1905. cutting it back.
  1906. - if and ifelse incorrectly reported typecheck instead of
  1907. stackunderflow.
  1908. - Copying a dictionary could alter some items even if a later
  1909. item causes an invalidaccess error because of an attempted store of a
  1910. local object into global VM.
  1911. - bitshift and cvrs assumed that longs occupied 32 bits.
  1912. * - exitserver didn't check the password, and always succeeded.
  1913. - Font loading didn't suppress all output messages if QUIET
  1914. was set.
  1915. * - The interpreter incorrectly pushed its exit procedure on
  1916. the e-stack if it was called again after an interrupt.
  1917. * - The interpreter didn't treat timeout like interrupt in
  1918. terms of re-executing the current operation.
  1919. * - `show' operators popped their operands before they were
  1920. sure they wouldn't be interrupted.
  1921. * - rotate with a matrix operand didn't check for multiples of
  1922. 90 degrees.
  1923. - In the system name table, ge was misspelled eg, and
  1924. pathforall was misspelled pathfoall.
  1925. * - file_close_file attempted to free the buffer even if it was an
  1926. externally supplied string (specifically, the argument of gs_run_string).
  1927. - setprintername (in gs_statd.ps) set printername rather than
  1928. .printername.
  1929. Implements additional Level 2 features:
  1930. - Indexed color space with lookup procedure.
  1931. - sethalftone, except for the transfer function override,
  1932. and currenthalftone.
  1933. Implements OtherSubrs for indices greater than 3 (required for
  1934. MultiMaster fonts).
  1935. Implements black generation and undercolor removal.
  1936. Changes `store' from a C procedure to a PostScript procedure.
  1937. Changes idiv back so it requires integer operands, per the Adobe
  1938. documentation but not per some old Adobe interpreters.
  1939. * Adds many new paper sizes to gs_statd.ps. It now includes ISO a0-a10
  1940. and b0-b10, and CAD sizes archA-archE.
  1941. Implements `status' for non-%os% files. (This is currently a no-op,
  1942. but the framework is there.)
  1943. Changes the error handler so it normally uses = rather than == to print
  1944. the operand stack, to avoid recursive errors.
  1945. * Adds time slicing capability to the interpreter.
  1946. Implements setcolorscreen/currentcolorscreen.
  1947. </pre><h3><a name="V2.7b_Library"></a>Library</h3><pre>
  1948. Fixes bugs:
  1949. * - Rectangles with vertices specified in clockwise order were
  1950. drawn as 0-width lines.
  1951. * - The string matching function reported that 'abcdefg'
  1952. matched the pattern 'abcde'.
  1953. * - The bounding box of non-rectangular clipping paths was not
  1954. being marked as valid, so cached characters would simply get
  1955. discarded as being outside the bounding box.
  1956. - erasepage filled the page with the device's white color,
  1957. not with gray level 1 passed through the transfer function.
  1958. * - Colors with equal R/G/B or C/M/Y components were rendered
  1959. incorrectly if the 3 or 4 transfer functions were not all the same.
  1960. * - Because of a bug in rc_unshare, using CIE color would give
  1961. random errors (such as /invalidaccess in --for--).
  1962. * - setbbox didn't round the coordinates properly, which could
  1963. cause erroneous rangecheck errors with coordinates on the edge of the
  1964. box.
  1965. * - Color halftones "flipped over" at the 50% point, inverting
  1966. foreground and background.
  1967. - Quite a few places assumed that longs occupied 32 bits.
  1968. * - kshow passed an incorrect c1 value to the procedure.
  1969. - The debugging code in update_x_list in gxfill.c didn't take
  1970. into account the possibility that the active line at x_first might be
  1971. deleted.
  1972. - gx_image_cached_char called the xfont render_char procedure an
  1973. extra time if it failed with required=0 and succeeded with required=1.
  1974. (This was just a small inefficiency, not a logic bug.)
  1975. - Non-rectangular clipping regions weren't computed correctly,
  1976. because accum_add_rect didn't handle overlapping rectangles.
  1977. - Drivers didn't report file system errors (such as file system
  1978. full) as an ioerror.
  1979. * - setdevice didn't reset the charpath and setcachedevice flags.
  1980. - The Zortech compiler produced wrong code for the uid_equal
  1981. macro; uid_equal is now a procedure.
  1982. Passes OtherSubrs arguments back to the caller correctly for indices
  1983. greater than 3.
  1984. Implements black generation and undercolor removal.
  1985. Removes gdev_mem_ensure_byte_order, which was no longer used or useful.
  1986. Removes gstdev.c (device tracing), since it hasn't been used in a
  1987. long time and is of little value given a reasonable debugger.
  1988. Changes the interface to the xfont char_metrics and render_char
  1989. procedures to allow them to return 1.
  1990. Changes 32-bit memory devices so they use CMYK color mapping rather
  1991. than RGB mapping with an unused byte.
  1992. Implements gs_setcolorscreen/currentcolorscreen.
  1993. Implements Level 2 halftones, except for the transfer function override.
  1994. Implements a hack to make zero-width rectangles display as one pixel wide,
  1995. to work around a bug in the Microsoft Windows PostScript driver.
  1996. Currently the hack only works for vertical lines, not horizontal ones.
  1997. </pre>
  1998. <hr>
  1999. <h2><a name="Version2.6.1"></a>Version 2.6.1 (5/28/93)</h2>
  2000. <p>This is primarily a bug-fix release for 2.6, with a couple of minor
  2001. additions.
  2002. <h3><a name="V2.6.1_Documentation"></a>Documentation</h3><pre>
  2003. Adds proper `man' pages ansi2knr.1 and gs.1.
  2004. </pre><h3><a name="V2.6.1_Procedures"></a>Procedures</h3><pre>
  2005. Fixes bugs:
  2006. - The Unix makefile produced an incorrect linker command if
  2007. EXTRALIBS was not empty.
  2008. - The Unix install commands didn't copy devices.doc,
  2009. ps2epsi.doc, and xfonts.doc to the documentation directory.
  2010. - echogs.c didn't include &lt;sys/types.h&gt;, which is needed for
  2011. time_t on some systems.
  2012. - malloc_.h used &lt;malloc.h&gt; rather than &lt;stdlib.h&gt; on
  2013. NeXTStep systems.
  2014. Changes the configuration procedure to use a C program rather than
  2015. complex shell scripts.
  2016. </pre><h3><a name="V2.6.1_Utilities"></a>Utilities</h3><pre>
  2017. Fixes bugs:
  2018. - The boilerplate produced by ps2image used the 'max'
  2019. operator, which is not a standard PostScript operator.
  2020. - The winmaps.ps utility had 'floring' instead of 'florin' in
  2021. the OEMEncoding table.
  2022. - quit.ps was omitted from the PC distribution.
  2023. Changes the name of the dicttomark procedure to .dicttomark.
  2024. Renames gs_2asc.ps as ps2ascii.ps, so it matches the names of the
  2025. script files.
  2026. </pre><h3><a name="V2.6.1_Drivers"></a>Drivers</h3><pre>
  2027. Fixes bugs:
  2028. - The pbmraw driver was writing out RGG instead of RGB values.
  2029. - The X11 driver used NULL in a place where it should have
  2030. used None.
  2031. - For multi-file output, the GIF driver didn't write a header
  2032. at the beginning of each file.
  2033. - The Epson driver didn't honor the -A4 compilation switch,
  2034. didn't put (0,0) at the physical corner of the page, and was too
  2035. liberal about using tabs instead of spaces.
  2036. Replaces the color handling algorithms in the X Windows driver with
  2037. new, much better ones.
  2038. Makes the PC display drivers recognize the -A4 compilation switch,
  2039. like the printer drivers.
  2040. Adds new user-contributed drivers:
  2041. - A driver for Epson printers that use the ESC/P 2 control
  2042. language, such as the Stylus 800.
  2043. - A driver for the Apple Dot Matrix Printer and Imagewriter.
  2044. Adds a new get_xfont_device driver procedure. This is a
  2045. backward-compatible change, since there is a sensible default.
  2046. </pre><h3><a name="V2.6.1_Platforms"></a>Platforms</h3><pre>
  2047. Fixes bugs:
  2048. - On VMS, gconfig.h didn't have #include "gsconfig.h" as its
  2049. first line.
  2050. - gconfig.c compiled incorrectly on the RS/6000 because the
  2051. compiler evaluated a constant of the form (x&lt;&lt;y)+z incorrectly.
  2052. - Quite a few files that used the mem... functions didn't
  2053. include memory_.h, which caused trouble on some bsd4.2 systems.
  2054. - The definition of zfont_char_xglyph confused one of the AIX
  2055. compilers.
  2056. - On VMS, DEC C allows extra arguments for fopen, but gcc doesn't.
  2057. - On the MS Windows platform, 2.6 used gdevwddb rather than
  2058. gdevwdib; the latter is almost always faster.
  2059. - The PC .zip files didn't include the Windows .ICO and .RES
  2060. files in either GSEXE.ZIP or GSFILES.ZIP.
  2061. On PC platforms, adds an option (FPU_TYPE=-1) to optimize for
  2062. machines lacking a floating point processor.
  2063. </pre><h3><a name="V2.6.1_Fonts"></a>Fonts</h3><pre>
  2064. Adds 4 new fonts contributed by URW. These have a URW copyright and
  2065. are governed by the GNU License.
  2066. Documents the fact that font names in Fontmap can be strings, not
  2067. only names.
  2068. Adds DingbatsEncoding as a predefined encoding (in addition to
  2069. Standard, ISOLatin1, and Symbol).
  2070. </pre><h3><a name="V2.6.1_Interpreter"></a>Interpreter</h3><pre>
  2071. Fixes bugs:
  2072. - memchr (used in zfile.c) isn't available on all platforms.
  2073. - languagelevel was defined as an operator rather than an
  2074. integer.
  2075. - iccfont.c referred to name_StandardEncoding instead of
  2076. #include'ing font.h and referring just to StandardEncoding.
  2077. - The CCITTFaxDecode filter didn't work on 32- (or 64-) bit
  2078. machines, because of a bug in more_bits().
  2079. - The structures recording an allocation within the scope of
  2080. a save could get allocated unnecessarily, because they weren't
  2081. properly marked as free when an array was freed.
  2082. Renames the following Ghostscript-specific operators by adding a '.'
  2083. at the front: makeoperator, setdebug, setmaxlength, stringmatch,
  2084. type1decrypt, type1encrypt.
  2085. Adds a real implementation of glyphshow.
  2086. </pre><h3><a name="V2.6.1_Library"></a>Library</h3><pre>
  2087. Fixes bugs:
  2088. - Discarding fractional character coordinates in the Type 1
  2089. rasterizer led to some rendering anomalies (e.g., characters 1 pixel
  2090. too high).
  2091. - If a font had a non-standard encoding (i.e., not
  2092. StandardEncoding, ISOLatin1Encoding, or SymbolEncoding), Ghostscript
  2093. would never invoke the platform font code.
  2094. - The RGB to HSB color conversion algorithms produced
  2095. nonsensical values.
  2096. - struct cached_char_s was defined redundantly in gxcdir.h,
  2097. causing compilation problems on some systems.
  2098. - 32-bit color devices didn't work properly on little-endian
  2099. machines (arrange_bytes in gdevmem2 was wrong).
  2100. - The scaled font cache could confuse two fonts with the same
  2101. UniqueID and different Encodings.
  2102. - Under many common circumstances (first use of a character
  2103. was with stringwidth, the font was renamed, the font encoding was
  2104. changed), xfonts would not be used.
  2105. Adds gs_glyphshow.
  2106. </pre>
  2107. <h2><a name="Version2.6"></a>Version 2.6 (5/9/93)</h2>
  2108. <p>The main new feature in this release is the ability to use platform
  2109. fonts. It also adds many more Level 2 PostScript facilities.
  2110. <h3><a name="V2.6_Documentation"></a>Documentation</h3><pre>
  2111. Corrects some errors in the documentation of the makeimagedevice operator.
  2112. Adds operand and result types to the comments at the beginning of all the
  2113. operators.
  2114. Adds new sections on installation in use.doc.
  2115. Reinstates history.doc as a repository for old and no longer interesting
  2116. history information.
  2117. Adds a new file, devices.doc, with documentation for specific devices.
  2118. Points out that font2c must be run with a Fontmap that includes the fonts
  2119. being converted, and that its arguments must be quoted with "" on VMS
  2120. systems.
  2121. Notes that the font name in the Fontmap must be the same as the FontName
  2122. in the font.
  2123. Adds a list of the Level 2 facilities not provided by Ghostscript.
  2124. Identifies bug-ghostscript@prep.ai.mit.edu as an alias for the
  2125. gnu.ghostscript.bug newsgroup.
  2126. Points out explicitly that -sOutputFile=- sends output to stdout, and
  2127. requires using the -q switch.
  2128. Documents the use of tar_cat to construct the Unix makefiles.
  2129. Adds a new file, xfonts.doc, that describes the external font interface.
  2130. Documents the fact that drivers must use gs_malloc and gs_free rather than
  2131. malloc and free.
  2132. Documents the *.sh (shell script) files.
  2133. Adds brief documentation on some additional development tool .ps files.
  2134. Documents the TEMP and GS_OPTIONS environment variable.
  2135. Points out the need to run Windows in 386 Enhanced mode on machines
  2136. that have less than 6 Mb of RAM.
  2137. Consolidates documentation on compiler switches in make.doc (some of
  2138. it had been in the unix*.mak files).
  2139. </pre><h3><a name="V2.6_Procedures"></a>Procedures</h3><pre>
  2140. Fixes bugs:
  2141. - \'s in arguments following -- were doubled.
  2142. Includes the full set of filters automatically if the level2 feature
  2143. is selected.
  2144. Extends DEVICE_DEVS... up to DEVS9. Adds DEVICE_DEVS1 as well.
  2145. Renames turboc.mak and tbcplus.mak as tc.mak and bc.mak.
  2146. Makes @-files use the library path (GS_LIB, -I).
  2147. Changed the Unix install script to use install &lt;file&gt; &lt;destfile&gt;
  2148. rather than install &lt;file&gt; &lt;directory&gt;.
  2149. Adds a GS_OPTIONS environment variable that acts like an implicit @-file
  2150. at the beginning of the command line (i.e., may contain switches and
  2151. initialization files).
  2152. Renames sym__enc.ps as gs_sym_e.ps.
  2153. Adds a user-contributed shell script for using Ghostscript with an
  2154. H-P printer spooler.
  2155. Adds level1.ps to the set of installed utility files.
  2156. Extends the TEMP environment variable (the directory for scratch
  2157. files) to work on Unix as well as MS-DOS.
  2158. Changes the MS Windows makefile to generate gswin.exe rather than
  2159. gs.exe, and the Watcom makefile to generate gs386.exe.
  2160. Moves the "product" string from gs_init.ps to iinit.c.
  2161. Adds a GS macro to the makefiles, to allow choosing the name of the
  2162. executable.
  2163. </pre><h3><a name="V2.6_Utilities"></a>Utilities</h3><pre>
  2164. Fixes bugs:
  2165. * - font2c did the wrong thing (still) for fonts that didn't
  2166. use StandardEncoding, ISOLatin1Encoding, or SymbolEncoding.
  2167. * - impath.ps had a fatal bug (wrong operand order for
  2168. charstack_write) that caused bdftops to fail.
  2169. - gslp didn't wrap or truncate lines.
  2170. - gslp didn't handle tabs in a second or subsequent column
  2171. properly.
  2172. - The definition of ashow in gs_2asc.ps incorrectly undid the
  2173. increment following the last character.
  2174. - The definition of awidthshow in gs_2asc.ps failed to pop
  2175. two entries from the stack, and also tested the character against the
  2176. wrong value.
  2177. Adds a shell script (sysvlp.sh) that interfaces Ghostscript with the
  2178. System V 3.2 lp interface.
  2179. Adds ps2ascii and ps2epsi script/batch files.
  2180. Adds a new utility, mergeini.ps, for concatenating all the
  2181. Ghostscript initialization files into a single file, optionally
  2182. removing comments and blank lines.
  2183. Adds new switches to gslp:
  2184. -q: suppress all printed output.
  2185. --detect: check whether the file begins with %!, and if so,
  2186. interpret it directly as a PostScript file.
  2187. --first-page &lt;page#&gt;: replaces the former -P switch.
  2188. --last-page &lt;page#&gt;: replaces the former -Q switch.
  2189. --(heading|footing)-(left|center|right) &lt;string&gt;: define
  2190. headers/footers. # inserts the page number.
  2191. --margin-(top|bottom|left|right) &lt;inches&gt;: define margins.
  2192. --spacing &lt;n&gt;: for double, triple, etc. spacing.
  2193. Also makes gslp ignore all the enscript flags it doesn't implement.
  2194. Adds an option to wrfont.ps to do encryption at read-in time. (This
  2195. allows much better compression of the standard Ghostscript fonts.)
  2196. Changes bdftops to use this option.
  2197. Changes gslp to accept wild cards in file names.
  2198. Replaces landscap.ps with a new one contributed by a user.
  2199. Changes the compression scheme used in ps2image to a much more
  2200. effective one. Writing images is much slower than with the previous
  2201. scheme, but reading is not.
  2202. </pre><h3><a name="V2.6_Platforms"></a>Platforms</h3><pre>
  2203. Fixes bugs:
  2204. - SCFDTAB and SCFTAB were omitted from the VMS module lists.
  2205. - Function prototypes were not being used with the Watcom
  2206. compiler.
  2207. - On MS-DOS platforms, if the value of the TEMP variable had
  2208. a trailing : or \, Ghostscript appended a \ anyway.
  2209. - Under Windows, changing the size or resolution of the image
  2210. closed and reopened the window.
  2211. - Ghostscript would not build correctly with the Watcom compiler
  2212. if DOS4G=quiet was not set, because the DOS4GW copyright message was sent
  2213. to stdout.
  2214. * - Finally gets Ghostscript to run properly on the RS/6000, by
  2215. adding a compiler bug workaround to arc_add and arc_either.
  2216. * - Finally gets Ghostscript to compile properly on Sun SPARC
  2217. systems, by adding a compiler bug workaround in scan_number.
  2218. Changes the default MS-DOS configuration from 8086/8088 to 80286.
  2219. Adds all the SuperVGA drivers to the BC++ and Watcom executables
  2220. (except for the VESA driver in the Watcom executable).
  2221. Adds a makefile (msc.mak) for the Microsoft C/C++ 7.0 platform. This
  2222. is currently a MS-DOS, not a MS Windows, platform.
  2223. Changes gp_enumerate_files_init so it takes a gs_memory_procs *, not
  2224. separate proc_alloc_t and proc_free_t arguments; also, it must
  2225. enumerate precisely the requested set of files, not a superset. THIS
  2226. IS A NON-BACKWARD-COMPATIBLE CHANGE. It affects all gp_*.c files.
  2227. Adds the P*M drivers and bit.dev to the standard configuration on
  2228. Unix platforms.
  2229. Changes the Watcom makefile so it uses the WATCOM environment variable (by
  2230. default) as the base directory for the Watcom executables.
  2231. Adds the MS Windows COMMDLG.DLL and SHELL.DLL files to the set of
  2232. files incorporated in GSEXE.ZIP, since the new MS Windows code uses
  2233. them, and they aren't provided with Windows 3.0.
  2234. Makes major revisions to the MS Windows platform and driver code, to
  2235. support the gsview front end, and also to remove the dependence on the
  2236. Borland EasyWin library. NOTE: Compiling the MS Windows code now requires
  2237. Borland C++ 3.1 (not 3.0).
  2238. Changes time_.h so that Ghostscript will compile and run on A/UX.
  2239. Changes the MS-DOS implementation of file enumeration so it always
  2240. treats \s in the file name as literal characters, not escapes, unless
  2241. there are two \\s in a row. This does the most sensible thing given
  2242. the DOS file naming conventions.
  2243. Adds a %pipe% file device under Unix.
  2244. Adds a makefile for Watcom C under MS Windows. This is very preliminary;
  2245. in particular, NO display output is supported.
  2246. </pre><h3><a name="V2.6_Fonts"></a>Fonts</h3><pre>
  2247. Fixes bugs:
  2248. - fonts.mak referred to ncri and puti rather than ncrri and
  2249. putri.
  2250. - cyr and cyri had the wrong protection.
  2251. - The Hershey fonts left the font on the stack when they were
  2252. loaded.
  2253. * - The FontName of an aliased font was the original FontName
  2254. from the file, not the alias.
  2255. * - Fontmap.BTS had incorrect entries for AvantGarde-Demi and
  2256. AvantGarde-DemiOblique.
  2257. - Ghostscript pushed userdict, rather than an empty writable
  2258. dictionary, onto the stack when loading a font, leading to name clashes.
  2259. Adds a new cfonts.mak with a full set of rules for compiling all the
  2260. standard Ghostscript fonts (except the Hershey fonts) into C.
  2261. Adds UniqueIDs to the Hershey fonts, and removes the UniqueIDs from
  2262. the Hershey entries in the Fontmap.
  2263. Adds a new Fontmap for VAX/VMS with DECWindows/Motif.
  2264. Changes MakeHersheyFont so it takes the encoding as an additional
  2265. parameter, and changes the Hershey-Symbol font to use SymbolEncoding.
  2266. </pre><h3><a name="V2.6_Drivers"></a>Drivers</h3><pre>
  2267. Fixes bugs:
  2268. - The !@*&amp;^%#@$ PCL drivers *still* didn't do the right thing
  2269. about vertical spacing: the &lt;ESC&gt;*p+&lt;n&gt;Y command works on all PCL 3,
  2270. 4, and 5 printers *except* the LaserJet IIp.
  2271. - The cdj driver used recursive macros (height, t_margin,
  2272. b_margin) that not all compilers handled correctly.
  2273. - The djtc driver used some assignments including =*, which
  2274. some compilers dislike.
  2275. - The S3 driver wouldn't compile correctly with the Watcom
  2276. compiler.
  2277. - The makefile entry for the S3 driver was wrong.
  2278. - The SuperVGA drivers returned an error, rather than using
  2279. the highest available resolution, if a too-high resolution was
  2280. requested.
  2281. - The GIF driver produced an incorrect header for images
  2282. wider or taller than 32K pixels.
  2283. - The GIF driver wasn't able to handle multi-page documents
  2284. correctly.
  2285. - The margins on the DeskJet were still not correct.
  2286. - Some ANSI C compilers rejected a complex expression in
  2287. gdevpccm.c.
  2288. - Printer drivers didn't recover cleanly from problems in
  2289. opening the scratch files.
  2290. - The BJ-10e driver used the same name `out' for a label and
  2291. a variable.
  2292. - The SCO ODT compiler couldn't handle sizeof(ppdev-&gt;fname).
  2293. - The Epson driver used the wrong value for ESC in the
  2294. initialization string.
  2295. Adds new drivers:
  2296. - Drivers to produce MS Windows .BMP format output.
  2297. - A new ATI Wonder display driver (800x600, 16 colors) and a
  2298. 1024x768 mode for the existing driver.
  2299. Adds new user-contributed drivers:
  2300. - A driver for the Tektronix 4693d color printer. This carries a
  2301. university copyright.
  2302. - A driver for the SPARCprinter.
  2303. - A driver for the Canon BJ200 printer.
  2304. - A driver for the IBM ProPrinter.
  2305. - A driver for the DEC LJ250 printer, which has a
  2306. PaintJet-compatible mode.
  2307. - A replacement driver for the Sony NWP533.
  2308. - A driver that writes TIFF/F (Group 3 fax) files. This carries
  2309. an external copyright.
  2310. - A driver for the C.Itoh M8510 printer.
  2311. - A driver for the Okidata MicroLine 182 9-pin dot-matrix printer.
  2312. - A Hercules Graphics driver.
  2313. - A driver for printers under MS Windows.
  2314. - A driver for direct frame buffer addressing under SCO Unix
  2315. and Xenix and AT&amp;T SVR4.
  2316. Changes the get_bits driver procedure so it always reads a single
  2317. scan line, and optionally does not copy the data. THIS IS A
  2318. NON-BACKWARD-COMPATIBLE CHANGE. However, this change does not affect
  2319. any existing printer driver, since these all go through intermediate
  2320. routines in gdevprn.c.
  2321. Changes gdevprn.h, and the relevant printer drivers, so that -DA4
  2322. will change the default paper size for any printer driver.
  2323. Allows the use of NULL or 0 for default procedures in the driver
  2324. procedure vector.
  2325. Adds an optional map_cmyk_color procedure to the driver procedure
  2326. vector.
  2327. Changes the Epson driver so that the minimum amount of white space
  2328. required to use a tab is an easily changed parameter.
  2329. Changes the BGI driver to use separate segments for the Borland
  2330. device drivers, to reduce the risk of overflowing a segment.
  2331. Adds an optimization option (normally enabled) to the PGM and PPM drivers
  2332. such that they revert to PBM or (for PPM) PGM if the page can be
  2333. represented that way.
  2334. Adds a new (optional) driver procedure to get the procedure vector
  2335. for external fonts.
  2336. Adds an argument to gp_open_printer to indicate whether the file should be
  2337. opened in binary or text mode. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE.
  2338. However, this change does not affect any existing printer driver, since
  2339. these all go through intermediate routines in gdevprn.c.
  2340. Changes the LN03/LA50/LA75 driver so it uses a text record mode to open
  2341. the output file under VMS (by adding an argument to gp_open_printer to
  2342. indicate this.)
  2343. Allows (indeed, encourages) drivers to use far_data to declare the device
  2344. structure, primarily to avoid overflowing the 64K data segment under MS
  2345. Windows. Changes the file output drivers and many of the printer drivers
  2346. to declare their device structures as far_data.
  2347. Replaces the AT&amp;T 3B1 driver with an updated version (from the same
  2348. contributor).
  2349. Changes the Epson BJ driver and the SPARCprinter driver so they align
  2350. the (0,0) point of the page with the physical corner of the paper
  2351. rather than with the origin of the printable area.
  2352. Removes the EIZO MDB-10 driver, since it caused complications for the
  2353. EGA and VGA drivers and is not a widely used device.
  2354. </pre><h3><a name="V2.6_Interpreter"></a>Interpreter</h3><pre>
  2355. Fixes bugs:
  2356. - The entry for the copydevice operator in the operator table
  2357. was initialized incorrectly.
  2358. - printobject and writeobject didn't handle nested arrays.
  2359. - restore didn't properly close the current file (if
  2360. appropriate), causing an invalidaccess error.
  2361. - buildfont required the presence of a valid, 4-element
  2362. FontBBox. (The Red Books say it's required, but Adobe interpreters
  2363. don't require it; some DEC software generates a 3-element FontBBox.)
  2364. - resourceforall had several bugs; it didn't do even
  2365. approximately the right thing. There were quite a few other problems
  2366. with the implementation of resources.
  2367. - setfont, makefont, and scalefont would accept a font with
  2368. no FID entry.
  2369. * - Loading a .PFB font left the file open (until the next
  2370. restore or quit).
  2371. - The default (null) font didn't include a PaintType entry,
  2372. which some PostScript files expected.
  2373. * - The ASCIIHexDecode filter sometimes thought the underlying
  2374. stream was at EOF even when there was (at most one buffer's worth of)
  2375. data left.
  2376. - iscan.c included &lt;ctype.h&gt; before std.h, causing type name
  2377. clashes on some systems.
  2378. * - save and restore didn't handle the pointers in the graphics
  2379. state correctly; for example, the current font wasn't restored
  2380. properly.
  2381. - Binary object sequences at the top interpreter level didn't
  2382. get executed immediately.
  2383. - On high-resolution devices, the default transfer function
  2384. converted almost-white grays to very light grays rather than white.
  2385. - The `string' operator was checking the string length
  2386. against max_uint rather than max_ushort, which could cause invalid
  2387. lengths to be accepted.
  2388. * - deviceinfo caused a stackunderflow error.
  2389. * - idiv could give incorrect results for quotients or
  2390. remainders that didn't fit in 24 bits.
  2391. * - The ASCII85Encode filter padded trailing bytes with 1's
  2392. rather than 0's.
  2393. * - The ASCII85Decode filter had a typo that produced incorrect
  2394. results if there were exactly 2 trailing bytes.
  2395. - findlibfile didn't push a copy of the file name if it was
  2396. the name of a special (%) file.
  2397. - setduplexmode was not defined in statusdict, causing
  2398. /undefined errors from some poorly designed input files.
  2399. * - The CCITTFaxDecode filter had several bugs in 2-D decoding.
  2400. * - The ASCII85Decode filter didn't read ahead to detect EOD if
  2401. it fell precisely on a buffer boundary.
  2402. - If a file mentioned on the command line redefined `start',
  2403. Ghostscript would run the new definition rather than the built-in one
  2404. after processing all the files on the command line.
  2405. - The SCO ODT compiler couldn't handle the conditionals in the
  2406. ngetc (iscan.c) and sgetc* (stream.h) macros.
  2407. - makefont and scalefont didn't cache the PostScript dictionaries
  2408. for scaled fonts.
  2409. - Changing the elements of the Encoding of a font dynamically
  2410. didn't take effect if the character was already cached.
  2411. - makefont and scalefont didn't add the (undocumented) OrigFont
  2412. and ScaleMatrix entries to the new font.
  2413. * - findfont insisted that the font name be a string or a name.
  2414. - filenameforall could cause an incorrect transfer of control
  2415. if no files matched the pattern.
  2416. * - ISOLatin1Encoding had hyphen instead of minus at code 45.
  2417. - restore didn't reset saved_cbot and saved_ctop correctly;
  2418. as a result, some freed blocks could get abandoned rather than put on
  2419. the free list.
  2420. - Some numerical constants in zarith.c assumed that longs
  2421. occupied 32 bits.
  2422. Implements additional Level 2 features:
  2423. - %device%file names (only the "os" device is provided).
  2424. - &lt;~ ~&gt; for ASCII-85 strings.
  2425. - Binary error messages.
  2426. - BuildGlyph.
  2427. - CCITTFaxDecode filter entries EndOfBlock, Rows, and
  2428. (undocumented) FirstBitLowOrder.
  2429. - {set/current}{color/colorspace/overprint/colorrendering/
  2430. blackgeneration/undercolorremoval}. (See below under library
  2431. for limitations.)
  2432. - Decode for the dictionary form of image.
  2433. - File access modes a, r/w/a+.
  2434. - Font entries CDevProc, Metrics2, and WMode.
  2435. - Font operators cshow, findencoding, rootfont, and
  2436. setcachedevice2.
  2437. - glyphshow (emulated with PostScript code).
  2438. - languagelevel.
  2439. - realtime.
  2440. - setbbox.
  2441. - (Subset of) system and user parameters.
  2442. - xshow, yshow, and xyshow.
  2443. - XUIDs for fonts.
  2444. Moves the installation of systemdict and the initial allocation of
  2445. globaldict (if relevant) and userdict from gs_init.ps to iinit.c.
  2446. Makes Level 2 features dynamically selectable through the
  2447. .setlanguagelevel operator; disables all Level 2 features
  2448. (specifically including automatic dictionary expansion) unless the
  2449. level2 feature is included and active.
  2450. Adds the .knownget operator for speeding up system procedures.
  2451. Renames the type1addpath operator as .type1addpath; adds an optional
  2452. left side bearing argument; changes it so it does not do the
  2453. setcachedevice, fill, or stroke, but does do a moveto for the
  2454. character width. Changes Type1BuildChar appropriately. (All this is
  2455. needed to make WMode work.)
  2456. Removes the .setmetrics operator, which is no longer needed.
  2457. * Changes the meaning of the user_errors argument to gs_run_file and
  2458. gs_run_string so that -1 means always return on an error, 0 means
  2459. only return on an error not within a `stopped'.
  2460. Adds all the necessary checks and operators for local/global VM, but
  2461. doesn't actually implement local/global mode.
  2462. Changes setcachedevice back so that it requires 4 numbers on the
  2463. stack rather than a 4-element array. (It was changed to be the other
  2464. way in release 2.0, but that was because I didn't realize that fonts
  2465. had to have an executable FontBBox, and some of the Ghostscript fonts
  2466. didn't.)
  2467. Changes all the filter operators from .filterxxx to .filter_xxx, and
  2468. removes the need to enumerate them in gs_init.ps.
  2469. Adds .oserrno and .oserrorstring operators for getting the last OS
  2470. error (in the current context).
  2471. Changes gs_finit similarly to gp_exit. Adds gs_exit_with_code that
  2472. takes both an exit status and a Ghostscript error code.
  2473. Changes the name of name.h to iname.h.
  2474. Adds support for the `interrupt' error (but doesn't provide any standard
  2475. way of generating one, other than through the gp_check_interrupts polling
  2476. function).
  2477. Adds copyright to systemdict.
  2478. Changes the spot halftone screen to an elliptical screen supplied by
  2479. Berthold K. P. Horn.
  2480. Adds a check that the first token in gs_init.ps is an integer. In
  2481. conjunction with other code in gs_init.ps, this should catch all attempts
  2482. to run Ghostscript with a gs_init.ps that doesn't match the executable.
  2483. Changes all relevant occurrences of sizeof to size_of in order to
  2484. work with the buggy SVR4.2 C compiler.
  2485. Changes gp_exit so it is passed both the Ghostscript error code and
  2486. the exit status code as arguments. This is backward-compatible for
  2487. all but the pickiest compilers.
  2488. Adds a call on gp_check_interrupts() after fwrite calls in the stream
  2489. machinery. This prevents lengthy console output from locking out
  2490. other programs.
  2491. Changes a couple of occurrences of op_def_ptr in iinit.c to work around a
  2492. `const' bug in Sun's SC1.0 compiler.
  2493. Adds a special hack in the 'where' operator to work around a bug in Aldus
  2494. Freehand 2.x.
  2495. Changes all empty argument lists from () to (void), which is the ANSI
  2496. C syntax.
  2497. Adds a hack to ignore ^[ and ^D^[ tokens, to work around the prologue
  2498. and epilogue emitted by the MS Windows LaserJet IV driver.
  2499. Defines the processcolors operator, which should not be needed, but
  2500. is required because of bugs in Lotus 1-2-3 and Adobe PhotoShop.
  2501. Changes the allocator (ialloc) to fill all allocated and/or freed
  2502. blocks with a marker if gs_alloc_debug is set, as gs_malloc and
  2503. gs_free already do.
  2504. </pre><h3><a name="V2.6_Library"></a>Library</h3><pre>
  2505. Fixes bugs:
  2506. - 16-bit memory devices stored the bytes of each pixel in the
  2507. wrong order.
  2508. - copy_mono did the wrong thing when copying 1 source chunk
  2509. to 2 destination chunks with polarity inverted. (This probably
  2510. didn't affect any actual uses of Ghostscript.)
  2511. * - The compile-time check for ints being 2 or 4 bytes used the
  2512. #error directive, which most compilers don't recognize.
  2513. - arc and arcn didn't do the right thing for degenerate
  2514. (single-point) arcs, or for arcs drawn in the "wrong" direction that
  2515. were multiples of 360 degrees.
  2516. - charpath did the wrong thing with Type 3 fonts.
  2517. - copyscanlines gave an error if the buffer was too large.
  2518. - The copy_mono procedure (used for text and halftones) for
  2519. 2- and 4-bit-per-pixel memory and printer devices incorrectly
  2520. incremented the destination pointer after every pixel, instead of
  2521. only after every byte.
  2522. - The fill_rectangle procedure (used for graphics) for 2- and
  2523. 4-bit-per-pixel memory and printer devices, if given any color other
  2524. than all 0's or all 1's, multiplied the X coordinate and width by 2
  2525. or 4, thereby filling the wrong area.
  2526. - The use of 'data' in both gs_type1_data and gs_font upset
  2527. the VMS compiler.
  2528. - The `Flex' feature wasn't implemented for Type 1 fonts,
  2529. which caused serious errors in rendering some fonts that use it.
  2530. (Unfortunately, some Adobe fonts violate the specification, so we had
  2531. to implement Flex to always use a curve.)
  2532. * - Stem width adjustment was too eager, producing very strange
  2533. effects on small characters with tight curves (a curve point could
  2534. get snapped to the other side of the open area).
  2535. - The allocator didn't align structures adequately on
  2536. machines where sizeof(long) or sizeof(char *) was 8 bytes.
  2537. - The test for IEEE floating point gave an incorrect
  2538. (negative) result on machines where sizeof(long) was 8 bytes.
  2539. - genarch.c assumed that the result of subtracting two
  2540. pointers was an int, leading to a garbage arch.h file on systems
  2541. where this was false.
  2542. * - The Type 1 font interpreter incorrectly reset the adjusted
  2543. path position to be the same as the unadjusted path position whenever
  2544. it returned control to the client (in particular, for callothersubr),
  2545. leading to discontinuities and distortions in the character shapes.
  2546. * - Accented characters in Type 1 fonts often misplaced the
  2547. accent to the left.
  2548. - gsmisc.c wouldn't compile on machines with 64-bit pointers,
  2549. because _pad was 0, and ANSI compilers don't accept 0-length arrays.
  2550. - pathforall got confused if the client procedures modified
  2551. the path.
  2552. - The command list file representation limited X and Y
  2553. coordinates to 15 bits.
  2554. * - stroke could produce spikes or other garbage for mitered
  2555. joins as a result of stroke adjustment.
  2556. - The params_size field of the null device was wrong, so
  2557. scaling the null device produced unpredictable results.
  2558. Changes monobit memory devices to always store data big-endian. This
  2559. eliminates byte-swapping, at the cost of slightly slower rendering.
  2560. Removes the memswab* routines, since they are no longer needed.
  2561. Implements gs_cshow_[n_]init, which provides support for cshow, and
  2562. gs_xyshow_[n_]init, which provides support for {x,y,xy}show.
  2563. Adds an optional left side bearing argument to gs_type1_interpret.
  2564. Changes gs_type1_interpret so it does not do a setcachedevice, fill,
  2565. or stroke, but only appends the character outline to the path
  2566. (including a moveto for the character width.)
  2567. Removes gs_setmetrics, which is no longer needed.
  2568. Implements gs_setcachedevice2, which provides support for
  2569. setcachedevice2.
  2570. Speeds up gsave/grestore by allocating, deallocating, and copying as
  2571. much as possible of the graphics state in a single operation.
  2572. Implements gs_{set/current}{color/colorspace/overprint/colorrendering/
  2573. blackgeneration/undercolorremoval}. Device, indexed (with table, not
  2574. with procedure), CIE, and (substituted) separation colors are
  2575. supported; some of the setup code for patterns is also present.
  2576. Increases the size of temporary file names in gdevprn.h from 30
  2577. characters to 60.
  2578. Changes the character cache to be allocated dynamically in chunks.
  2579. Splits gxcache.c into gxccache.c (fast "hit" code) and gxccman.c (all
  2580. other code).
  2581. Changes all occurrences of sizeof to size_of in order to work with the
  2582. buggy SVR4.2 C compiler.
  2583. Adds a new concept of "external fonts", which allow a driver to
  2584. substitute its own fonts for the ones obtained through the normal
  2585. font machinery.
  2586. Changes all empty argument lists from () to (void), which is the ANSI
  2587. C syntax.
  2588. </pre>
  2589. <hr>
  2590. <h2><a name="Version2.5.2"></a>Version 2.5.2 (9/20/92)</h2>
  2591. <p>This is yet another bug fix release to (finally!) get the PCL drivers
  2592. working again.
  2593. <h3><a name="V2.5.2_Procedures"></a>Procedures</h3><pre>
  2594. Fixes bugs:
  2595. - The comment in devs.mak for cdjcolor said it used 8 bits
  2596. per pixel, rather than the correct 24.
  2597. Adds gsbj/dj/lj/lp and gslp.ps to the installed files on Unix
  2598. systems.
  2599. Removes dps.dev and level2.dev from the standard configurations on
  2600. all platforms, since the presence of the setcolor operator was
  2601. causing the output of some common applications to fail.
  2602. </pre>
  2603. <h3><a name="V2.5.2_Utilities"></a>Utilities</h3><pre>
  2604. Fixes bugs:
  2605. - font2c produced invalid output for any font that didn't use
  2606. StandardEncoding or ISOLatin1Encoding.
  2607. </pre>
  2608. <h3><a name="V2.5.2_Platforms"></a>Platforms</h3><pre>
  2609. Fixes bugs:
  2610. - gp_sysv.c required an extern long timezone.
  2611. </pre>
  2612. <h3><a name="V2.5.2_Drivers"></a>Drivers</h3><pre>
  2613. Fixes bugs:
  2614. - The PCL drivers were *still* doing the wrong thing about
  2615. zeroing the seed row for Mode 3 compression.
  2616. - Setting the resolution with -r didn't work under Windows.
  2617. - The Windows driver got a stack overflow if it was ever
  2618. asked to display a bit image wider than 32 pixels.
  2619. - The Tseng driver didn't sense the model (ET3000 vs. ET4000)
  2620. correctly.
  2621. Adds the eps9high device to the standard MS-DOS makefiles.
  2622. </pre>
  2623. <h3><a name="V2.5.2_Interpreter"></a>Interpreter</h3><pre>
  2624. Fixes bugs:
  2625. - gs_run_string used gs_user_errors (a global) rather than
  2626. user_errors (its argument) to control error handling. (This does not
  2627. affect normal operation of Ghostscript, only use as a server.)
  2628. - eexec popped the top element of the dictionary stack
  2629. afterwards even if the encrypted code had pushed something onto it.
  2630. This caused problems for some badly written PostScript code.
  2631. - The printed form of real numbers didn't always include a
  2632. decimal point, causing compatibility problems.
  2633. Makes -s and -d work for device properties.
  2634. Increases the cache limit on large-memory systems.
  2635. Adds a check to ensure that the revision of gs_init.ps matches that
  2636. of the interpreter.
  2637. Adds the .knownget operator.
  2638. </pre><h3><a name="V2.5.2_Library"></a>Library</h3><pre>
  2639. Fixes bugs:
  2640. - The raster computation in clist_render_init, and the
  2641. computation of state_size in clist_open, didn't widen an operand to
  2642. long, leading to possibly incorrect operation for 24-bit-per-pixel
  2643. printers on MS-DOS systems.
  2644. - The flatness was set too large for Type 1 characters,
  2645. leading to visible straight edges instead of curves at large sizes.
  2646. - Type 1 fonts that contained out-of-range coordinates would
  2647. produce garbled output. (This was not a problem with the standard
  2648. Ghostscript fonts, or with Adobe Type Manager fonts.)
  2649. - gschar0.c wouldn't compile, because it referred to a
  2650. non-existing structure member penum-&gt;chr. (This had no effect on
  2651. Ghostscript's operation.)
  2652. - The curve flattener required line segments to be no more
  2653. than 8 x the flatness in length, leading to an enormous number of
  2654. segments.
  2655. - pathforall would cause an addressing fault if the path
  2656. consisted of only a moveto.
  2657. Refactors some header files so that std.h is always included before
  2658. any system header file that might include sys/types.h.
  2659. Adds logic for removing top and bottom blank rows in cached
  2660. characters. (This is the beginning of compression for the cache.)
  2661. Changes the arguments of memswab2/4 from char * to byte *, for more
  2662. accurate type conformance.
  2663. </pre>
  2664. <h2><a name="Version2.5.1"></a>Version 2.5.1 (9/11/92)</h2>
  2665. <p>This is the usual bug fix re-release.
  2666. <h3><a name="V2.5.1_Procedures"></a>Procedures</h3><pre>
  2667. Fixes bugs:
  2668. - The makefile rules for compiled fonts had a circular
  2669. dependency.
  2670. - `make begin' didn't work properly on all platforms.
  2671. Ensures that all batch files end with a newline. (The absence of the
  2672. newline was confusing the GNU diff program.)
  2673. Documents the fact that the -dASCIIOUT switch no longer exists.
  2674. </pre><h3><a name="V2.5.1_Utilities"></a>Utilities</h3><pre>
  2675. Fixes bugs:
  2676. - pstoppm didn't `bind' its internal procedures.
  2677. - grestoreall would undo the output device selected by
  2678. pstoppm.
  2679. Changes the utilities for reading and writing Type 1 character
  2680. outlines so they can work with stack representations as well as
  2681. arrays.
  2682. Removes the pfbtogs.ps, phonbook.ps, and showpbm.ps utilities from
  2683. the distribution.
  2684. Adds a gslj utility to parallel gslp and gsdj.
  2685. </pre><h3><a name="V2.5.1_Platforms"></a>Platforms</h3>
  2686. <pre>
  2687. Adds the DeskJet 500C drivers (cdeskjet/cdj*) to the MS-DOS / Borland
  2688. C++, MS-DOS / Watcom C/386, and MS-Windows configurations.
  2689. Removes the PCX file driver from the MS Windows executable, because
  2690. the static data segment exceeded 64K.
  2691. Makes some changes in the Unix System V platform file (gp_sysv.c) and
  2692. in time_.h and unixtail.mak to accommodate the 3B1.
  2693. </pre><h3><a name="V2.5.1_Fonts"></a>Fonts</h3><pre>
  2694. Fixes bugs:
  2695. - The Charter-Italic font was named bchi.pfa rather than
  2696. bchri.pfa.
  2697. - The Cyrillic fonts (cyr.gsf, cyri.gsf) were omitted from
  2698. the fileset.
  2699. - Ghostscript incorrectly assumed that all Type 1 fonts had a
  2700. FontInfo dictionary.
  2701. - .loadfont used false PFBDecode, so a few .PFB fonts would
  2702. get errors because the first eexec byte would be whitespace.
  2703. Changes font2c and its supporting code so that compiled fonts are
  2704. location-independent.
  2705. </pre><h3><a name="V2.5.1_Drivers"></a>Drivers</h3><pre>
  2706. Fixes bugs:
  2707. - The margins for the H-P printers were still wrong.
  2708. - The H-P drivers accidentally cleared the compression seed
  2709. row when switching compression modes.
  2710. - Some of the H-P drivers used the wrong control codes for
  2711. skipping blank lines.
  2712. Adds user-supported drivers for the AT&amp;T 3B1 console device, and for
  2713. the NEC P6+ printer.
  2714. Updates the SunView driver with a new version supplied by a(nother)
  2715. user.
  2716. Changes the X Windows driver so the Ghostscript window doesn't get
  2717. input focus.
  2718. Changes the common code for the printer drivers so that if it can
  2719. allocate a full bitmap but there isn't at least a minimum amount of
  2720. memory left afterwards, it switches to banding.
  2721. Changes the Windows driver so it handles devices with more than 8
  2722. bits per pixel. (We haven't been able to test this.)
  2723. Adds a read-only PageCount device property (for printer devices
  2724. only).
  2725. Changes all Aladdin-supported drivers to clip drawing requests to the
  2726. ((0,0), (width,height)) rectangle of device space.
  2727. </pre><h3><a name="V2.5.1_Interpreter"></a>Interpreter</h3><pre>
  2728. Fixes bugs:
  2729. - Closing a NullEncode filter always gave an ioerror.
  2730. - If a single-character name occurred 1 character before the
  2731. end of an input buffer, the character would be doubled.
  2732. - The procedures in gs_statd.ps didn't use "bind".
  2733. - Setting the page size didn't work properly with devices
  2734. with rotated coordinate systems.
  2735. - If an error occurred, and the error object wasn't the last
  2736. element of its procedure, the interpreter would re-execute the error
  2737. object after running the error handler.
  2738. - Memory devices didn't get resized if HWSize was changed,
  2739. leading to out-of-bounds memory accesses.
  2740. Moves revision and revisiondate from gs_init.ps to iinit.c. Adds a
  2741. -v switch that just prints these out.
  2742. Arranges things so that if Ghostscript is reading from a pipe (`-'
  2743. switch on the command line) and encounters an error, it exits with
  2744. status 1 rather than 0.
  2745. Changes the interpreter interface so the caller explicitly passes a
  2746. pointer for storing an error object.
  2747. </pre><h3><a name="V2.5.1_Library"></a>Library</h3><pre>
  2748. Fixes bugs:
  2749. - The automatic adjustment of the scaling for variant paper
  2750. sizes caused the image to get expanded when it should have been
  2751. contracted, and vice versa.
  2752. - The curve flattener insisted that each line segment be no
  2753. more than 2 x the flatness in length, leading to an enormous number
  2754. of segments even when not necessary for accuracy.
  2755. - flattenpath and strokepath discarded a trailing moveto.
  2756. - strokepath treated "0-width" lines as really having a width
  2757. of zero, rather than one pixel.
  2758. - Buffered devices weren't closed and reopened if the amount
  2759. of buffer space was changed.
  2760. - stroke used the line cap at the beginning of each subpath
  2761. even if the subpath was closed.
  2762. Removes the requirement that the clipping rectangle fall in the
  2763. non-negative quadrant of device space. (This was causing problems
  2764. for Ghostview, but removing it required adding the extra clipping
  2765. step to the drawing routines in the drivers.)
  2766. </pre>
  2767. <h2><a name="Version2.5"></a>Version 2.5 (8/18/92)</h2>
  2768. <p>This version adds Type 1 hinting, CCITTFax encoding and decoding, and
  2769. Microsoft Windows support, as well as the usual minor improvements
  2770. and bug fixes.
  2771. <h3><a name="V2.5_Procedures"></a>Procedures</h3><pre>
  2772. Fixes bugs:
  2773. - GSIMPATH, SLZWD, and SLZWE were omitted from the VMS
  2774. makefiles, and GSIM2OUT was not removed.
  2775. - landscap.ps messed up the current path.
  2776. Adds new switches:
  2777. -dSAFER disables file writing and directory modification.
  2778. -dESTACKPRINT causes errors to print the execution stack with
  2779. == instead of =.
  2780. -sOutputFile=&lt;string&gt; replaces -sOUTPUTFILE (which is still
  2781. recognized) for setting the output file or pipe for the default
  2782. (printer) device.
  2783. -sPAPERSIZE=&lt;sizename&gt; initializes the paper size.
  2784. -dBufferSpace=&lt;number&gt; sets the buffer size for the default
  2785. (printer) device.
  2786. For Unix systems, changes the directories in GS_LIB_DEFAULT from
  2787. `pwd` to $(gsdatadir), i.e., normally $(datadir)/ghostscript, where
  2788. datadir is normally /usr/local/lib.
  2789. Adds a note in the header file to the effect that the X Windows
  2790. driver expects to find header files in $(XINCLUDE)/X11, not in
  2791. $(XINCLUDE).
  2792. Changes -q so it defines QUIET as true instead of null (so it can be
  2793. used in the middle of the command line as well as at the beginning).
  2794. Renames the history.doc file as NEWS.
  2795. </pre>
  2796. <h3><a name="V2.5_Utilities"></a>Utilities</h3>
  2797. <h3><a name="V2.5_Platforms"></a>Platforms</h3><pre>
  2798. Fixes bugs:
  2799. - The stack size was not getting increased on the Watcom
  2800. platform.
  2801. Removes "b" from the scratch file opening modes in gp_unix.c and
  2802. (conditionally) in gdevprn.c, to pacify the DECstation Ultrix system.
  2803. Adds a makefile (bcwin.mak) and a platform file (gp_mswin.c) for
  2804. Microsoft Windows.
  2805. On MS-DOS platforms (including Windows), uses the TEMP environment
  2806. variable to designate the directory for scratch files.
  2807. Changes std.h so that the VMS C compiler uses function prototypes and
  2808. 'const'.
  2809. Changes the VMS cc makefile so it doesn't use ansi2knr.
  2810. </pre><h3><a name="V2.5_Fonts"></a>Fonts</h3><pre>
  2811. Fixes bugs:
  2812. - findfont left an extra entry on the stack if it couldn't
  2813. find the default font.
  2814. Renames bchi, ncri, and puti as bchri, ncrri, and putri, to conform
  2815. with the naming scheme for other fonts.
  2816. Adds $(CCFLAGS) to the command line used for compiling fonts.
  2817. Converts the .pfa fonts (CharterBT, IBM Courier, and Utopia) to .gsf,
  2818. by removing eexec encryption and also removing some mysterious
  2819. unmapped characters from Courier. This makes these fonts work with
  2820. DISKFONTS.
  2821. Changes the implementation of compiled fonts so they are read-only
  2822. and sharable (no external references). (They are, however, not
  2823. position-independent.)
  2824. Provides a way to use compiled fonts on platforms that limit the
  2825. number of characters in an identifier.
  2826. Adds public-domain Cyrillic and Cyrillic-Italic fonts.
  2827. Adds a 'userdict begin' to .loadfont, because Type 3 fonts produced
  2828. by Fontographer expect a writable dictionary on the top of the stack.
  2829. Changes definefont for Type 1 fonts to insert UnderlinePosition and
  2830. UnderlineThickness entries in FontInfo if they are absent, because
  2831. many word processors incorrectly assume these entries are present.
  2832. </pre><h3><a name="V2.5_Drivers"></a>Drivers</h3><pre>
  2833. Fixes bugs:
  2834. - The documentation in use.doc said that the densities for
  2835. 9-pin Epson printers were 60x60 to 240x60, rather than 60x72 to
  2836. 240x72.
  2837. - gdevprn.c smashed one byte beyond the end of the string
  2838. given as the OutputFile device property.
  2839. - The X11 driver used XVisualIDFromVisual, which is not
  2840. defined in X11R3.
  2841. - The SunView driver modified the input data, which was
  2842. declared as const.
  2843. - The LaserJet IIP and III drivers shifted the page 185
  2844. pixels to the left and 0.25" down, because the initialization string
  2845. was incorrect.
  2846. - The PCX driver wrote 16-bit values using the byte ordering
  2847. of the platform, rather than always LSB first.
  2848. - For vertical spacing, the LaserJet and DeskJet drivers used
  2849. a command that spaces N/300", rather than N scan lines, but gave it a
  2850. parameter in scan lines.
  2851. - The VESA driver didn't allocate a full 256-byte buffer for
  2852. reading the mode information from the BIOS, causing the stack to get
  2853. smashed by newer VESA implementations.
  2854. - The VESA driver didn't use the scan line length returned by
  2855. the BIOS, causing garbage output for some cards and some resolutions.
  2856. - The generic printer driver didn't free the bitmap when
  2857. closing the device, if it fit entirely in memory.
  2858. - The PaintJet driver allocated its data areas on the stack
  2859. instead of with gs_malloc.
  2860. - The generic printer driver didn't attempt to increase the
  2861. buffer size if it was too small.
  2862. - The band list driver didn't split large bitmaps properly,
  2863. leading to garbled characters at high resolutions.
  2864. - The GIF and PCX drivers used a color map that often turned
  2865. gray colors into non-grays.
  2866. Changes the default put_props procedure so that if the device is
  2867. open, setting HWSize and/or HWResolution closes the device and
  2868. reopens it.
  2869. Adds a driver for Microsoft Windows 3.n.
  2870. Updates the 'cdj' and 'dj500c' DeskJet 500C drivers with new versions.
  2871. (This are user-contributed drivers.)
  2872. Changes gdev_prn_put_props so OutputFile can be changed dynamically.
  2873. Updates the DEC LN03 driver to also handle the LA50 and LA75. (This
  2874. is a user-contributed driver with a FSF copyright.)
  2875. Changes the LaserJet/DeskJet driver so that -DA4 in the makefile
  2876. makes A4 paper the default. The driver now also sends an appropriate
  2877. page size selection command to the printer if the printer supports it.
  2878. Changes all the Aladdin-supported drivers to return appropriate error
  2879. codes rather than -1.
  2880. Adds a driver for the S3 86C911, a PC graphics accelerator used in
  2881. the popular Diamond Stealth board. This is the first driver that
  2882. uploads character bitmaps to a device; others will probably follow.
  2883. Adds user-supplied code to the Epson driver so it will do triple
  2884. passes on 9-pin printers for higher resolution.
  2885. Adds user-supplied code for the PaintJet XL to the PaintJet driver.
  2886. </pre><h3><a name="V2.5_Interpreter"></a>Interpreter</h3><pre>
  2887. Fixes bugs:
  2888. - zdps1.c didn't include alloc.h.
  2889. - On 32-bit systems, if maxlength of a dictionary was less
  2890. than the actual allocated space, length could become larger than
  2891. maxlength.
  2892. - flushfile didn't actually flush data when reading.
  2893. - The ASCII85Decode filter signalled EOF prematurely.
  2894. - The scanner interpreted .3D.glorp as the number 0.3, rather
  2895. than as a name.
  2896. - Closing a file freed the stream structure, creating
  2897. dangling references if there were other file objects pointing to the
  2898. same stream.
  2899. - eexec called handleerror if an error occurred, instead of
  2900. letting the error propagate to an enclosing stopped.
  2901. - gs.h made perror illegal, instead of defining it in terms
  2902. of strerror.
  2903. - One-character names weren't being allocated at
  2904. initialization, so they could be left dangling after a restore.
  2905. - Internal gsaves (i.e., the ones in show and setcachedevice)
  2906. didn't also save istate, so setfont inside a BuildChar procedure
  2907. might cause the font outside to get changed.
  2908. - The allocator incorrectly freed objects in the current
  2909. chunk that were older than the current save.
  2910. - mark was just an object, rather than an operator, so 'bind'
  2911. didn't bind it. (This is theoretically a problem for null, true, and
  2912. false also, but even more unlikely to be a problem in practice.)
  2913. - packed_get didn't cast packed integers to int, so negative
  2914. integer elements of packed arrays came out wrong.
  2915. - quit just did a gs_exit, instead of returning to the driver
  2916. in an orderly way.
  2917. - Because check_type_access checked for errors in the wrong
  2918. order, sometimes type errors were reported as access errors.
  2919. - eq didn't check for stack underflow.
  2920. - Some of the stream_procs structures weren't properly
  2921. declared const, leading to link errors on VMS.
  2922. Implements currentcolor, currentcolorspace, setcolor, and
  2923. setcolorspace (for DeviceGray, DeviceRGB, and DeviceCMYK only).
  2924. Implements the dictionary form of image and imagemask. All the pairs
  2925. in the Decode array must be the same; Interpolate is ignored. The
  2926. only supported color spaces are DeviceGray, DeviceRGB, and
  2927. DeviceCMYK.
  2928. Implements files as allowable sources for the image operators.
  2929. Removes the index field from the name structure, moving it to the
  2930. 'size' field of name refs.
  2931. Changes the unread/sungetc operation to require that the character be
  2932. the same as the last one read from the file.
  2933. Adds fflush calls to some debugging printout routines, because Unix
  2934. sometimes buffers terminal output.
  2935. Implements the CCITTFaxEncode and CCITTFaxDecode filters. Implements
  2936. the general case of the SubFileDecode filter.
  2937. Changes definefont to treat a UniqueID of 0 as equivalent to no
  2938. UniqueID, because Fontographer output apparently often violates the
  2939. specification in this way.
  2940. Changes the default printer screen from 32.5 to 46 cells/inch. (The
  2941. old value was appropriate for a hand-rotated cell with two spots in
  2942. it.)
  2943. Changes the utility routines to allow an integral real wherever an
  2944. integer parameter is expected in a dictionary, because Fontographer
  2945. produces fonts that violate the Adobe specification in this way.
  2946. Adds a `dosio' feature that provides direct access to memory and to
  2947. I/O ports under MS-DOS. (This feature is not included in the
  2948. standard executables, of course.)
  2949. Changes the default character cache limit to a 1/4" x 1/4" character
  2950. at the default resolution, rather than basing it on the preallocated
  2951. cache size.
  2952. Removes support for t_color objects, which haven't actually been used
  2953. for several releases.
  2954. Implements setcmykcolor and currentcmykcolor as operators, so they
  2955. will interact properly with setcolorspace and currentcolorspace.
  2956. Changes the name of the file.h header file to files.h, to work around
  2957. a bug in the VMS header library.
  2958. Adds command line switches @file (to treat file as more command line,
  2959. to get around the DOS 128-character command line limit) and -ffile
  2960. (so one can specify file names that begin with - or @).
  2961. Changes the PFBDecode filter so it takes an additional boolean that
  2962. says whether or not to convert binary packets to hex. (Conversion to
  2963. hex and back to binary accounted for a substantial amount of the time
  2964. required to load .PFB fonts.)
  2965. Splits off `copydevice' as a separate operator again.
  2966. </pre><h3><a name="V2.5_Library"></a>Library</h3><pre>
  2967. Fixes bugs:
  2968. - In the VMS environment, string_.h used its own prototypes
  2969. for the str... and mem... functions instead of &lt;string.h&gt;
  2970. - gx_alloc_char_bits declared cdsize as long, but didn't
  2971. shorten it when passing it to shorten_cached_char.
  2972. - Stroking didn't suppress fattening of the lines.
  2973. - kshow didn't update the cached CTM information in the show
  2974. enumerator when returning from the callout, so further characters
  2975. could get drawn in the wrong place.
  2976. - When a memory device returned its initial matrix, it
  2977. smashed the padding fields, which contained the interpreter's type
  2978. information.
  2979. - setcachedevice didn't set the initial matrix in the cache
  2980. memory device.
  2981. - image_set_rgb (in the image operators) didn't do a
  2982. gx_color_from_rgb, so in principle one could sometimes get incorrect
  2983. colors in an image.
  2984. - The decision about whether or not to cache a character
  2985. bitmap incorrectly compared the character size against cmax rather
  2986. than cdata_size.
  2987. - show didn't reset the in_cachedevice flag in the graphics
  2988. state, so characters rendered by a recursive show were never cached.
  2989. - clip and eoclip didn't release the intermediate flattened
  2990. clip path, causing memory to be lost.
  2991. - The tile_diff routine didn't handle the case of two
  2992. identical tiles properly; this produced garbage in the band list
  2993. file.
  2994. - stringwidth didn't round the character origin to an
  2995. integral pixel; this interacted badly with hinting, causing
  2996. improperly hinted characters to wind up in the cache.
  2997. - Bitmaps (including characters) were displaced, as well as
  2998. being clipped, if they intersected the top of a clipping region.
  2999. - In gxclist and gdevmem1, the raster computation (although
  3000. not the result) could overflow an int on 16-bit machines.
  3001. Implements decoding (sample mapping) for image and imagemask.
  3002. Implements hinting for Type 1 fonts, based on (but not copying) the
  3003. algorithms from the X11R5 tape.
  3004. Changes curve rasterizing to use sampling, rather than recursive
  3005. subdivision, for characters. This produces noticeably better output.
  3006. Speed penalty for non-cached characters is less than 10% at display
  3007. resolutions, up to 50% for 300 dpi printers.
  3008. Implements gs_setcmykcolor and gs_currentcmykcolor. These are
  3009. semi-fake, since they simply convert the color to and from RGB, but
  3010. the former does set the current color space properly.
  3011. Changes clipping regions so they use the any-part-of-pixel rule
  3012. rather than the center-of-pixel rule. This helps avoid dropouts when
  3013. using very small regions.
  3014. Implements stroke adjustment.
  3015. </pre>
  3016. <hr>
  3017. <h2><a name="Version2.4.2"></a>Version 2.4.2 (5/8/92)</h2>
  3018. <p>
  3019. This is another quick release. It finally fixes rotated halftone
  3020. screens, and cleans up a few minor problems from 2.4.1.
  3021. <p>
  3022. This release is being distributed only to beta testers and commercial
  3023. licensees, since I don't want to be distracted from working on 2.5.
  3024. <h3><a name="V2.4.2_Procedures"></a>Procedures</h3><pre>
  3025. Fixes bugs:
  3026. - UTRACE still appeared in the VMS makefiles.
  3027. - The support files (*.bat, *.doc, *.gsf, *.ps, Fontmap,
  3028. COPYING, README) weren't included in the MS-DOS tar file.
  3029. - The Unix install script didn't install landscap.ps.
  3030. Replaces the type1imagepath operator with PostScript code (impath.ps,
  3031. type1ops.ps) based on the new .imagepath operator.
  3032. Renames LICENSE as COPYING.
  3033. </pre><h3><a name="V2.4.2_Utilities"></a>Utilities</h3><pre>
  3034. Fixes bugs:
  3035. - pcharstr.ps had an occurrence of Subrs rather than /Subrs,
  3036. causing it to not print the Subrs, or to get an error if there were
  3037. none.
  3038. - font2c.ps didn't get the const declarations for string
  3039. dictionaries quite right.
  3040. - The missing newline at the end of gsbj.bat confused GNU
  3041. diff.
  3042. - ansi2knr would go into an infinite loop if a statement
  3043. exceeded its internal buffer size.
  3044. - Compiled fonts would get processed by ansi2knr, which
  3045. messed them up.
  3046. </pre><h3><a name="V2.4.2_Platforms"></a>Platforms</h3><pre>
  3047. Fixes bugs:
  3048. - Ghostscript didn't supply equivalents for rename and
  3049. gettimeofday, which some System V platforms lack.
  3050. - The missing newline at the end of gp_dosfb.c confused GNU
  3051. diff.
  3052. Changes the Borland makefiles so that stack checking is only enabled
  3053. if DEBUG or TDEBUG is set.
  3054. </pre><h3><a name="V2.4.2_Fonts"></a>Fonts</h3>
  3055. <pre>
  3056. Changes the names of the Utopia fonts from utrg/utb/utbi/uti to
  3057. putr/putb/putbi/puti, for consistency with the rest of the font names.
  3058. Changes cour/courb/courbi/couri to ncrr/ncrb/ncrbi/ncri likewise.
  3059. Replaces the Charter fonts with the CharterBT fonts donated by
  3060. Bitstream to the X11R5 distribution.
  3061. Adds font aliasing capability to Fontmap. Replaces
  3062. Courier-[Bold]Oblique and ZapfChancery-MediumItalic by aliases.
  3063. Changes the FontBBox of the Hershey fonts to be an executable, rather
  3064. than a literal, array.
  3065. </pre><h3><a name="V2.4.2_Drivers"></a>Drivers</h3><pre>
  3066. Fixes bugs:
  3067. - The GIF driver omitted a `private' on the definition of
  3068. gif_print_page.
  3069. - The GIF driver wrote 16-bit values using the byte ordering
  3070. of the platform, rather than always LSB first.
  3071. - George Cameron's DeskJet 500C driver had an incorrect
  3072. control sequence for skipping blank lines.
  3073. Adds 'const' in many places, including the tile and bitmap arguments
  3074. of the tile_rectangle, copy_mono, and copy_color driver routines.
  3075. THIS IS A DRIVER INTERFACE CHANGE. (Printer drivers are not
  3076. affected, since they don't implement these routines.)
  3077. Adds a driver for the Trident TVGA.
  3078. </pre><h3><a name="V2.4.2_Interpreter"></a>Interpreter</h3><pre>
  3079. Fixes bugs:
  3080. - alloc_free sometimes incorrectly chose to put an unaligned
  3081. block in an old segment on a freelist.
  3082. - The default undercolor removal function returned its
  3083. argument rather than returning 0.
  3084. Adds NullEncode and SubFileDecode to the standard filters, since
  3085. bdftops uses the latter.
  3086. Adds RunLengthEncode and RunLengthDecode to the optional filters.
  3087. Removes the type1imagepath operator. (It is still available as
  3088. PostScript code, impath.ps.) Replaces it with a simpler outline
  3089. tracing operator .imagepath.
  3090. Adds 'const' in many places.
  3091. Makes fileposition (but not setfileposition) legal for NullEncode
  3092. filters.
  3093. Changes the default transfer function for high-resolution devices
  3094. from the identity function to the square root function.
  3095. Moves array_get from zgeneric.c to iutil.c.
  3096. Changes uses of fopen to add a "b" to the access mode, rather than
  3097. relying on the _fmode global variable on MS-DOS platforms.
  3098. Allows use of the -Z switch even when gsmain.c wasn't compiled with
  3099. -DDEBUG, since other modules might have been.
  3100. Reorganizes gs.c and gsmain.c so that the latter can be used in
  3101. server environments.
  3102. Replaces all uses of stdin/out/err with gs_stdin/out/err.
  3103. Makes the number of permanent entries on the dictionary stack a
  3104. parameter, to allow inserting globaldict in the future.
  3105. Changes BlueShift in the Type 1 font Private dictionary to allow real
  3106. numbers. (This differs from the Adobe specification, but at least
  3107. one commercial font has a real number for BlueShift.)
  3108. </pre><h3><a name="V2.4.2_Library"></a>Library</h3><pre>
  3109. Fixes bugs:
  3110. - The doubling check in init_ht (gxht.c) still sometimes
  3111. thought there was enough room to double the tile when there actually
  3112. wasn't.
  3113. - Rotated halftone screens didn't work.
  3114. - gxarith.h used #ifdef vax, rather than #if
  3115. !arch_floats_are_IEEE, to test whether IEEE floats were being used.
  3116. - pathforall didn't report a trailing moveto.
  3117. Replaces gs_type1imagepath with gs_imagepath.
  3118. Allows sOUTPUTFILE=-, meaning output to stdout.
  3119. Adds 'const' in many places.
  3120. Replaces all uses of stdin/out/err with gs_stdin/out/err.
  3121. </pre>
  3122. <h2><a name="Version2.4.1"></a>Version 2.4.1 (4/21/92)</h2>
  3123. <p>This is a quick release to fix minor problems discovered in 2.4, and
  3124. to add a few improvements that didn't quite make it into 2.4. It
  3125. also adds GIF and PCX file support.
  3126. <h3><a name="V2.4.1_Procedures"></a>Procedures</h3><pre>
  3127. Fixes bugs:
  3128. - Some makefile dependencies, and the ccgs script, caused trouble
  3129. for parallel versions of `make'.
  3130. - Compiling genarch with -O with gcc on the RS/6000 produced a
  3131. buggy executable.
  3132. Fixes some minor problems in make.doc.
  3133. Adds DEVICE_DEVS2..5 to handle long device lists.
  3134. Removes the need to set GS_RUN_EXE when using the Watcom compiler on
  3135. MS-DOS systems.
  3136. Gets rid of gs_ccfnt.ps, merging its function into gs_fonts.ps.
  3137. Gets rid of gconfig.ps; this information is now compiled in gconfig.c.
  3138. </pre><h3><a name="V2.4.1_Utilities"></a>Utilities</h3><pre>
  3139. Fixes bugs:
  3140. - The palette for pstoppm in 8-bit mode didn't contain all 8
  3141. primary colors.
  3142. - font2c used just values_ to mean &amp;values_[0]; some compilers
  3143. couldn't handle this.
  3144. Makes font2c insert `const' in many appropriate places.
  3145. </pre><h3><a name="V2.4.1_Drivers"></a>Drivers</h3><pre>
  3146. Fixes bugs:
  3147. - The SunView driver had not been updated properly for 2.4 and was
  3148. pretty thoroughly broken.
  3149. - None of the printer drivers worked properly with the Watcom
  3150. compiler, because stdprn was doing \n -&gt; \r\n substitution.
  3151. - If the generic printer driver couldn't allocate the requested
  3152. size command list buffer, it gave up rather than trying to allocate a
  3153. smaller buffer.
  3154. - The SuperVGA drivers (except for the VESA driver) didn't
  3155. work with the Watcom compiler, because a couple of places in the
  3156. drivers weren't truncating the offset of "segmented" pointers
  3157. properly.
  3158. - Some of the H-P used &lt;esc&gt;*b#Y rather than &lt;esc&gt;*p+#Y for
  3159. vertical positioning; this apparently is wrong, at least for the
  3160. LJIIp.
  3161. Removes the dependence of the X Windows driver on Xt, Xext, and Xmu. As a
  3162. result, Ghostscript will not install a standard colormap itself, but it
  3163. will use one if one is already installed.
  3164. Adds a set of drivers for Portable Bitmap, Graymap, and Pixmap file
  3165. formats.
  3166. Adds drivers for monochrome, EGA/VGA-style, and SuperVGA-style PCX
  3167. file formats.
  3168. Adds drivers for monochrome and 256-color GIF file formats.
  3169. </pre><h3><a name="V2.4.1_Fonts"></a>Fonts</h3><pre>
  3170. Adds ZapfChancery-MediumItalic as a copy of ZapfChancery-Oblique.
  3171. </pre><h3><a name="V2.4.1_Interpreter"></a>Interpreter</h3><pre>
  3172. Fixes bugs:
  3173. - A value with l_new set could 'escape' to save level 0 on a
  3174. stack; if stored, it prevented the slot from being saved and restored
  3175. properly.
  3176. - 16#7fffffff + 1 gave the floating point equivalent of -2^31, not
  3177. 2^31.
  3178. - The PFBDecode filter computed the packet length incorrectly if
  3179. the 0x8000-bit of the length was set.
  3180. - 5-byte numbers in Type 1 CharStrings complained of a rangecheck
  3181. if they exceeded 16 bits, rather than if they exceeded the integer part of
  3182. a fixed.
  3183. - (, ), and \ appearing in file name arguments in the command
  3184. line did not work properly.
  3185. Adds 'const' in many places.
  3186. Changes the random number generator to be the same as the one used in
  3187. Level 2 PostScript (as reported by Ed Taft on comp.lang.postscript).
  3188. Exits with code 1 rather than code 0 on an unrecoverable error detected at
  3189. the PostScript level.
  3190. Makes dictionaries expand automatically when they fill up.
  3191. Adds gp_exit to complement gp_init.
  3192. Changes dictionaries to always allocate a power of 2 entries on
  3193. 32-bit machines. Changes the name table to allocate indices
  3194. scattered, so dictionary lookup doesn't have to do a multiply to
  3195. scramble the index.
  3196. Changes the handling of currentfile to do "shallow binding" so stack
  3197. searching is almost never required.
  3198. </pre><h3><a name="V2.4.1_Library"></a>Library</h3><pre>
  3199. Fixes bugs:
  3200. - arc and arcn got a numeric exception if the radius was zero.
  3201. - The undocumented 15 opcode in Type 1 fonts wasn't ignored.
  3202. - PaintType 3 wasn't allowed. (It isn't clear what it should
  3203. mean; we treat it as equivalent to 0.)
  3204. - The VAX/VMS C compiler was generating incorrect code for the
  3205. chi_bits and cmask macros in gdevmem, producing incorrect output.
  3206. - If the result of the slow algorithm for intersecting clipping
  3207. paths was a rectangle, the wrong thing happened (cbox didn't get set).
  3208. - gx_path_is_rectangle didn't recognize open rectangles.
  3209. - clist_change_tile didn't check properly whether the tile
  3210. size had changed, so changing the screen could produce invalid band
  3211. files.
  3212. - The image operators did the wrong thing in the 1-for-1
  3213. case, interleaving N bytes of data with 7*N bytes of garbage.
  3214. - stroke sometimes handled bevel and miter joins wrong in
  3215. reflected coordinate systems.
  3216. - init_ht checked incorrectly whether there was enough room
  3217. to Y-replicate tiles, so sometimes it did it when it shouldn't have.
  3218. - stroke sometimes thought lines were thin when they weren't.
  3219. Adds 'const' in many places.
  3220. Adds support for 2- and 4-bit-per-pixel memory devices.
  3221. </pre>
  3222. <h2><a name="Version2.4"></a>Version 2.4 (3/25/92)</h2>
  3223. <p>This is a major release that adds SuperVGA support, support for
  3224. Metrics,
  3225. settable device properties, and incremental font loading. It also
  3226. includes important performance improvements, based on rewrites of some key
  3227. algorithms, and quite a few new Level 2 / Display PostScript facilities.
  3228. <h3><a name="V2.4_Procedures"></a>Procedures</h3><pre>
  3229. Fixes bugs:
  3230. - The rule for compiling gconfig.c didn't include the -I switches.
  3231. - .bat files were being distributed with a \n line terminator
  3232. rather than \r\n.
  3233. - A CLOSE MODULE_LIST was needed after END_COMPILE: in the VMS
  3234. command files.
  3235. - Unix systems couldn't handle multiple drivers with overlapping
  3236. sets of files.
  3237. - -s&lt;name&gt; defined &lt;name&gt; as a null, rather than as an empty string.
  3238. Adds gconfig.ps to the list of needed configuration files.
  3239. Changes the way that the makefile handles nested .h files, so that it
  3240. doesn't have to `touch' them.
  3241. Adds the loadallfonts procedure to gs_fonts.ps.
  3242. Changes the standard DOS configuration to include VGA, EGA, VESA, Epson,
  3243. BubbleJet, and H-P printer drivers.
  3244. Renames ghost.mak as gs.mak, and gdevs.mak as devs.mak.
  3245. Adds a USE_ASM flag so that one can build a DOS version of Ghostscript
  3246. without having an assembler.
  3247. Splits off common code from the two MS-DOS makefiles into tccommon.mak.
  3248. Replaces the COPYING and LICENSE files with a new LICENSE file containing
  3249. version 2 of the GNU General Public License.
  3250. Removes DEVICES and DEVICE_OBJS from the makefiles, since they are no
  3251. longer needed.
  3252. Adds a GS_DEVICE environment variable to supply a default device name if
  3253. desired.
  3254. Adds ansihead.mak and unix-ansi.mak, to parallel [g]cc-head.mak and
  3255. unix-[g]cc.mak, for other ANSI C compilers.
  3256. Changes the way that optional features are defined in the makefiles, so
  3257. that they actually work.
  3258. Adds support for the Watcom C/386 compiler.
  3259. Allows # in the command line as equivalent to =, to compensate for
  3260. brain-damaged MS-DOS shell.
  3261. Adds -sOUTPUTFILE= to set the output file or pipe.
  3262. Adds -dWRITESYSTEMDICT to leave systemdict writable.
  3263. </pre><h3><a name="V2.4_Utilities"></a>Utilities</h3><pre>
  3264. Fixes bugs:
  3265. - pcharstr.ps insisted on having Subrs be present in the font.
  3266. - pcharstr.ps decoded negative numbers between -108 and -1131
  3267. incorrectly.
  3268. - pfbtogs.ps didn't handle packets longer than 64K correctly.
  3269. Changes the bdftops utility so that it makes entries for UnderlinePosition
  3270. and UnderlineThickness in FontInfo, and so that it always records a
  3271. FullName (the FontName if no other is provided).
  3272. Changes the name of the pfbtops utility to pfbtogs, because groff already
  3273. includes a program called pfbtops.
  3274. Adds the gslp utility for doing "line printing" of text files, similar to
  3275. enscript + lpr.
  3276. Adds a new variable DITHERPPI that enables a different dither pattern,
  3277. claimed to be better for printers.
  3278. Adds the font2c utility for compiling Type 1 fonts into C, so they can be
  3279. linked into an executable rather than loaded dynamically.
  3280. </pre><h3><a name="V2.4_Drivers"></a>Drivers</h3><pre>
  3281. Fixes bugs:
  3282. - gdev_prn_copy_scan_lines was erroneously masking the last byte
  3283. of data even on color printers, as was paintjet_print_page.
  3284. - The TruFax driver had a couple of compilation errors, since it
  3285. hadn't been compiled in a while.
  3286. - The BGI driver sometimes didn't consult BGIPATH when looking for
  3287. .BGI files.
  3288. - initclip did the wrong thing with memory devices.
  3289. - The BGI driver didn't look in BGIDIR for .BGI files.
  3290. - The Epson driver didn't set the right margin properly with
  3291. ESC+Q.
  3292. - The BJ-10e driver was badly broken.
  3293. - gdev_prn_open/close_printer didn't reset the command list file,
  3294. so it was taking quadratic time to print multi-page documents.
  3295. Adds color to the SunView driver.
  3296. Adds selectable resolution (75, 100, 150, or 300 DPI) to the
  3297. DeskJet/LaserJet driver.
  3298. Changes gssetdev so that drivers can specify special libraries to be
  3299. loaded, as well as object files.
  3300. Adds a driver for VESA-compliant SuperVGA displays. This driver handles
  3301. all resolutions from 640 x 400 up to 1280 x 1024, in 256-color mode. The
  3302. default is VGA resolution (640 x 480).
  3303. Adds a driver for the ATI Wonder SuperVGA card, and for SuperVGA cards
  3304. using the Tseng Labs ET3000 or ET4000 chip such as the STB VGA EM-16 and
  3305. the Orchid ProDesigner II (256-color modes only).
  3306. Adds a driver for Trident and Tseng Labs SuperVGA cards in 800 x 600,
  3307. 16-color modes (for cards with only 256K of memory).
  3308. Adds user-contributed drivers for the Ricoh 4081, DEC LN03, Canon LBP-8II,
  3309. and H-P DeskJet 500C printers.
  3310. Adds Tim Theisen's Ghostview changes to the X11 driver.
  3311. MAKES NON-BACKWARD-COMPATIBLE CHANGES TO THE DRIVER PROCEDURE INTERFACE as
  3312. follows:
  3313. - Changes map_rgb_color and map_color_rgb to always work in a
  3314. 16-bit color value space, rather than a space defined by the
  3315. maximum number of distinct colors provided by the device.
  3316. - Adds an argument to the output_page procedure to indicate
  3317. whether the procedure is being called for copypage or
  3318. showpage, and a num_copies argument.
  3319. - Adds a gx_bitmap_id to the copy_ and tile_ procedures, so that
  3320. drivers can cache bitmaps in the server or device if they want
  3321. to.
  3322. - Removes fill_trapezoid and tile_trapezoid.
  3323. - Adds a new get_bits procedure for reading the bits back from the
  3324. driver buffer (when possible), replacing copy_scan_lines.
  3325. This procedure takes a new argument describing padding and
  3326. byte swapping, and returns a different value from
  3327. copy_scan_lines.
  3328. - Adds get_props and put_props procedures for accessing arbitrary
  3329. additional properties of devices. The interface is quite
  3330. complex, but provides a great deal of flexibility.
  3331. See drivers.doc for details.
  3332. Changes gdev_mem_bytes_per_scan_line to gdev_prn_bytes_per_scan_line.
  3333. Adds a user-contributed driver for DigiBoard, Inc.'s fax software.
  3334. </pre><h3><a name="V2.4_Fonts"></a>Fonts</h3>
  3335. <pre>
  3336. Changes Type1BuildChar so it uses the information from the Metrics
  3337. dictionary in the font, if Metrics is present.
  3338. Changes findfont (.loadfont) so it recognizes .PFB fonts and can load them
  3339. directly. Also changes .loadfont to disable packing temporarily, because
  3340. some fonts rely on procedures being writable (!).
  3341. </pre><h3><a name="V2.4_Interpreter"></a>Interpreter</h3><pre>
  3342. Fixes bugs:
  3343. - The hypot function is not available on some Unix systems.
  3344. - Ghostscript didn't flush and close files when exiting.
  3345. - In statusdict, the /margins procedure used .leftmargin, but
  3346. /setmargins used .lmargin.
  3347. - An out-of-range putinterval would simply do nothing, rather than
  3348. reporting an error.
  3349. - If an attempt to allocate a block larger than the allocator's
  3350. chunk size (20K) failed, the allocator would erroneously think it had
  3351. succeeded.
  3352. - The bind operator made the top-level procedure read-only, as
  3353. well as interior procedures.
  3354. - gs.c copied 1 extra character for the value of strings defined
  3355. on the command line with -s...=, which could smash the first byte of the
  3356. next object in memory.
  3357. - copying a dictionary erroneously required the maxlength of the
  3358. destination to be greater than or equal to the maxlength of the source,
  3359. rather than the length of the source.
  3360. - undef didn't correctly decide when to mark a deleted entry as
  3361. deleted vs. free; as a result, some keys couldn't be looked up properly
  3362. after an undef.
  3363. - type1encrypt and type1decrypt didn't set the size of the result
  3364. properly.
  3365. - cvi and cvr didn't allow leading or trailing whitespace in
  3366. strings.
  3367. - cvs didn't cause an error if the destination string was too
  3368. short.
  3369. - Many operators didn't check correctly for stack underflow (off
  3370. by 1).
  3371. - `for' used reals, rather than integers, if the limit was a real,
  3372. even if the initial value and increment were integers.
  3373. - `restore' didn't properly invalidate copies of the save object
  3374. being restored from; `save dup restore restore' would crash.
  3375. - `restore' sometimes didn't undo stores into matrices that were
  3376. stored into by operators. (The identity matrix always had l_new set.)
  3377. - readline gave a rangecheck if the input line exactly filled the
  3378. string.
  3379. - `--' as the last switch on the command line caused a crash
  3380. rather than an error message.
  3381. - On MS-DOS systems, filenameforall didn't handle patterns with a
  3382. drive or directory specifier properly.
  3383. - stroke sometimes called gz_draw_line_fixed even if the line went
  3384. outside the clipping box by 1 pixel.
  3385. Changes the loop that binds procedure "operators" to entirely disable the
  3386. handling of the typecheck error, rather than to use stopped. This cuts
  3387. initialization time significantly, and also eliminates about 35K of wasted
  3388. space (for saving the stacks).
  3389. Changes the version "operator" so it returns 47.0. Adds "revision" to
  3390. define the Ghostscript version # x 100.
  3391. Adds gscurrentresolution and gssetresolution procedures for getting and
  3392. setting the device resolution.
  3393. Adds -r&lt;res&gt; and -r&lt;xres&gt;x&lt;yres&gt; as command line options for setting
  3394. device resolution.
  3395. Adds a facility for incrementally loading the individual CharStrings of a
  3396. Ghostscript font from the disk. This can save a lot of memory, at the
  3397. expense of slower rendering. (It is intended primarily for MS-DOS
  3398. systems.)
  3399. Changes findlibfile to return the name of the file that was actually
  3400. opened, as well as the file itself, when the operation succeeds.
  3401. Changes the name of the main entry to the interpreter from interpret to
  3402. gs_interpret, because of a conflict with a Data General library procedure.
  3403. Adds the .setmetrics operator to set the metrics for the current
  3404. character for Type 1 fonts.
  3405. Adds more LaserWriter-specific entries to statusdict.
  3406. Gives names to all the internal `operators', so they will print out
  3407. reasonably when an error occurs.
  3408. Extends the status operator to accept a string and return file
  3409. information, as defined for Level 2 PostScript.
  3410. Adds the filter operator and some specific filters: ASCII85Encode,
  3411. ASCII85Decode, ASCIIHexEncode, ASCIIHexDecode, eexecDecode, NullEncode,
  3412. PFBDecode, and the null case of SubFileDecode.
  3413. Extends the scanner to recognize the Level 2 &lt;&lt; and &gt;&gt; tokens.
  3414. Adds a facility for extracting the text strings from a PostScript file and
  3415. writing them out in a simple format (selected by -dASCIIOUT, implemented
  3416. by gs_2asc.ps).
  3417. Implements all of the remaining Display PostScript facilities that are
  3418. also in Level 2 (i.e., everything in section A.1.3 of the PostScript
  3419. Language Reference Manual, Second Edition, that is not also in section
  3420. A.1.2). The virtual memory operations are all stubs; the new halftone
  3421. options are not fully implemented.
  3422. Changes makeimagedevice to use a string of gray or RGB values, rather than
  3423. an array of color objects, to specify the palette. Removes
  3424. currentgscolor and setgscolor from the interpreter, but leaves t_color
  3425. objects in, since they may be useful later.
  3426. Adds getdeviceprops and putdeviceprops for manipulating device properties.
  3427. Currently defined properties for all devices: InitialMatrix, HWResolution,
  3428. HWSize, Name. Currently defined properties for printers: BufferSpace,
  3429. MaxBitmap, OutputFile. OutputFile allows |command for piping on Unix
  3430. systems.
  3431. Removes deviceparams and makedevice. Adds devicedefaultmatrix.
  3432. Implements reversepath.
  3433. Makes copy work on devices.
  3434. MS-DOS specific
  3435. - - - - - - - -
  3436. Fixes bugs:
  3437. - iutilasm.asm wouldn't assemble with newer versions of MASM if
  3438. CPU_TYPE was set to 286 or above.
  3439. - CPU_TYPE=386 didn't properly substitute the faster
  3440. multiply/divide routines under Turbo C++ or Borland C++, only under the
  3441. original Turbo C.
  3442. </pre><h3><a name="V2.4_Library"></a>Library</h3><pre>
  3443. Fixes bugs:
  3444. - A curve whose first and last points were the same wouldn't get
  3445. drawn at all.
  3446. - A bug in the Turbo C++ compiler generated bad code when shifting
  3447. a long right by 1 bit.
  3448. - If stroking a dashed line ever encountered a segment that was
  3449. completely blank, Ghostscript would indirect through a null pointer.
  3450. - arc and arcn gave an error if the radius was negative.
  3451. - stroke always used the general algorithm, even if the line was
  3452. guaranteed to be thin.
  3453. - arc and arcn erroneously reduced the angles mod 360.
  3454. - Very large or negative 32-bit numbers in Type 1 fonts didn't
  3455. work properly on MS-DOS systems (the ff0000 bits got set to zero).
  3456. - Color printer devices rendering entirely in memory only
  3457. allocated a monochrome-sized bitmap.
  3458. - clip and eoclip didn't intersect the paths properly in the
  3459. general case.
  3460. - charpath erroneously rounded the current point to an integral
  3461. value, causing characters to be spaced improperly.
  3462. - The definition of max_color_param got some compilers confused.
  3463. - charpath always used quadratic time and space, and dropped all
  3464. but the last character when used with a Type 3 font.
  3465. - Stroking a path with a 180 degree angle would incorrectly miter
  3466. instead of beveling.
  3467. - Type 1 fonts used the current flatness for curves, which could
  3468. produce bad (and inconsistent) results.
  3469. - Stroking a degenerate line segment produced incorrect results.
  3470. Changes the character cache to use the UniqueID as the key, when
  3471. available, instead of the font pointer. This dramatically improves
  3472. performance when fonts are getting removed and reloaded because of page
  3473. isolation with save/restore.
  3474. Removes some unnecessary casts to (float) from gsmatrix.c and gscoord.c.
  3475. Changes the Type 1 interpreter so that it rounds line and curve endpoints
  3476. to the center of the nearest half-pixel, and omits null line segments.
  3477. This both speeds up rendering at small sizes and improves output quality.
  3478. Changes gs_deviceparams to return resolution as well as extent; changes
  3479. gs_makedevice to accept resolution as well as extent.
  3480. Replaces the algorithm for approximating circular arcs with curves with a
  3481. more accurate one.
  3482. Changes gs_point and gs_rect to use doubles rather than floats.
  3483. Adds gs_setmetrics, for overriding Type 1 font metrics for the current
  3484. character.
  3485. Changes clipping to use lists of rectangles rather than path intersection.
  3486. This makes a big difference when clipping bitmaps (including characters).
  3487. Changes the character cache to discard entries incrementally, rather than
  3488. clearing the entire cache when it fills up.
  3489. Changes the implementation of transfer functions to use a cached map,
  3490. built when the transfer function is set. This makes transfer functions
  3491. work properly in all situations, including images.
  3492. Defines a .quit operator that takes an exit code, and redefines quit in
  3493. terms of it.
  3494. Adds support for 16-bit-per-pixel devices in gdevmem.
  3495. Adds gs_copydevice and gs_deviceinitialmatrix; removes gs_deviceparams and
  3496. gs_makedevice.
  3497. Changes setscreen to ensure that the cell is always at least 4x4 pixels in
  3498. size.
  3499. </pre>
  3500. <h2><a name="Version2.3"></a>Version 2.3 (8/28/91)</h2>
  3501. <p>This is a minor release to fix two bugs and add the PaintJet driver,
  3502. which
  3503. didn't make it into 2.2.
  3504. <h3><a name="V2.3_Utilities"></a>Utilities</h3><pre>
  3505. Changes the pstoppm utility so it counts pages correctly even in the
  3506. presence of arbitrary saves and restores.
  3507. </pre><h3><a name="V2.3_Drivers"></a>Drivers</h3><pre>
  3508. Adds a new, "supported" PaintJet driver.
  3509. Changes the Epson driver to use ESC+D rather than ESC+\ for horizontal
  3510. positioning, since many printers don't support the latter.
  3511. Adds horizontal double-density (two-pass) printing to the Epson driver, so
  3512. it can do 240 x 60 and 360 x 180 densities. (Vertical double density is
  3513. not supported yet.)
  3514. </pre>
  3515. <hr>
  3516. <h2><a name="Version2.2"></a>Version 2.2 (6/1/91)</h2>
  3517. <p>
  3518. The purpose of this release is to add save/restore, and a few
  3519. miscellaneous Level 2 P*stScr*pt features such as undef. It also includes
  3520. major improvements in graphics quality and in handling of high-resolution
  3521. printers.
  3522. <h3><a name="V2.2_Procedures"></a>Procedures</h3><pre>
  3523. Changes the version numbering to M.mpp rather than M.m.p, so that
  3524. `version' can be a real number for those programs that insist on it.
  3525. Renames ghost.ps as gs_init.ps, gfonts.ps as gs_fonts.ps, and statusd.ps
  3526. as gs_statd.ps. The initialization files now all are named gs_*.ps.
  3527. Renames gdevs.{c,h,tl} as gconfig.{c,h,tl}.
  3528. Changes the relevant makefiles and command files so that a single build
  3529. can contain several drivers that share code, e.g., the Epson driver and
  3530. the DeskJet driver.
  3531. Changes gs_init.ps so it relies on an external gconfig.ps file rather than
  3532. making a specific test for the presence of Level 2 features.
  3533. Adds an entry for uglyr.gsf to the makefile.
  3534. Removes the distinction between CCA and CCNA, since most of the files now
  3535. contain constructs that require non-ANSI compilation on MS-DOS platforms.
  3536. Adds a `man' page for the ansi2knr utility.
  3537. Changes the documentation (use.doc) to show how to use -sDEVICE=&lt;device&gt;,
  3538. or the selectdevice procedure, to select devices by name.
  3539. Adds DEVICE_DEVS to the makefiles (analogous to DEVICES and DEVICE_OBJS).
  3540. This finally makes the make procedure fully automatic.
  3541. Adds the name of the initialization file (gs_init.ps) as a
  3542. platform-specific makefile parameter, GS_INIT.
  3543. Removes the test program gt.{c,tr} from the fileset, since it is not
  3544. useful to users.
  3545. Moves the Symbol encoding vector to a separate file (symbol_e.ps), from
  3546. which it is loaded when first used.
  3547. Changes the error handler so it can handle errors that occur while reading
  3548. the initialization files.
  3549. Extends ansi2knr so it can handle `void' and `...' in parameter lists.
  3550. Adds quit.ps to the set of installed files.
  3551. MS-DOS-specific changes
  3552. - - - - - - - - - - - -
  3553. Adds the VGA and BGI drivers to the standard MS-DOS configuration, and
  3554. makes VGA the default.
  3555. Adds a `+' and a newline at the end of gs.tr, to avoid problems with file
  3556. transfer programs or editors that add a newline at the end of files.
  3557. Changes the name of msdos.mak to turboc.mak, and creates a new tbcplus.mak
  3558. makefile for use with Turbo C++ and Borland C++.
  3559. Changes the extension of the loader response files from .tl to .tr.
  3560. Changes the default search path from c:/ghost and c:/ghost/fonts to c:/gs
  3561. and c:/gs/fonts.
  3562. Changes the directory separator from `|' back to ';', since it appears
  3563. that DOS can handle a ; in a command line if it is prefixed with \.
  3564. Unix-specific changes
  3565. - - - - - - - - - - -
  3566. Changes the uses of install in unixtail.mak so they only install a single
  3567. file at a time, which is all that the standard Unix install allows.
  3568. Removes the duplicate files (README/readme, LICENSE/license,
  3569. COPYING/copying, Fontmap/fontmap).
  3570. Changes the ld flags from LDPLAT to LDFLAGS.
  3571. Adds XCFLAGS and XLDFLAGS. These are concatenated with CFLAGS and LDFLAGS
  3572. respectively. The intention is that they be set from the `make' command
  3573. line if desired.
  3574. VMS-specific changes
  3575. - - - - - - - - - -
  3576. Repairs the omission of ZPACKED from the VMS build lists.
  3577. </pre>
  3578. <h3><a name="V2.2_Drivers"></a>Drivers</h3><pre>
  3579. Fixes bugs:
  3580. - The SunView driver produced semi-garbage on little-endian
  3581. platforms (Sun-386i) because it didn't swap the bit order.
  3582. - The X driver would dump core if it couldn't open the display and
  3583. the DISPLAY environment variable wasn't set.
  3584. - The X driver relied on white = 0, black = ones in a couple of
  3585. places;
  3586. - The X driver would return an error, instead of clipping, if
  3587. asked to display outside the window.
  3588. - The X driver would create inappropriately sized windows, because
  3589. it believed the server's report of the screen resolution.
  3590. Adds Fran Taylor's Private Eye driver to gdevs.mak and the fileset (not
  3591. supported by Aladdin Enterprises).
  3592. Adds Neil Ostroff's TruFax driver to gdevs.mak and the fileset (not
  3593. supported by Aladdin Enterprises).
  3594. Makes the scratch file template for the printer drivers a per-platform
  3595. quantity (gp_scratch_file_name_template). Puts the default scratch files
  3596. for Unix in /usr/tmp rather than /tmp.
  3597. Changes the SunView driver to prevent the Ghostscript window from being
  3598. destroyed (which badly confuses the interpreter).
  3599. Extends the Epson driver to handle a variety of print densities in both X
  3600. and Y, to handle 24-pin as well as 8-pin graphics, and to allow optional
  3601. specification of default density in the makefile (gdevs.mak).
  3602. Refactors the printer drivers so that a single driver handles both DeskJet
  3603. and LaserJet. Adds LaserJet drivers that use the new compression modes on
  3604. the LJ IId/IIp and LJ III.
  3605. Changes all the printer drivers to use band lists rather than bitmap
  3606. paging as the buffering method. (The individual drivers need only a
  3607. one-line change to replace mem_copy_scan_lines with
  3608. gdev_prn_copy_scan_lines with a different argument.)
  3609. Adds the halftone phase as additional arguments to tile_rectangle and
  3610. tile_trapezoid.
  3611. Adds an entirely new and much simpler PaintJet driver, using the new band
  3612. list interface.
  3613. Adds margin information to the device structure. This is currently only
  3614. relevant for printer devices.
  3615. Adds BGIPATH and BGIUSER environment variables, allowing additional
  3616. control of the BGI driver.
  3617. Changes the x/y_pixels_per_inch member of the device structure from int to
  3618. float.
  3619. </pre>
  3620. <h3><a name="V2.2_Fonts"></a>Fonts</h3>
  3621. <pre>
  3622. Patches gs_fonts.ps so definefont will add an isFixedPitch entry to
  3623. FontInfo if there isn't one there.
  3624. Removes the old "type 7 path" encoding code from gs_fonts.ps.
  3625. Changes bdftops so it puts isFixedWidth and ItalicAngle entries in the
  3626. FontInfo dictionary of the fonts it creates, since some P*stScr*pt
  3627. programs rely on this.
  3628. Changes bdftops so it synthesizes as many missing characters as possible
  3629. out of the ones that are there (in particular: synthesizes accents out of
  3630. punctuation marks, and accented characters using seac.) The results
  3631. aren't all that good, but they're a lot better than having characters
  3632. missing out of the font.
  3633. </pre><h3><a name="V2.2_Utilities"></a>Utilities</h3><pre>
  3634. Adds a pfbtops utility for converting .PFB fonts to standard Ghostscript
  3635. fonts.
  3636. Fixes bugs:
  3637. - ps2image didn't reset things properly between pages for
  3638. multi-page documents.
  3639. </pre><h3><a name="V2.2_Interpreter"></a>Interpreter</h3><pre>
  3640. Makes Ghostscript recognize `-' alone as meaning that it should read from
  3641. standard input as though it were a file. This allows Ghostscript to
  3642. accept a pipe as input.
  3643. Fixes bugs:
  3644. - seac in type1addpath used the current font's encoding, not
  3645. StandardEncoding.
  3646. - type1decryptfile (eexec) didn't recognize binary (as opposed to
  3647. hex) representation.
  3648. - Mentioning a name whose value was a no-access object caused an
  3649. invalidaccess error.
  3650. - There was a bogus definition of `run' in zfile.c.
  3651. - The interpreter didn't handle end-of-file on stdin properly.
  3652. - Real numbers with an 'e' or 'E' but no decimal point were not
  3653. recognized.
  3654. - On MS-DOS systems, inside strings, \ followed by a newline was
  3655. not discarded properly.
  3656. - On MS-DOS systems, the long unsigned divide routine sometimes
  3657. gave incorrect answers. Among other things, this caused alternate-radix
  3658. numbers sometimes to crash the interpreter.
  3659. - cvrs didn't do the right thing about reals or negative integers.
  3660. - .echo.mode was being reset with def instead of store, and was
  3661. defined in systemdict rather than userdict.
  3662. - setgray and settransfer didn't interact properly.
  3663. - 16#80000000 was being interpreted as a signed integer (and
  3664. converted to a real) rather than an unsigned one.
  3665. - atan returned 0 sometimes when it should have returned 180.
  3666. - currentcmykcolor was defined wrong.
  3667. Removes the filename operator, since no standard Ghostscript code used it,
  3668. and it caused problems with some P*stScr*pt files.
  3669. Implements new operators: filenameforall, selectfont (as a procedure),
  3670. stringmatch, undef.
  3671. Adds new standard procedures: selectdevice.
  3672. For MS-DOS, requires that the operand and execution stacks be located in
  3673. the data segment, and uses short pointers to address them. This produces
  3674. significantly smaller and faster code. (These changes are not visible to
  3675. users or library clients.)
  3676. Changes the assignment of attribute bits, and adds new bits for
  3677. save/restore and the garbage collector. Changes many of the macros in
  3678. store.h to support save/restore. (These changes are not visible to users
  3679. or library clients.) Implements save and restore.
  3680. Moves type names from gs_init.ps to ghost.h and ztype.c.
  3681. Moves error names from gs_init.ps to errors.h and iinit.c.
  3682. Introduces gp.h as a documented interface to the platform-specific files.
  3683. Adds the -- switch, which allows Ghostscript programs to take arguments
  3684. from the command line.
  3685. Changes many uses of the name `name' to something else, to avoid upsetting
  3686. the Microsoft C compiler.
  3687. Really implements packed arrays -- they took the same amount of space as
  3688. ordinary arrays in previous versions.
  3689. Changes exitserver in serverdict so that it just clears the stacks. (This
  3690. isn't the correct fix, but it will do as a workaround.)
  3691. Makes many miscellaneous small changes to pacify various compilers.
  3692. Changes gs_fonts.ps so that when "quiet" mode is selected (-q switch),
  3693. Ghostscript doesn't print anything when loading fonts or when substituting
  3694. for undefined characters.
  3695. Defines the name consisting of just a control-D as a no-op, because some
  3696. P*stScr*pt-generating applications put control-Ds in their output.
  3697. Implements halftone phase (sethalftonephase and currenthalftonephase
  3698. operators).
  3699. Removes the -E switch, since it is no longer useful.
  3700. Changes the -w and -h switches to a single -g (geometry) switch, with
  3701. usage -g&lt;width&gt;x&lt;height&gt;. Makes the -h switch, and a new -? switch, print
  3702. usage help.
  3703. Implements correct handling of stack overflow errors (makes an array out
  3704. of the contents of the overflowing stack, and resets the stack, before
  3705. invoking the error handler).
  3706. Adds t_oparray (`operators' defined as procedures) and the makeoperator
  3707. operator. This is so that programs like the Distillery that rely on all
  3708. operators being bound by `bind' will work properly.
  3709. Adds a new NOPAUSE flag to suppress the prompt and pause at copypage and
  3710. showpage.
  3711. </pre><h3><a name="V2.2_Library"></a>Library</h3><pre>
  3712. Fixes bugs:
  3713. - gs_type1_interpret didn't store the encryption state or the skip
  3714. count before returning to let the client handle a seac or an endchar in
  3715. the middle of a seac.
  3716. - The definition of the Type 1 operator ce_testadd was based on
  3717. wrong information; the operator takes only 2 operands and does something
  3718. unknown.
  3719. - mem_true24_copy_mono wasn't incrementing the destination pointer
  3720. if the color was transparent, leading to garbled characters.
  3721. - gx_lookup_fm_pair would sometimes look at one entry beyond the
  3722. end of the cached font/matrix pair area. (This probably had no practical
  3723. effect.)
  3724. - gs_type1_interpret didn't save the current point when returning
  3725. to the client for a callothersubr, causing some characters to be rendered
  3726. displaced (such as some of the chess pieces in chess.ps).
  3727. - gs_setgray, gs_sethsbcolor, gs_setrgbcolor, gs_setflat, and
  3728. gs_setlinewidth gave errors for out-of-range operands rather than forcing
  3729. them into range.
  3730. - Transfer functions were not actually supported.
  3731. - The area fill algorithm failed on certain complex paths.
  3732. - The current point was sometimes defined when a BuildChar
  3733. procedure was called.
  3734. - Stroking a degenerate line didn't display anything for round
  3735. caps or joins.
  3736. - If the ends of a curve had exactly the same X coordinate, the
  3737. curve sometimes wouldn't be displayed.
  3738. - Very thin lines that went outside the clipping region would
  3739. sometimes be displayed as dashed, or not at all.
  3740. - The translation in a FontMatrix was ignored.
  3741. - Very wide, shallow lines would color extraneous pixels when
  3742. using bevel or miter joins.
  3743. - Dashed lines didn't join properly at the beginning of a closed
  3744. path.
  3745. - 0-degree arcs didn't add the appropriate line (possibly
  3746. degenerate) to the path.
  3747. - gs_type1_interpret didn't reset the callsubr stack when starting
  3748. the base character of a seac, which caused confusion if the accent's
  3749. endchar fell inside a Subr.
  3750. - Non-monochrome memory memory devices weren't checking the
  3751. arguments of the drawing procedures properly.
  3752. - The initial clipping rectangle for memory devices was being
  3753. computed wrong.
  3754. - Null devices had a semi-infinite clipping rectangle instead of
  3755. an empty one.
  3756. - gs_setlinewidth was treating negative arguments as zero, instead
  3757. of taking the absolute value.
  3758. - imagemask with a dithered color used a solid color rather than
  3759. the dithered one.
  3760. Tweaks the area fill and image rendering algorithms to be a little more
  3761. liberal with paint when being used to render characters.
  3762. Changes the name of the 8-bit mapped color memory device from
  3763. mem_mapped_color_device to mem_mapped8_color_device.
  3764. Changes the memory devices so that on little-endian platforms, they can
  3765. store the bytes within a word in either order. (Little-endian order
  3766. allows efficient 32-bit updating, big-endian is required when displaying
  3767. or writing to a printer or a file.)
  3768. Implements halftone phase.
  3769. Replaces the trapezoid fill algorithm with a much more accurate one
  3770. inspired by a contribution from Paul Haeberli. This also changes the
  3771. graphics convention back to filling only pixels whose center falls within
  3772. the region to be filled.
  3773. Changes the character cache to allocate headers and bits contiguously out
  3774. of a single ring buffer.
  3775. Changes gs_imagemask and gs_imagemask_init to take a thickness adjustment
  3776. parameter.
  3777. Changes gs_setcachedevice and gs_setcharwidth to take the graphics state
  3778. as a parameter.
  3779. Renames gx_device_memory_bitmap_size as gdev_mem_bitmap_size,
  3780. mem_copy_scan_lines as gdev_mem_copy_scan_lines, and
  3781. mem_bytes_per_scan_line as gdev_mem_bytes_per_scan_line.
  3782. </pre>
  3783. <hr>
  3784. <h2><a name="Version2.1.1"></a>Version 2.1.1 (1/15/91)</h2>
  3785. <p>This is a sub-release distributed to fix a few early bugs in 2.1,
  3786. just in
  3787. time for the new GNU master tape.
  3788. <h3><a name="V2.1.1_Build_procedures"></a>Build procedures</h3><pre>
  3789. Removes all of the (undebugged) Level 2 code from the fileset, as well as
  3790. the (unused) file gdevvga.c.
  3791. Changes the tar file so that the files are stored in the directory
  3792. gs&lt;version&gt; rather than simply gs, e.g., gs211.
  3793. </pre><h3><a name="V2.1.1_Interpreter"></a>Interpreter</h3><pre>
  3794. Changes the scanner so that \ is recognized within strings regardless of
  3795. whether the scanner is reading from a string or from a file. This is
  3796. compatible with newer P*stScr*pt interpreters, and with the newer
  3797. P*stSc*pt language specification, but not with the older specification in
  3798. the original PostScript Language Reference Manual.
  3799. </pre><h3><a name="V2.1.1_Drivers"></a>Drivers</h3><pre>
  3800. Fixes the max_value macro in gdevmem.c so that compilers won't complain
  3801. about a left shift by 32.
  3802. Adds 'byte' to the list of types that gdevx.c must sidestep because header
  3803. files use them.
  3804. </pre><h3><a name="V2.1.1_Library"></a>Library</h3><pre>
  3805. Changes the computation of penum-&gt;unpack in gsimage.c so as not to upset
  3806. compilers that don't treat procedures and pointers to procedures as
  3807. compatible types for conditional expressions.
  3808. </pre>
  3809. <h2><a name="Version2.1"></a>Version 2.1 (12/31/90)</h2>
  3810. <p>This is primarily a bug fix release to clean up problems in 2.0. It
  3811. also implements a first cut at the new color operators.
  3812. <h3><a name="V2.1_Build_procedures"></a>Build procedures</h3><pre>
  3813. Changes the separator for multiple directories in MS-DOS from ';' to '|',
  3814. since there is no way to include a ';' in a command line.
  3815. Adds &lt;dir&gt;/fonts to the default search path, where &lt;dir&gt; is c:/ghost for
  3816. MS-DOS systems and `pwd` for Unix systems.
  3817. Adds new documentation describing how to direct output to the printer.
  3818. Changes the PROCTYPE and USE8087 options in MSDOS.MAK to CPU_TYPE and
  3819. FPU_TYPE. The latter now indicates the type of FPU to generate code for,
  3820. if any.
  3821. </pre>
  3822. <h3><a name="V2.1_Drivers"></a>Drivers</h3>
  3823. <pre>
  3824. Adds a driver for the Canon BubbleJet BJ10e.
  3825. Modifies the EGA driver to handle (non-standard) frame buffers larger than
  3826. 64K. Adds drivers for the VGA and for the EIZO MDB-10 (a 1024 x 768 frame
  3827. buffer).
  3828. Changes the X driver so that it clips to the window dimensions, rather
  3829. than reporting an error.
  3830. Notes that the H-P LaserJet driver, like the DeskJet driver, works under
  3831. Unix as well as MS-DOS.
  3832. Adds support for 120 X DPI mode, and for the LQ-1500, to the Epson driver.
  3833. </pre><h3><a name="V2.1_Fonts"></a>Fonts</h3><pre>
  3834. Fixes bugs in bdftops:
  3835. - It was using /UniqueId instead of /UniqueID as the key for the
  3836. font unique ID. This effectively disabled the font cache.
  3837. - The definition for .notdef was bogus -- an invalid CharString.
  3838. Changes ghost.ps and gfonts.ps so that NullFont is the initial font,
  3839. rather than Ugly.
  3840. Arranges things so that when attempting a font substitution, if the
  3841. default font is not found, NullFont is used instead.
  3842. Extends bdftops so that if certain easily synthesized characters are
  3843. missing from a font, it will attempt to synthesize them using available
  3844. characters.
  3845. </pre><h3><a name="V2.1_Interpreter"></a>Interpreter</h3><pre>
  3846. Extends the -T switch to allow specifying a printf template for the
  3847. arguments of the procedure being traced.
  3848. Fixes bugs:
  3849. - /0 was interpreted as equivalent to 0 (a number) rather than a
  3850. literal name.
  3851. - packedarray was defined as being like array, instead of like
  3852. array followed by astore.
  3853. - Many minor and harmless type mismatches (and a couple of very
  3854. minor genuine bugs) were upsetting the Apollo C compiler.
  3855. - exp was incorrectly failing in certain cases with a negative
  3856. first argument.
  3857. - copyscanlines incorrectly required at least 4 elements on the
  3858. operand stack, although it correctly only used the top 3.
  3859. - readhexstring incorrectly read 1 byte even if the string length
  3860. was zero.
  3861. - Not every place that expected an array would accept a packed
  3862. array.
  3863. - Very complex paths (and infrequently other things) could produce
  3864. a 'memory leak'.
  3865. - / alone would skip following whitespace and gather following
  3866. characters, rather than creating an empty name.
  3867. - ghost.ps left newerror defined as true in $error, which resulted
  3868. in an erroneous error report if a program executed a 'stop'.
  3869. - The definition of exitserver in serverdict didn't clear the
  3870. stack.
  3871. - currentfile returned an executable file, rather than a literal
  3872. one.
  3873. - setfont for Type 1 fonts didn't check the UniqueID in the font
  3874. dictionary against the one in the font's Private dictionary.
  3875. - A value stored in a dictionary under the key /xxx couldn't be
  3876. retrieved using the key (xxx), and vice versa.
  3877. - charpath with a Type 1 font on a string containing a 'space'
  3878. would produce garbage (it released the parent path inappropriately).
  3879. - bytesavailable did not work properly for terminal input.
  3880. Changes the interface to the memory allocator so that it always takes an
  3881. element size and an element count, like calloc instead of malloc (but note
  3882. that alloc does *not* clear just-allocated blocks). Gets rid of the
  3883. special 'dynamic' allocation procedures.
  3884. Changes the random number operators to use a better implementation.
  3885. Changes the idiv operator so it will accept any numbers, not just
  3886. integers, as arguments. (The PostScript manual doesn't allow this, but
  3887. implementations apparently do.)
  3888. Provides semi-fake but usable definitions for all of the color PostScript
  3889. extensions, including a real implementation of colorimage.
  3890. No longer uses the name 'null', which is apparently reserved by Microsoft
  3891. C. Makes a number of other minor changes required to pacify the Microsoft
  3892. C compiler.
  3893. Implements %statementedit and %lineedit. (%statementedit is equivalent to
  3894. %lineedit, which is wrong.) Changes the interactive interpreter to use
  3895. %statementedit.
  3896. Changes the scanner to accept null, ctrl-K (vertical tab), and ctrl-L
  3897. (form feed) as whitespace. Ctrl-L terminates a comment, null and ctrl-K
  3898. do not.
  3899. Allows a literal string as the 'proc' argument(s) for image, imagemask,
  3900. and colorimage.
  3901. Adds the following operators/procedures: arct, cleardictstack, deletefile,
  3902. renamefile.
  3903. Defines =print as a synonym for =, for the benefit of LaserPrep.
  3904. Implements non-zero PaintType for the show operators (but not for
  3905. charpath) for Type 1 fonts.
  3906. Adds the ISOLatin1Encoding encoding vector.
  3907. Renames currentcolor and setcolor as currentgscolor and setgscolor, to
  3908. avoid conflict with the Level 2 PostScript names. Removes colorhsb,
  3909. colorrgb, hsbcolor, and rgbcolor.
  3910. </pre><h3><a name="V2.1_Library"></a>Library</h3><pre>
  3911. Fixes bugs:
  3912. - In a couple of places, a 0 was being passed as a pointer
  3913. argument without casting, which confused the Microsoft C compiler.
  3914. - Image devices were not recognized properly in debugging
  3915. configurations.
  3916. - Inverted-color monochrome image devices were not recognized
  3917. properly.
  3918. - Images that exactly fill the drawing area rendered very slowly,
  3919. because they erroneously used the general clipping algorithm.
  3920. - Images that are 1-for-1 with the device were incorrectly scaled
  3921. by a factor of 8 in X.
  3922. - Rounding artifacts sometimes caused characters to be unevenly
  3923. offset vertically by 1 pixel.
  3924. - Type 1 fonts that used the Flex feature resulted in garbled
  3925. images.
  3926. - The show operator routines would incorrectly fill or stroke a
  3927. path that existed at the time the show was started.
  3928. - setscreen truncated the cell size instead of rounding, which
  3929. could produce off-by-1 anomalies.
  3930. - stroke would sometimes produce garbage (or nothing at all) for
  3931. very narrow lines.
  3932. - path filling would only color the pixels whose centers fell
  3933. inside the path: the Adobe specification requires coloring a pixel if any
  3934. part of it falls inside the path.
  3935. Changes the Epson printer driver so that it drives the printer directly
  3936. rather than writing to a file.
  3937. Changes pathbbox so that if the path is empty but there is a current
  3938. point, it returns a null rectangle at the current point.
  3939. Changes gs_image_init to take an additional parameter (after bps) giving
  3940. the number of samples per pixel (1, 3, or 4), and an indication of whether
  3941. the samples for each pixel are together or separated (-3 or -4).
  3942. Renames the gs_image_data and gs_imagemask_data procedures as gs_image and
  3943. gs_imagemask, and removes the old versions of the latter.
  3944. Adds gs_colorimage.
  3945. Replaces Snoopy's color dithering algorithm with one contributed by Paul
  3946. Haeberli.
  3947. Changes gs_setgray, gs_[set]hsbcolor, and gs_[set]rgbcolor so that they
  3948. coerce arguments outside the range [0..1] back into the range, instead of
  3949. signalling an error.
  3950. Makes a number of minor changes required to pacify the Microsoft C
  3951. compiler.
  3952. Changes gs_arcto so that if the last argument is a null pointer, the
  3953. tangent points are not returned.
  3954. Removes gs_type1addpath, which is not useful. (Clients must call
  3955. gs_type1_init and gs_type1_interpret directly.)
  3956. Implements the 'seac' opcode for Type 1 fonts, allowing fonts with accented
  3957. characters to display properly.
  3958. Implements the undocumented 'testadd' opcode for Type 1 fonts, which is
  3959. used by some Adobe fonts.
  3960. Renames gs_currentcolor and gs_setcolor as gs_currentgscolor and
  3961. gs_setgscolor. Removes gs_colorhsb, gs_colorrgb, gs_hsbcolor, and
  3962. gs_rgbcolor.
  3963. </pre>
  3964. <hr>
  3965. <h2><a name="Version2.0"></a>Version 2.0 (9/12/90)</h2>
  3966. <p>The main purpose of this release is to add fonts, support for
  3967. multiple
  3968. devices, and imaging into memory. It also fixes a number of miscellaneous
  3969. bugs. (Unfortunately, accurate records of the bugs fixed are not
  3970. available.) The changes were so extensive that we chose to increment the
  3971. major version number.
  3972. <h3><a name="V2.0_Miscellaneous"></a>Miscellaneous</h3><pre>
  3973. Doesn't attempt to open the .MAP file on Unix systems.
  3974. Adds mention of statusd.ps to interp.doc.
  3975. Notes that Turbo C 2.0, not 1.5, is required for building the MS-DOS
  3976. version.
  3977. Adds a DEVICES= line to the makefile, and allows multiple devices.
  3978. Documents, in interp.doc, the X Windows resources that Ghostscript
  3979. recognizes.
  3980. Adds three PostScript masters to the fileset: chess.ps (+ cheq.ps),
  3981. golfer.ps, and escher.ps.
  3982. </pre><h3><a name="V2.0_Drivers"></a>Drivers</h3><pre>
  3983. Changes the names of all the device drivers. See gdevs.mak for the
  3984. updated list.
  3985. Adds a (working) driver for SunView.
  3986. Adds drivers for the Sony NeWS frame buffer, and the Sony Microsystems
  3987. NWP533 printers. These drivers were contributed by users, so we aren't
  3988. prepared to answer questions about them.
  3989. Adds a driver for the Borland Graphics Interface (BGI) for MS-DOS systems.
  3990. Note that to use this driver with a non-EGA/VGA display, you need a .BGI
  3991. file appropriate for your hardware. (The Ghostscript executable includes
  3992. the EGA/VGA driver.)
  3993. Adds a driver for Epson printers. The driver has only been tested on an
  3994. LX-800, and on an H-P DeskJet in FX-80 emulation mode, but may work on
  3995. other models. The driver could be adapted to work on Unix systems, but as
  3996. distributed, it only works on MS-DOS systems.
  3997. Adds a driver for the Hewlett-Packard DeskJet printer. The driver could
  3998. be adapted to work on Unix systems, but as distributed, it only works on
  3999. MS-DOS systems.
  4000. The X Windows driver no longer waits for the user to type a character
  4001. before bringing up the initial display.
  4002. Adds information to drivers.doc describing how to change the definition of
  4003. the device structure and procedure table.
  4004. Extends the tile_rectangle and tile_trapezoid driver procedures to
  4005. interpret color0 = color1 = gx_no_color_index as meaning that the tile is
  4006. actually colored, not a mask.
  4007. </pre><h3><a name="V2.0_Build_procedures"></a>Build procedures</h3><pre>
  4008. Changes the tar file so it puts everything in a directory called gs.
  4009. Removes the -ansi switch for gcc (this was causing problems with &lt;math.h&gt;
  4010. on some systems).
  4011. Changes LDPLAT to the string -X, which is appropriate for most Unix
  4012. systems (but not for SunOS 4.n).
  4013. Adds EXTRALIBS to the makefile, for specifying additional libraries to be
  4014. linked in.
  4015. Adds a 'clean' target for 'make', to get rid of all temporary files, the
  4016. binaries, and the executable.
  4017. Changes names of system-specific files from gp-xxx.c to gp_xxx.c.
  4018. Adds support for VMS (gp_vms.c and ghost.dcl).
  4019. Creates a new file gdevs.mak, and reorganizes the other makefiles, so that
  4020. the choice of which device driver(s) to include is isolated in a single
  4021. line in the platform-specific makefile.
  4022. Changes the standard MS-DOS makefile so it builds for 8088/86 (not 80386),
  4023. with neither -DNOPRIVATE nor -DDEBUG.
  4024. Changes the name of the MS-DOS makefile from dos-ega.mak to msdos.mak, and
  4025. the Unix makefiles from ux-[g]cc-x.mak to unix-[g]cc.mak.
  4026. Updates drivers.doc to describe how to add new drivers in gdevs.mak.
  4027. Removes gdevs.ps: the drivers are now responsible for specifying the size
  4028. of the imaging region.
  4029. </pre><h3><a name="V2.0_Interpreter"></a>Interpreter</h3><pre>
  4030. Adds a makefile macro GS_LIB_DEFAULT and an environment variable GS_LIB to
  4031. define a search path for the library (initialization and font) files, and
  4032. implements the -I switch for the same purpose (replacing -sLIB=, which was
  4033. never actually implemented). See interp.doc for details.
  4034. No longer clears the operand stack between interactive inputs. No longer
  4035. prints the contents of the operand stack after every input in debug mode.
  4036. Doesn't "eat" the character that the user types to proceed after a
  4037. showpage, unless it's an isolated &lt;return&gt;.
  4038. Changes the prompt so that it says
  4039. GS&gt;
  4040. if the operand stack is empty, or
  4041. GS&lt;n&gt;
  4042. if there are n &gt; 0 elements on the operand stack.
  4043. Adds -w and -h switches to the command line, equivalent to -dWIDTH= and
  4044. -dHEIGHT= except that they require numeric arguments.
  4045. Adds -q (quiet startup) switch to the command line, which suppresses some
  4046. initial messages and also has an effect equivalent to -dQUIET.
  4047. Fixes bugs:
  4048. - = and == caused an error on some kinds of objects if the object
  4049. didn't have read access.
  4050. - cvs didn't print operator names.
  4051. - The definition of dynamic_begin in iscan.c caused the DEC VMS C
  4052. compiler to produce incorrect code.
  4053. - mul didn't return a correct (real) result when multiplying a
  4054. very large integer by an integer that wasn't very large.
  4055. - eq and ne didn't work on files, fonts, save objects, and some
  4056. operators.
  4057. - The scanner would sometimes blow up on floating point numbers
  4058. beginning with a '.'.
  4059. - flushfile didn't pop its argument from the stack.
  4060. - put and putinterval would store into a packed array.
  4061. - a few operators didn't check properly for stack underflow.
  4062. - cvrs produced wrong output for radix values greater than 10.
  4063. - The scanner would convert upper-case letters in alternate-radix
  4064. numbers wrong on Unix systems.
  4065. - String comparisons other than equality often produced the wrong
  4066. result if the strings were of different lengths.
  4067. - An ifelse as the last thing inside a forall would confuse the
  4068. execution stack.
  4069. - There were some omitted casts and 'private' declarations that
  4070. made the GNU compiler unhappy.
  4071. - There was a memory leak in the image[mask] operators that caused
  4072. 516 bytes to be permanently lost each time one of them was used.
  4073. - Quoted strings of length greater than 50 and less than 100 would
  4074. get mangled when being read in.
  4075. - The scanner didn't consume the whitespace character following a
  4076. token, so programs that read data out of the program file could get
  4077. confused.
  4078. - Under rare circumstances, an object of size between 249 and 255
  4079. bytes could get allocated on top of another object.
  4080. Allows bind to bind packed arrays, even though they aren't normally
  4081. writable.
  4082. Changes the length operator to allow a name as the argument. (The
  4083. PostScript manual doesn't allow this, but implementations apparently do.)
  4084. Changes the setcachedevice operator to allow the bounding box to be
  4085. specified as a 4-element array instead of 4 scalars. (The PostScript
  4086. manual doesn't allow this, but implementations apparently do.)
  4087. Removes a line from ghost.ps that accidentally disabled the font cache.
  4088. Implements memory devices (makeimagedevice, copyscanlines, and makedevice
  4089. for image devices). makeimagedevice is implemented only for 1, 8, 24, and
  4090. 32 bits per pixel.
  4091. Changes the deviceparams operator so it pushes a mark on the stack below
  4092. the parameters. This is to allow for devices that have more than the
  4093. standard set of parameters.
  4094. Replaces defaultdevicename with two new operators, getdevice and
  4095. devicename.
  4096. Adds a flushpage operator that flushes any outstanding buffered output to
  4097. the screen. This is not the same as copypage: on printers, copypage
  4098. actually prints a page, whereas flushpage may do nothing; on displays,
  4099. flushpage and copypage may both flush output to a server.
  4100. Adds an unread operator for pushing back a character into a file.
  4101. Adds a description of proposed grayimage and colorimage operators to
  4102. ghost.doc, even though they aren't implemented yet.
  4103. Changes the name of the currentfileposition operator to fileposition.
  4104. Removes the framedevice operator, since the new device operators supersede
  4105. it.
  4106. Adds a writeppmfile operator, for writing the contents of a memory device
  4107. to a ppm file.
  4108. Makes Ghostscript work even when the &gt;&gt; operator doesn't sign-extend
  4109. negative numbers. (This has not been tested.)
  4110. Adds the Symbol encoding to ghost.ps.
  4111. Adds two new file-related operators, filename and findlibfile. See
  4112. ghost.doc and interp.doc for details.
  4113. Adds type1encrypt and type1decrypt operators for manipulating Adobe Type 1
  4114. encoded fonts.
  4115. Changes the imagecharpath and addcharpath operators to type1imagepath and
  4116. type1addpath. These operators now work with the Adobe Type 1 font
  4117. encoding.
  4118. Adds the type1decryptfile operator for reading Adobe Type 1 encrypted
  4119. fonts.
  4120. </pre><h3><a name="V2.0_Library"></a>Library</h3><pre>
  4121. Fixes bugs:
  4122. - curveto and lineto didn't check for the current point being
  4123. defined.
  4124. - stringwidth would fail if there was no current point.
  4125. - There were omitted casts that made the GNU compiler unhappy.
  4126. - Line caps and joins didn't always work.
  4127. - Dashed lines didn't work at all.
  4128. - If you read out the current matrix while inside a BuildChar
  4129. procedure, the result was garbage.
  4130. - image[mask] would crash if you gave it a single string with more
  4131. than 64K-1 pixels (MS-DOS only).
  4132. - Filling with a gray pattern sometimes wrote into pixels beyond
  4133. the right edge of the region (MS-DOS only).
  4134. - The font cache would mistake fonts for each other if both fonts
  4135. had a default (unsupplied) "unique ID".
  4136. - When a character was entered into the font cache for the first
  4137. time, sometimes it would display as garbage and/or displaced vertically
  4138. from its proper position.
  4139. Implements gs_makeimagedevice, gs_copyscanlines, gs_getdevice,
  4140. gs_devicename, gs_flushpage, gs_writeppmfile, gs_type1encrypt,
  4141. gs_type1decrypt, gs_type1imagepath, and gs_type1addpath procedures
  4142. corresponding to the new operators in the interpreter (see preceding
  4143. section).
  4144. Changes [gs_]setdevice so that it does an erasepage when it first opens
  4145. the device.
  4146. Changes definition of gx_device structure as follows. NOTE: THIS AFFECTS
  4147. ALL DRIVERS.
  4148. - Removes bits_from_MSB (which wasn't actually used, in any case).
  4149. Ghostscript now assumes officially, as it always did in
  4150. practice, that device bitmaps are stored MSB first, i.e., X=0
  4151. corresponds to the 0x80 bit in the first byte.
  4152. - Removes the initial_matrix member, which wasn't actually being
  4153. set up.
  4154. - Adds a new member 'name', a string giving the device name.
  4155. - Adds new members 'x_pixels_per_inch' and 'y_pixels_per_inch'.
  4156. These are only used by the default initial_matrix procedure
  4157. (see below).
  4158. - Adds a new procedure 'output_page'. The default implementation
  4159. (gx_default_output_page) just calls the sync_output procedure.
  4160. - Adds a new procedure 'get_initial_matrix'. The default
  4161. procedure uses the width, height, and x/y_pixels_per_inch
  4162. members to compute the matrix, assuming that X values run from
  4163. right to left, and Y values run from top to bottom.
  4164. Changes the names of the allocation procedure types gs_proc_alloc and
  4165. gs_proc_free to proc_alloc_t and proc_free_t, and moves them from gs.h to
  4166. std.h.
  4167. Makes Ghostscript work even when the &gt;&gt; operator doesn't sign-extend
  4168. negative numbers. (This has not been tested.)
  4169. </pre>
  4170. <!-- [3.0 begin visible trailer] =========================================== -->
  4171. <hr>
  4172. <p>
  4173. <small>Copyright &copy; 1996, 1997, 1998 Aladdin Enterprises.
  4174. All rights reserved.</small>
  4175. <p>
  4176. <small>This file is part of AFPL Ghostscript. See the
  4177. <a href="Public.htm">Aladdin Free Public License</a> (the "License") for
  4178. full details of the terms of using, copying, modifying, and redistributing
  4179. AFPL Ghostscript.</small>
  4180. <p>
  4181. <small>Ghostscript version 7.04, 31 January 2002
  4182. <!-- [3.0 end visible trailer] ============================================= -->
  4183. </body>
  4184. </html>