History3.htm 340 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595
  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 3.n</title>
  5. <!-- $Id: History3.htm,v 1.13.2.2 2002/02/01 05:31:24 raph Exp $ -->
  6. <!-- Originally: history3.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 3.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="#Version3.70p1">Version 3.70 patch 1 (6/24/96)</a>
  25. <ul>
  26. <li><a href="#V3.70p1_Procedures">Procedures</a>,
  27. <a href="#V3.70p1_Drivers">Drivers</a>
  28. </ul>
  29. <li><a href="#Version3.70">Version 3.70 (limited) (6/23/96)</a>
  30. <ul>
  31. <li><a href="#V3.70_Documentation">Documentation</a>,
  32. <a href="#V3.70_Procedures">Procedures</a>,
  33. <a href="#V3.70_Drivers">Drivers</a>,
  34. <a href="#V3.70_Platforms">Platforms</a>,
  35. <a href="#V3.70_Fonts">Fonts</a>,
  36. <a href="#V3.70_Interpreter">Interpreter</a>,
  37. <a href="#V3.70_Interpreter_PDF">Interpreter (PDF)</a>,
  38. <a href="#V3.70_Streams">Streams</a>,
  39. <a href="#V3.70_Library">Library</a>
  40. </ul>
  41. <li><a href="#Version3.69">Version 3.69 (limited) (6/14/96)</a>
  42. <ul>
  43. <li><a href="#V3.69_Documentation">Documentation</a>,
  44. <a href="#V3.69_Procedures">Procedures</a>,
  45. <a href="#V3.69_Utilities">Utilities</a>,
  46. <a href="#V3.69_Drivers">Drivers</a>,
  47. <a href="#V3.69_Platforms">Platforms</a>,
  48. <a href="#V3.69_Fonts">Fonts</a>,
  49. <a href="#V3.69_Interpreter">Interpreter</a>,
  50. <a href="#V3.69_Library">Library</a>
  51. </ul>
  52. <li><a href="#Version3.68p4">Version 3.68 patch 4 (5/23/96)</a>
  53. <ul>
  54. <li><a href="#V3.68p4_Documentation">Documentation</a>,
  55. <a href="#V3.68p4_Procedures">Procedures</a>,
  56. <a href="#V3.68p4_Drivers">Drivers</a>,
  57. <a href="#V3.68p4_Platforms">Platforms</a>,
  58. <a href="#V3.68p4_Fonts">Fonts</a>,
  59. <a href="#V3.68p4_Interpreter">Interpreter</a>,
  60. <a href="#V3.68p4_Library">Library</a>
  61. </ul>
  62. <li><a href="#Version3.68p3">Version 3.68 patch 3 (5/17/96)</a>
  63. <ul>
  64. <li><a href="#V3.68p3_Procedures">Procedures</a>,
  65. <a href="#V3.68p3_Utilities">Utilities</a>,
  66. <a href="#V3.68p3_Drivers">Drivers</a>,
  67. <a href="#V3.68p3_Platforms">Platforms</a>,
  68. <a href="#V3.68p3_Interpreter">Interpreter</a>,
  69. <a href="#V3.68p3_Library">Library</a>
  70. </ul>
  71. <li><a href="#Version3.68p2">Version 3.68 patch 2 (5/13/96)</a>
  72. <ul>
  73. <li><a href="#V3.68p2_Documentation">Documentation</a>,
  74. <a href="#V3.68p2_Procedures">Procedures</a>,
  75. <a href="#V3.68p2_Drivers">Drivers</a>,
  76. <a href="#V3.68p2_Interpreter">Interpreter</a>,
  77. <a href="#V3.68p2_Streams">Streams</a>,
  78. <a href="#V3.68p2_Library">Library</a>
  79. </ul>
  80. <li><a href="#Version3.68p1">Version 3.68 patch 1 (5/10/96)</a>
  81. <ul>
  82. <li><a href="#V3.68p1_Procedures">Procedures</a>
  83. </ul>
  84. <li><a href="#Version3.68">Version 3.68 (limited) (5/9/96)</a>
  85. <ul>
  86. <li><a href="#V3.68_Documentation">Documentation</a>,
  87. <a href="#V3.68_Procedures">Procedures</a>,
  88. <a href="#V3.68_Utilities">Utilities</a>,
  89. <a href="#V3.68_Drivers">Drivers</a>,
  90. <a href="#V3.68_Platforms">Platforms</a>,
  91. <a href="#V3.68_Fonts">Fonts</a>,
  92. <a href="#V3.68_Interpreter">Interpreter</a>,
  93. <a href="#V3.68_Streams">Streams</a>,
  94. <a href="#V3.68_Library">Library</a>
  95. </ul>
  96. <li><a href="#Version3.67">Version 3.67 (limited) (4/12/96)</a>
  97. <ul>
  98. <li><a href="#V3.67_Documentation">Documentation</a>,
  99. <a href="#V3.67_Procedures">Procedures</a>,
  100. <a href="#V3.67_Platforms">Platforms</a>,
  101. <a href="#V3.67_Interpreter">Interpreter</a>,
  102. <a href="#V3.67_Interpreter_PDF">Interpreter (PDF)</a>,
  103. <a href="#V3.67_Library">Library</a>
  104. </ul>
  105. <li><a href="#Version3.66">Version 3.66 (limited) (4/8/96)</a>
  106. <ul>
  107. <li><a href="#V3.66_Documentation">Documentation</a>,
  108. <a href="#V3.66_Procedures">Procedures</a>,
  109. <a href="#V3.66_Utilities">Utilities</a>,
  110. <a href="#V3.66_Drivers">Drivers</a>,
  111. <a href="#V3.66_Platforms">Platforms</a>,
  112. <a href="#V3.66_Fonts">Fonts</a>,
  113. <a href="#V3.66_Interpreter">Interpreter</a>,
  114. <a href="#V3.66_Interpreter_PDF">Interpreter (PDF)</a>,
  115. <a href="#V3.66_Streams">Streams</a>,
  116. <a href="#V3.66_Library">Library</a>
  117. </ul>
  118. <li><a href="#Version3.65">Version 3.65 (limited) (3/9/96)</a>
  119. <ul>
  120. <li><a href="#V3.65_Documentation">Documentation</a>,
  121. <a href="#V3.65_Procedures">Procedures</a>,
  122. <a href="#V3.65_Utilities">Utilities</a>,
  123. <a href="#V3.65_Drivers">Drivers</a>,
  124. <a href="#V3.65_Platforms">Platforms</a>,
  125. <a href="#V3.65_Interpreter">Interpreter</a>,
  126. <a href="#V3.65_Interpreter_PDF">Interpreter (PDF)</a>,
  127. <a href="#V3.65_Streams">Streams</a>,
  128. <a href="#V3.65_Library">Library</a>
  129. </ul>
  130. <li><a href="#Version3.64">Version 3.64 (limited, incremental) (1/27/96)</a>
  131. <ul>
  132. <li><a href="#V3.64_Documentation">Documentation</a>,
  133. <a href="#V3.64_Procedures">Procedures</a>,
  134. <a href="#V3.64_Utilities">Utilities</a>,
  135. <a href="#V3.64_Drivers">Drivers</a>,
  136. <a href="#V3.64_Platforms">Platforms</a>,
  137. <a href="#V3.64_Interpreter">Interpreter</a>,
  138. <a href="#V3.64_Streams">Streams</a>,
  139. <a href="#V3.64_Library">Library</a>
  140. </ul>
  141. <li><a href="#Version3.63">Version 3.63 (limited, incremental) (1/14/96)</a>
  142. <ul>
  143. <li><a href="#V3.63_Documentation">Documentation</a>,
  144. <a href="#V3.63_Procedures">Procedures</a>,
  145. <a href="#V3.63_Utilities">Utilities</a>,
  146. <a href="#V3.63_Drivers">Drivers</a>,
  147. <a href="#V3.63_Platforms">Platforms</a>,
  148. <a href="#V3.63_Interpreter">Interpreter</a>,
  149. <a href="#V3.63_Interpreter_PDF">Interpreter (PDF)</a>,
  150. <a href="#V3.63_Streams">Streams</a>,
  151. <a href="#V3.63_Library">Library</a>
  152. </ul>
  153. <li><a href="#Version3.62">Version 3.62 (limited, incremental) (12/26/95)</a>
  154. <ul>
  155. <li><a href="#V3.62_Documentation">Documentation</a>,
  156. <a href="#V3.62_Procedures">Procedures</a>,
  157. <a href="#V3.62_Interpreter">Interpreter</a>,
  158. <a href="#V3.62_Interpreter_PDF">Interpreter (PDF)</a>,
  159. <a href="#V3.62_Library">Library</a>
  160. </ul>
  161. <li><a href="#Version3.61">Version 3.61 (limited) (12/10/95)</a>
  162. <ul>
  163. <li><a href="#V3.61_Documentation">Documentation</a>,
  164. <a href="#V3.61_Procedures">Procedures</a>,
  165. <a href="#V3.61_Utilities">Utilities</a>,
  166. <a href="#V3.61_Drivers">Drivers</a>,
  167. <a href="#V3.61_Platforms">Platforms</a>,
  168. <a href="#V3.61_Fonts">Fonts</a>,
  169. <a href="#V3.61_Interpreter">Interpreter</a>,
  170. <a href="#V3.61_Interpreter_PDF">Interpreter (PDF)</a>,
  171. <a href="#V3.61_Streams">Streams</a>,
  172. <a href="#V3.61_Library">Library</a>
  173. </ul>
  174. <li><a href="#Version3.60">Version 3.60 (limited) (11/20/95)</a>
  175. <ul>
  176. <li><a href="#V3.60_Documentation">Documentation</a>,
  177. <a href="#V3.60_Procedures">Procedures</a>,
  178. <a href="#V3.60_Utilities">Utilities</a>,
  179. <a href="#V3.60_Drivers">Drivers</a>,
  180. <a href="#V3.60_Platforms">Platforms</a>,
  181. <a href="#V3.60_Fonts">Fonts</a>,
  182. <a href="#V3.60_Interpreter">Interpreter</a>,
  183. <a href="#V3.60_Interpreter_PDF">Interpreter (PDF)</a>,
  184. <a href="#V3.60_Streams">Streams</a>,
  185. <a href="#V3.60_Library">Library</a>
  186. </ul>
  187. <li><a href="#Version3.53">Version 3.53 (1/10/96)</a>
  188. <ul>
  189. <li><a href="#V3.53_Documentation">Documentation</a>,
  190. <a href="#V3.53_Procedures">Procedures</a>,
  191. <a href="#V3.53_Utilities">Utilities</a>,
  192. <a href="#V3.53_Drivers">Drivers</a>,
  193. <a href="#V3.53_Platforms">Platforms</a>,
  194. <a href="#V3.53_Fonts">Fonts</a>,
  195. <a href="#V3.53_Interpreter">Interpreter</a>,
  196. <a href="#V3.53_Interpreter_PDF">Interpreter (PDF)</a>,
  197. <a href="#V3.53_Streams">Streams</a>,
  198. <a href="#V3.53_Library">Library</a>
  199. </ul>
  200. <li><a href="#Version3.52">Version 3.52 (limited) (10/6/95)</a>
  201. <ul>
  202. <li><a href="#V3.52_Procedures">Procedures</a>,
  203. <a href="#V3.52_Interpreter">Interpreter</a>,
  204. <a href="#V3.52_Library">Library</a>
  205. </ul>
  206. <li><a href="#Version3.51">Version 3.51 (9/27/95)</a>
  207. <ul>
  208. <li><a href="#V3.51_Documentation">Documentation</a>,
  209. <a href="#V3.51_Procedures">Procedures</a>,
  210. <a href="#V3.51_Utilities">Utilities</a>,
  211. <a href="#V3.51_Drivers">Drivers</a>,
  212. <a href="#V3.51_Platforms">Platforms</a>,
  213. <a href="#V3.51_Interpreter">Interpreter</a>,
  214. <a href="#V3.51_Interpreter_PDF">Interpreter (PDF)</a>,
  215. <a href="#V3.51_Library">Library</a>
  216. </ul>
  217. <li><a href="#Version3.50">Version 3.50 (limited) (9/24/95)</a>
  218. <ul>
  219. <li><a href="#V3.50_Procedures">Procedures</a>,
  220. <a href="#V3.50_Utilities">Utilities</a>,
  221. <a href="#V3.50_Drivers">Drivers</a>,
  222. <a href="#V3.50_Interpreter">Interpreter</a>,
  223. <a href="#V3.50_Interpreter_PDF">Interpreter (PDF)</a>,
  224. <a href="#V3.50_Library">Library</a>
  225. </ul>
  226. <li><a href="#Version3.49">Version 3.49 (limited) (9/20/95)</a>
  227. <ul>
  228. <li><a href="#V3.49_Documentation">Documentation</a>,
  229. <a href="#V3.49_Procedures">Procedures</a>,
  230. <a href="#V3.49_Drivers">Drivers</a>,
  231. <a href="#V3.49_Platforms">Platforms</a>,
  232. <a href="#V3.49_Interpreter">Interpreter</a>,
  233. <a href="#V3.49_Library">Library</a>
  234. </ul>
  235. <li><a href="#Version3.48">Version 3.48 (limited) (9/17/95)</a>
  236. <ul>
  237. <li><a href="#V3.48_Documentation">Documentation</a>,
  238. <a href="#V3.48_Procedures">Procedures</a>,
  239. <a href="#V3.48_Drivers">Drivers</a>,
  240. <a href="#V3.48_Platforms">Platforms</a>,
  241. <a href="#V3.48_Interpreter">Interpreter</a>,
  242. <a href="#V3.48_Interpreter_PDF">Interpreter (PDF)</a>,
  243. <a href="#V3.48_Library">Library</a>
  244. </ul>
  245. <li><a href="#Version3.47">Version 3.47 (limited) (9/14/95)</a>
  246. <ul>
  247. <li><a href="#V3.47_Documentation">Documentation</a>,
  248. <a href="#V3.47_Procedures">Procedures</a>,
  249. <a href="#V3.47_Utilities">Utilities</a>,
  250. <a href="#V3.47_Drivers">Drivers</a>,
  251. <a href="#V3.47_Platforms">Platforms</a>,
  252. <a href="#V3.47_Fonts">Fonts</a>,
  253. <a href="#V3.47_Interpreter">Interpreter</a>,
  254. <a href="#V3.47_Interpreter_PDF">Interpreter (PDF)</a>,
  255. <a href="#V3.47_Streams">Streams</a>,
  256. <a href="#V3.47_Library">Library</a>
  257. </ul>
  258. <li><a href="#Version3.46">Version 3.46 (limited) (9/4/95)</a>
  259. <ul>
  260. <li><a href="#V3.46_Documentation">Documentation</a>,
  261. <a href="#V3.46_Procedures">Procedures</a>,
  262. <a href="#V3.46_Utilities">Utilities</a>,
  263. <a href="#V3.46_Drivers">Drivers</a>,
  264. <a href="#V3.46_Platforms">Platforms</a>,
  265. <a href="#V3.46_Interpreter">Interpreter</a>,
  266. <a href="#V3.46_Interpreter_PDF">Interpreter (PDF)</a>,
  267. <a href="#V3.46_Library">Library</a>
  268. </ul>
  269. <li><a href="#Version3.45">Version 3.45 (limited) (8/27/95)</a>
  270. <ul>
  271. <li><a href="#V3.45_Documentation">Documentation</a>,
  272. <a href="#V3.45_Procedures">Procedures</a>,
  273. <a href="#V3.45_Utilities">Utilities</a>,
  274. <a href="#V3.45_Drivers">Drivers</a>,
  275. <a href="#V3.45_Platforms">Platforms</a>,
  276. <a href="#V3.45_Interpreter">Interpreter</a>,
  277. <a href="#V3.45_Interpreter_PDF">Interpreter (PDF)</a>,
  278. <a href="#V3.45_Streams">Streams</a>,
  279. <a href="#V3.45_Library">Library</a>
  280. </ul>
  281. <li><a href="#Version3.44">Version 3.44 (limited) (8/21/95)</a>
  282. <ul>
  283. <li><a href="#V3.44_Documentation">Documentation</a>,
  284. <a href="#V3.44_Procedures">Procedures</a>,
  285. <a href="#V3.44_Utilities">Utilities</a>,
  286. <a href="#V3.44_Drivers">Drivers</a>,
  287. <a href="#V3.44_Platforms">Platforms</a>,
  288. <a href="#V3.44_Interpreter">Interpreter</a>,
  289. <a href="#V3.44_Interpreter_PDF">Interpreter (PDF)</a>,
  290. <a href="#V3.44_Library">Library</a>
  291. </ul>
  292. <li><a href="#Version3.43">Version 3.43 (limited) (8/10/95)</a>
  293. <ul>
  294. <li><a href="#V3.43_Documentation">Documentation</a>,
  295. <a href="#V3.43_Procedures">Procedures</a>,
  296. <a href="#V3.43_Platforms">Platforms</a>,
  297. <a href="#V3.43_Fonts">Fonts</a>,
  298. <a href="#V3.43_Interpreter">Interpreter</a>,
  299. <a href="#V3.43_Streams">Streams</a>,
  300. <a href="#V3.43_Library">Library</a>
  301. </ul>
  302. <li><a href="#Version3.42">Version 3.42 (limited) (8/2/95)</a>
  303. <ul>
  304. <li><a href="#V3.42_Documentation">Documentation</a>,
  305. <a href="#V3.42_Procedures">Procedures</a>,
  306. <a href="#V3.42_Platforms">Platforms</a>,
  307. <a href="#V3.42_Interpreter">Interpreter</a>,
  308. <a href="#V3.42_Streams">Streams</a>,
  309. <a href="#V3.42_Library">Library</a>
  310. </ul>
  311. <li><a href="#Version3.41">Version 3.41 (limited) (7/27/95)</a>
  312. <ul>
  313. <li><a href="#V3.41_Documentation">Documentation</a>,
  314. <a href="#V3.41_Procedures">Procedures</a>,
  315. <a href="#V3.41_Utilities">Utilities</a>,
  316. <a href="#V3.41_Drivers">Drivers</a>,
  317. <a href="#V3.41_Platforms">Platforms</a>,
  318. <a href="#V3.41_Fonts">Fonts</a>,
  319. <a href="#V3.41_Interpreter">Interpreter</a>,
  320. <a href="#V3.41_Interpreter_PDF">Interpreter (PDF)</a>,
  321. <a href="#V3.41_Streams">Streams</a>,
  322. <a href="#V3.41_Library">Library</a>
  323. </ul>
  324. <li><a href="#Version3.40">Version 3.40 (limited) (6/28/95)</a>
  325. <ul>
  326. <li><a href="#V3.40_Documentation">Documentation</a>,
  327. <a href="#V3.40_Procedures">Procedures</a>,
  328. <a href="#V3.40_Utilities">Utilities</a>,
  329. <a href="#V3.40_Platforms">Platforms</a>,
  330. <a href="#V3.40_Interpreter">Interpreter</a>,
  331. <a href="#V3.40_Streams">Streams</a>,
  332. <a href="#V3.40_Library">Library</a>
  333. </ul>
  334. <li><a href="#Version3.39">Version 3.39 (limited) (6/24/95)</a>
  335. <ul>
  336. <li><a href="#V3.39_Documentation">Documentation</a>,
  337. <a href="#V3.39_Procedures">Procedures</a>,
  338. <a href="#V3.39_Utilities">Utilities</a>,
  339. <a href="#V3.39_Platforms">Platforms</a>,
  340. <a href="#V3.39_Fonts">Fonts</a>,
  341. <a href="#V3.39_Interpreter">Interpreter</a>,
  342. <a href="#V3.39_Streams">Streams</a>,
  343. <a href="#V3.39_Library">Library</a>
  344. </ul>
  345. <li><a href="#Version3.38">Version 3.38 (limited) (6/18/95)</a>
  346. <ul>
  347. <li><a href="#V3.38_Documentation">Documentation</a>,
  348. <a href="#V3.38_Procedures">Procedures</a>,
  349. <a href="#V3.38_Utilities">Utilities</a>,
  350. <a href="#V3.38_Drivers">Drivers</a>,
  351. <a href="#V3.38_Platforms">Platforms</a>,
  352. <a href="#V3.38_Fonts">Fonts</a>,
  353. <a href="#V3.38_Interpreter">Interpreter</a>,
  354. <a href="#V3.38_Interpreter_PDF">Interpreter (PDF)</a>,
  355. <a href="#V3.38_Streams">Streams</a>,
  356. <a href="#V3.38_Library">Library</a>
  357. </ul>
  358. <li><a href="#Version3.37">Version 3.37 (limited) (5/11/95)</a>
  359. <ul>
  360. <li><a href="#V3.37_Documentation">Documentation</a>,
  361. <a href="#V3.37_Procedures">Procedures</a>,
  362. <a href="#V3.37_Utilities">Utilities</a>,
  363. <a href="#V3.37_Drivers">Drivers</a>,
  364. <a href="#V3.37_Fonts">Fonts</a>,
  365. <a href="#V3.37_Interpreter_PostScript">Interpreter (PostScript)</a>,
  366. <a href="#V3.37_Interpreter_PDF">Interpreter (PDF)</a>
  367. </ul>
  368. <li><a href="#Version3.36">Version 3.36 (limited) (5/4/95)</a>
  369. <ul>
  370. <li><a href="#V3.36_Documentation">Documentation</a>,
  371. <a href="#V3.36_Procedures">Procedures</a>,
  372. <a href="#V3.36_Drivers">Drivers</a>,
  373. <a href="#V3.36_Interpreter">Interpreter</a>,
  374. <a href="#V3.36_Library">Library</a>
  375. </ul>
  376. <li><a href="#Version3.35">Version 3.35 (internal) (5/2/95)</a>
  377. <ul>
  378. <li><a href="#V3.35_Documentation">Documentation</a>,
  379. <a href="#V3.35_Procedures">Procedures</a>,
  380. <a href="#V3.35_Utilities">Utilities</a>,
  381. <a href="#V3.35_Drivers">Drivers</a>,
  382. <a href="#V3.35_Platforms">Platforms</a>,
  383. <a href="#V3.35_Fonts">Fonts</a>,
  384. <a href="#V3.35_Interpreter">Interpreter</a>,
  385. <a href="#V3.35_Library">Library</a>
  386. </ul>
  387. <li><a href="#Version3.34">Version 3.34 (internal) (4/18/95)</a>
  388. <ul>
  389. <li><a href="#V3.34_Documentation">Documentation</a>,
  390. <a href="#V3.34_Procedures">Procedures</a>,
  391. <a href="#V3.34_Interpreter">Interpreter</a>,
  392. <a href="#V3.34_Library">Library</a>
  393. </ul>
  394. <li><a href="#Version3.33">Version 3.33 (4/13/95)</a>
  395. <ul>
  396. <li><a href="#V3.33_Documentation">Documentation</a>,
  397. <a href="#V3.33_Procedures">Procedures</a>,
  398. <a href="#V3.33_Utilities">Utilities</a>,
  399. <a href="#V3.33_Drivers">Drivers</a>,
  400. <a href="#V3.33_Platforms">Platforms</a>,
  401. <a href="#V3.33_Fonts">Fonts</a>,
  402. <a href="#V3.33_Library">Library</a>
  403. </ul>
  404. <li><a href="#Version3.32">Version 3.32 (4/7/95)</a>
  405. <ul>
  406. <li><a href="#V3.32_Documentation">Documentation</a>,
  407. <a href="#V3.32_Procedures">Procedures</a>,
  408. <a href="#V3.32_Utilities">Utilities</a>,
  409. <a href="#V3.32_Drivers">Drivers</a>,
  410. <a href="#V3.32_Platforms">Platforms</a>,
  411. <a href="#V3.32_Interpreter">Interpreter</a>,
  412. <a href="#V3.32_Streams">Streams</a>,
  413. <a href="#V3.32_Library">Library</a>
  414. </ul>
  415. <li><a href="#Version3.31">Version 3.31 (4/2/95)</a>
  416. <ul>
  417. <li><a href="#V3.31_Documentation">Documentation</a>,
  418. <a href="#V3.31_Procedures">Procedures</a>,
  419. <a href="#V3.31_Utilities">Utilities</a>,
  420. <a href="#V3.31_Drivers">Drivers</a>,
  421. <a href="#V3.31_Platforms">Platforms</a>,
  422. <a href="#V3.31_Interpreter">Interpreter</a>,
  423. <a href="#V3.31_Streams">Streams</a>,
  424. <a href="#V3.31_Library">Library</a>
  425. </ul>
  426. <li><a href="#Version3.30">Version 3.30 (beta) (3/21/95)</a>
  427. <ul>
  428. <li><a href="#V3.30_Documentation">Documentation</a>,
  429. <a href="#V3.30_Utilities">Utilities</a>,
  430. <a href="#V3.30_Drivers">Drivers</a>,
  431. <a href="#V3.30_Interpreter_PostScript">Interpreter (PostScript)</a>,
  432. <a href="#V3.30_Interpreter_PDF">Interpreter (PDF)</a>,
  433. <a href="#V3.30_Library">Library</a>
  434. </ul>
  435. <li><a href="#Version3.29">Version 3.29 (internal) (3/8/95)</a>
  436. <ul>
  437. <li><a href="#V3.29_Documentation">Documentation</a>,
  438. <a href="#V3.29_Procedures">Procedures</a>,
  439. <a href="#V3.29_Utilities">Utilities</a>,
  440. <a href="#V3.29_Fonts">Fonts</a>,
  441. <a href="#V3.29_Drivers">Drivers</a>,
  442. <a href="#V3.29_Interpreter_PostScript">Interpreter (PostScript)</a>,
  443. <a href="#V3.29_Interpreter_PDF">Interpreter (PDF)</a>,
  444. <a href="#V3.29_Streams">Streams</a>,
  445. <a href="#V3.29_Library">Library</a>
  446. </ul>
  447. <li><a href="#Version3.28">Version 3.28 (beta) (2/13/95)</a>
  448. <ul>
  449. <li><a href="#V3.28_Documentation">Documentation</a>,
  450. <a href="#V3.28_Procedures">Procedures</a>,
  451. <a href="#V3.28_Utilities">Utilities</a>,
  452. <a href="#V3.28_Drivers">Drivers</a>,
  453. <a href="#V3.28_Interpreter">Interpreter</a>,
  454. <a href="#V3.28_Library">Library</a>
  455. </ul>
  456. <li><a href="#Version3.27">Version 3.27 (beta)(withdrawn) (2/8/95)</a>
  457. <ul>
  458. <li><a href="#V3.27_Documentation">Documentation</a>,
  459. <a href="#V3.27_Procedures">Procedures</a>,
  460. <a href="#V3.27_Utilities">Utilities</a>,
  461. <a href="#V3.27_Drivers">Drivers</a>,
  462. <a href="#V3.27_Platforms">Platforms</a>,
  463. <a href="#V3.27_Fonts">Fonts</a>,
  464. <a href="#V3.27_Interpreter">Interpreter</a>,
  465. <a href="#V3.27_Streams">Streams</a>,
  466. <a href="#V3.27_Library">Library</a>
  467. </ul>
  468. <li><a href="#Version3.26">Version 3.26 (beta) (2/1/95)</a>
  469. <ul>
  470. <li><a href="#V3.26_Documentation">Documentation</a>,
  471. <a href="#V3.26_Procedures">Procedures</a>,
  472. <a href="#V3.26_Utilities">Utilities</a>,
  473. <a href="#V3.26_Drivers">Drivers</a>,
  474. <a href="#V3.26_Platforms">Platforms</a>,
  475. <a href="#V3.26_Interpreter">Interpreter</a>,
  476. <a href="#V3.26_Streams">Streams</a>,
  477. <a href="#V3.26_Library">Library</a>
  478. </ul>
  479. <li><a href="#Version3.25">Version 3.25 (beta) (1/24/95)</a>
  480. <ul>
  481. <li><a href="#V3.25_Documentation">Documentation</a>,
  482. <a href="#V3.25_Procedures">Procedures</a>,
  483. <a href="#V3.25_Drivers">Drivers</a>,
  484. <a href="#V3.25_Platforms">Platforms</a>,
  485. <a href="#V3.25_Interpreter">Interpreter</a>,
  486. <a href="#V3.25_Library">Library</a>
  487. </ul>
  488. <li><a href="#Version3.24">Version 3.24 (beta) (1/17/95)</a>
  489. <ul>
  490. <li><a href="#V3.24_Documentation">Documentation</a>,
  491. <a href="#V3.24_Procedures">Procedures</a>,
  492. <a href="#V3.24_Drivers">Drivers</a>,
  493. <a href="#V3.24_Platforms">Platforms</a>,
  494. <a href="#V3.24_Fonts">Fonts</a>,
  495. <a href="#V3.24_Interpreter">Interpreter</a>,
  496. <a href="#V3.24_Interpreter_PostScript">Interpreter (PostScript)</a>,
  497. <a href="#V3.24_Interpreter_PDF">Interpreter (PDF)</a>,
  498. <a href="#V3.24_Streams">Streams</a>,
  499. <a href="#V3.24_Library">Library</a>
  500. </ul>
  501. <li><a href="#Version3.23">Version 3.23 (beta) (1/5/95)</a>
  502. <ul>
  503. <li><a href="#V3.23_Documentation">Documentation</a>,
  504. <a href="#V3.23_Procedures">Procedures</a>,
  505. <a href="#V3.23_Utilities">Utilities</a>,
  506. <a href="#V3.23_Drivers">Drivers</a>,
  507. <a href="#V3.23_Platforms">Platforms</a>,
  508. <a href="#V3.23_Fonts">Fonts</a>,
  509. <a href="#V3.23_Interpreter_PostScript">Interpreter (PostScript)</a>,
  510. <a href="#V3.23_Interpreter_PDF">Interpreter (PDF)</a>,
  511. <a href="#V3.23_Streams">Streams</a>,
  512. <a href="#V3.23_Library">Library</a>
  513. </ul>
  514. <li><a href="#Version3.22">Version 3.22 (beta) (11/30/94)</a>
  515. <ul>
  516. <li><a href="#V3.22_Procedures">Procedures</a>,
  517. <a href="#V3.22_Drivers">Drivers</a>,
  518. <a href="#V3.22_Platforms">Platforms</a>,
  519. <a href="#V3.22_Fonts">Fonts</a>,
  520. <a href="#V3.22_Interpreter">Interpreter</a>,
  521. <a href="#V3.22_Streams">Streams</a>,
  522. <a href="#V3.22_Library">Library</a>
  523. </ul>
  524. <li><a href="#Version3.21">Version 3.21 (beta) (11/17/94)</a>
  525. <ul>
  526. <li><a href="#V3.21_Documentation">Documentation</a>,
  527. <a href="#V3.21_Procedures">Procedures</a>,
  528. <a href="#V3.21_Utilities">Utilities</a>,
  529. <a href="#V3.21_Drivers">Drivers</a>,
  530. <a href="#V3.21_Platforms">Platforms</a>,
  531. <a href="#V3.21_Fonts">Fonts</a>,
  532. <a href="#V3.21_Interpreter">Interpreter</a>,
  533. <a href="#V3.21_Streams">Streams</a>,
  534. <a href="#V3.21_Library">Library</a>
  535. </ul>
  536. <li><a href="#Version3.20">Version 3.20 (beta) (10/31/94)</a>
  537. <ul>
  538. <li><a href="#V3.20_Documentation">Documentation</a>,
  539. <a href="#V3.20_Procedures">Procedures</a>,
  540. <a href="#V3.20_Utilities">Utilities</a>,
  541. <a href="#V3.20_Drivers">Drivers</a>,
  542. <a href="#V3.20_Platforms">Platforms</a>,
  543. <a href="#V3.20_Fonts">Fonts</a>,
  544. <a href="#V3.20_Interpreters">Interpreters</a>,
  545. <a href="#V3.20_Library">Library</a>
  546. </ul>
  547. <li><a href="#Version3.13">Version 3.13(private) (10/3/94)</a>
  548. <ul>
  549. <li><a href="#V3.13_Documentation">Documentation</a>,
  550. <a href="#V3.13_Procedures">Procedures</a>,
  551. <a href="#V3.13_Utilities">Utilities</a>,
  552. <a href="#V3.13_Drivers">Drivers</a>,
  553. <a href="#V3.13_Platforms">Platforms</a>,
  554. <a href="#V3.13_Fonts">Fonts</a>,
  555. <a href="#V3.13_Interpreter">Interpreter</a>,
  556. <a href="#V3.13_Streams">Streams</a>,
  557. <a href="#V3.13_Library">Library</a>
  558. </ul>
  559. <li><a href="#Version3.12">Version 3.12 (9/29/94)</a>
  560. <ul>
  561. <li><a href="#V3.12_Documentation">Documentation</a>,
  562. <a href="#V3.12_Procedures">Procedures</a>,
  563. <a href="#V3.12_Drivers">Drivers</a>,
  564. <a href="#V3.12_Platforms">Platforms</a>,
  565. <a href="#V3.12_Interpreter">Interpreter</a>,
  566. <a href="#V3.12_Streams">Streams</a>,
  567. <a href="#V3.12_Library">Library</a>
  568. </ul>
  569. <li><a href="#Version3.1.1">Version 3.1.1 (9/25/94)</a>
  570. <ul>
  571. <li><a href="#V3.1.1_Documentation">Documentation</a>,
  572. <a href="#V3.1.1_Procedures">Procedures</a>,
  573. <a href="#V3.1.1_Drivers">Drivers</a>,
  574. <a href="#V3.1.1_Platforms">Platforms</a>,
  575. <a href="#V3.1.1_Interpreter">Interpreter</a>
  576. </ul>
  577. <li><a href="#Version3.1">Version 3.1 (9/20/94)</a>
  578. <ul>
  579. <li><a href="#V3.1_Documentation">Documentation</a>,
  580. <a href="#V3.1_Procedures">Procedures</a>,
  581. <a href="#V3.1_Drivers">Drivers</a>,
  582. <a href="#V3.1_Interpreter">Interpreter</a>,
  583. <a href="#V3.1_Streams">Streams</a>,
  584. <a href="#V3.1_Library">Library</a>
  585. </ul>
  586. <li><a href="#Version3.0.3">Version 3.0.3 (9/16/94)</a>
  587. <ul>
  588. <li><a href="#V3.0.3_Documentation">Documentation</a>,
  589. <a href="#V3.0.3_Procedures">Procedures</a>,
  590. <a href="#V3.0.3_Utilities">Utilities</a>,
  591. <a href="#V3.0.3_Drivers">Drivers</a>,
  592. <a href="#V3.0.3_Platforms">Platforms</a>,
  593. <a href="#V3.0.3_Fonts">Fonts</a>,
  594. <a href="#V3.0.3_Streams">Streams</a>,
  595. <a href="#V3.0.3_Interpreter">Interpreter</a>,
  596. <a href="#V3.0.3_Library">Library</a>
  597. </ul>
  598. <li><a href="#Version3.02">Version 3.02 (8/30/94)</a>
  599. <ul>
  600. <li><a href="#V3.02_Documentation">Documentation</a>,
  601. <a href="#V3.02_Procedures">Procedures</a>,
  602. <a href="#V3.02_Utilities">Utilities</a>,
  603. <a href="#V3.02_Drivers">Drivers</a>,
  604. <a href="#V3.02_Platforms">Platforms</a>,
  605. <a href="#V3.02_Fonts">Fonts</a>,
  606. <a href="#V3.02_Interpreter">Interpreter</a>,
  607. <a href="#V3.02_Streams">Streams</a>,
  608. <a href="#V3.02_Library">Library</a>
  609. </ul>
  610. <li><a href="#Version3.01">Version 3.01 (8/14/94)</a>
  611. <ul>
  612. <li><a href="#V3.01_Documentation">Documentation</a>,
  613. <a href="#V3.01_Procedures">Procedures</a>,
  614. <a href="#V3.01_Utilities">Utilities</a>,
  615. <a href="#V3.01_Drivers">Drivers</a>,
  616. <a href="#V3.01_Platforms">Platforms</a>,
  617. <a href="#V3.01_Fonts">Fonts</a>,
  618. <a href="#V3.01_Interpreter">Interpreter</a>,
  619. <a href="#V3.01_Streams">Streams</a>,
  620. <a href="#V3.01_Library">Library</a>
  621. </ul>
  622. <li><a href="#Version3.0">Version 3.0 (8/1/94)</a>
  623. <ul>
  624. <li><a href="#V3.0_Documentation">Documentation</a>,
  625. <a href="#V3.0_Procedures">Procedures</a>,
  626. <a href="#V3.0_Utilities">Utilities</a>,
  627. <a href="#V3.0_Drivers">Drivers</a>,
  628. <a href="#V3.0_Platforms">Platforms</a>,
  629. <a href="#V3.0_Fonts">Fonts</a>,
  630. <a href="#V3.0_Interpreter">Interpreter</a>,
  631. <a href="#V3.0_Streams">Streams</a>,
  632. <a href="#V3.0_Library">Library</a>
  633. </ul>
  634. </ul></blockquote>
  635. <!-- [1.2 end table of contents] =========================================== -->
  636. <!-- [1.3 begin hint] ====================================================== -->
  637. <p>
  638. This document is a history of Ghostscript releases numbered 3.n. For more
  639. recent changes, see the the other history documents and, for the latest
  640. versions, the news:
  641. <blockquote>
  642. <a href="News.htm">News</a><br>
  643. <a href="History4.htm">History of Ghostscript versions 4.n</a><br>
  644. History of Ghostscript versions 3.n (this document)<br>
  645. <a href="History2.htm">History of Ghostscript versions 2.n</a><br>
  646. <a href="History1.htm">History of Ghostscript versions 1.n</a>
  647. </blockquote>
  648. <p>For other information, see the <a href="Readme.htm">Ghostscript
  649. overview</a>.
  650. <!-- [1.3 end hint] ======================================================== -->
  651. <hr>
  652. <!-- [1.0 end visible header] ============================================== -->
  653. <h2><a name="Version3.70p1"></a>Version 3.70 patch 1 (6/24/96)</h2>
  654. <p>
  655. This contains a few last-minute patches before the release.
  656. <h3><a name="V3.70p1_Procedures"></a>Procedures</h3><pre>
  657. Comments out the color inkjet drivers in the cc-based makefile, because a
  658. bug in Sun's cc prevents them from compiling. (cc-head.mak)
  659. </pre><h3><a name="V3.70p1_Drivers"></a>Drivers</h3><pre>
  660. Fixes bugs:
  661. - The os2prn driver smashed memory. (gdevos2p.c)
  662. - Some initialized structures weren't declared 'static'.
  663. (gdevpdf.c, gdevpdfm.c)
  664. - The PNG driver wouldn't compile with some older versions of the
  665. PNG library. (gdevpng.c)
  666. </pre>
  667. <h2><a name="Version3.70"></a>Version 3.70 (limited) (6/23/96)</h2>
  668. <p>
  669. This is the candidate fileset for 4.0. Aside from one optimization
  670. for the PDF writer, the only changes are bug fixes.
  671. <h3><a name="V3.70_Documentation"></a>Documentation</h3><pre>
  672. Renames all the documentation files from *.doc to *.txt, since the .doc
  673. extension didn't give any information about the format of the file.
  674. (readme, *.doc, *.txt)
  675. Notes that IJG JPEG library v6[a] is now required. (jpeg.mak)
  676. Brings ps2pdf.1 up to date. (ps2pdf.1)
  677. Adds a new file describing Aladdin's C coding practices. (c-style.txt)
  678. Updates the man pages to refer to version 4.0. (gs.1, pdf2ps.1, ps2ascii.1,
  679. ps2pdf.1)
  680. </pre><h3><a name="V3.70_Procedures"></a>Procedures</h3><pre>
  681. Changes some file names to fit within the MS-DOS 8.3 limit. (gs.mak)
  682. Adds the PDF writer to the remaining 32-bit configurations (Watcom, OS/2,
  683. MSC). (watc.mak, watcwin.mak, os2.mak, msc.mak, msvcwint.mak)
  684. Changes the -sFONTMAP= switch so it can take a list of font names, like a
  685. search path. (use.txt)
  686. </pre><h3><a name="V3.70_Drivers"></a>Drivers</h3><pre>
  687. Fixes bugs:
  688. - Signed and unsigned values were mixed inconsistently. (gdevcdj.c)
  689. - PDF files could contain e-format floating point numbers, which the
  690. PDF specification doesn't allow. (gdevpdfx.h, gdevpdf*.c)
  691. - The PDF writer didn't handle glyphshow properly. (gs_pdfwr.ps)
  692. - The PDF writer did the wrong thing with fonts whose FontMatrix had
  693. a non-zero translation component. (gs_pdfwr.ps, gdevpdft.c)
  694. - The stand-alone bounding box device could crash when setting
  695. parameters. (gdevbbox.c)
  696. - The mswinpr2 driver smashed memory. (gdevwpr2.c)
  697. Changes the PDF writer so that if it encounters a re-encoded character, it
  698. tries to map it to an encoded character in the standard (ISO Latin-1)
  699. encoding rather than converting the entire string containing it to a bitmap.
  700. This dramatically improves output file size for files with a few divergently
  701. encoded characters, but it may cause the text in the PDF file to differ from
  702. the text in the PostScript input. (gdevpdft.c)
  703. Disallows BitsPerPixel=16 in the MS Windows and OS/2 drivers, since this bit
  704. depth is not supported by Windows and would require special extra buffering.
  705. (install.txt, dwtext.h, dwtext.cpp, gdevmswn.c, gdevpm.c, gdevwpr2.c)
  706. </pre><h3><a name="V3.70_Platforms"></a>Platforms</h3><pre>
  707. Fixes bugs:
  708. - On the PC platforms, file names weren't changed to reflect the
  709. value of CONFIG. (gs.mak, bc*.mak, ms*.mak, os2.mak, tc*.mak, watc*.mak,
  710. wccommon.mak)
  711. Modifies some makefiles for greater reusability. (bclib.mak, watclib.mak)
  712. </pre><h3><a name="V3.70_Fonts"></a>Fonts</h3><pre>
  713. Changes the font searching rules in the following NON-BACKWARD-COMPATIBLE
  714. way: (gs_fonts.ps, gs_res.ps)
  715. - -sFONTMAP=files specifies a list of files containing fontmaps;
  716. previously, it specified only a single fontmap file.
  717. - If -sFONTMAP= is not used, the interpreter reads the Fontmaps from
  718. *all* directories on the search path, and does so even if FONTPATH or
  719. GS_FONTPATH is set; previously, it read only the first Fontmap, and only if
  720. [GS_]FONTPATH was not set.
  721. - Fontmap(s) take precedence over [GS_]FONTPATH; previously,
  722. [GS_]FONTPATH caused Fontmap to be ignored. (You can still force Fontmap to
  723. be ignored with -dNOFONTMAP.)
  724. - Earlier [GS_]FONTPATH entries take precedence over later;
  725. previously, later entries took precedence over earlier. Note that this is
  726. different from Fontmap: earlier Fontmaps in the search path take precedence
  727. over later, but within a single Fontmap, later entries take precedence over
  728. earlier (for backward compatibility).
  729. - [GS_]FONTPATH is consulted only if there is no Fontmap entry for a
  730. font, or no Fontmap entry leads to successful loading; previously,
  731. [GS_]FONTPATH was always consulted at startup.
  732. - If loading a font fails, the interpreter tries the next Fontmap
  733. entry; previously, it fell back to font substitution.
  734. </pre><h3><a name="V3.70_Interpreter"></a>Interpreter</h3><pre>
  735. Fixes bugs:
  736. - Filters didn't peek ahead for an EOD (see Streams below).
  737. (zfileio.c, zpaint.c)
  738. Splits up a file to allow internal access to user and system parameters even
  739. in Level 1. (zmisc2.c, zusparam.c)
  740. Adds LIBPATH as a predefined name in systemdict. Its value is an array of
  741. strings comprising the library search path. (imain.c)
  742. </pre><h3><a name="V3.70_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  743. Fixes bugs:
  744. - A Dests dictionary entry with an array (rather than a dictionary)
  745. value caused an error. (pdf_main.ps)
  746. - Rotated pages could have incorrect translation and/or clipping.
  747. (pdf_main.ps)
  748. </pre><h3><a name="V3.70_Streams"></a>Streams</h3><pre>
  749. Fixes bugs:
  750. - If a buffer boundary fell just before an EOD, and the client read
  751. exactly as much data as was present before the EOD, filters didn't consume
  752. the EOD. (This is required as a tricky consequence of the Adobe
  753. specification.) (stream.h, strimpl.h, stream.c)
  754. </pre><h3><a name="V3.70_Library"></a>Library</h3><pre>
  755. Fixes bugs:
  756. - An extra column of bits could get turned on at the right edge of
  757. masked or monochrome images. (gximage2.c)
  758. - Rasterizing very long curves could cause arithmetic errors or
  759. floating point overflows. (gxpcopy.c)
  760. - Banding with large line widths could truncate curves or introduce
  761. spurious lines. (gxclpath.c)
  762. </pre>
  763. <hr>
  764. <h2><a name="Version3.69"></a>Version 3.69 (limited) (6/14/96)</h2>
  765. <p>
  766. More bug fixes, plus one irresistible new feature: the ability to use
  767. TrueType fonts as freely as Type 1 fonts. Also, one new feature (outside
  768. clipping) that was needed for Aladdin's PCL XL project. We incremented the
  769. version number because of the change in trapezoid and path filling (see
  770. under Library below).
  771. <h3><a name="V3.69_Documentation"></a>Documentation</h3><pre>
  772. Brings documentation about fonts up to date. (fonts.doc)
  773. Updates current.doc to reflect changes since 3.53. (current.doc)
  774. Updates the DLL documentation to reflect recent changes. (dll.doc)
  775. Documents a workaround for the code generation bug in gcc 2.7.x. (make.doc)
  776. Changes the contact information for potential commercial customers in
  777. Europe. (new-user.doc)
  778. Updates the OS/2 documentation to make it current. (install.doc, make.doc)
  779. Documents -dCOLORSCREEN=0. (use.doc)
  780. </pre><h3><a name="V3.69_Procedures"></a>Procedures</h3><pre>
  781. Fixes bugs:
  782. - 'make clean' didn't work in the Watcom environment.
  783. (wmakebat.bat, gs.mak, msc.mak, msvcwint.mak, os2.mak, tccommon.mak,
  784. unixhead.mak, wccommon.mak)
  785. - The X11 libraries were listed in an incorrect order.
  786. (ansihead.mak, cc-head.mak, gcc-head.mak, ugcclib.mak, unix-end.mak)
  787. - The OS/2 makefile didn't ignore errors from `erase' commands.
  788. (os2.mak)
  789. Adds the PDF writer to the 32-bit MS Windows configuration. (bcwin32.mak)
  790. Adds the PNG drivers to the 32-bit MS Windows platform, since they now
  791. compile properly. (bcwin32.mak)
  792. Changes the ttfont feature so that it refers to support for direct usage of
  793. TrueType fonts; puts support for Type 42 fonts into a separate feature
  794. (type42). (gs.mak, int.mak)
  795. Adds direct TrueType font support to the Windows platforms. (bcwin.mak,
  796. bcwin32.mak)
  797. Rewrites vms.mak to be structured more like the other makefiles. (vms.mak,
  798. modules.lis)
  799. Makes the device lists in vms-*.mak the same as those for the Unix
  800. configurations. (vms-cc.mak, vms-decc.mak, vms-gcc.mak)
  801. Changes the default X library directory for gcc to /usr/X11/lib.
  802. (gcc-head.mak)
  803. Adds the list of devices to --help, since HylaFax depends on this.
  804. (imainarg.c)
  805. Adds -dCOLORSCREEN=0 to indicate use of 4 separate color screens with the
  806. same frequency and angle. (gs_init.ps)
  807. </pre><h3><a name="V3.69_Utilities"></a>Utilities</h3><pre>
  808. Fixes bugs:
  809. - When ps2epsi encountered a blank page, it called the
  810. (undocumented) .quit operator with only one argument, causing a stack
  811. underflow. (ps2epsi.ps)
  812. - An extraneous file was included in the fileset. (checkacc.ps)
  813. - A file was omitted from the fileset. (bench.c)
  814. - Images in PostScript files produced by pdf2ps were processed about
  815. 50 times slower than they should have been. (gs_pdf.ps)
  816. </pre><h3><a name="V3.69_Drivers"></a>Drivers</h3><pre>
  817. Fixes bugs:
  818. - An #include was omitted. (gdevpdfi.c)
  819. - The BJC driver could get into an inconsistent state. (gdevcdj.c)
  820. - Braces were omitted around the values for two initialized byte
  821. arrays. (gdevpcx.c)
  822. - A function used 'float' in its argument list, causing problems in
  823. mixed ANSI/non-ANSI compilation. (gdevcdj.c)
  824. - signed and unsigned char pointers were used inconsistently.
  825. (gdevcdj.c, gdevcgml.c)
  826. - Some header files weren't protected against double inclusion.
  827. (gdevprn.h, gdevtifs.h)
  828. - The 24-bit PNG driver included unnecessary copies of the color
  829. mapping procedures. (gdevpng.c)
  830. Fixes bugs in the PDF writer:
  831. - The PDF writer sometimes produced a double // in front of a filter
  832. name. (gdevpdfi.c)
  833. - The PDF writer produced zero-width, zero-height images for
  834. non-standard fonts. (bug introduced since 3.68) (gdevpdfi.c)
  835. - The PDF writer got confused if the input file invoked
  836. setpagedevice. (gdevpdfp.c)
  837. - The PDF writer put annotations on the page after the one they were
  838. supposed to be on. (gdevpdf.c)
  839. - The PDF writer sometimes failed to set the font when needed.
  840. (gdevpdf.c)
  841. - The PDF writer could produce in-line images that were too large.
  842. (gdevpdfi.c)
  843. - The PDF writer didn't scale explicit character and word spacing
  844. (ashow/widthshow/awidthshow) properly. (gdevpdft.c)
  845. - The PDF writer didn't copy named destination or article title
  846. strings, possibly leading to dangling pointers. (gdevpdf.c, gdevpdfm.c)
  847. - The PDF writer produced incorrect output for re-encoded fonts.
  848. (It now converts any string containing characters in non-standard positions
  849. to bitmaps; this will be fixed in a later release.) (gs_pdfwr.ps,
  850. gdevpdfx.h, gdevpdfp.c, gdevpdft.c)
  851. Updates a few drivers for the change in the handling of band device
  852. procedures. (gdevcp50.c, gdevdjet.c)
  853. Updates the X Windows driver for strip halftones. (gdevx.c)
  854. Adds anti-aliasing capability to the os2pm device. (gdevpm.c)
  855. Increases the sizes of some tables in the PDF writer. (gdevpdfx.h)
  856. </pre><h3><a name="V3.69_Platforms"></a>Platforms</h3><pre>
  857. Fixes bugs:
  858. - A patch for the MS Windows platform was accidentally omitted.
  859. (gp_mswin.c)
  860. - A block of code was accidentally duplicated. (dwmain.cpp)
  861. - An identifier exceeded VAX VMS C's limit of 31 characters.
  862. (gscspace.h)
  863. - File name enumeration didn't work properly on Unix systems
  864. (still/again). (gp_unifs.c)
  865. - On MS Windows, If you closed Ghostscript with the system menu, you
  866. only closed the text window; Ghostscript kept running and you had to use the
  867. task manager to kill it. (dwmain.cpp, dwmainc.cpp, dwtext.cpp)
  868. - Some DLL-related typedefs were not consistent. (dwdll.h, gsdll.h,
  869. dpmainc.c, dwdll.cpp)
  870. - Attempts to call the DLL before it was initialized were not
  871. detected. (gsdll.c)
  872. - Bitmap line lengths were rounded up even on 32-bit Windows, which
  873. doesn't want this. (gdevwdib.c)
  874. Further improves the handling of attempts to use the DLL when it is already
  875. in use. (dwdll.cpp, gsdll.c)
  876. Adds a DLL-compatible main program for OS/2. (dpmainc.c, gp_os2.c, gsdll.c)
  877. </pre><h3><a name="V3.69_Fonts"></a>Fonts</h3><pre>
  878. Fixes bugs:
  879. - The WingDings TrueType font wasn't loaded properly. (gs_ttf.ps)
  880. Makes changes so that TrueType fonts can appear in the Fontmap and can be
  881. loaded directly. (gs_fonts.ps, gs_ttf.ps)
  882. </pre><h3><a name="V3.69_Interpreter"></a>Interpreter</h3><pre>
  883. Fixes bugs:
  884. - Executing a .quit with only 1 element on the operand stack caused
  885. an invalid access. (zcontrol.c)
  886. - The usage help message contained incorrect double %%s.
  887. (imainarg.c)
  888. - If an initialization file tried to use any Encodings other than
  889. the 4 registered ones, it couldn't find them. (gs_init.ps, gs_res.ps)
  890. - Places that expected arrays of coordinates (rectangles,
  891. x/y/xyshow) didn't accept packed arrays. (ibnum.c, zdps1.c)
  892. - filterdict was still visible after initialization. (gs_init.ps)
  893. - The usage error message wasn't terminated by a newline.
  894. (imainarg.c)
  895. - setcacheparams (or setting the MaxFontCache user parameter) didn't
  896. actually affect the size of the character cache. (zfont.c, zmisc2.c)
  897. - The main interpreter loop declared iref as a ref *, even though it
  898. may only be a ref_packed *. (iref.h, interp.c)
  899. Changes the character cache so it ignores absurd FontBBox values. Nothing
  900. in the Adobe spec suggests doing this, but it is necessary for handling
  901. questionable output produced by PageMaker 5.0 (an Adobe product!).
  902. (zchar1.c)
  903. Changes some type declarations slightly to reduce the number of 'discarding
  904. const' compiler warnings. (igc.h, igc.c, igcref.c)
  905. Adds .setclipoutside and .currentclipoutside operators for accessing the new
  906. outside clipping capability. (zpath.c)
  907. Adds the dictionary stack to the information printed in case of a fatal
  908. problem. (imain.c)
  909. Adds .set/currentrenderalgorithm operators for testing. (zrop.c)
  910. </pre><h3><a name="V3.69_Library"></a>Library</h3><pre>
  911. Fixes bugs:
  912. - The TrueType rasterizer didn't map quadratic to cubic splines
  913. well, and didn't handle off-curve points at the end of a contour properly.
  914. (gstype42.c)
  915. - An #include was omitted. (gsimage.c, gxclimag.c)
  916. - Some compilers complained about statements with no effect, or
  917. comma operators with no effect on the left. (gschar.c, gxcpath.c, gxfill.c)
  918. - TrueType or Type 42 glyphs with a repeat count that crossed a
  919. contour boundary produced incorrect output. (gstype42.c)
  920. - TrueType / Type 42 composite glyphs involving rotation were placed
  921. incorrectly. (gstype42.c)
  922. - Type 42 fonts with an absent or incorrect FontBBox could fail to
  923. produce output. (gstype42.c)
  924. - Some header files weren't protected against double inclusion.
  925. (gsio.h, gdebug.h)
  926. - Decoding filters didn't "look ahead" to detect EOD, so if the last
  927. read operation before closing the filter ended just before the EOD mark, the
  928. EOD mark might not be absorbed. (stream.h, stream.c)
  929. - Filling paths consisting of multiple subpaths that overlap in Y
  930. produced slightly inaccurate output. We were unable to find a way to fix
  931. this without making a NON-BACKWARD-COMPATIBLE change in the interface for
  932. the recently introduced fill_trapezoid device procedure. (gxdevice.h,
  933. gdevbbox.c, gdevddrw.c, gdevnfwd.c, gxfill.c)
  934. - When banding, get_bits didn't detect calls with out-of-range Y
  935. values. (gxclread.c)
  936. - setcacheparams didn't actually affect the size of the character
  937. cache. (gsfont.h, gxbcache.h, gxfcache.h, gschar.c, gsfont.c, gxbcache.c,
  938. gxccman.c, gxclbits.c)
  939. - When banding, colored halftones could be mangled. (gxclread.c)
  940. Fixes bugs in the bounding box device:
  941. - The bounding box device could give bizarre results if any objects
  942. crossed the lower edge of the page. (gdevbbox.c)
  943. - The bounding box device could get a memory access error when
  944. processing image data. (gdebbox.c)
  945. - The bounding box device ran the default drawing algorithms even if
  946. it had no target (performance bug only). (gdevbbox.c)
  947. - The bounding box device computed an incorrect (too small) box for
  948. partially clipped bitmap images. (gdevbbox.c)
  949. - The bounding box device got confused by files that filled the
  950. entire page with a background color. (gdevbbox.c)
  951. - The bounding box device produced infinite-height boxes for certain
  952. kinds of data. (gdevbbox.c)
  953. Changes some type declarations slightly to reduce the number of 'discarding
  954. const' compiler warnings. (gsmemory.h, gsstruct.h)
  955. Adds the capability of clipping to the outside rather than the inside of the
  956. clipping path. This is required for emulating an obscure feature of the
  957. Microsoft Windows GDI. (gspath.h, gxclpath.h, gxpath.h, gxcpath.h,
  958. gzcpath.h, gspath.c, gxacpath.c, gxclpath.c, gxclread.c, gxcpath.c.)
  959. Makes it possible for band devices to select the underlying memory device
  960. used to accumulate the actual bits. This is required for (at least) PCL5
  961. emulation. This requires adding a procedure to the gx_device_printer
  962. structure, which, for devices that initialize the structure without using
  963. the macros in gdevprn.h or access the printer-specific procedures directly,
  964. is a NON-BACKWARD-COMPATIBLE change. (gdevprn.h, gxclist.h, gxdevice.h,
  965. gdevdflt.c, gdevprn.c, gxclread.c)
  966. Speeds up handling of rotated or halftoned masked images. (gximage2.c)
  967. Adds an output_page procedure to the bounding box device, for testing.
  968. (gdevbbox.c)
  969. Adds a sample device that keeps track of the "render algorithm", for PCL5c
  970. emulation. (gdevrrgb.c)
  971. </pre>
  972. <h2><a name="Version3.68p4"></a>Version 3.68 patch 4 (5/23/96)</h2>
  973. <p>
  974. More minor bug fixes, mostly related to the MS Windows implementation.
  975. <h3><a name="V3.68p4_Documentation"></a>Documentation</h3><pre>
  976. Further updates various doc files to make them more useful to new users.
  977. (NEWS, README, current.doc, helpers.doc, new-user.doc)
  978. Adds user-contributed documentation for ps2pdf. (ps2pdf.doc, unix-end.mak)
  979. Documents a bug in the Borland C++ 4.52 compiler, and where to find the
  980. patch for it. (make.doc)
  981. </pre><h3><a name="V3.68p4_Procedures"></a>Procedures</h3><pre>
  982. Fixes bugs:
  983. - A command line exceeded the MS-DOS 120 character limit.
  984. (devs.mak)
  985. A file was accidentally omitted from the fileset. (wmakebat.bat)
  986. </pre><h3><a name="V3.68p4_Drivers"></a>Drivers</h3><pre>
  987. Fixes bugs:
  988. - Many of the 'show' operators didn't work properly if the PDF
  989. writer was included in the configuration. (gs_pdfwr.ps)
  990. - x_wrap_get_bits was ridiculously slow. (It still is, but not
  991. quite as ridiculously.) (gxcindex.h, gdevxalt.c)
  992. - The PDF writer generated CR instead of CalRGB, which is legal per
  993. the Adobe spec but not compatible with some Adobe Acrobat products.
  994. (gdevpdfi.c)
  995. - Some signed/unsigned discrepancies caused compilation warnings.
  996. (gdevpdfm.c, gdevpdfp.c, gdevpdft.c)
  997. Fixes bugs in the Windows driver:
  998. - An accidentally opened tiny window didn't get closed.
  999. (gdevwdib.c)
  1000. - The name DllInit was misleading, and this procedure wasn't being
  1001. called whtn the DLL was loaded, so the DLL couldn't know the instance
  1002. handle. (gp_mswin.c)
  1003. - The code didn't recognize Win32s (vs. Windows 95) correctly.
  1004. (dwmain.cpp, gdevwdib.c, gp_mswin.h, gp_mswin.c, gsdll16.rc)
  1005. - Some compiler warnings needed fixing. (gdevwdib.c)
  1006. - gsdll16.def and gsdll32.def were different. (gsdll32.def)
  1007. - A GPF leaving the 16-bit DLL loaded could make the DLL permanently
  1008. unusable. (dwmain.cpp)
  1009. - Two obsolete files were still included in the fileset.
  1010. (gswin.def, gswin32.def)
  1011. Adds a compile-time option to the 'bit' drivers to expand 4-bit pixels to
  1012. 32-bit. This was required for tracking down customer problems, because the
  1013. only tools we have available for displaying CMYK images require 32 bits per
  1014. pixel. (gdevbit.c)
  1015. </pre><h3><a name="V3.68p4_Platforms"></a>Platforms</h3><pre>
  1016. Fixes bugs:
  1017. - In DEC C, &lt;time.h&gt; does define the timeval struct. (time_.h)
  1018. Changes gsdll_init() to take an additional argument, a window handle. This
  1019. is a NON-BACKWARD-COMPATIBLE change. (dll.doc, dwdll.h, gsdll.h, dwdll.cpp,
  1020. dwmain.cpp, dwmainc.cpp, gsdll.c)
  1021. </pre><h3><a name="V3.68p4_Fonts"></a>Fonts</h3><pre>
  1022. Updates more Fontmaps to include the new URW++ fonts. (Fontmap.OS2,
  1023. Fontmap.ATM)
  1024. </pre><h3><a name="V3.68p4_Interpreter"></a>Interpreter</h3><pre>
  1025. Fixes bugs:
  1026. - The default operator array table wasn't big enough. (iinit.c)
  1027. - Some signed/unsigned discrepancies caused compilation warnings.
  1028. (imain.c, imainarg.c, zfile.c)
  1029. Adds encoding vectors for Windows 3.1 Latin 1, Latin 2, and Latin 5
  1030. encodings. None of these are loaded in the standard configuration.
  1031. (gs_wl{1,2,5}_e.ps)
  1032. </pre><h3><a name="V3.68p4_Library"></a>Library</h3><pre>
  1033. Fixes bugs:
  1034. - Some tracing output was incorrect or missing. (gxdither.c)
  1035. - Resized objects in the C heap had incorrect bookkeeping
  1036. information (bug introduced in 3.68). (gsmemory.c)
  1037. - Image pixels that fell exactly on device half-pixel boundaries
  1038. could get discarded. (gximage0.c)
  1039. - The bounding box device didn't set a variable properly and didn't
  1040. implement end_image, leading to invalid memory accesses. (gdevbbox.c)
  1041. - Fonts with BuildChar routines written in C didn't work properly
  1042. with kshow or xyshow. (gschar.c)
  1043. Adds some additional tracing output for Patterns. (gxpcmap.c)
  1044. Adds tracing output for freeing malloc'ed blocks at the end of execution.
  1045. (gsmemory.c)
  1046. Adds a gs_dashpath procedure that expands dashes in the same way that
  1047. gs_flattenpath expands curves. (gspath.h, gspath1.c)
  1048. </pre>
  1049. <h2><a name="Version3.68p3"></a>Version 3.68 patch 3 (5/17/96)</h2>
  1050. <p>
  1051. More bug fixes during the beta test period. AccurateScreens now works
  1052. properly.
  1053. <h3><a name="V3.68p3_Procedures"></a>Procedures</h3><pre>
  1054. Fixes bugs:
  1055. - The help message was too long to fit on a PC screen or standard
  1056. terminal. (imainarg.c)
  1057. - Failure to run tar_cat wasn't detected. (unix-end.mak,
  1058. unixtail.mak)
  1059. </pre><h3><a name="V3.68p3_Utilities"></a>Utilities</h3><pre>
  1060. Fixes bugs:
  1061. - In the PostScript files produced by pdf2ps, images using ASCII85
  1062. encoding would cause a typecheck error. (gs_pdf.ps)
  1063. - pdf2ps wrote out strings longer than 200 characters incorrectly.
  1064. (pdf_2ps.ps)
  1065. </pre><h3><a name="V3.68p3_Drivers"></a>Drivers</h3><pre>
  1066. Fixes bugs in gdevcdj.c (according to the author, we have no way to test
  1067. this):
  1068. - The driver used to use Colors as well as ProcessColorModel to
  1069. define the process color model. (devices.doc, gdevbjc.h, gdevcdj.c)
  1070. - Incorrect or inconsistent settings of BitsPerPixel and
  1071. ProcessColorModel, or setting one but not the other, could leave the driver
  1072. in an inconsistent state. (gdevcdj.c)
  1073. Fixes bugs in the MS Windows driver:
  1074. - Insufficient memory for the backing bitmap could cause a GPF.
  1075. (gdevmswn.c, gdevwdib.c)
  1076. - Invalid parameters could cause a crash within the DLL code.
  1077. (gdevwdib.c)
  1078. Adds a user-contributed driver for the CalComp Raster Format. (devs.mak,
  1079. gdevccr.c)
  1080. Adds an anti-aliasing option for MS Windows. (gdevmswn.c, gdevwdib.c)
  1081. </pre><h3><a name="V3.68p3_Platforms"></a>Platforms</h3><pre>
  1082. Fixes bugs in the Windows platform:
  1083. - One had to type "quit" twice to exit. (dwdll.h, dwdll.cpp)
  1084. </pre><h3><a name="V3.68p3_Interpreter"></a>Interpreter</h3><pre>
  1085. Fixes bugs:
  1086. - Platform fonts didn't work properly if the document's primary
  1087. encoding was the standard MS Windows encoding. (ifont.h, gs_wan_e.ps)
  1088. - stringwidth with a Type 1 font could give a spurious typecheck
  1089. error (bug introduced in 3.65). (zcharout.c)
  1090. - If a DOS editor added a ^Z to the end of the Fontmap file, an
  1091. error occurred during initialization. (gs_fonts.ps)
  1092. - Halftones that didn't specify a value for AccurateScreens
  1093. sometimes ignored the setting of the AccurateScreens user parameter.
  1094. (zht2.c)
  1095. </pre><h3><a name="V3.68p3_Library"></a>Library</h3><pre>
  1096. Fixes bugs:
  1097. - gs_join_none was defined, but not implemented. (gxstroke.c)
  1098. - A bookkeeping list for fonts could get confused, causing invalid
  1099. memory accesses. (gsfont.c)
  1100. - An I/O error or internal error would cause the band list
  1101. rasterizer to go into an infinite loop. (gxclread.c)
  1102. - The algorithm for choosing screen angles and frequencies produced
  1103. poor results. (gshtscr.c)
  1104. - Color screens were broken (bug introduced in 3.68). (gxdht.h,
  1105. gzht.h, gsht.c, gshtscr.c)
  1106. </pre>
  1107. <h2><a name="Version3.68p2"></a>Version 3.68 patch 2 (5/13/96)</h2>
  1108. <p>
  1109. This is another set of patches for the next general release.
  1110. <h3><a name="V3.68p2_Documentation"></a>Documentation</h3><pre>
  1111. Fixes bugs:
  1112. - Windows NT and Windows 95 implementations were identified as
  1113. "under development" rather than available. (README)
  1114. - There were several other minor errors in the README file.
  1115. (README)
  1116. - The claimed current IJG JPEG version was incorrect. (jpeg.mak)
  1117. Splits off information for new users into a separate file. (README,
  1118. new-user.doc)
  1119. </pre><h3><a name="V3.68p2_Procedures"></a>Procedures</h3><pre>
  1120. Fixes bugs:
  1121. - gettimeofday takes 2 arguments on SVR4 systems more recent than
  1122. SVR4.0. (make.doc, ansihead.mak, cc-head.mak, gcc-head.mak, time_.h)
  1123. Changes the default Unix data installation directory from /usr/local/lib to
  1124. /usr/local/share, which seems to be favored by more recent Unix systems
  1125. (except for some Linux versions, which still use /usr/local/lib, and BSD/OS,
  1126. which puts Ghostscript in /usr/contrib/lib.) (ansihead.mak, cc-head.mak,
  1127. gcc-head.mak, ugcclib.mak)
  1128. Changes the unset commands in the Unix script to assignments, because a few
  1129. older Unix shells don't provide unset. (unixtail.mak)
  1130. </pre><h3><a name="V3.68p2_Drivers"></a>Drivers</h3><pre>
  1131. Fixes bugs:
  1132. - An #include incorrectly referred directly to a system header.
  1133. (gdevpdft.c)
  1134. - CMYK devices took an excessive amount of time clearing the page to
  1135. white. (gdevm32.c)
  1136. Adds a compile-time option to the 'bit' drivers to remove top and bottom
  1137. whitespace. This change was required in order to track down a customer bug.
  1138. (gdevbit.c)
  1139. </pre><h3><a name="V3.68p2_Interpreter"></a>Interpreter</h3><pre>
  1140. Updates the interpreter for the split in the gstate API. (igstate.h)
  1141. </pre><h3><a name="V3.68p2_Streams"></a>Streams</h3><pre>
  1142. Fixes bugs:
  1143. - Some compilers don't define NULL widely enough. (spngp.c)
  1144. </pre><h3><a name="V3.68p2_Library"></a>Library</h3><pre>
  1145. Fixes bugs:
  1146. - There was a minor typo (&amp; for &amp;&amp;) that didn't affect execution.
  1147. (gxccman.c)
  1148. - There was a trailing comma in an enumeration. (gsiparam.h)
  1149. - Internal and public interfaces weren't separated properly. THIS
  1150. IS A NON-BACKWARD-COMPATIBLE CHANGE for clients using certain undocumented
  1151. interfaces to the graphics state. (gsstate.h, gxstate.h, gzstate.h,
  1152. gsstate.c)
  1153. - A 'private' declaration was missing (yet again). (gxclimag.c)
  1154. </pre>
  1155. <h2><a name="Version3.68p1"></a>Version 3.68 patch 1 (5/10/96)</h2>
  1156. <p>
  1157. This is the first bug fix (patch) incremental release for the next
  1158. general release.
  1159. <h3><a name="V3.68p1_Procedures"></a>Procedures</h3><pre>
  1160. Fixes bugs:
  1161. - Many Windows-specific files were omitted from the previous
  1162. fileset: dw*.rc, dw*.cpp.
  1163. </pre>
  1164. <h2><a name="Version3.68"></a>Version 3.68 (limited) (5/9/96)</h2>
  1165. <p>
  1166. This release cleans up the new Windows files, mostly implements the
  1167. high-level driver API for bitmap images, and adds practical strip
  1168. (AccurateScreens) halftoning. This is the first "serious beta" fileset for
  1169. the next general release. It still has more problems than I would have
  1170. liked.
  1171. <h3><a name="V3.68_Documentation"></a>Documentation</h3><pre>
  1172. Fixes bugs:
  1173. - The names of the executable files for MS Windows were out of date.
  1174. (make.doc)
  1175. - gxcindex.h still referred to "drawing color". (gxcindex.h)
  1176. - The name of the default font directory for Unix systems was
  1177. incorrect. (make.doc)
  1178. Moves the list of files required for installation, and some other
  1179. installation instructions, from make.doc to install.doc. (install.doc,
  1180. make.doc)
  1181. Adds a description of the PNGPredictor filters. (language.doc)
  1182. Updates the documentation of the higher-level driver procedures to match the
  1183. specification changes. (drivers.doc)
  1184. Documents the change in the Watcom build procedure. (make.doc)
  1185. Improves the documentation of bitmap IDs. (gxbitmap.h)
  1186. Adds documentation for the new strip_tile_rectangle and strip_copy_rop
  1187. driver procedures. (drivers.doc)
  1188. Changes the few remaining direct FTP addresses in README to URLs. (README)
  1189. Notes that zlib does not compile correctly on IRIX 6.n with optimization.
  1190. (make.doc)
  1191. Adds references to PDF and TrueType fonts to language.doc. (language.doc)
  1192. Updates fonts.doc to remove references to fonts.mak. (fonts.doc)
  1193. Describes how to substitute an LZW compressor for the LZW-compatible
  1194. compressor provided in the standard release. (make.doc)
  1195. </pre><h3><a name="V3.68_Procedures"></a>Procedures</h3><pre>
  1196. Fixes bugs:
  1197. - Some lines had exceeded the 120-character limit of the
  1198. MS-DOS shell. (int.mak)
  1199. - The configuration files weren't generated correctly when CONFIG
  1200. wasn't an empty string. (unixhead.mak)
  1201. Factors out shared DLL makefile rules into a new file. (bcwin.mak,
  1202. bcwin32.mak, dwcommon.mak)
  1203. Makes the cp and rm commands into makefile parameters, allowing automatic
  1204. generation of build scripts even in the MS-DOS and MS Windows environments
  1205. where the shell requires the CALL command for sub-scripts. (*.mak,
  1206. genconf.c)
  1207. Adds the PDF writer to the default Unix configurations. (ansihead.mak,
  1208. cc-head.mak, gcc-head.mak)
  1209. Adds TrueType support to all Level 2 configurations. (int.mak)
  1210. Removes fonts.mak, which is no longer relevant. (fonts.mak)
  1211. Brings the font compilation procedures up to date. (cfonts.mak, int.mak)
  1212. </pre><h3><a name="V3.68_Utilities"></a>Utilities</h3><pre>
  1213. Fixes bugs:
  1214. - There was an extra 'show' in one file. (align.ps)
  1215. </pre><h3><a name="V3.68_Drivers"></a>Drivers</h3><pre>
  1216. Fixes bugs:
  1217. - The bit devices were missing the map_color_rgb procedure.
  1218. (gdevbit.c)
  1219. - The MS Windows driver sent a redundant message. (gdevmswn.c)
  1220. Adds a device that keeps track of the page bounding box. This device is not
  1221. included in any standard configuration. (drivers.doc, gdevbbox.h,
  1222. gsmatrix.h, gsstruct.h, gxdevice.h, gdevbbox.c, gdevnfwd.c, gsmatrix.c)
  1223. Updates the PDF writer to track the changes in the high-level driver API,
  1224. and to write out images in a reasonable way. NOTE: the current
  1225. implementation doesn't write out CIE color space parameters, so CIE-color
  1226. images won't be colored accurately. (gdevpdf.c, gdevpdfi.c)
  1227. Adds a forwarding procedure for tile_rectangle. (gxdevice.h, gdevnfwd.c)
  1228. Changes the copyright notices on the PDF writer to be the same as on the
  1229. rest of Ghostscript. (gdevpdf*.[ch])
  1230. Updates Gunther Hess's Epson Stylus Color driver from 1.21 to 1.90. (Aladdin
  1231. Enterprises takes no responsibility for this driver: if you have questions,
  1232. contact the author.) (devices.doc, devs.mak, gdevstc*.c, gdevstc.h)
  1233. </pre><h3><a name="V3.68_Platforms"></a>Platforms</h3><pre>
  1234. Removes some obsolete MS Windows files and #defines. (gp_mswtx.h,
  1235. gp_mswtx.c, gp_mswin.h)
  1236. Works around a memory limitation in the Watcom make utility. (wmakebat.bat)
  1237. </pre><h3><a name="V3.68_Fonts"></a>Fonts</h3><pre>
  1238. Changes the standard Fontmap from using the low-quality fonts converted from
  1239. bitmaps to using high-quality fonts recently contributed by URW++.
  1240. (Fontmap, Fontmap.GS)
  1241. </pre><h3><a name="V3.68_Interpreter"></a>Interpreter</h3><pre>
  1242. Fixes bugs:
  1243. - A macro containing an if-else, and a macro generating a compound
  1244. statement, could cause incorrect grouping of 'if' statements. (files.h,
  1245. ostack.h)
  1246. - .setrasterop didn't pop its operand. (zrop.c)
  1247. - A rounding inaccuracy could cause bounding box rangecheck errors.
  1248. (gsdps1.c)
  1249. - CIE-based images in PDF files didn't work. (gs_pdf.ps)
  1250. - The page parameter .MediaSize didn't get updated when PageSize was
  1251. set. (This is just the most recent manifestation of the setpagedevice
  1252. morass.) (gs_setpd.ps)
  1253. - %lineedit and %statementedit were limited to 160 characters.
  1254. (zfileio.c, ziodev.c)
  1255. - Compiled initialization files didn't work properly. (geninit.c,
  1256. gs_l2img.ps)
  1257. - Attempting to parse a command line with argc = 0 caused a crash.
  1258. (imainarg.c)
  1259. Renames some files to allow separating the non-DLL 'main' procedure into a
  1260. separate file, and to make the file naming more consistent:
  1261. gs.c (except for 'main') =&gt; imainarg.c
  1262. gsmain.c =&gt; imain.c
  1263. gs.c now consists only of 'main'. The name gs.c is still inconsistent (it
  1264. should be i- something), but at least it's consistent with the name of the
  1265. executable. (*.mak, imain.h, iminst.h, imainarg.h, gs.c, gsmain.c, imain.c,
  1266. imainarg.c)
  1267. Adds PNGPredictorEncode/Decode filters, and increases the size of filterdict
  1268. slightly to make room for them. (iinit.c, zfpngp.c)
  1269. Makes zwrite external, per a customer request. (opextern.h, zfileio.c)
  1270. Updates clients to work with the new API-based bitmap imaging calls.
  1271. (iimage.h, zcolor1.c, zimage2.c, zpaint.c)
  1272. Updates clients for the split in gscspace.h. (zcie.c, zcolor1.c, zcolor2.c,
  1273. zcsindex.c, zcssepr.c, zimage2.c, zpaint.c, zpcolor.c)
  1274. Updates clients for strip-based halftones. (zpcolor.c)
  1275. Updates the initialization code to pass the correct (system) allocator to
  1276. the library initialization. (imain.c)
  1277. </pre><h3><a name="V3.68_Streams"></a>Streams</h3><pre>
  1278. Fixes bugs:
  1279. - If a filter reached EOD exactly at the end of reading data for
  1280. certain operations, it didn't get closed automatically. (stream.c)
  1281. - The LZW-compatible encoding filter reset procedure had an
  1282. incorrect return type. (slzwce.c)
  1283. Changes the ASCIIHexEncode filter to insert \ns in fewer places, to be
  1284. somewhat more compatible with the Adobe implementation. (sstring.c)
  1285. Adds PNGPredictorEncode/Decode filters that implement the pixel prediction
  1286. algorithms in the PNG specification. (We'd like to use the code in the PNG
  1287. library, but it's too deeply embedded in the rest of the PNG machinery, and
  1288. it also doesn't provide for suspendable I/O.) (spngpx.h, spngp.c)
  1289. </pre><h3><a name="V3.68_Library"></a>Library</h3><pre>
  1290. Fixes bugs:
  1291. - A test for pure color was backwards, causing garbage output or
  1292. possible address or floating point exceptions. (gxclpath.c)
  1293. - A macro containing an if-else could cause incorrect grouping of
  1294. 'if' statements. (gsrefct.h)
  1295. - The default implementation of RasterOp didn't handle the device
  1296. depth correctly. (gdevmrop.c)
  1297. - The memory device implementation of RasterOp truncated 24-bit
  1298. constant source or texture values to 8 bits. (gdevmrop.c)
  1299. - A typo caused the garbage collector to miss an internal buffer
  1300. used when rendering images. (gximage.h)
  1301. - gs_debug_out was only defined if DEBUG was set. (gdebug.h)
  1302. - The raster of horizontally replicated tiles was incorrect.
  1303. (gxht.c)
  1304. - A data type might not be declared, causing a compilation error.
  1305. (gscoord.h)
  1306. - Empty TrueType glyphs weren't handled properly. (gstype42.c)
  1307. - Fonts with a build procedure written in C could cause an invalid
  1308. memory access. (gschar.c)
  1309. - The initial point of a band list path sometimes didn't get
  1310. written, causing excess or missing filled regions. (gxclpath.c)
  1311. - Characters between 49 and 56 bits wide were rendered incorrectly
  1312. when banding. (gxclbits.c)
  1313. Renames gsimage*.c as gximage*.c, to reflect more accurately the position of
  1314. these files in the architecture. (gsimage*.c, gximage*.c)
  1315. Fully implements the high-level bitmap image calls in the driver API. This
  1316. includes some driver API changes; however, this part of the API was clearly
  1317. documented as not stable enough to rely on. (gxdevice.h, gximage.h,
  1318. gdevbbox.c, gdevddrw.c, gdevnfwd.c, gsimage.c, gximage*.c)
  1319. Splits the color space header into client and implementation, as with many
  1320. others. (gscspace.h, gxcspace.h, gximage.h, gscie.c, gscolor.c, gscolor1.c,
  1321. gscolor2.c, gscsepr.c, gsimage.c, gspcolor.c, gsstate.c, gxcmap.c,
  1322. gxpcmap.c)
  1323. Extends band lists to handle high-level images. NOTE: This facility is
  1324. patched out because there is not yet a way to pass the necessary color
  1325. rendering information through the band list. (gxcldev.h, gxclist.h,
  1326. gxclpath.h, gxclimag.c, gxclist.c, gxclpath.c, gxclread.c)
  1327. Implements fixed2float and float2fixed more efficiently on machines with
  1328. slow floating point. (gxfixed.h, gscoord.c, gsmisc.c)
  1329. Makes one further NON-BACKWARD-COMPATIBLE change in the existing
  1330. higher-level driver procedures (fill_path, stroke_path, fill_mask): we make
  1331. the imager state pointer an explicit argument, rather than a member of the
  1332. gx_fill/stroke_params structure. We now consider the specification of these
  1333. procedures stable, and have removed the "subject to change" notice from the
  1334. documentation. (gxdevice.h, gxpaint.h, gdevbbox.c, gdevnfwd.c, gxacpath.c,
  1335. gxclpath.c, gxclread.c, gxfill.c, gxpaint.c, gxstroke.c)
  1336. Extends halftone bitmaps to include "strip" and "shift" information,
  1337. allowing halftone cells with arbitrary angles to be stored in space
  1338. proportional to the number of bits in the cell rather than the square of the
  1339. number of bits. This requires adding new (optional) strip_tile_rectangle
  1340. and strip_copy_rop driver procedures that are like tile_rectangle and
  1341. copy_rop respectively but accept a strip bitmap rather than an ordinary
  1342. tile; these procedures supersede tile_rectangle and copy_rop (although these
  1343. also remain, defined in terms of the new ones). This also requires making
  1344. small but NON-BACKWARD-COMPATIBLE changes in several internal interfaces.
  1345. (gdevmem.h, gdevprn.h, gsdcolor.h, gxbcache.h, gxbitmap.h, gxcldev.h,
  1346. gxclip2.h, gxclist.h, gxdevice.h, gxdevrop.h, gxdht.h, gxfcache.h,
  1347. gxhttile.h, gxpcolor.h, gzht.h; gdevabuf.c, gdevbbox.c, gdevdflt.c,
  1348. gdevm*.c, gdevmpla.c, gdevmrop.c, gdevnfwd.c, gsht.c, gsht1.c, gshtscr.c,
  1349. gspcolor.c, gsstate.c, gxcht.c, gxclbits.c, gxclip2.c, gxclist.c,
  1350. gxclpath.c, gxclread.c, gxcpath.c, gxdcolor.c, gxdither.c, gxht.c,
  1351. gximage2.c, gxpcmap.c, ...)
  1352. Adds "no join" as a line join type. NOTE: this is not actually implemented
  1353. yet. (gslparam.h)
  1354. Changes the initialization code so that it passes the system allocator as an
  1355. argument to module initialization procedures. While this is theoretically a
  1356. NON-BACKWARD-COMPATIBLE change, module initialization procedures are not
  1357. documented and presumably are not used by any code outside the
  1358. implementation. (gscdefs.h, gconf.c, gdevmrop.c, gsinit.c, gxclimag.c,
  1359. gxclpath.c)
  1360. Splits up gs_lib_init into two procedures, allowing specification of a
  1361. different default allocator for the library. (gslib.h, gsinit.c)
  1362. Adds a resize_object operation to the allocator API. (gsmemory.h,
  1363. gsalloc.c, gsmemory.c)
  1364. </pre>
  1365. <h2><a name="Version3.67"></a>Version 3.67 (limited) (4/12/96)</h2>
  1366. <p>
  1367. This release restructures the MS Windows and OS/2 code to be primarily DLL-
  1368. rather than EXE-based. See under Platforms below for more news. This
  1369. release was put out in a hurry in order to get the new DLL code into
  1370. testers' hands; it has more rough edges than usual.
  1371. <h3><a name="V3.67_Documentation"></a>Documentation</h3><pre>
  1372. Fixes bugs:
  1373. - A definition &amp; use comment was incorrect. (scanchar.h)
  1374. - William Bader's e-mail address was wrong. (README)
  1375. Adds documentation for the new begin_image, image_data, and end_image
  1376. procedures. THIS INTERFACE IS STILL SUBJECT TO CHANGE. (drivers.doc)
  1377. </pre><h3><a name="V3.67_Procedures"></a>Procedures</h3><pre>
  1378. Renames all the *core.dev modules as *lib.dev. (int.mak, *lib.mak, vms.mak,
  1379. gdevmrop.c)
  1380. Updates all the remaining makefiles to IJG JPEG version 6a. (*.mak)
  1381. Moves the configuration parameter definitions from gconf.c to a new file
  1382. gscdefs.c. (bcwin*.mak, *lib.mak, gs.mak, int.mak, lib.mak, unixtail.mak,
  1383. vms.mak, gconf.c, gscdefs.c)
  1384. </pre><h3><a name="V3.67_Platforms"></a>Platforms</h3><pre>
  1385. Restructures the MS Windows and OS/2 code to be primarily DLL- rather than
  1386. EXE-based. This involves two minor NON-BACKWARD-COMPATIBLE changes to the DLL
  1387. interface, documented near the end of dll.doc:
  1388. - Adding argv and argc as arguments to gsdll_init.
  1389. - Adding a new message type, GSDLL_POLL, to the callback procedure.
  1390. (bcwin*.mak, devs.mak, os2.mak, dll.doc, install.doc, dw*.*, gsdll*.*,
  1391. gdevms*.*, gdevpm.c, gdevw*.c, gp_mswin.c, gp_os2.c, gsos2.def, gswin.rc)
  1392. Adds the BMP drivers to the Watcom platform. (watc.mak)
  1393. </pre><h3><a name="V3.67_Interpreter"></a>Interpreter</h3><pre>
  1394. Fixes bugs:
  1395. - gs.c assumed the presence of stdio. (gs.c)
  1396. Defines a new API entry point that is the equivalent of command line
  1397. invocation. (imain.h, imainarg.h, gs.c)
  1398. Changes clients to conform to the changes in gsimage.h. (zimage2.c,
  1399. zpaint.c)
  1400. Speeds up the search operator slightly. (zstring.c)
  1401. </pre><h3><a name="V3.67_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  1402. Fixes bugs:
  1403. - If the PDF interpreter was present, running a PostScript file
  1404. didn't close the file properly if it caused an error. (pdf_main.ps)
  1405. Speeds up embedded font loading by making an internal buffer bigger.
  1406. (pdf_font.ps)
  1407. </pre><h3><a name="V3.67_Library"></a>Library</h3><pre>
  1408. Fixes bugs:
  1409. - There could be some non-zero garbage between the width and the
  1410. next multiple of bitmap_align_mod for copy_alpha. (The driver API
  1411. specification explicitly allows this, but it upset one customer.)
  1412. (gxccman.c)
  1413. - Nibble-swapped alpha values could be displaced in memory by one
  1414. pixel, damaging the output. (gdevabuf.c)
  1415. Makes further changes towards adding high-level bitmap image calls to the
  1416. driver API. This includes the following minor NON-BACKWARD-COMPATIBLE
  1417. changes to the interface defined in gsimage.h:
  1418. - changing MultipleDataSources from a member of the gs_image_t
  1419. structure to an argument of gs_image_init;
  1420. - changing the default image parameter values from constant
  1421. structures to procedures that initialize the structure.
  1422. As far as we know, this doesn't affect any existing client code.
  1423. (gsimage.h, gsiparam.h, gxdevice.h, gdevddrw.c, gdevnfwd.c, gsimage.c,
  1424. gspcolor.c, gxccache.c)
  1425. Removes an unnecessary level of call for path filling. (gxpaint.h,
  1426. gxfill.c, gxpaint.c)
  1427. </pre>
  1428. <h2><a name="Version3.66"></a>Version 3.66 (limited) (4/8/96)</h2>
  1429. <p>
  1430. This release adds support for TrueType fonts and Type 42 (encapsulated
  1431. TrueType) PostScript fonts. The MS Windows driver now interacts properly
  1432. with the garbage collector. This release also includes a new, high-quality
  1433. set of free fonts.
  1434. <h3><a name="V3.66_Documentation"></a>Documentation</h3><pre>
  1435. Fixes bugs:
  1436. - The list of generic makefiles had gotten out of date. (make.doc)
  1437. Adds a mention of the bmv program, created by a user and available under the
  1438. GPL. (README)
  1439. Notes that a bug in gcc 2.7.x prevents these versions from compiling
  1440. Ghostscript. (make.doc)
  1441. Clarifies the meaning of "inverted" masks. (gsimage.h)
  1442. Improves the documentation of the stack sizing parameters. (interp.c)
  1443. Improves the documentation of the copy_rop driver procedure.
  1444. (drivers.doc)
  1445. Notes that all subclasses of gx_device must explicitly include the
  1446. device_finalize finalization procedure. (gxdevice.h)
  1447. Updates the documentation of the high-level driver API to reflect the change
  1448. in gx_drawing_color, and the addition of the new polygon and image drawing
  1449. procedures. (drivers.doc)
  1450. Updates the documentation for building zlib and libpng. (make.doc)
  1451. </pre><h3><a name="V3.66_Procedures"></a>Procedures</h3><pre>
  1452. Fixes bugs:
  1453. - The environment space overflowed on some inferior Unix systems.
  1454. (unixtail.mak)
  1455. Adds a ttfont.dev "feature" for including the TrueType interpreter and the
  1456. ability to handle Type 42 fonts. A new procedure, .loadttfont, allows
  1457. loading a TrueType font directly (by converting it to a Type 42 on the fly).
  1458. (gs.mak, int.mak, lib.mak)
  1459. Updates the makefiles and procedures to libpng 0.88 and zlib 1.0.
  1460. (libpng.mak, zlib.mak)
  1461. </pre><h3><a name="V3.66_Utilities"></a>Utilities</h3><pre>
  1462. Fixes bugs:
  1463. - pdf2ps could produce lines longer than 255 characters.
  1464. (pdf_2ps.ps)
  1465. Removes some unnecessary and error-inviting code from pdf2dsc. (pdf2dsc.ps)
  1466. Updates lines.ps to test the new stroke code more fully. (lines.ps)
  1467. Allows omitting the second argument of ps2pdf, as for ps2epsi. (ps2pdf)
  1468. </pre><h3><a name="V3.66_Drivers"></a>Drivers</h3><pre>
  1469. Fixes bugs:
  1470. - A routine was incorrectly declared "private". (I wish gcc caught
  1471. this!) (gdevpdf.c)
  1472. - A 'const' was omitted in a parameter list. (gdevpdfp.c)
  1473. - Some imported procedures didn't have prototypes declared.
  1474. (gdevpdft.c)
  1475. - The ProcSet list for PDF files didn't include Text when it was
  1476. needed. (gdevpdfx.h, gdevpdf.c, gdevpdft.c)
  1477. - Text in PDF output ignored the color setting. (gs_pdfwr.ps,
  1478. gdevpdft.c)
  1479. - Text in PDF output could be positioned incorrectly. (gdevpdft.c)
  1480. - pdfmarks could produce an error when producing PDF output.
  1481. (gs_pdfwr.ps)
  1482. Slightly improves the text output of the PDF writer. (gs_pdfwr.ps,
  1483. gdevpdft.c)
  1484. Defines driver procedures for filling trapezoids (with the parallel edges
  1485. parallel to a coordinate axis), parallelograms (with arbitrary orientation),
  1486. triangles (ditto), and minimum-width lines (ditto). (Note that the last of
  1487. these obsoletes the former draw_line procedure.) (gdevmem.h, gdevprn.h,
  1488. gxdevice.h, gxdraw.h (deleted), gdevddrw.c, gdevdflt.c, gdevht.c,
  1489. gdevnfwd.c, gsimage[12345].c, gxacpath.c, gxclist.c, gxclip2.c, gxcpath.c,
  1490. gxdraw.c (deleted), gxfill.c, gxpcmap.c, gxstroke.c)
  1491. Adds "sketched" driver procedures for high-level bitmap / pixmap image
  1492. drawing. In this release, the argument lists are incomplete, and the
  1493. procedures are stubs: don't try to use them! [see previous entry]
  1494. Changes the screen update strategy for the X Windows driver from a
  1495. compile-time option to a settable run-time variable. (gdevx.c)
  1496. Patches around a problem with libpng 0.88 that can't be fixed without
  1497. editing a configuration file. (gdevpng.c)
  1498. </pre><h3><a name="V3.66_Platforms"></a>Platforms</h3><pre>
  1499. Fixes bugs:
  1500. - %g formats with sscanf don't work on NeXT systems. (gdevpdft.c,
  1501. iutil.c, zdouble.c)
  1502. - getenv could be declared inconsistently. (gp_unix.c)
  1503. </pre><h3><a name="V3.66_Fonts"></a>Fonts</h3><pre>
  1504. Fixes bugs:
  1505. - The Type 1 font interpreter sometimes set the flatness too large.
  1506. (gstype1.c)
  1507. - Fonts defined by definefont could never be garbage collected.
  1508. (gsstruct.h, gxfcache.h, gxfont.h, gxfont0.h, gxfont1.h, gsfont.c,
  1509. gsfont0.c)
  1510. - Type 0 fonts weren't garbage collected properly. (gsfont0.c)
  1511. - Compiled fonts caused a compilation error (bug introduced in
  1512. 3.65). (ifont.h)
  1513. - If a Type 1 font used hint replacement, hints could be applied
  1514. more than once, distorting the character shape. (gxtype1.h, gxhint3.c)
  1515. - Oversampling wasn't applied to large enough characters.
  1516. (gschar.c)
  1517. </pre><h3><a name="V3.66_Interpreter"></a>Interpreter</h3><pre>
  1518. Fixes bugs:
  1519. - The scanner accepted /[, /], /&lt;&lt;, and /&gt;&gt; as literal names (and
  1520. similarly for //). It isn't obvious from the Red Book, but the Adobe
  1521. implementations don't accept these. What a nuisance! (gs_btokn.ps,
  1522. gs_init.ps, pdf_2ps.ps, pdf_base.ps, pdf_main.ps, iscan.c)
  1523. - A spurious stackoverflow could occur under unusual conditions.
  1524. (istack.c)
  1525. - The values of OrigFont and ScaleMatrix in scaled fonts reflected
  1526. only the most recent scaling operation, not the original font and the
  1527. combined scaling operation. (zfont.c)
  1528. - The default size of systemdict had become slightly too small.
  1529. (iinit.c)
  1530. - Type 1 characters defined by PostScript procedures were called
  1531. incorrectly. (zcharout.c)
  1532. Removes the papersize operator from statusdict, since it is not documented
  1533. anywhere in the Adobe literature and didn't interact properly with the
  1534. various ways of setting the page size. (gs_statd.ps)
  1535. Changes the one client of sskip to match the changed API. (zpaint.c)
  1536. Changes clients to reflect the creation of sstring.h. (iscan.h, zfilter.c)
  1537. Adds PSStringEncode as an accessible filter. (zfilter.c)
  1538. Adds support for TrueType and Type 42 fonts. (gs_fonts.ps, gs_ttf.ps,
  1539. gs_typ42.ps, bfont.h, icharout.h, ifont.h, zchar1.c, zchar42.c, zcharout.c,
  1540. zfont1.c, zfont2.c, zfont42.c)
  1541. Adds a few ANSI sheet sizes (commented out, for documentation only).
  1542. (gs_statd.ps)
  1543. </pre><h3><a name="V3.66_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  1544. Fixes bugs:
  1545. - Clients who called pdfopen/close rather than runpdf could get an
  1546. error (PSLevel1 undefined). (pdf_main.ps)
  1547. - Some masked images were displayed with black and white inverted.
  1548. (gs_pdf.ps)
  1549. - In Level 1 output produced by pdf2ps, images caused a syntaxerror.
  1550. (gs_pdf.ps)
  1551. - If a PDF file had multiple xref sections and later sections added
  1552. new objects, an error occurred. (pdf_main.ps)
  1553. - Some very old Level 1 interpreters couldn't deal with a file
  1554. object embedded in a procedure. (gs_pdf.ps)
  1555. </pre><h3><a name="V3.66_Streams"></a>Streams</h3><pre>
  1556. Fixes bugs:
  1557. - The PSStringEncode filter didn't always produce printable 7-bit
  1558. output. (sstring.c)
  1559. - The CCITTFaxDecode filter didn't implement DamagedRowsBeforeError.
  1560. (scfx.h, scfd.c)
  1561. - Interpolated images displayed nothing if the data stream ended
  1562. before the image height was reached. (siscale.h, gsimage5.c, siscale.c)
  1563. Changes the sskip stream procedure so that it takes an additional argument
  1564. where it returns the actual number of bytes skipped. THIS IS A
  1565. NON-BACKWARD-COMPATIBLE CHANGE in the API. However, as far as we know,
  1566. there are no external clients of this procedure. (stream.h, stream.c)
  1567. Splits up sfilter.h so that the headers correspond more directly with the
  1568. implementations. (sfilter.h, sstring.h, sstring.c)
  1569. </pre><h3><a name="V3.66_Library"></a>Library</h3><pre>
  1570. Fixes bugs:
  1571. - The default device in the library configuration was device 1, not
  1572. device 0. (bclib.mak, ugcclib.mak, watclib.mak, gslib.c)
  1573. - Patterns could be rendered with small gaps between them.
  1574. (gspcolor.c)
  1575. - Large characters could render inaccurately because of a numerical
  1576. boundary condition. (gxpcopy.c)
  1577. - The show_gstate pointer in the graphics state was not managed
  1578. properly, possibly leading to dangling pointers or GC errors. (gsstate.c)
  1579. - Bitmaps could get shifted to the left if ALPHA_LSB_FIRST was
  1580. selected (bug introduced in 3.53). (gsbitops.c)
  1581. - The garbage collector could move devices in memory, causing
  1582. problems with command list devices. (gxdevice.h, gsdevice.c)
  1583. Continues restructuring the image handling code in preparation for adding a
  1584. high-level driver operation. (gsimage[12345].c)
  1585. Starts to implement passing color mapping information (transfer function,
  1586. black generation, undercolor removal, CRD, halftoning) in the band list.
  1587. (gxfmap.h, gscolor.c, gscolor1.c, gsht1.c, gsstate.c)
  1588. Speeds up the path filling code a little more. (gxdraw.c)
  1589. Removes the workaround for the gcc 2.7.0/1/2 optimizer bug, since this
  1590. turned out to cause more trouble than it was worth. (stdpre.h)
  1591. Speeds up stroking dramatically for the case of butt or square caps, bevel
  1592. or beveled miter joins, and no fill adjustment, by filling parallelograms
  1593. and triangles directly rather than constructing and filling paths. This is
  1594. an important common case for CAD drawings. (gxdraw.h, gxdraw.c, gxstroke.c)
  1595. Adds support for TrueType and Type 42 fonts. (gxfont.h, gxfont42.h,
  1596. gstype42.c)
  1597. Extends the memory manager to allow allocating objects that the garbage
  1598. collector won't move. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE for
  1599. implementors of memory managers, but clients aren't supposed to have any of
  1600. these. (gsmemory.h, gsmemory.c, gsalloc.c)
  1601. Makes dynamically created instances of registered devices immovable.
  1602. (gsdevice.c)
  1603. Unifies gx_drawing_color with (makes it equivalent to) gx_device_color.
  1604. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE for implementors of the
  1605. higher-level driver procedures (fill_path, stroke_path, fill_mask). We
  1606. regret that this was necessary, but the documentation in drivers.doc does
  1607. warn the reader: "DO NOT ASSUME THESE OPERATIONS WILL REMAIN UNCHANGED IN
  1608. FUTURE RELEASES." These three procedures, at least, should now be stable.
  1609. (gsdcolor.h, gxcindex.h, gxdcolor.h, gxdevice.h, gximage.h, gxpaint.h,
  1610. gxpcolor.h, gdevdflt.c, gdevpdf.c, gdevpdfi.c, gdevxalt.c, gsimage.c,
  1611. gsimage2.c, gspcolor.c, gxacpath.c, gxccache.c, gxcht.c, gxclpath.c,
  1612. gxclread.c, gxdcconv.c, gxdither.c, gxfill.c, gxdraw.c, gxht.c, gxpaint.c,
  1613. gxpcmap.c, gxstroke.c)
  1614. </pre>
  1615. <h2><a name="Version3.65"></a>Version 3.65 (limited) (3/9/96)</h2>
  1616. <p>
  1617. This release adds garbage collection for device instances. ****** NOTE:
  1618. Because of changes in memory management, if you are using the MS Windows
  1619. driver (mswin), you must run with -dNOGC. This is a temporary problem which
  1620. will be fixed before the next beta release.
  1621. <h3><a name="V3.65_Documentation"></a>Documentation</h3><pre>
  1622. Documents the C API equivalent of a -d switch for setting a flag like
  1623. NOPAUSE. (imain.h)
  1624. Splits off the NEWS entries for versions 3.0 through 3.33 into a new
  1625. file. (history3.doc)
  1626. Adds a man page for ps2pdf. (ps2pdf.1)
  1627. Documents the new memory management aspects of device drivers, and corrects
  1628. many other aspects of driver documentation that had become inaccurate.
  1629. (drivers.doc)
  1630. Updates the documentation for the gs_*.ps files. (psfiles.doc)
  1631. Replaces .type1addpath with .type1execchar. (language.doc)
  1632. Adds some more documentation on how band lists do read/write switching.
  1633. (gxclist.h)
  1634. Adds a reference to the new Genscript program, a free Ghostscript-based
  1635. replacement for enscript. (README)
  1636. Notes that no further changes will be accepted for the gdevcdj.c file, which
  1637. has gotten completely out of hand. (gdevcdj.c).
  1638. Documents the TextAlphaBits and GraphicsAlphaBits device parameters.
  1639. (language.doc)
  1640. </pre><h3><a name="V3.65_Procedures"></a>Procedures</h3><pre>
  1641. Fixes bugs:
  1642. - gs_pdfwr.ps and pdf2ps.1 weren't installed on Unix systems.
  1643. (unix-end.mak)
  1644. - The pdf2ps shell script didn't accept any options. (pdf2ps)
  1645. - The rule for srle.$(OBJ) incorrectly specified a dependency on
  1646. srld.c. (lib.mak)
  1647. - The rule for command lists didn't include stream.$(OBJ).
  1648. (lib.mak)
  1649. - The stack size for one configuration was set too small.
  1650. (watclib.mak)
  1651. Speeds up genconf by eliminating redundant file reading and processing.
  1652. (genconf.c)
  1653. Moves the pixel-difference filters from int.mak to lib.mak. (int.mak,
  1654. lib.mak)
  1655. Moves the library parts of the HSB color and Level 1 path (arcs, pathbbox,
  1656. path enumeration) options from int.mak to lib.mak, and adds them to the
  1657. library makefiles. (int.mak, lib.mak; bclib.mak. ugcclib.mak, watclib.mak)
  1658. </pre><h3><a name="V3.65_Utilities"></a>Utilities</h3><pre>
  1659. Fixes bugs:
  1660. - pdf2ps would fail if it encountered a font with a standard
  1661. encoding. (pdf_2ps.ps)
  1662. Adds new switches to pdf2ps:
  1663. -dPSBinaryOK allows writing binary image data in the output.
  1664. (pdf_2ps.ps)
  1665. -dPSLevel1 forces Level 1 compatible output. (int.mak,
  1666. unix-end.mak, gs_l2img.ps, gs_pdf.ps, pdf_2ps.ps, pdf_main.ps)
  1667. -dPSNoProcSet causes the ProcSet to be loaded at run time, not at
  1668. conversion time -- primarily useful for debugging. (pdf_2ps.ps)
  1669. Adds a utility for viewing PCX files, so we can preview high-resolution
  1670. output in a reasonable compressed format. (unix-end.mak, viewpcx.ps)
  1671. </pre><h3><a name="V3.65_Drivers"></a>Drivers</h3><pre>
  1672. Fixes bugs:
  1673. - Some compilers require an extra #include to define structures even
  1674. if they are only referenced by pointers. (int.mak, gdevpdf.c, gdevpdfp.c)
  1675. - A procedure name was duplicated. (gdevpdfi.c)
  1676. - A pdfmark between a gsave and a grestore could cause a
  1677. rangecheck error. (gdevpdfp.c)
  1678. - A pdfmark between a gsave and a grestore could cause the
  1679. grestore to do an inappropriate initgraphics. (gs_pdfwr.ps)
  1680. - The pdfwrite driver could reinitialize the output file
  1681. unpredictably. (gdevpdfp.c)
  1682. - The PCX drivers didn't clear padding bytes at the ends of scan
  1683. lines. (gdevpcx.c)
  1684. - The PCX drivers didn't set the "version" field correctly (this was
  1685. OK in 2.6.1, bug introduced sometime since then). (gdevpcx.c)
  1686. - Whoever last touched the color inkjet drivers completely broke the
  1687. handling of the BitsPerPixel parameter, again. We were able to half-fix it,
  1688. but the code is impossible to understand, let alone modify safely.
  1689. (gdevcdj.c)
  1690. - Anti-aliased characters didn't work with banding. (gxclpath.c)
  1691. - The PGM/PPM drivers didn't recognize black-and-white pages for
  1692. optimization to PBM, only gray or colored. (gdevpbm.c)
  1693. - The color inkjet drivers initialized the params_size field of the
  1694. static instance incorrectly, resulting in garbage in the last few structure
  1695. members when instances were copied. (gdevcdj.c)
  1696. - The 24-bit PCX driver didn't pad each scan line to an even number
  1697. of bytes. (gdevpcx.c)
  1698. - The svga16 driver initialized its procedures incorrectly.
  1699. (gdevpcfb.c)
  1700. Adds text writing capability to the PDF writer. In its present form, this
  1701. is a very bad hack: it only works for the 14 built-in fonts with their
  1702. standard encodings. (gdevpdfx.h, gdevpdf.c, gdevpdfp.c, gdevpdft.c)
  1703. Adds garbage collection and finalization for device instances (gscdefs.h,
  1704. gsdevice.h, gxdevice.h, gconf.c, gdevmrop.c, gsdevice.c, gslib.c, gsmain.c).
  1705. (See the "Driver instance allocation" section of drivers.doc for more
  1706. details about what is required to make this work.)
  1707. - When an open device is freed (explicitly, by garbage collection,
  1708. or by 'restore'), if the device was allocated dynamically by Ghostscript's
  1709. standard allocator, the device's close procedure will be called. THIS IS A
  1710. NON-BACKWARD-COMPATIBLE CHANGE for dynamically created devices, which
  1711. formerly were not closed automatically, even when Ghostscript exited.
  1712. - Device instances allocated in GC-able space will be traced
  1713. like other objects, assuming they have proper structure descriptors.
  1714. Provides a (very slow but correct) default implementation of copy_alpha.
  1715. (gxcindex.h, gdevdflt.c, gsimage4.c)
  1716. Removes the implementation of copy_alpha in gdevpbm.c, since this is now
  1717. implemented (more efficiently) in gdevm24.c. (gdevpbm.c)
  1718. Adds TextAlphaBits and GraphicsAlphaBits as readable parameters for all
  1719. devices. (gsdparam.c, gdevpbm.c, gdevsvga.c)
  1720. </pre><h3><a name="V3.65_Platforms"></a>Platforms</h3><pre>
  1721. Fixes bugs:
  1722. - There were some attempts to coerce long to short pointers
  1723. on segmented platforms. (gsdparam.c, gstype1.c)
  1724. - The stack could overflow on the 16-bit MS Windows platform.
  1725. (gxfill.c, gxclread.c)
  1726. - The DLL callback parameter for window resize events was computed
  1727. incorrectly on 16-bit systems. (gdevwdib.c)
  1728. - A file included gxdevice.h unnecessarily. (bcwin.mak,
  1729. bcwin32.mak, msvcwint.mak, gp_mswin.c)
  1730. </pre><h3><a name="V3.65_Interpreter"></a>Interpreter</h3><pre>
  1731. Fixes bugs:
  1732. - Storing into a read-only dictionary with def or store was
  1733. allowed. (dstack.h)
  1734. - If the interpreter allocated extra space for a dictionary
  1735. to round its storage size up to a power of 2, it was possible for
  1736. length to exceed maxlength. (idict.c, iinit.c)
  1737. - The if and ifelse operators didn't check that their
  1738. 'procedure' arguments were actually procedures. (interp.c, zcontrol.c)
  1739. - The undef operator was defined even in Level 1
  1740. configurations. (We need this capability for all configurations, so
  1741. we always define .undef.) (zdict.c, gs_*.ps, pdf_*.ps)
  1742. - In Level 1 configurations, copying a dictionary should copy the
  1743. access attributes, but it didn't. We have to work around this
  1744. compatibility quirk in a lot of places. (gs_cidfn.ps, gs_cmap.ps,
  1745. gs_dps1.ps, gs_fonts.ps, gs_init.ps, gs_l2img.ps, gs_lev2.ps, gs_pdf.ps,
  1746. gs_pfile.ps, gs_res.ps, gs_setpd.ps, gs_type1.ps, zdict.c)
  1747. - DSC comments that crossed a buffer boundary didn't call the
  1748. scan_dsc_proc. (iscan.c)
  1749. - "statusdict /setpage get exec" caused an error. (gs_statd.ps)
  1750. - The default size of systemdict had become slightly too small.
  1751. (iinit.c)
  1752. - Doing a showpage or copypage would cause the equivalent of a
  1753. setpagedevice at the next restore or grestore. We aren't entirely sure that
  1754. the fix we made doesn't have bad side-effects. (gs_setpd.ps)
  1755. - Not all filters accepted (and ignored) an optional dictionary
  1756. parameter on the stack. (ifilter.h, zfbcp.c, zfdecode.c, zfilter.c,
  1757. zfilterx.c, zfzlib.c, zmisc1.c)
  1758. - The PixelDifference filters required a Columns parameter, rather
  1759. than defaulting it to 1. (spdiffx.h, zfdecode.c)
  1760. - Contrary to the NEWS entry for release 3.60, the LZW filters did
  1761. not implement pixel differencing. (zfdecode.c, zfilter2.c)
  1762. - readstring with a 0-length string didn't signal a rangecheck.
  1763. This doesn't make a lot of sense to me, but it's what the Adobe
  1764. documentation specifies. Unfortunately, we have to work around this in a
  1765. number of places that assumed the sensible definition (return () true
  1766. without reading anything). (gs_l2img.ps, pdf_font.ps, zfileio.c)
  1767. - Encoded number strings didn't work (bug introduced in 3.64).
  1768. (ibnum.c)
  1769. - The allocator could produce spurious "free large 0x...... chunk
  1770. not found" messages. (These didn't cause any harm, but they were
  1771. disturbing.) (gsalloc.c)
  1772. Changes the default transfer function for high-resolution devices so
  1773. that it is the identity function if the device is continuous-tone.
  1774. (gs_init.ps)
  1775. Undoes the "subversion" of zgetdevice noted in release 3.61, since it
  1776. is now possible to copy devices safely. (zdevice.c)
  1777. Changes the implementation of the garbage collector and restore so that
  1778. object finalization code may safely free objects. (igc.c, isave.c)
  1779. Reimplements essentially all of Type 1 BuildChar in C. (gs_init.ps,
  1780. gs_type0.ps (deleted), gs_type1.ps, ifont.h, zchar.c, zchar1.c, zfont.c)
  1781. Reimplements DISKFONTS as a separate feature (diskfont.dev), and changes it
  1782. to use Type 4 fonts rather than special machinery. Currently this feature
  1783. is included only in the makefiles for 16-bit architectures. (bc.mak,
  1784. bcwin.mak, int.mak, tc.mak, gs_diskf.ps, gs_fonts.ps, gs_type1.ps)
  1785. Converts the library search path from a list of strings to a (PostScript)
  1786. array of strings, one string per directory. (iminst.h, main.h, gs.c,
  1787. gsmain.c, zfile.c)
  1788. Adds a hook procedure scan_comment_proc for processing all comments,
  1789. similar to scan_dsc_proc. If both are set, scan_comment_proc is used only
  1790. for non-DSC comments. (iscan.h, iscan.c)
  1791. </pre><h3><a name="V3.65_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  1792. Fixes bugs:
  1793. - Encrypted PDF files produced a random error (usually ioerror in
  1794. --token--) rather than a meaningful message. (pdf_main.ps)
  1795. - Color space setting didn't work. (gs_pdf.ps)
  1796. - The algorithm for skipping a possible blank line following the
  1797. 'stream' keyword wasn't robust enough. (We aren't sure the new algorithm is
  1798. exactly right, either.) (pdf_base.ps)
  1799. Gets rid of the special handling of the LZW decoding filter, since the
  1800. filter itself now handles the Predictor facility. (pdf_base.ps)
  1801. </pre><h3><a name="V3.65_Streams"></a>Streams</h3><pre>
  1802. Fixes bugs:
  1803. - Configurations with LZW encoding but not decoding had an
  1804. undefined reference. (lib.mak, slzwc.c, slzwd.c)
  1805. - The LZW-compatible encoder didn't provide a 'reset' procedure.
  1806. (slzwce.c)
  1807. - The PixelDifference filters didn't work for most parameter
  1808. combinations in which each pixel took up more than 1 byte. (spdiff.c)
  1809. - Temporary write streams could cause an infinite loop. (We only
  1810. need such streams for the Predictor = 2 case of LZWEncode: this is why the
  1811. bug never showed up before.) (stream.c)
  1812. Adds an optional reinitialization procedure to the stream template. Note
  1813. that this is not the same as the PostScript 'reset' operation or the stream
  1814. resetting operation invoked by sreset: the reinit procedure in the template
  1815. reinitializes any internal state of the encoder or decoder without affecting
  1816. buffered data. (scommon.h, strimpl.h, sbcp.c, sbhc.c, slzwce.c, slzwd.c,
  1817. slzwe.c, smtf.c, spdiff.c, srle.c) ****** NOT DONE YET: sbwbs.c, szlibd.c,
  1818. szlibe.c
  1819. Adds a decoding stream for the run-length compression used in PCX.
  1820. (spcxx.h, spcxd.c)
  1821. </pre><h3><a name="V3.65_Library"></a>Library</h3><pre>
  1822. Fixes bugs:
  1823. - A recent edit introduced an extraneous right parenthesis.
  1824. (gpcheck.h)
  1825. - A minor nit in a macro could cause incorrect grouping of 'if'
  1826. statements under implausible conditions. (gsmdebug.h)
  1827. - The first data plane buffer of an image enumerator didn't get
  1828. marked during garbage collection. (gsimage.c)
  1829. - The Watcom C compiler required splitting up a declaration.
  1830. (gxcmap.h)
  1831. - The extern declarations for the tables in gconf.c weren't gathered
  1832. together in one place. (gscdefs.h, gxiodev.h, gconf.c, gsdevice.c, gslib.c,
  1833. gsinit.c, gsiodev.c)
  1834. - charpath and show produced different output. We fixed this by
  1835. undoing a "bug fix", introduced in version 2.9, which suppressed hinting and
  1836. coordinate rounding for charpath; we aren't sure this won't cause some
  1837. obscure problems to reappear. (gstype1.c)
  1838. - Clipping with a rectangle usually created a 3-rectangle clipping
  1839. list, slowing down all drawing operations (performance bug only).
  1840. (gxacpath.c)
  1841. - stroking in a rotated coordinate system sometimes thought lines
  1842. were always thin when they actually weren't. (gxstroke.c)
  1843. - An unsigned quantity wasn't properly converted to signed, possibly
  1844. causing band path coordinates to get mangled. (gxclread.c)
  1845. - A bug in the Borland compiler caused an unsigned quantity to be
  1846. interpreted as signed, causing band path coordinates to get mangled.
  1847. (gxclread.c)
  1848. Changes structure type pointers on 16-bit segmented systems to full
  1849. 32-bit pointers. This will increase time and space requirements very
  1850. slightly on these systems. (gsmemory.h, gxobj.h)
  1851. Changes the memory manager so that object finalization code may safely free
  1852. objects. (gsmemory.h, gsstruct.h, gsalloc.c, gsmemory.c)
  1853. Refactors the Type 1 CharString interpreter so it can be included in
  1854. the imager library. (gstype1.h, gxtype1.h, gstype1.c)
  1855. Starts to refactor the implementation of band lists in memory so that it can
  1856. use any encoding/decoding filter. Currently this choice is made at compile
  1857. time, but it could easily be made dynamic. (gxclmem.h, gxclmem.c)
  1858. Starts to refactor image rendering so that, like path filling and stroking,
  1859. it only uses imager state and can be done after banding. (gxcmap.h,
  1860. gxdraw.h, gximage.h, gsimage*.c, gxcmap.c)
  1861. Speeds up copy_mono for 2-bit-per-pixel devices a little. (gdevm2.c)
  1862. Implements an optimized copy_alpha for 24-bit memory devices. (gdevmem.h,
  1863. gdevm24.c)
  1864. Speeds up filling rectangles significantly. (gsbitops.c)
  1865. Changes the band list rasterizer to use the memory space of the device
  1866. rather than the C heap: our allocator is considerably faster than malloc.
  1867. (gxclread.c)
  1868. Speeds up stroking a little, especially in 90 degree rotated coordinate
  1869. systems. (gxstroke.c)
  1870. </pre>
  1871. <h2><a name="Version3.64"></a>Version 3.64 (limited, incremental) (1/27/96)</h2>
  1872. <p>
  1873. This release fixes a few more bugs, including some serious bugs in band
  1874. lists, and adds pdfmark processing to the PDF writer. The PDF writer is
  1875. still not fit for real use, since it converts all text characters into 720
  1876. dpi bitmaps and turns images into zillions of tiny rectangles (!), but it
  1877. should be producing legal output.
  1878. <h3><a name="V3.64_Documentation"></a>Documentation</h3><pre>
  1879. Fixes bugs:
  1880. - Frans van Hoesel's e-mail address was incorrect. (gdevdjet.c)
  1881. - The man page for ansi2knr was out of date. (ansi2knr.1)
  1882. - The description of a procedure was out of date. (gxdcolor.h)
  1883. Notes that several "optional" features are required in order to obtain the
  1884. full PostScript Level 1 functionality at the library level. (lib.doc)
  1885. Documents the top-level interpreter API. (imain.h)
  1886. Adds details on differences between the imager API and the PostScript
  1887. graphics operators. (lib.doc)
  1888. Notes (here, in NEWS) that the change for device prototypes in 3.61 made the
  1889. protection attributes of a device significant for the first time. Only the
  1890. writable attribute is significant so far. (news)
  1891. </pre><h3><a name="V3.64_Procedures"></a>Procedures</h3><pre>
  1892. Fixes bugs:
  1893. - The .dev rules in the library makefiles didn't list echogs as a
  1894. dependency. (jpeg.mak, libpng.mak, zlib.mak)
  1895. - The install rule tried to install gs.1.1 etc. rather than gs.1
  1896. etc. (unix-end.mak)
  1897. - The install rule tried to install some nonexistent *.1 files.
  1898. (unix-end.mak)
  1899. Adds 'help' and '?' procedures to assist users who don't read the
  1900. documentation. (gs_init.ps)
  1901. Adds -A-, -E-, and -Z-... to turn off debugging flags. (gs.c)
  1902. Adds a -dDELAYBIND switch to delay binding operators, to allow special
  1903. packages like pstotext to redefine them. (gs_init.ps)
  1904. </pre><h3><a name="V3.64_Utilities"></a>Utilities</h3><pre>
  1905. Fixes bugs:
  1906. - Fonts produced by rollconv.ps left a couple of items on the
  1907. operand stack, and left array packing set to true. (rollconv.ps)
  1908. Makes ansi2knr require that the first token after a function header be a
  1909. left brace on the next line, so it can cope with some macros in IJG release
  1910. 6a. Also updates it to work better without the GNU configure machinery, and
  1911. on some old compilers. (ansi2knr.c)
  1912. Changes align.ps so it can be used directly to determine the margin
  1913. parameters. (align.ps, psfiles.doc)
  1914. </pre><h3><a name="V3.64_Drivers"></a>Drivers</h3><pre>
  1915. Fixes bugs:
  1916. - The TIFF/F (G3 and G4) drivers were broken (bug introduced in
  1917. 3.60). (gdevtfax.c)
  1918. - The PDF writer produced invalid output for 0-width, 0-height
  1919. images. (gdevpdfi.c)
  1920. - The PDF writer wasn't a page device. (gdevpdf.c)
  1921. - The PDF writer assigned the Contents node rather than the Pages
  1922. node as the Parent of each page. (gdevpdfx.h, gdevpdf.c)
  1923. Corrects the margin information for the DeskJet printers to be the actual
  1924. values observed on a printer; all of the values in the file were wrong.
  1925. (gdevdjet.c)
  1926. Adds pdfmark recognition and conversion to the PDF writer. All documented
  1927. pdfmarks (ANN, ARTICLE, DEST, DOCINFO, DOCVIEW, LNK, OUT, PAGE, PAGES, PS)
  1928. are recognized and converted, but some of them are not converted correctly.
  1929. (gs_pdfwr.ps, gdevpdfx.h, gdevpdf.c, gdevpdfm.c)
  1930. Adds recognition of all Distiller parameters, except *ImageDict, to the PDF
  1931. writer. Currently only ASCII85EncodePages actually has any effect.
  1932. (gs_pdfwr.ps, gdevpdfx.h, gdevpdfp.c)
  1933. Ensures that PDF output files include at least a default Info dictionary.
  1934. (gdevpdf.c)
  1935. Changes the handling of coordinates in PDF output files so that the scale is
  1936. always 72 dpi, and so that each graphics operator is on a line by itself,
  1937. for compatibility with Adobe Illustrator. (gdevpdfx.h, gdevpdf*.c)
  1938. Adds a driver for ImageMagick's MIFF format. The driver currently only
  1939. produces 24-bit, direct color, RLE compressed output. (gdevmiff.c)
  1940. </pre><h3><a name="V3.64_Platforms"></a>Platforms</h3><pre>
  1941. Changes the gp_check_interrupts platform procedure so that instead of just
  1942. returning a Boolean, it can now also return a negative error code. THIS IS
  1943. (THEORETICALLY) A NON-BACKWARD-COMPATIBLE CHANGE. However, since all
  1944. implementations of this procedure should only have been returning 0 or 1 up
  1945. to now, no existing code should need to be changed. (gpcheck.h, gsmisc.c)
  1946. </pre><h3><a name="V3.64_Interpreter"></a>Interpreter</h3><pre>
  1947. Fixes bugs:
  1948. - devicenames was accidentally deleted. (gs_init.ps)
  1949. - -dFAKEFONTS could cause the memory manager to waste a lot of time.
  1950. (gs_dps1.ps)
  1951. - Using -r or -dFIXEDMEDIA with a non-page device caused an error.
  1952. (gs_init.ps)
  1953. - A VMS compiler reserves the word "readonly", which was used as a
  1954. parameter name. (imain.h, gsmain.c)
  1955. - A garbage collection during the execution of x/y/xyshow with an
  1956. array providing the values could get confused. (ibnum.h, ichar.h, stream.h,
  1957. ibnum.c, iscanbin.c, zchar.c, zchar2.c, zdps1.c, zupath.c)
  1958. - Errors in encoded number strings produced a typecheck rather than
  1959. a rangecheck error. (ibnum.c, zupath.c)
  1960. Updates the DCT filters for IJG release 6a. (zfdctc.c)
  1961. Provides an API call for getting the real stdio files. (imain.h,
  1962. gs.c, gsmain.c)
  1963. </pre><h3><a name="V3.64_Streams"></a>Streams</h3><pre>
  1964. Fixes bugs:
  1965. - If the CCITTFaxEncode stream encountered an output buffer boundary
  1966. while processing the last scan line of input, it could fail to process some
  1967. the scan line. (scfe.c)
  1968. - A couple of pointers weren't always initialized, possibly
  1969. confusing the garbage collector. (stream.c)
  1970. - The weighting coefficient structures used for image scaling
  1971. weren't declared properly for the garbage collector. (siscale.h, siscale.c)
  1972. </pre><h3><a name="V3.64_Library"></a>Library</h3><pre>
  1973. Fixes bugs:
  1974. - Unrotated patterns always used the bounding box size as the step,
  1975. rather than XStep/YStep. (gspcolor.c)
  1976. - Alpha computations for graphics could be seriously incorrect (bug
  1977. introduced in 3.6x). (gdevabuf.c)
  1978. - The length of the next_data_x command for the fill_mask operation
  1979. was incorrect, causing the band list to become confused (bug introduced in
  1980. 3.63). (gxclpath.c)
  1981. - An extern was omitted, causing linker warnings. (gxdevice.h)
  1982. - RasterOps could cause an invalid access because the palette
  1983. for a memory device wasn't set. (gdevmrop.c)
  1984. - gximage.h was included unnecessarily. (gspaint.c)
  1985. - Color screens caused a segmentation fault (bug introduced in
  1986. 3.6x). (gxcht.c)
  1987. - cshow returned the width in an incorrect coordinate system.
  1988. (gscoord.h, gschar.c)
  1989. - Filling or stroking a path that lay entirely off the page in the
  1990. +X or +Y direction could corrupt memory (bug introduced in 3.6x).
  1991. (gxclpath.c)
  1992. - When banding, painting characters with halftones produced random
  1993. results (bug introduced in 3.6x). (gxclpath.c)
  1994. - When banding, characters could get clipped when they shouldn't be
  1995. (bug introduced in 3.6x). (gxclpath.c)
  1996. - The default implementation of fill_mask could discard clipped
  1997. bitmaps (bug introduced in 3.6x). (gdevdflt.c)
  1998. - Non-halftoned 24-bit colors could get garbled when banding (bug
  1999. introduced in 3.6x). (gxclist.c)
  2000. - When banding, if a stroked path had subpaths that fell entirely
  2001. outside the current band, the rest of the path was drawn in the wrong place
  2002. (bug introduced in 3.6x). (gxclpath.c)
  2003. Speeds up image interpolation on machines with slow floating point.
  2004. (siscale.h, siscale.c)
  2005. Speeds up interpolated images when using device color spaces. (gxcvalue.h,
  2006. gxfrac.h, gdevht.c, gxcmap.c, gsimage.c, gsimage3.c)
  2007. Speeds up color mapping a little by removing tests and calls in favor of
  2008. code copying. (gxcmap.c)
  2009. Implements RasterOp for 24-bit RGB devices. (gdevm8.c, gdevm24.c,
  2010. gdevmrop.c)
  2011. </pre>
  2012. <h2><a name="Version3.63"></a>Version 3.63 (limited, incremental) (1/14/96)</h2>
  2013. <p>
  2014. This release has the usual collection of bug fixes, and two significant
  2015. additions: AccurateScreens, and the first draft of a PostScript-&gt;PDF
  2016. converter ("distiller").
  2017. <h3><a name="V3.63_Documentation"></a>Documentation</h3><pre>
  2018. Fixes bugs:
  2019. - Some documentation for pstoppm.ps was out of date. (psfiles.doc)
  2020. - Documentation for acctest.ps, view*.ps, and zeroline.ps was
  2021. missing. (psfiles.doc)
  2022. - The documentation for rollconv.ps omitted the .CSR file.
  2023. (rollconv.ps)
  2024. Removes an inappropriate RCS Id line. (gs.1)
  2025. Adds a list of paper sizes to the man page. (gs.1)
  2026. Suggests that driver authors use parameterization rather than copying when
  2027. possible. (drivers.doc)
  2028. Adds an announcement of Ghostscript support on CompuServe. (README)
  2029. Documents the new -dCOLORSCREEN switch and the existing -dDITHERPPI=lpi
  2030. switch. (use.doc)
  2031. Notes that the OS/2 implementation now requires EMX/GCC 0.9b rather than
  2032. 0.9a. (install.doc)
  2033. Adds some new man pages. (pdf2ps.1, ps2ascii.1)
  2034. Greatly expands lib.doc. (lib.doc)
  2035. </pre><h3><a name="V3.63_Procedures"></a>Procedures</h3><pre>
  2036. Fixes bugs:
  2037. - The pg target for Unix platforms didn't include some necessary
  2038. additional X11 libraries. (unix-end.mak)
  2039. - The Unix library makefile didn't define CCAUX or CCLEAF.
  2040. (ugcclib.mak)
  2041. - Unix systems didn't `install' some .ps files. (unix-end.mak)
  2042. Extends genconf so that features at the library level can have
  2043. initialization procedures. (gconf.c, genconf.c, gsinit.c)
  2044. Adds a -dCOLORSCREEN[=false] switch to force enabling or disabling of
  2045. 4-color screens. (gs_init.ps, gs_setpd.ps)
  2046. </pre><h3><a name="V3.63_Utilities"></a>Utilities</h3><pre>
  2047. Fixes bugs:
  2048. - The prfont utility didn't leave enough of a margin on the left.
  2049. (prfont.ps)
  2050. - The ps2ascii utility still created files _temp_.out and _temp_.err
  2051. even though they are no longer used. (ps2ascii.ps)
  2052. - The acctest.ps file was empty, rather than including a test
  2053. program. (acctest.ps)
  2054. Adds ps2pdf[.bat] scripts for invoking the new pdfwrite driver. (ps2pdf,
  2055. ps2pdf.bat, unix-end.mak)
  2056. </pre><h3><a name="V3.63_Drivers"></a>Drivers</h3><pre>
  2057. Fixes bugs:
  2058. - The x11alpha driver had a patch that suppressed output in many
  2059. cases. (gdevxalt.c)
  2060. - The X driver set up a parameter incorrectly in copy_color.
  2061. (gdevx.c)
  2062. - An explicit cast was needed to handle a 'const' problem.
  2063. (gdevpng.c)
  2064. Adds a pdfwrite driver that creates syntactically correct PDF output. The
  2065. output is only reasonable for fill/stroke graphics, not for text or images.
  2066. (iscan.h, sa85x.h, sfilter.h, gdevpdf.c, sfilter2.c, zfdecode.c)
  2067. </pre><h3><a name="V3.63_Platforms"></a>Platforms</h3><pre>
  2068. Fixes bugs:
  2069. - The test for WinExec failure on Win32 was incorrect. (gp_mswin.c)
  2070. - getenv was declared redundantly on OS/2. (gp_os2.c)
  2071. - gs16spl.c was missing &lt;string.h&gt;. (gs16spl.c)
  2072. </pre><h3><a name="V3.63_Interpreter"></a>Interpreter</h3><pre>
  2073. Fixes bugs:
  2074. - Images read data in smaller and smaller increments (performance
  2075. bug only). (zpaint.c)
  2076. - Images with MultipleDataSources=true and two or more DataSources
  2077. referencing the same stream could get confused. (zpaint.c)
  2078. - Invoking setpagedevice with an undefined key, even with Policy =
  2079. 1, caused an error. (gs_setpd.ps)
  2080. - IEEE floats in binary tokens or encoded number strings were read
  2081. incorrectly on CPUs that use non-IEEE floating point. (ibnum.c)
  2082. Adds a 'const' to the second parameter of zimage_setup. (zimage2.c,
  2083. zpaint.c)
  2084. Encapsulates the filling of free memory blocks in a macro. (igc.c,
  2085. igcstr.c)
  2086. </pre><h3><a name="V3.63_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  2087. Fixes bugs:
  2088. - If the first line of a file began with % but the line was longer
  2089. than 255 characters, an error occurred. (pdf_main.ps)
  2090. - Masked images didn't set the color before drawing. (gs_pdf.ps)
  2091. - Extraneous blank lines in the trailer or cross-reference region
  2092. caused an error. (pdf_base.ps, pdf_main.ps)
  2093. </pre><h3><a name="V3.63_Streams"></a>Streams</h3><pre>
  2094. Speeds up image interpolation a little. Much more could be still be done.
  2095. (siscale.c)
  2096. </pre><h3><a name="V3.63_Library"></a>Library</h3><pre>
  2097. Fixes bugs:
  2098. - An error in handling a boundary condition could cause a horizontal
  2099. streak of pixels to be turned on or off when it shouldn't be. (gxfill.c)
  2100. - The new scan-line-based filling loop could write pixels twice.
  2101. (The old trapezoid-based loop still does write pixels twice.) (gxfill.c)
  2102. - For multi-plane images, gs_image_next only sets *pused for the
  2103. last plane; this wasn't documented. (gsimage.h)
  2104. - Images with MultipleDataSources=true and two or more DataSources
  2105. referencing the same stream could get confused. (gsimage.h, gsimage0.c)
  2106. - 12-bit gray images caused an invalid memory access. (gsimage.c)
  2107. - Nearly-zero-thickness lines didn't get filled, because the hack
  2108. that compensates for this peculiarity of the MS Windows PostScript driver
  2109. accidentally got disabled. (gxfill.c)
  2110. - Some casts to remove 'const' were omitted. (gxclread.c)
  2111. - 1-line-high bitmaps could get written in the band list with an
  2112. inconsistent number of bytes, causing errors when reading. (gxcldev.h,
  2113. gxclbits.c, gxclist.c, gxclpath.c, gxclread.c)
  2114. - Isolated dots produced by round caps usually disappeared. (They
  2115. still disappear sometimes.) (gxstroke.c)
  2116. - On 16-bit platforms, the computation of t2 and t3 in
  2117. gx_curve_x_at_y could overflow, leading to incorrect output. (gxpcopy.c)
  2118. - Stroking horizontal or vertical lines could produce variations of
  2119. 1 pixel in the line width. (gxstroke.c)
  2120. - The default clipping region for band rendering was too large,
  2121. leading to wasted work. (gxclread.c)
  2122. - Guarantees no double pixel writing when necessary, i.e., when a
  2123. non-idempotent RasterOp is selected. (gsropt.h, gxfill.c)
  2124. - For unrotated black-and-white images, one column of pixels at the
  2125. right edge of the image might be incorrect. (gsimage1.c)
  2126. - A const pointer was passed inappropriately. (gxistate.h,
  2127. gscoord.c)
  2128. - CIE color conversion could address 1 element beyond the end of an
  2129. array, with unpredictable results. (gscie.c)
  2130. Separates out the higher-level band list facilities, so they can be an
  2131. optional feature. (lib.mak, gxcldev.h, gxclpath.h, gxclbits.c, gxclist.c,
  2132. gxclpath.c, gxclread.c)
  2133. Implements bitmap (fill_mask) clipping in the band list. (gxcldev.h,
  2134. gxclpath.h, gxclist.c, gxclpath.c, gxclread.c)
  2135. Starts to separate out the RasterOp facility as an optional feature.
  2136. (lib.mak, gxdevice.h, gxdevrop.h, gdevdflt.c, gdevmrop.c)
  2137. Encapsulates the filling of free memory blocks in a macro, at the request of
  2138. a licensee. (gdebug.h, gsmdebug.h, gsmemory.h, gs.c, gsalloc.c, gsmemory.c,
  2139. gxbcache.c)
  2140. Speeds up fill_rectangle for 32-bit devices. (gdevm32.c)
  2141. Speeds up path writing in band lists a little. (gxclpath.c)
  2142. Implements AccurateScreens along the lines described in the Adobe
  2143. documentation. The current implementation can produce very large
  2144. super-cells, so it will not always be able to actually increase the screen
  2145. accuracy. (gxdht.h, gsht.c, gshtscr.c)
  2146. </pre>
  2147. <h2><a name="Version3.62"></a>Version 3.62 (limited, incremental) (12/26/95)</h2>
  2148. <p>
  2149. This release makes some licensee-requested improvements in the garbage
  2150. collector and fixes a couple of minor bugs. It also constitutes a
  2151. checkpoint for the forthcoming forked 3.53 release.
  2152. <h3><a name="V3.62_Documentation"></a>Documentation</h3><pre>
  2153. Notes that for Win32s, gs16spl.exe must be in the same directory as
  2154. gswin32.exe. (install.doc)
  2155. Changes `3.N' to a real version number in the man page. (gs.1)
  2156. Adds a reference to dos-psv, another "dumb terminal" user interface for
  2157. Ghostscript intended for MS-DOS users. (README)
  2158. </pre><h3><a name="V3.62_Procedures"></a>Procedures</h3><pre>
  2159. Fixes bugs:
  2160. - The stack size for some of the PC platforms was set too small.
  2161. (watc.mak, watcwin.mak)
  2162. Changes the default value of ORIENT1 from false to true, i.e., assumes that
  2163. a value of 1 for the orientation parameter of setpageparams indicates
  2164. portrait orientation. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE. It only
  2165. affects files created for roll-media imagesetters. (gs_init.ps, use.doc)
  2166. </pre><h3><a name="V3.62_Interpreter"></a>Interpreter</h3><pre>
  2167. Fixes bugs:
  2168. - The definition of the op_index_op_array_table macro had an
  2169. incorrect trailing semicolon. (opdef.h)
  2170. - Setting the PageSize policy to 1 and then trying to set the page
  2171. size caused an error if FIXEDMEDIA was selected. (gs_setpd.ps)
  2172. Changes the garbage collector marking phase so that instead of just using a
  2173. single block (allocated, free, or default) for the mark stack, it can chain
  2174. all three types of block together. (igc.h, igc.c, igcstr.c, ilocate.c)
  2175. Refactors the garbage collector slightly to reduce inter-module
  2176. dependencies. (int.mak, igc.h, igcstr.h, igcstr.c)
  2177. Changes the garbage collector to keep track of ranges within each chunk that
  2178. must be scanned if the mark stack overflows. (gxalloc.h, igc.c)
  2179. Adds [write]===[only] procedures, which act like == but also print the
  2180. contents of dictionaries, and ppstack, which acts like pstack but uses ===.
  2181. Changes ESTACKPRINT and OSTACKPRINT to use === rather than ==. (gs_init.ps,
  2182. gs_setpd.ps)
  2183. </pre><h3><a name="V3.62_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  2184. Fixes bugs:
  2185. - If a PDF file substituted a calibrated color space for the
  2186. DeviceGray or DeviceRGB color space using a ColorSpace resource, the
  2187. PostScript file that pdf2ps produced from that PDF file caused an error.
  2188. (gs_pdf.ps)
  2189. </pre><h3><a name="V3.62_Library"></a>Library</h3><pre>
  2190. Fixes bugs:
  2191. - The debugging code for checking the sorting of line lists didn't
  2192. check for an empty list. (gxfill.c)
  2193. </pre>
  2194. <h2><a name="Version3.61"></a>Version 3.61 (limited) (12/10/95)</h2>
  2195. <p>
  2196. This limited release fixes a few bugs (including a couple that significantly
  2197. affected character quality) and also includes some substantial performance
  2198. improvements.
  2199. <h3><a name="V3.61_Documentation"></a>Documentation</h3><pre>
  2200. Fixes bugs:
  2201. - The directory name for the PNG library was incorrect.
  2202. (libpng.mak)
  2203. - The analysis of curve monotonocity in gxpcopy.c had an error.
  2204. (gxpcopy.c)
  2205. Changes the subdirectory names for zlib and libpng to be consistent.
  2206. (make.doc)
  2207. Documents a possible problem with object file format incompatibilities in
  2208. certain versions of Linux. (make.doc)
  2209. Documents the new distinction between devices and device prototypes.
  2210. (language.doc)
  2211. Adds a pointer to DEC's free pstotext utility. (README)
  2212. </pre><h3><a name="V3.61_Procedures"></a>Procedures</h3><pre>
  2213. Fixes bugs:
  2214. - zlib.mak omitted some files in the encoding module dependencies.
  2215. (zlib.mak)
  2216. - os2.mak referred to png.mak rather than libpng.mak. (os2.mak)
  2217. - The png devices didn't include gdevpccm.$(OBJ) as a required file.
  2218. (devs.mak)
  2219. - Some modules in lib.mak referred to stream.h, which was defined in
  2220. int.mak. (int.mak, lib.mak)
  2221. - Quite a few dependencies on header files were missing from the
  2222. makefiles. (int.mak, lib.mak, *.mak)
  2223. Adds a 'pg' target to the Unix makefiles, for building profiling
  2224. configurations. (unix-end.mak)
  2225. </pre><h3><a name="V3.61_Utilities"></a>Utilities</h3><pre>
  2226. Fixes bugs:
  2227. - Type 1 fonts in which some characters are defined by PostScript
  2228. procedures couldn't be compiled. (ccfont.h, iccfont.c, font2c.ps)
  2229. - pdf2ps didn't write Widths or Encoding in the converted file,
  2230. producing incorrect spacing and incorrect characters. (pdf_2ps.ps)
  2231. - markhint.ps didn't handle the Type 1 'div' operator, causing
  2232. typecheck errors. (markhint.ps)
  2233. - markhint.ps ignored the hstem3 and vstem3 hints. (markhint.ps)
  2234. Changes the rollconv.ps utility to produce files whose names conform to the
  2235. 8.3 length restriction, and to reduce the fixed RAM overhead for Kanji
  2236. fonts. (rollconv.ps)
  2237. Adds a utility for detecting compiler problems that affect Ghostscript.
  2238. (bughunt.sh)
  2239. </pre><h3><a name="V3.61_Drivers"></a>Drivers</h3><pre>
  2240. Adds anti-aliasing capability (-dTextAlphaBits and -dGraphicsAlphaBits) to
  2241. the PGM and PPM drivers. (gdevpbm.c)
  2242. Declares the static_procs member of the device structure as const *. This
  2243. should have been done a long time ago! (drivers.doc, gxdevice.h)
  2244. </pre><h3><a name="V3.61_Platforms"></a>Platforms</h3><pre>
  2245. Fixes bugs:
  2246. - Printing didn't work in 32-bit MS Windows environments.
  2247. (bcwin32.mak, gdevmswn.c, gp_mswin.c)
  2248. - There were some compatibility problems with IBM C. (os2.mak,
  2249. gsdll.h, gdevpm.c, gp_os2.c)
  2250. Adds the PNG drivers to the 32-bit MS Windows and OS/2 makefiles.
  2251. (bcwin32.mak, os2.mak)
  2252. Adds a conditional to work around a bug in gcc 2.7.x (it didn't recognize
  2253. that the target of a const T * might still be mutable through aliasing).
  2254. (stdpre.h)
  2255. </pre><h3><a name="V3.61_Fonts"></a>Fonts</h3><pre>
  2256. Fixes bugs:
  2257. - Rasterizing a character in a Type 1 font with an invalid FontBBox
  2258. left some garbage on the operand stack (bug introduced in 3.52 or 3.60).
  2259. (gs_type1.ps)
  2260. - The font substitution algorithm could fail or loop. (gs_fonts.ps)
  2261. Adds a little more support for CID fonts and CMaps. (gs_cidfn.ps,
  2262. gs_cmap.ps)
  2263. </pre><h3><a name="V3.61_Interpreter"></a>Interpreter</h3><pre>
  2264. Fixes bugs:
  2265. - An #include &lt;memory_.h&gt; was missing. (ziodev.h)
  2266. - Scanner-detected errors (primarily syntaxerror) didn't report the
  2267. file position. (gs_init.ps)
  2268. - Rotated characters were rendered incorrectly (bug introduced in
  2269. 3.52). (gstype1.c)
  2270. - Some compilers got upset about the use of 'dict' as a variable
  2271. name. (zdict.c)
  2272. - Operand stack overflows sometimes didn't set the "requested" field
  2273. correctly. (interp.c)
  2274. - Using -dBufferSpace= with a non-printer device caused an error.
  2275. (gs_init.ps)
  2276. Adds zlibEncode/Decode filters. (int.mak, zfzlib.c)
  2277. Separates devices from device prototypes. Prototypes, which lack the
  2278. writable attribute, cannot be installed as the current device or have their
  2279. parameters changed. This change allows Ghostscript to be exited and
  2280. restarted without being reloaded, which solves some problems with DLL
  2281. usage. ****** WE HAD TO SUBVERT THIS CHANGE BECAUSE OF MEMORY MANAGER
  2282. PROBLEMS, by making zgetdevice return a writable reference to the
  2283. prototype. (We finally fixed this in release 3.65.) (gs_init.ps, iref.h,
  2284. opcheck.h, zdevice.c, ztype.c, zwppm.c)
  2285. Extends the client API to allow for pushing values onto the operand stack.
  2286. (imain.h, gs.c, gsmain.c)
  2287. Defines a .setdefaultscreen procedure that sets the default halftone screen,
  2288. transfer function, and stroke adjustment for the current device. Changes
  2289. selectdevice and setpagedevice so that they call .setdefaultscreen;
  2290. setpagedevice calls .setdefaultscreen before calling the Install procedure,
  2291. so that Install can set different parameters if it wishes. Note that
  2292. setdevice does not do this. (gs_init.ps, gs_setpd.ps)
  2293. </pre><h3><a name="V3.61_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  2294. Fixes bugs:
  2295. - Tf set the current text font twice, and interacted with pdf2ps in
  2296. an awkward way. (gs_pdf.ps, pdf_2ps.ps, pdf_font.ps)
  2297. - If a font had variant Widths, it could get confused in the cache
  2298. with the underlying font. (pdf_font.ps)
  2299. - If a character appeared twice in an encoding and the font
  2300. specified different Widths values for the two occurrences, the last Width
  2301. would be used. We patched this to ignore zero Widths, which is not the
  2302. correct solution but which almost always produces correct output.
  2303. (pdf_font.ps)
  2304. - Arrays containing nulls didn't print out correctly (bug introduced
  2305. in 3.60). (gs_init.ps)
  2306. - Some PDF files contain very large dictionaries, which caused a
  2307. stackoverflow. (pdf_base.ps)
  2308. Speeds up the initial processing of PDF files by caching the map from page
  2309. numbers to page objects, and by not scanning the outlines if we aren't
  2310. producing PostScript output. (pdf_2ps.ps, pdf_base.ps, pdf_main.ps)
  2311. </pre><h3><a name="V3.61_Streams"></a>Streams</h3><pre>
  2312. Adds zlibEncode/Decode filters. (lib.mak, szlibx.h, szlibc.c, szlibd.c,
  2313. szlibe.c)
  2314. </pre><h3><a name="V3.61_Library"></a>Library</h3><pre>
  2315. Fixes bugs:
  2316. - glyphshow displayed a character with code 0 rather than the
  2317. requested character (bug introduced in 3.60.) (gschar.c)
  2318. - If trimming white space around a character reduced its raster, the
  2319. character was garbled in the cache (bug introduced in 3.60.) (gxccman.c)
  2320. - colorimage would incorrectly convert white pixels to black if the
  2321. image color space was CMYK, the current color space was not CMYK, and the
  2322. number of bits per pixel was 4 or 8. (gsimage2.c)
  2323. - One of the clipping tests for images was backwards (bug introduced
  2324. in 3.60). (gsimage.c)
  2325. - Type 1 fonts that used the Flex feature applied hints to the path
  2326. multiple times, causing dropouts, uneven stems, and other problems (bug
  2327. probably introduced in 3.21). (gstype1.c)
  2328. - If a Type 1 font used the Flex feature within the accent of an
  2329. accented character defined with seac, the shape of the accent could be
  2330. distorted. (gxtype1.h, gstype1.c)
  2331. - If a Type 1 font changed hints using the hint replacement facility
  2332. when the last operation was a closepath, the old hints would be applied a
  2333. second time, distorting the shape. (gxhint3.c)
  2334. - Band lists could read garbage beyond the end of data for a band,
  2335. causing unpredictable errors (bug introduced in 3.60). (gxclread.c)
  2336. - If the bounding box of the path for fill_path or stroke_path went
  2337. outside the device page boundary when banding, out-of-bounds memory
  2338. references occurred (bug introduced in 3.60). (gxdevice.h, gxclpath.c)
  2339. Adds an alternative implementation of the core path filling algorithm that
  2340. is much faster on objects with curves but doesn't handle Y fattening. This
  2341. is the implementation that will normally be used for rasterizing characters.
  2342. This implementation rasterizes curves directly, without flattening them.
  2343. (gxfixed.h, gxpath.h, gzpath.h, gsdps1.c, gxfill.c, gxpcopy.c, gxpdash.c)
  2344. Speeds up the flattening of curves substantially by omitting more redundant
  2345. points. (gxpcopy.c)
  2346. Speeds up character bitmap compression a little more. (gsbitops.h,
  2347. gdevabuf.c, gsbitops.c, gxccman.c)
  2348. Speeds up anti-aliased graphics a bit by computing a bounding box before
  2349. converting from oversampling to alpha values, and by speeding up the
  2350. bounding box computation itself. (gsbitops.h, gdevabuf.c, gsbitops.c,
  2351. gxccman.c)
  2352. </pre>
  2353. <h2><a name="Version3.60"></a>Version 3.60 (limited) (11/20/95)</h2>
  2354. <p>
  2355. (Note: release numbers 3.54 through 3.59 were deliberately skipped.) This
  2356. internal release includes a major redesign of band lists in order to reduce
  2357. their size for embedded implementations, to move towards supporting "vector"
  2358. output formats, and to further separate the imager library from the language
  2359. interpreters.
  2360. <h3><a name="V3.60_Documentation"></a>Documentation</h3><pre>
  2361. Fixes bugs:
  2362. - A comment was incorrect. (viewpbm.ps)
  2363. - The PixelDifference filters were not documented. (language.doc)
  2364. - The change from currenttime to .currenttime wasn't documented.
  2365. (language.doc)
  2366. - gs.1 incorrectly stated that the default font directory name
  2367. included the version number. (gs.1)
  2368. - The -g and -r switches didn't specify that the units for their
  2369. arguments are pixels and pixels per inch respectively. (use.doc)
  2370. - The PageOffset page device parameter wasn't listed.
  2371. (language.doc)
  2372. Changes copy_mono and copy_color to optional procedures. (drivers.doc)
  2373. Adds a reference to ps_view.ps, a "dumb terminal" user interface for
  2374. Ghostscript intended for MS-DOS users. (README)
  2375. Splits off the documentation on installing Ghostscript into a separate file.
  2376. (readme, install.doc, use.doc)
  2377. Adds documentation on the data format produced by the standard LZWEncode
  2378. filter. (readme, lzwce.doc)
  2379. Clarifies XLIBDIR vs. XLIBDIRS. (make.doc)
  2380. Adds user-contributed documentation on building Ghostscript under QNX.
  2381. (make.doc)
  2382. </pre><h3><a name="V3.60_Procedures"></a>Procedures</h3><pre>
  2383. Fixes bugs:
  2384. - The rule for building dfaxhigh.dev had a typo. (devs.mak)
  2385. - The dependencies for gdevpipe.h were missing errno__h and
  2386. string__h. (unixtail.mak)
  2387. - The geninit program (the implementation of COMPILE_INITS=1) didn't
  2388. parse the command line properly, and didn't check for PostScript files
  2389. properly. (geninit.c)
  2390. - ccfontab.c was omitted from the fileset. The easiest way to fix
  2391. this was to rename it to icfontab.c. (gs.mak, int.mak, ccfontab.c)
  2392. - The Unix makefiles installed caption.ls (a typo) rather than
  2393. caption.ps. (unix-end.mak)
  2394. - XLIBDIR, for dynamic library access, wasn't defined. (*head.mak,
  2395. *tail.mak, ugcclib.mak)
  2396. Adds the PNG and ZLIB makefiles to the fileset. (*.mak, png.mak, zlib.mak,
  2397. tar_cat)
  2398. Puts the PixelDifference filters in the standard Level 2 set, since the LZW
  2399. filters may invoke them (a post-Red Book addition to the PostScript language
  2400. definition). (int.mak)
  2401. Adds -Wcast-qual to the gcc compiler flags. (gcc-head.mak)
  2402. Adds the PNG drivers to the standard Unix configurations.
  2403. (ansi/cc-/gcc-head.mak)
  2404. Adds a -dNOFONTPATH switch to suppress any consultation of the FONTPATH
  2405. variable or the GS_FONTPATH environment variable. (gs_fonts.ps, gs_init.ps)
  2406. </pre><h3><a name="V3.60_Utilities"></a>Utilities</h3><pre>
  2407. Fixes bugs:
  2408. - The default scaling for viewing PBM files was computed
  2409. incorrectly. (viewpbm.ps)
  2410. - ps2ascii left a value on the stack for each unrecognized character
  2411. it processed, eventually causing a stackoverflow. (ps2ascii.ps)
  2412. Changes viewpbm.ps so that it simply defines P1 through P6, allowing PBM
  2413. files to be executed with 'run'. (viewpbm.ps)
  2414. Adds a small benchmark to crudely measure hardware/system performance. The
  2415. same file can either be compiled as a C program or executed as a PostScript
  2416. program. (bench.c)
  2417. Adds a few PPD files to the distribution. There will probably be more as
  2418. time goes on. (tar_gs, unix-end.mak)
  2419. Updates the Unix lpr scripts to handle a wider variety of device options.
  2420. (unix-lpr.doc, lprsetup.sh, unix-lpr.sh)
  2421. Adds a utility for converting files produced by Macromedia's Rollup program
  2422. to a Type 0 form directly usable by Ghostscript. (rollconv.ps)
  2423. </pre><h3><a name="V3.60_Drivers"></a>Drivers</h3><pre>
  2424. Fixes bugs:
  2425. - Forwarding devices passed an incorrect first argument when
  2426. forwarding a copy_rop operation. (gsdevice.c)
  2427. - Because of a typo, the LaserJet drivers had incorrect margins.
  2428. This was probably a new bug in 3.5x. (gdevdjet.c)
  2429. - A private name was duplicated. (gdevtfax.c)
  2430. - The x11alpha driver passed invalid colors to the X library.
  2431. (gdevxalt.c)
  2432. - The x11alpha driver set the blue component of colors incorrectly.
  2433. (gdevxalt.c)
  2434. - Some `const' declarations were missing. (gdevtifs.c, gdevtfnx.c,
  2435. gdevxxf.c)
  2436. - The size of A4 paper was slightly inconsistent across drivers.
  2437. (gdevdjet.c, gdevl256.c)
  2438. Provides default implementations of copy_mono and copy_color in terms of
  2439. fill_rectangle. (gxdevice.h, gsdevice.c)
  2440. Adds forwarders for sync_output and output_page. (gxdevice.h, gsdevice.c)
  2441. Adds new optional procedures to the driver interface:
  2442. - fill_path for filling a path with a color;
  2443. - stroke_path for stroking a path;
  2444. - fill_mask for painting a color through a mask.
  2445. The default implementations use the existing rasterizer algorithms. This
  2446. involves a NON-BACKWARD-COMPATIBLE change to the parameters of a few
  2447. internal routines:
  2448. gs_currentlineparams
  2449. gx_fill_path, gx_fill_path_only, gx_path_expand_dashes, gx_path_flatten
  2450. and two externally visible routines not part of standard PostScript:
  2451. gs_setfilladjust, gs_currentfilladjust
  2452. (gdevmem.h, gdevprn.h, gspath.h, gspenum.h, gxcpath.h, gxdevice.h, gxdraw.h,
  2453. gxpaint.h, gxpath.h, gscoord.c, gsdevice.c, gspaint.c, gsstate.c,
  2454. gxacpath.c, gxclist.c, gxclread.c, gxcpath.c, gxdraw.c, gxfill.c, gxpaint.c,
  2455. gxpcmap.c, gxpcopy.c, gxstroke.c)
  2456. Makes major changes to the dithering algorithm for the color DeskJet and
  2457. BubbleJet drivers, contributed by a user. (gdevcdj.c)
  2458. Adds a contributed 12-bit RGB TIFF driver. (gdevtfnx.c)
  2459. </pre><h3><a name="V3.60_Platforms"></a>Platforms</h3><pre>
  2460. Fixes bugs:
  2461. - The printjob created by Ghostscript was called "Ghostscirpt"
  2462. instead of "Ghostscript". (gp_os2.c)
  2463. - An "export" declaration was omitted from DllInit. (gp_mswin.c)
  2464. Removes gp_get_clock (its interface was changed from calendar
  2465. days/milliseconds to epoch seconds/nanoseconds in an undocumented,
  2466. NON-BACKWARD-COMPATIBLE change in 3.51), and adds a new gp_get_realtime
  2467. procedure that returns epoch seconds/nanoseconds. This too is a
  2468. NON-BACKWARD-COMPATIBLE change; it is required because we overlooked the
  2469. prior change in a batch of user-contributed code. (gp.h, gp_*.c)
  2470. </pre><h3><a name="V3.60_Fonts"></a>Fonts</h3><pre>
  2471. Adds Heavy as a synonym for Bold when doing intelligent font substitution.
  2472. (gs_fonts.ps)
  2473. </pre><h3><a name="V3.60_Interpreter"></a>Interpreter</h3><pre>
  2474. Fixes bugs:
  2475. - The setup for the CCITTFax filters set the 'raster' element
  2476. redundantly. (zfdecode.c)
  2477. - currentscreen and currentcolorscreen could give an error if the
  2478. current screen was set with sethalftone (or, for currentscreen,
  2479. setcolorscreen). (gs_dps1.ps)
  2480. - The font operators didn't work properly if a PostScript file
  2481. redefined certain operator names. (gs_res.ps)
  2482. - The CCITTFax filters imposed a limit of 9999 Rows or Columns. The
  2483. new limit is 32000. (zfdecode.c)
  2484. - Streams could get removed from a bookkeeping list prematurely, and
  2485. wind up dangling. (zfile.c)
  2486. - The garbage collector didn't ask for large enough a mark stack,
  2487. and only used half of what it got. (This was only a performance problem.)
  2488. (igc.c)
  2489. - Two private names duplicated names in a vendor library. (zbseq.c)
  2490. - Type 1 fonts didn't enforce the maximum value of BlueScale, which
  2491. caused some faulty fonts produced by Fontographer to produce incorrect
  2492. output. (zfont1.c)
  2493. - cvs / cvrs / = didn't produce Adobe-compatible output.
  2494. (gs_init.ps, iutil.h, iutil.c, zfileio.c)
  2495. - Multiple -I switches set the search path incorrectly. (gsmain.c)
  2496. - Many `const' declarations were missing. (icie.h, idparam.h,
  2497. iref.h, iutil.h, idparam.c, iinit.c, ilocate.c, iname.c, interp.c, iparam.c,
  2498. iutil.c, zcie.c, zfile.c, zgstate.c, ziodev.c, ztype.c)
  2499. - Fonts could wind up with a pointer to the wrong VM space, causing
  2500. potential GC or save/restore confusion. (zfont2.c)
  2501. - upath could leave garbage on the stack if it failed. (gs_dps1.ps)
  2502. Speeds up rasterizing characters into the cache a little. (gs_type0.ps)
  2503. Changes the default limit on the size of cached characters from the maximum
  2504. of (18 points or 5 times the "average" character size) to (18 points or 1%
  2505. of the total cache size). (gs_init.ps)
  2506. Adds the DecodedByteAlign parameter to the CCITTFax filters. (zfdecode.c)
  2507. Updates some code for compatibility with the new fill_path driver procedure.
  2508. (zupath.c)
  2509. Replaces .set/currentfilladjust with .set/currentfilladjust2, and defines
  2510. the former in terms of the latter. (gs_init.ps, zgstate.c)
  2511. Extends the make[word]imagedevice operators to accept palette values of 16,
  2512. 24, and 32, for creating true-color image devices. (zdevice.c)
  2513. Changes realtime to match the definition of gp_get_realtime. (zmisc.c)
  2514. Removes the [.]currenttime operator. realtime provides interval timing in
  2515. milliseconds; the %Calendar% IODevice provides calendar times. (zmisc.c)
  2516. Extends the LZW filters to handle the PDF Predictor (pixel-differencing)
  2517. option. (zfdecode.c, zfilter2.c, zfpdiff.c (deleted))
  2518. </pre><h3><a name="V3.60_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  2519. Fixes bugs:
  2520. - The length of an image's data was sometimes calculated
  2521. incorrectly, causing an error when converting PDF to PostScript.
  2522. (pdf_draw.ps)
  2523. - If word spacing and/or text spacing was non-zero, an error could
  2524. occur. (gs_pdf.ps)
  2525. - Text that was both filled and stroked caused an error.
  2526. (gs_pdf.ps)
  2527. </pre><h3><a name="V3.60_Streams"></a>Streams</h3><pre>
  2528. Fixes bugs:
  2529. - When closing an encoding filter stream whose target was also a
  2530. filter, the latter could get called incorrectly with last = 1, possibly more
  2531. than once, leading to premature EOD markers. (stream.c)
  2532. - The LZW-compatible encoder put out an incorrect end-of-data code.
  2533. (slzwce.c)
  2534. - The LZW-compatible encoder didn't put out a reset code soon
  2535. enough. (slzwce.c)
  2536. - Some `const' declarations were missing. (siscale.c)
  2537. - Doing a sgets on a closed stream could call sreadbuf, possibly
  2538. causing an error. (stream.c)
  2539. Adds a new (optional) set_defaults procedure to the stream template, which
  2540. sets the stream parameters to default values. We only implement it for a
  2541. few stream types. (scfx.h, scommon.h, slzwx.h, spdiffx.h, srlx.h,
  2542. strimpl.h, scfd.c, scfe.c, slzwce.c, slzwd.c, slzwe.c, spdiff.c, srld.c,
  2543. srle.c)
  2544. Adds a new parameter to the CCITTFax filters, DecodedByteAlign. This is an
  2545. integer N, which must be a power of 2 between 1 (2^0) and 16 (2^4), that
  2546. specifies that decoded data scan lines are always a multiple of N bytes.
  2547. The encoding filter skips data in each scan line from Columns to the next
  2548. multiple of N bytes; the decoding filter pads each scan line to a multiple
  2549. of N bytes. Default value: 1. (scfx.h, scfd.c, scfe.c)
  2550. Increases the maximum width of a scan line for the CCITTFaxEncode filter to
  2551. 32000 pixels. (scf.h)
  2552. </pre><h3><a name="V3.60_Library"></a>Library</h3><pre>
  2553. Fixes bugs:
  2554. - Cached characters sometimes had extra blank space on the left,
  2555. leading to some unnecessary bit-shuffling when imaging them. (gxccman.c)
  2556. - In rare cases, gray halftones called gx_color_load unnecessarily.
  2557. (gxdither.c)
  2558. - The list of all-bands commands wasn't initialized/reset properly.
  2559. (gxclist.c, gxclread.c)
  2560. - Rendering an anti-aliased character to a non-anti-aliased device
  2561. didn't free the temporary bitmap, causing memory to be lost. (gxccache.c)
  2562. - Dash patterns where the offset exactly reached a run of length 0
  2563. skipped over the 0-length run. (gsline.c)
  2564. - Rectangles closed with both lineto and closepath weren't
  2565. recognized as rectangles. This is only a performance bug. (gxpath2.c)
  2566. - Because of a typo in a macro formal parameter list, a private name
  2567. was duplicated. (gsstruct.h)
  2568. - Text display operations didn't update the current character in the
  2569. enumerator structure during the fastest path through the code. This only
  2570. matters to one very unusual commercial client. (gschar.c)
  2571. - Some `const' declarations were missing. (gsparam.h, gxistate.h,
  2572. stdpre.h; gdevm1.c, gsalloc.c, gsfont.c, gsimage3.c, gsmemory.c, gsmisc.c,
  2573. gspcolor.c, gstype1.c, gxfill.c, gxpcopy.c)
  2574. Changes the header files to assume that gcc on Solaris defines
  2575. __svr4__ and that, in this case, &lt;string.h&gt; has the right stuff in it.
  2576. (memory_.h)
  2577. Refactors the character cache to share structures with a similar cache
  2578. used by band lists. Eventually the band list may be able to reference
  2579. the character cache directly, saving a lot of copying. (gxbcache.h,
  2580. gxfcache.h, gsfont.c, gxbcache.c, gxccache.c, gxccman.c)
  2581. Speeds up getting the side bearing and width of a Type 1 charstring a
  2582. little. (gxtype1.h, gstype1.c)
  2583. Redesigns band lists so that they can cache character bitmaps as well as
  2584. halftone bitmaps. Characters may be written for all bands, not just the
  2585. band(s) they appear in, depending on the setting of the CHAR_ALL_BANDS_COUNT
  2586. parameter in gxclbits.c. (gxcldev.h, gxclist.h, gxclbits.c, gxclist.c,
  2587. gxclread.c)
  2588. Adds G4 fax compression for band list bitmaps. (gxcldev.h, gxclist.c,
  2589. gxclread.c)
  2590. Incorporates the new set_defaults procedure into the memory-based band list
  2591. implementation. (gxclmem.c)
  2592. Implements a halftoning device that can be used in a device pipeline.
  2593. (gdevht.h, gzht.h, gdevht.c, gxcht.c)
  2594. Factors out imager state from the full graphics state. This division is
  2595. preliminary and subject to change. (gxistate.h, gxop1.h, gzstate.h,
  2596. gsline.c, gsstate.c, gstype1.c, gxhint*.c)
  2597. Implements passing fill operations in the band list, except for pattern
  2598. color or colored halftones. (gxcldev.h, gxclist.h, gxclist.c, gxclread.c)
  2599. Implements passing stroke operations in the band list, except for pattern
  2600. color or colored halftones. (gsline.h, gslparam.h, gxline.h, gzline.h,
  2601. gsline.c; gxcldev.h, gxclist.h, gxclist.c, gxclread.c)
  2602. Implements the ability to represent halftoned characters in the band list.
  2603. (gxccache.c)
  2604. Starts to implement the ability to do halftoning during the rendering phase
  2605. rather than before writing the band list (currently for black-and-white
  2606. devices only). Doing this required NON-BACKWARD-COMPATIBLE changes to the
  2607. interfaces of a few internal procedures:
  2608. gx_check_tile_size, gx_render_device_{color,gray}
  2609. (gxdcolor.h, gxdht.h, gzht.h, gsht.c, gsimage1.c, gsmisc.c, gspcolor.c,
  2610. gsstate.c, gxcht.c, gxclbits.c, gxdither.c, gxht.c)
  2611. Implements passing clipping information in the band list. (gzcpath.h,
  2612. gxacpath.c, gxclpath.c, gxclread.c, gxcpath.c)
  2613. Removes the gs_state * parameter from the device color fill_rectangle
  2614. procedures and many of their callers, since it is no longer needed. This is
  2615. a non-backward-compatible change to an internal API. (gdevmrop.h,
  2616. gxdcolor.h, gxdraw.h, gxpaint.h, gdevmrop.c, gsimage.c, gspcolor.c, gxcht.c,
  2617. gxclread.c, gxdraw.c, gxfill.c, gxht.c, gxpaint.c, gxstroke.c)
  2618. Removes gxdevice.h from gzstate.h, since not all modules requiring access to
  2619. the graphics state need to know the implementation of devices. This entails
  2620. adding gxdevice.h to the include lists for some modules. (gxchar.h,
  2621. gxcpath.h, gxcvalue.h, gxdevice.h, gxtype1.h, gzstate.h; gschar.c,
  2622. gscoord.c, gsdevice.c, gsimage1.c, gsimage2.c, gsimage3.c, gspaint.c,
  2623. gspath.c, gsstate.c, gstype1.c, gxccache.c, gxccman.c, gxhint1.c, gxhint2.c,
  2624. gxhint3.c, gxpaint.c)
  2625. Adds a compile-time option, ALPHA_LSB_FIRST, which causes alpha-sampled
  2626. characters to be nibble-reversed in the cache. This was created for a
  2627. specialized application and does not interact well with the rest of the
  2628. code. (gsbitops.c)
  2629. Substantially reduces the space required to represent 24- or 32-bit colors
  2630. in the band list, by using more aggressive color differencing. (gxcldev.h,
  2631. gxclist.c, gxclread.c)
  2632. Changes the allocation of unique IDs for halftone tiles to use the gray
  2633. level rather than the number of 1-bits as the increment to a base ID; this
  2634. allows more efficient (delta) representation of halftone indices in the band
  2635. list. (gxcldev.h, gxclist.c, gxclread.c, gxht.c)
  2636. Substantially speeds up entering anti-aliased characters in the cache, by
  2637. removing white space before compressing rather than vice versa.
  2638. (gsbitops.c, gxccman.c)
  2639. </pre>
  2640. <hr>
  2641. <h2><a name="Version3.53"></a>Version 3.53 (1/10/96)</h2>
  2642. <p>
  2643. This is an anomalous, out-of-sequence release requested by a commercial
  2644. licensee. It consists of 3.52 plus the following retrofits from 3.60
  2645. through 3.63:
  2646. - PDF interpreter and pdf2ps;
  2647. - Type 1 rasterizer fixes;
  2648. - Type 1 rasterizer and polygon fill performance improvements;
  2649. - MS Windows and OS/2 fixes;
  2650. - A few other important fixes.
  2651. It does NOT fix all problems reported since 3.52.
  2652. <p>
  2653. The list of changes below indicates which subsequent release was the source
  2654. of each change. In several cases, minor editing of the change was required
  2655. to make it compatible with 3.52.
  2656. <h3><a name="V3.53_Documentation"></a>Documentation</h3><pre>
  2657. Fixes bugs:
  2658. [3.61] The analysis of curve monotonocity in gxpcopy.c had an error.
  2659. (gxpcopy.c)
  2660. [3.63] Notes that the OS/2 implementation now requires EMX/GCC 0.9b rather
  2661. than 0.9a. (use.doc)
  2662. [3.62] Notes that for Win32s, gs16spl.exe must be in the same directory as
  2663. gswin32.exe. (use.doc)
  2664. [3.62] Adds a reference to dos-psv, another "dumb terminal" user interface
  2665. for Ghostscript intended for MS-DOS users. (README)
  2666. [3.61] Adds a pointer to DEC's free pstotext utility. (README)
  2667. [3.60] Adds a reference to ps_view.ps, a "dumb terminal" user interface for
  2668. Ghostscript intended for MS-DOS users. (README)
  2669. </pre><h3><a name="V3.53_Procedures"></a>Procedures</h3><pre>
  2670. Fixes bugs:
  2671. [3.60] The geninit program (the implementation of COMPILE_INITS=1)
  2672. didn't parse the command line properly, and didn't check for PostScript
  2673. files properly. (geninit.c)
  2674. [3.60] ccfontab.c was omitted from the fileset. The easiest way to
  2675. fix this was to rename it to icfontab.c. (gs.mak, int.mak, ccfontab.c)
  2676. [3.60] The definition of pdfread.dev did an ADDMOD, not a SETMOD.
  2677. (int.mak)
  2678. [3.60] Adds a -dNOFONTPATH switch to suppress any consultation of the
  2679. FONTPATH variable or the GS_FONTPATH environment variable. (gs_fonts.ps,
  2680. gs_init.ps)
  2681. </pre><h3><a name="V3.53_Utilities"></a>Utilities</h3><pre>
  2682. Fixes bugs:
  2683. [3.61] pdf2ps didn't write Widths or Encoding in the converted file,
  2684. producing incorrect spacing and incorrect characters. (pdf_2ps.ps)
  2685. [3.60] ps2ascii left a value on the stack for each unrecognized
  2686. character it processed, eventually causing a stackoverflow. (ps2ascii.ps)
  2687. [3.61] Changes the rollconv.ps utility to produce files whose names conform
  2688. to the 8.3 length restriction, and to reduce the fixed RAM overhead for
  2689. Kanji fonts. (rollconv.ps)
  2690. [3.60] Adds a utility for converting files produced by Macromedia's Rollup
  2691. program to a Type 0 form directly usable by Ghostscript. (rollconv.ps)
  2692. </pre><h3><a name="V3.53_Drivers"></a>Drivers</h3><pre>
  2693. Fixes bugs:
  2694. [3.60] Because of a typo, the LaserJet drivers had incorrect
  2695. margins. This was probably a new bug in 3.5x. (gdevdjet.c)
  2696. [3.60] A private name was duplicated. (gdevtfax.c)
  2697. [3.60] The x11alpha driver passed invalid colors to the X library.
  2698. (gdevxalt.c)
  2699. [3.60] The x11alpha driver set the blue component of colors
  2700. incorrectly. (gdevxalt.c)
  2701. </pre><h3><a name="V3.53_Platforms"></a>Platforms</h3><pre>
  2702. Fixes bugs:
  2703. [3.63] The test for WinExec failure on Win32 was incorrect.
  2704. (gp_mswin.c)
  2705. [3.63] getenv was declared redundantly on OS/2. (gp_os2.c)
  2706. [3.63] gs16spl.c was missing &lt;string.h&gt;. (gs16spl.c)
  2707. [3.61] Printing didn't work in 32-bit MS Windows environments.
  2708. (bcwin32.mak, gdevmswn.c, gp_mswin.c)
  2709. [3.61] There were some compatibility problems with IBM C. (os2.mak,
  2710. gsdll.h, gdevpm.c, gp_os2.c)
  2711. [3.60] The printjob created by Ghostscript was called "Ghostscirpt"
  2712. instead of "Ghostscript". (gp_os2.c)
  2713. [3.60] An "export" declaration was omitted from DllInit.
  2714. (gp_mswin.c)
  2715. [3.61] Adds a conditional to work around a bug in gcc 2.7.x (it didn't
  2716. recognize that the target of a const T * might still be mutable through
  2717. aliasing). (stdpre.h)
  2718. </pre><h3><a name="V3.53_Fonts"></a>Fonts</h3><pre>
  2719. Fixes bugs:
  2720. [3.61] Rasterizing a character in a Type 1 font with an invalid
  2721. FontBBox left some garbage on the operand stack (bug introduced in 3.52 or
  2722. 3.60). (gs_type1.ps)
  2723. [3.61] The font substitution algorithm could fail or loop.
  2724. (gs_fonts.ps)
  2725. [3.60] Adds Heavy as a synonym for Bold when doing intelligent font
  2726. substitution. (gs_fonts.ps)
  2727. </pre><h3><a name="V3.53_Interpreter"></a>Interpreter</h3><pre>
  2728. Fixes bugs:
  2729. [3.63] Invoking setpagedevice with an undefined key, even with
  2730. Policy = 1, caused an error. (gs_setpd.ps)
  2731. [3.62] Setting the PageSize policy to 1 and then trying to set the
  2732. page size caused an error if FIXEDMEDIA was selected. (gs_setpd.ps)
  2733. [3.61] Rotated characters were rendered incorrectly (bug introduced
  2734. in 3.52). (gstype1.c)
  2735. [3.60] currentscreen and currentcolorscreen could give an error if
  2736. the current screen was set with sethalftone (or, for currentscreen,
  2737. setcolorscreen). (gs_dps1.ps)
  2738. [3.60] Streams could get removed from a bookkeeping list
  2739. prematurely, and wind up dangling. (zfile.c)
  2740. [3.60] Multiple -I switches set the search path incorrectly.
  2741. (gsmain.c)
  2742. [3.60] Fonts could wind up with a pointer to the wrong VM space,
  2743. causing potential GC or save/restore confusion. (zfont2.c)
  2744. [3.60] upath could leave garbage on the stack if it failed.
  2745. (gs_dps1.ps)
  2746. [3.61] Extends the client API to allow for pushing values onto the operand
  2747. stack. (imain.h, gs.c, gsmain.c)
  2748. [3.61] Defines a .setdefaultscreen procedure that sets the default halftone
  2749. screen, transfer function, and stroke adjustment for the current device.
  2750. Changes selectdevice and setpagedevice so that they call .setdefaultscreen;
  2751. setpagedevice calls .setdefaultscreen before calling the Install procedure,
  2752. so that Install can set different parameters if it wishes. Note that
  2753. setdevice does not do this. (gs_init.ps, gs_setpd.ps)
  2754. [3.60] Speeds up rasterizing characters into the cache a little.
  2755. (gs_type0.ps)
  2756. [3.60] Changes the default limit on the size of cached characters from the
  2757. maximum of (18 points or 5 times the "average" character size) to (18 points
  2758. or 1% of the total cache size). (gs_init.ps)
  2759. [3.60] Implements parts of the Type 1 BuildChar callout in C. (gs_type1.ps,
  2760. zchar.c)
  2761. </pre><h3><a name="V3.53_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  2762. Fixes bugs:
  2763. [3.62] If a PDF file substituted a calibrated color space for the
  2764. DeviceGray or DeviceRGB color space using a ColorSpace resource, the
  2765. PostScript file that pdf2ps produced from that PDF file caused an error.
  2766. (gs_pdf.ps)
  2767. [3.61] Tf set the current text font twice, and interacted with
  2768. pdf2ps in an awkward way. (gs_pdf.ps, pdf_2ps.ps, pdf_font.ps)
  2769. [3.61] If a font had variant Widths, it could get confused in the
  2770. cache with the underlying font. (pdf_font.ps)
  2771. [3.61] If a character appeared twice in an encoding and the font
  2772. specified different Widths values for the two occurrences, the last Width
  2773. would be used. We patched this to ignore zero Widths, which is not the
  2774. correct solution but which almost always produces correct output.
  2775. (pdf_font.ps)
  2776. [3.61] Arrays containing nulls didn't print out correctly (bug
  2777. introduced in 3.60). (gs_init.ps)
  2778. [3.61] Some PDF files contain very large dictionaries, which caused
  2779. a stackoverflow. (pdf_base.ps)
  2780. [3.60] The length of an image's data was sometimes calculated
  2781. incorrectly, causing an error when converting PDF to PostScript.
  2782. (pdf_draw.ps)
  2783. [3.60] If word spacing and/or text spacing was non-zero, an error
  2784. could occur. (gs_pdf.ps)
  2785. [3.60] Text that was both filled and stroked caused an error.
  2786. (gs_pdf.ps)
  2787. [3.61] Speeds up the initial processing of PDF files by caching the map from
  2788. page numbers to page objects, and by not scanning the outlines if we aren't
  2789. producing PostScript output. (pdf_2ps.ps, pdf_base.ps, pdf_main.ps)
  2790. </pre><h3><a name="V3.53_Streams"></a>Streams</h3><pre>
  2791. Fixes bugs:
  2792. [3.60] When closing an encoding filter stream whose target was also
  2793. a filter, the latter could get called incorrectly with last = 1, possibly
  2794. more than once, leading to premature EOD markers. (stream.c)
  2795. [3.60] The LZW-compatible encoder put out an incorrect end-of-data
  2796. code. (slzwce.c)
  2797. [3.60] The LZW-compatible encoder didn't put out a reset code soon
  2798. enough. (slzwce.c)
  2799. [3.60] Doing a sgets on a closed stream could call sreadbuf,
  2800. possibly causing an error. (stream.c)
  2801. </pre><h3><a name="V3.53_Library"></a>Library</h3><pre>
  2802. Fixes bugs:
  2803. [3.63] On 16-bit platforms, the computation of t2 and t3 in
  2804. gx_curve_x_at_y could overflow, leading to incorrect output. (gxpcopy.c)
  2805. [3.61] glyphshow displayed a character with code 0 rather than the
  2806. requested character (bug introduced in 3.60.) (gschar.c)
  2807. [3.61] If trimming white space around a character reduced its
  2808. raster, the character was garbled in the cache (bug introduced in 3.60.)
  2809. (gxccman.c)
  2810. [3.61] colorimage would incorrectly convert white pixels to black if
  2811. the image color space was CMYK, the current color space was not CMYK, and
  2812. the number of bits per pixel was 4 or 8. (gsimage2.c)
  2813. [3.61] Type 1 fonts that used the Flex feature applied hints to the
  2814. path multiple times, causing dropouts, uneven stems, and other problems (bug
  2815. probably introduced in 3.21). (gstype1.c)
  2816. [3.61] If a Type 1 font used the Flex feature within the accent of
  2817. an accented character defined with seac, the shape of the accent could be
  2818. distorted. (gxtype1.h, gstype1.c)
  2819. [3.61] If a Type 1 font changed hints using the hint replacement
  2820. facility when the last operation was a closepath, the old hints would be
  2821. applied a second time, distorting the shape. (gxhint2.c, gxhint3.c)
  2822. [3.60] Cached characters sometimes had extra blank space on the
  2823. left, leading to some unnecessary bit-shuffling when imaging them.
  2824. (gxccman.c)
  2825. [3.60] The list of all-bands commands wasn't initialized/reset
  2826. properly. (gxclist.c)
  2827. [3.60] Because of a typo in a macro formal parameter list, a private
  2828. name was duplicated. (gsstruct.h)
  2829. [3.60] Text display operations didn't update the current character
  2830. in the enumerator structure during the fastest path through the code. This
  2831. only matters to one very unusual commercial client. (gschar.c)
  2832. [3.61] Adds an alternative implementation of the core path filling algorithm
  2833. that is much faster on objects with curves but doesn't handle Y fattening.
  2834. This is the implementation that will normally be used for rasterizing
  2835. characters. This implementation rasterizes curves directly, without
  2836. flattening them. (gxfixed.h, gxpath.h, gzpath.h, gxdraw.c, gxfill.c,
  2837. gxpcopy.c)
  2838. [3.61] Speeds up the flattening of curves substantially by omitting more
  2839. redundant points. (gxpcopy.c)
  2840. [3.61] Speeds up character bitmap compression a little more. (gsbitops.h,
  2841. gdevabuf.c, gsbitops.c, gxccman.c)
  2842. [3.61] Speeds up anti-aliased graphics a bit by computing a bounding box
  2843. before converting from oversampling to alpha values, and by speeding up the
  2844. bounding box computation itself. (gsbitops.h, gdevabuf.c, gsbitops.c,
  2845. gxccman.c)
  2846. [3.60] Speeds up getting the side bearing and width of a Type 1 charstring a
  2847. little. (gxtype1.h, gstype1.c)
  2848. [3.60] Adds a compile-time option, ALPHA_LSB_FIRST, which causes
  2849. alpha-sampled characters to be nibble-reversed in the cache. This was
  2850. created for a specialized application and does not interact well with the
  2851. rest of the code. (gsbitops.c)
  2852. [3.60] Substantially speeds up entering anti-aliased characters in the
  2853. cache, by removing white space before compressing rather than vice versa.
  2854. (gsbitops.c, gxccman.c)
  2855. </pre>
  2856. <h2><a name="Version3.52"></a>Version 3.52 (limited) (10/6/95)</h2>
  2857. <p>
  2858. This is an incremental release to fix a few problems in 3.51. Since it is
  2859. being made in an environment with no network connectivity, it will probably
  2860. not be released to the general public. ****** THE CHANGES MARKED WITH ***
  2861. BELOW WERE LOST IN THE PROCESS OF SHUFFLING FILESETS BETWEEN ENVIRONMENTS.
  2862. THEY ARE INCORPORATED IN 3.60 BUT NOT IN 3.52. ******
  2863. <h3><a name="V3.52_Procedures"></a>Procedures</h3><pre>
  2864. Fixes bugs:
  2865. - The fileset included a meaningless empty file. (acctest.ps)
  2866. *** The definition of pdfread.dev did an ADDMOD, not a SETMOD.
  2867. (int.mak)
  2868. </pre><h3><a name="V3.52_Interpreter"></a>Interpreter</h3><pre>
  2869. Fixes bugs:
  2870. - The RunLengthEncode filter used with a dictionary argument could
  2871. give a spurious error. (zfilter.c)
  2872. - The fast form of the 'dup' operator failed to check for stack
  2873. overflow, which could lead to memory smashing. (interp.c)
  2874. *** Level 1 configurations gave errors during initialization.
  2875. (ialloc.c, iinit.c, ireclaim.c)
  2876. *** Attempting to look up or insert a noaccess string as a
  2877. dictionary key converted the string to a name rather than giving an error.
  2878. (idict.h, idict.c)
  2879. Adds a C implementation of the .dicttomark (&gt;&gt;) procedure. (gs_init.ps,
  2880. zdict.c)
  2881. *** Implements parts of the Type 1 BuildChar callout in C. (gs_type1.ps,
  2882. ifont.h, zchar.c, zfont1.c, zfont2.c)
  2883. </pre><h3><a name="V3.52_Library"></a>Library</h3><pre>
  2884. Fixes bugs:
  2885. - Braces were missing in an initializer. (gxdcolor.h)
  2886. - Composite fonts with a non-zero translation in the FontMatrix
  2887. positioned characters incorrectly. (gschar.c)
  2888. *** gsparam.c wouldn't compile with some versions of the Borland
  2889. compiler. (gsparam.c)
  2890. Speeds up the handling of curve segments in Type 1 fonts a little.
  2891. (gstype1.c)
  2892. Speeds up displaying very short strings a little. (gschar.c)
  2893. *** Implements parts of the Type 1 BuildChar callout in C. (gxfont.h)
  2894. </pre>
  2895. <h2><a name="Version3.51"></a>Version 3.51 (9/27/95)</h2>
  2896. <p>
  2897. This is the first public release since 3.33. Its main features are a
  2898. working setpagedevice, a working PDF interpreter, and a working PDF to PS
  2899. converter.
  2900. <h3><a name="V3.51_Documentation"></a>Documentation</h3><pre>
  2901. Fixes bugs:
  2902. - The -dSHORTERRORS switch wasn't documented in enough places.
  2903. (current.doc, use.doc)
  2904. - The DLL documentation was internally inconsistent. (dll.doc)
  2905. - The %pipe% file name syntax wasn't documented. (language.doc)
  2906. </pre><h3><a name="V3.51_Procedures"></a>Procedures</h3><pre>
  2907. Fixes bugs:
  2908. - caption.ps wasn't installed properly. (unix-end.mak)
  2909. - geninit depended on $(gconfig_h) in an improper way. (geninit.c,
  2910. int.mak, *.mak)
  2911. - One script lacked the #!/bin/sh header. (gsdj500)
  2912. Adds the 24-bit color TIFF driver to all configurations that support
  2913. black-and-white TIFF. (*.mak)
  2914. </pre><h3><a name="V3.51_Utilities"></a>Utilities</h3><pre>
  2915. Fixes bugs:
  2916. - align.ps was omitted from the fileset. (psfiles.doc, align.ps,
  2917. unix-end.mak)
  2918. </pre><h3><a name="V3.51_Drivers"></a>Drivers</h3><pre>
  2919. Fixes bugs:
  2920. - A driver had some \s in formal parameter lists. (gdevcdj.c)
  2921. - A driver had some improper &amp;s. (gdevtifs.c)
  2922. - The default MS Windows printer driver was very slow. (gdevwpr2.c)
  2923. - The (newly restructured) TIFF drivers could produce a memory
  2924. access error. (gdevtifs.c)
  2925. - The CGM drivers referred to an obsolete structure member.
  2926. (gdevcgm.c)
  2927. - The black-and-white H-P drivers didn't set the margins properly
  2928. (again). (gdevdjet.c)
  2929. - Several of the most common printer drivers omitted some scan lines
  2930. at the bottom of the page. (gdevprn.h, gdevprn.c)
  2931. At the request of the main OS/2 developer, adds a printer device for OS/2.
  2932. (gdevos2p.c, os2.mak)
  2933. Makes many changes to the stcolor driver, submitted by the developer just
  2934. before the release. (devices.doc, unix-end.mak, gdevstc.h, gdevstc*.c,
  2935. stcinfo.ps, stcolor.ps, stcinfo.ps)
  2936. </pre><h3><a name="V3.51_Platforms"></a>Platforms</h3><pre>
  2937. Fixes bugs:
  2938. - usertime (and realtime) were broken on VMS. (gp_vms.c)
  2939. - The 32-bit MS Windows DLL control file had a typo. (gsdll32.def)
  2940. Removes the color inkjet drivers from the 16-bit Windows executable, because
  2941. they overflow the 64K default data segment; adds PCX, TIFF, and BMP output
  2942. formats. (bcwin.mak)
  2943. </pre><h3><a name="V3.51_Interpreter"></a>Interpreter</h3><pre>
  2944. Fixes bugs:
  2945. - A routine was declared 'private' inconsistently. (zcie.c)
  2946. - -dSHORTERRORS didn't remove enough non-Adobe error output.
  2947. (gs_init.ps)
  2948. </pre><h3><a name="V3.51_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  2949. Fixes bugs:
  2950. - The ProcSet relied on the presence of NullFont. (gs_pdf.ps)
  2951. </pre><h3><a name="V3.51_Library"></a>Library</h3><pre>
  2952. Fixes bugs:
  2953. - There was an extraneous \ outside a macro. (gsline.c)
  2954. - Scaling up a black-and-white image could caused many scan lines to
  2955. be inverted. (gsimage1.c)
  2956. - The initial clipping path did not take Margins into account
  2957. properly. (gxdevice.h, gdevxalt.c, gscoord.c, gsdevice.c, gsdevmem.c,
  2958. gsdparam.c, gspath.c)
  2959. - If banding was required, characters could come out as solid black
  2960. rectangles. (gxclist.c, gxclread.c)
  2961. </pre>
  2962. <h2><a name="Version3.50"></a>Version 3.50 (limited) (9/24/95)</h2>
  2963. <p>
  2964. This is the last limited bug-fix release during beta test. The color
  2965. DeskJet drivers are broken (they sometimes produce black rectangles instead
  2966. of characters); we will fix this in the next release.
  2967. <p>
  2968. The following issues have been postponed to an unspecified future release:
  2969. <ul>
  2970. <li> - Filling areas often writes pixels twice, causing incorrect
  2971. output
  2972. with certain unusual RasterOp values. [1.814]
  2973. <li> - The tar.gz archives should include a subdirectory like
  2974. gs-3.46/ in
  2975. the file names.
  2976. <li> - The CCITTFaxDecode filter should skip initial junk if
  2977. EndOfLine =
  2978. true. [1844 8/24/95, NRE]
  2979. </ul>
  2980. <h3><a name="V3.50_Procedures"></a>Procedures</h3><pre>
  2981. Fixes bugs:
  2982. - The name of the new 24-bit TIFF driver was incorrect in one place.
  2983. (vms.mak)
  2984. </pre><h3><a name="V3.50_Utilities"></a>Utilities</h3><pre>
  2985. Adds a new utility to put a caption in a box at the bottom of each page.
  2986. (caption.ps)
  2987. </pre><h3><a name="V3.50_Drivers"></a>Drivers</h3><pre>
  2988. Fixes bugs:
  2989. - The PC display devices weren't page devices. Probably all the
  2990. other display and window system devices should be made page devices too, but
  2991. we aren't going to bother tracking them down. (gdevpcfb.c)
  2992. - There was a lot of duplicated code in the TIFF drivers.
  2993. (gdevtifs.h, gdevtfax.c, gdevtfnx.c, gdevtifs.c)
  2994. Updates the bjc600 / bjc800 drivers with changes from the author.
  2995. (devices.doc, gdevbjc.h, gdevcdj.c)
  2996. </pre><h3><a name="V3.50_Interpreter"></a>Interpreter</h3><pre>
  2997. Fixes bugs:
  2998. - Building with COMPILE_INITS=1 produced a stackunderflow error.
  2999. (gs_pdf_e.ps)
  3000. - An internal operator didn't have a name. (ztoken.c)
  3001. - Some error and information messages weren't in the Adobe format.
  3002. (gs_fonts.ps, gs_init.ps)
  3003. - Some common Adobe compatibility operators weren't implemented:
  3004. pagemargin, pageparams, setpagemargin. (gs_statd.ps, gs_lev2.ps)
  3005. - setpageparams set Margins rather than PageOffset. (gs_lev2.ps)
  3006. - setpage and setpageparams didn't set Orientation. (gs_lev2.ps)
  3007. - If the end of an input buffer fell just after the / of a literal
  3008. name, a memory access error could occur. (iscan.c)
  3009. - When the interpreter returned from gs_[main_]run_string_continue,
  3010. there could be an extra value on the operand stack. (iscan.h, istream.h,
  3011. interp.c, iscan.c, zfileio.c, zfproc.c, zpaint.c, ztoken.c)
  3012. - If the character cache was disabled, or if a character was too
  3013. large to be cached, returning from a font BuildChar procedure could do an
  3014. erasepage. (zchar.c)
  3015. A minor change was required for compatibility with the library change for
  3016. image devices. (zdevice.c)
  3017. Adds a -dSHORTERRORS switch that changes some of the common error and
  3018. warning messages for greater Adobe compatibility. (gs_init.ps, gs_fonts.ps)
  3019. </pre><h3><a name="V3.50_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  3020. Fixes bugs:
  3021. - If a CharProc for a Type 3 font did a BT/ET, the graphics state
  3022. could get confused. (gs_pdf.ps)
  3023. - If a Tf occurred inside a BT/ET, it didn't take effect on
  3024. subsequent BT/ETs. (gs_pdf.ps)
  3025. </pre><h3><a name="V3.50_Library"></a>Library</h3><pre>
  3026. Fixes bugs:
  3027. - There was no way to control whether an image device was a page
  3028. device. Fixing this required a NON-BACKWARD-COMPATIBLE CHANGE to
  3029. gs_makewordimagedevice and gs_initialize_wordimagedevice to take a Boolean
  3030. page_device argument. Fortunately, this change affects only a few obscure
  3031. library clients. (gsdevice.h, gsdevmem.c)
  3032. Adds translation capability to clipping devices. This isn't used anywhere
  3033. yet. (gxcpath.h, gxcpath.c)
  3034. Adds procedures for doing unaligned copy_xxx operations. These were added
  3035. for a customer. (gxdevice.h, gsdevice.c)
  3036. Changes the (undocumented) return value of gs_setcachedevice[2]: they used
  3037. to return 1 if the current show operation was a non-displaying one
  3038. (stringwidth or cshow), and now return 1 if the cache device was just
  3039. installed. This change was required to fix the BuildChar page clearing bug
  3040. in the interpreter. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, but as far as
  3041. I know, there aren't any external clients of these routines. (gschar.h,
  3042. gschar.c)
  3043. </pre>
  3044. <hr>
  3045. <h2><a name="Version3.49"></a>Version 3.49 (limited) (9/20/95)</h2>
  3046. <p>
  3047. This is another bug-fix release during beta test. There are other bugs
  3048. outstanding, but the ones I know about right now are all platform-specific.
  3049. <h3><a name="V3.49_Documentation"></a>Documentation</h3><pre>
  3050. Fixes bugs:
  3051. - make.doc didn't mention that the .def files are needed to build a
  3052. MS Windows executable. (make.doc)
  3053. </pre><h3><a name="V3.49_Procedures"></a>Procedures</h3><pre>
  3054. Fixes bugs:
  3055. - There were some forward references to macro definitions in the
  3056. makefiles. (int.mak, lib.mak)
  3057. - The default device for library configurations was the null page
  3058. device, not the first device in DEVICE_DEVS. (ugcclib.mak)
  3059. </pre><h3><a name="V3.49_Drivers"></a>Drivers</h3><pre>
  3060. Fixes bugs:
  3061. - The BJC600 / BJC800 drivers were missing a header file.
  3062. (gdevbjc.h, gdevcdj.c)
  3063. - A procedure name was used in two different files. (gdevcdj.c)
  3064. - The PCX driver didn't return an error code in case of failure.
  3065. (gdevpcx.c)
  3066. - The X Windows driver produced some confusing warning messages.
  3067. (gdevxini.c)
  3068. - Some names were duplicated between drivers. (gdevepsc.c)
  3069. - The X driver maintained its own, peculiar initial matrix even if
  3070. Ghostview wasn't involved. (gdevx.c)
  3071. With the permission of the author, changes the 24-bit TIFF license from GNU
  3072. to Aladdin. (gdevtfnx.c)
  3073. </pre><h3><a name="V3.49_Platforms"></a>Platforms</h3><pre>
  3074. Fixes bugs:
  3075. - The VMS build scripts were out of sync with the makefiles (again).
  3076. (modules.lis, vms.mak)
  3077. </pre><h3><a name="V3.49_Interpreter"></a>Interpreter</h3><pre>
  3078. Fixes bugs:
  3079. - When the requested media size matched an available size exactly
  3080. with a 90 degree rotation, Orientation was ignored. (zmedia2.c)
  3081. Makes zcurrentdevice extern. (opextern.h, zdevice.c)
  3082. </pre><h3><a name="V3.49_Library"></a>Library</h3><pre>
  3083. Fixes bugs:
  3084. - A couple of places used memcpy instead of memmove. (gxclread.c)
  3085. - If a bitmap image was compressed with RLE compression in a band
  3086. list, it would cause an error on decompression. (gxclread.c)
  3087. - The representation of colors in the band list was needlessly
  3088. inefficient. (gxcldev.h, gxclist.c, gxclread.c)
  3089. - When using colored halftones, snowflak.ps crashed with an invalid
  3090. memory access. More generally, any use of halftones could cause the garbage
  3091. collector to make an invalid access. (gsstate.c)
  3092. Adds some more code for paths in band lists, but again doesn't activate it.
  3093. (gxcldev.h, gxpath.h, gzline.h, gsline.c, gspath1.c, gxclist.c, gxclread.c,
  3094. gxpath.c)
  3095. </pre>
  3096. <h2><a name="Version3.48"></a>Version 3.48 (limited) (9/17/95)</h2>
  3097. <p>
  3098. This is the second bug-fix release during beta test. Among other things, it
  3099. fixes a bug introduced in 3.47 that caused all PDF files to give an error.
  3100. <p>
  3101. ******NOTE: the BJC600 and BCJ800 drivers do not work in this release,
  3102. because we didn't get a file from the author in time. They will compile,
  3103. but not run. This will be fixed in the next round.
  3104. <h3><a name="V3.48_Documentation"></a>Documentation</h3><pre>
  3105. Fixes bugs:
  3106. - Alan Barclay's contact information was wrong. (README)
  3107. </pre><h3><a name="V3.48_Procedures"></a>Procedures</h3><pre>
  3108. Fixes bugs:
  3109. - The linker path for Watcom C++ 10.5 was wrong. (wccommon.mak)
  3110. - There was a syntax error in a batch file. (pdf2ps.bat)
  3111. - The VMS build script didn't have entries for some printers.
  3112. (vms.mak)
  3113. Adds the bjc600 and bjc800 devices on all platforms that already include the
  3114. color DeskJet devices. (*.mak)
  3115. </pre><h3><a name="V3.48_Drivers"></a>Drivers</h3><pre>
  3116. Fixes bugs:
  3117. - The H-P drivers didn't reposition the cursor properly at the
  3118. beginning of pages after the first page, causing the image to be shifted
  3119. down slightly and cut off at the bottom. (gdevdjet.c)
  3120. - The x11alpha driver was extremely slow. (gdevxalt.c)
  3121. - The -g switch by itself didn't work for the X Windows driver.
  3122. (gdevxini.c)
  3123. - .installpagedevice can get a rangecheck on MS Windows because the
  3124. HWColorMap can change spontaneously. (gs_setpd.ps)
  3125. Updates the bjc600 and bjc800 drivers with new versions from Yves Arrouye.
  3126. (gdevcdj.c)
  3127. Adds a user-contributed driver that writes uncompressed 24-bit RGB TIFF
  3128. images in a format that is standard on NeXT platforms. This driver is
  3129. governed by the GNU license and is therefore separated from the rest of the
  3130. Aladdin distribution. (gdevtfnx.c)
  3131. </pre><h3><a name="V3.48_Platforms"></a>Platforms</h3><pre>
  3132. Fixes bugs:
  3133. - There was an undefined reference to clock_gettime on some Unix
  3134. systems. (gp_unix.c)
  3135. - The new gp_fopen routine had several errors. (gp_vms.c)
  3136. </pre><h3><a name="V3.48_Interpreter"></a>Interpreter</h3><pre>
  3137. Fixes bugs:
  3138. - Some routines that should be main-instance-specific weren't.
  3139. (imain.h, main.h, gsmain.c)
  3140. - sethalftone with a Type 2 or Type 4 halftone didn't work on CMYK
  3141. devices. (zht2.c)
  3142. - Setting A4 paper as the default in gs_init.ps, or specifying
  3143. -dPAPERSIZE, conflicted with -g. (gs_init.ps)
  3144. - The maximum value of a single-precision float wasn't correct on
  3145. VAX systems. (math_.h, iscannum.c)
  3146. - Some integer expressions were passed as floating point arguments.
  3147. (gs.c, zmedia2.c)
  3148. - Media selection in setpagedevice was broken (again), as of 3.46.
  3149. (gs_setpd.ps, zmedia2.c)
  3150. </pre><h3><a name="V3.48_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  3151. Fixes bugs:
  3152. - Substituted color spaces caused an error. (gs_pdf.ps,
  3153. pdf_draw.ps)
  3154. </pre><h3><a name="V3.48_Library"></a>Library</h3><pre>
  3155. Fixes bugs:
  3156. - If a halftone had no non-default components that matched the
  3157. device's primary colors, the result would be a solid color rather than a
  3158. halftone using the default screen. (gsht.c)
  3159. - sethalftone with a Type 2 or Type 4 halftone didn't work on CMYK
  3160. devices. (gxht.h, gsht.c, gsht1.c)
  3161. - The new gp_fopen routine wasn't being used. (gsiodev.c)
  3162. - A mixing of float and fixed values caused a clipping region to be
  3163. possibly incorrect by up to 1 pixel. (gspaint.c)
  3164. - A function definition was inconsistent with the prototype.
  3165. (gspath1.c)
  3166. Adds preliminary code for including paths in band lists, but doesn't
  3167. activate any of it. (lib.mak, gxcldev.h, gxclist.c, gxclread.c)
  3168. </pre>
  3169. <h2><a name="Version3.47"></a>Version 3.47 (limited) (9/14/95)</h2>
  3170. <p>
  3171. This is a bug-fix release during beta test. It is meant to have no new
  3172. functionality, although in the case of setpagedevice that's stretching
  3173. things a little.
  3174. <h3><a name="V3.47_Documentation"></a>Documentation</h3><pre>
  3175. Fixes bugs:
  3176. - The Mac documentation still referred to IJG JPEG v5a rather than
  3177. v6. (make.doc)
  3178. - The RasterOp texture device was identified incorrectly.
  3179. (gdevmrop.c)
  3180. - use.doc and psfiles.doc didn't mention the PDF-related files.
  3181. (psfiles.doc, use.doc)
  3182. - psview is no longer available. (README)
  3183. - current.doc didn't document the recognized setpagedevice keys.
  3184. (current.doc)
  3185. </pre><h3><a name="V3.47_Procedures"></a>Procedures</h3><pre>
  3186. Fixes bugs:
  3187. - Many utility programs weren't included in the Unix 'install' list.
  3188. (unix-end.mak)
  3189. - It wasn't at all convenient to make configurations without the BCP
  3190. or other non-standard filters. (*.mak, int.mak, modules.lis, zfilter2.c,
  3191. zfilterx.c)
  3192. - The gconfig.c and iconfig.c files weren't deleted after
  3193. compilation. (int.mak, lib.mak)
  3194. - unix-end.mak referred to the nonexistent macros INT{1,2}_MAK.
  3195. (unix-end.mak)
  3196. - The rules for building the dfax drivers were incorrect. (devs.mak)
  3197. - Omitting filter.dev produced an undefined reference. (int.mak)
  3198. Adds a customer-contributed makefile for Microsoft Visual C++ 2.n under
  3199. Windows NT. (msvcwint.mak)
  3200. </pre><h3><a name="V3.47_Utilities"></a>Utilities</h3><pre>
  3201. Fixes bugs:
  3202. - The JPEG utility didn't support the new progressive JPEG modes,
  3203. and didn't invert Adobe Photoshop output as needed. (viewjpeg.ps)
  3204. - The printafm utility had a single font name wired in. (printafm,
  3205. printafm.ps)
  3206. - The CIE lookup simulation had several bugs. (docie.ps)
  3207. - pdf2ps[.bat] were missing from the fileset.
  3208. - Files produced by pdf_2ps didn't include the GS_PDF ProcSet.
  3209. (gs_pdf.ps, pdf_2ps.ps, pdf_base.ps, pdf_main.ps)
  3210. </pre><h3><a name="V3.47_Drivers"></a>Drivers</h3><pre>
  3211. Fixes bugs:
  3212. - Bits read back from an EGA or VGA device were incorrect.
  3213. (gdevpcfb.c)
  3214. - The 24-bit PCX run length compressor used a slow algorithm.
  3215. (gdevpcx.c)
  3216. - gdevstc.c wouldn't compile with the Borland compiler. (gdevstc.c)
  3217. - There was a typo in the OS/2 PM driver. (gdevpm.c)
  3218. - .installpagedevice gets a rangecheck on X Windows because the
  3219. HWColorMap can change spontaneously. (gs_setpd.ps)
  3220. - The left margin for the DeskJet 500 was wrong. (gdevdjet.c)
  3221. - The two notions of "margin" (offset of 0,0 from physical page
  3222. corner vs. unprintable area around edges of physical page) were still
  3223. confused. We've now fixed this for the H-P monochrome printers, but it's
  3224. probably still confused for all other printers. (gdevprn.h, gdevdjet.c)
  3225. </pre><h3><a name="V3.47_Platforms"></a>Platforms</h3><pre>
  3226. Fixes bugs:
  3227. - The Windows print spooler header file wasn't included when it
  3228. needed to be, and some other Win32-specific changes were missing.
  3229. (gsdll32.def, gp_mswin.c)
  3230. - Windows DLLs didn't parse "s in the command "arguments" correctly.
  3231. (gsdll.c)
  3232. </pre><h3><a name="V3.47_Fonts"></a>Fonts</h3><pre>
  3233. Fixes bugs:
  3234. - FAKEFONTS could get the font directories into inconsistent states.
  3235. (gs_dps1.ps, gs_fonts.ps)
  3236. - The substitutions for Adobe's Myriad and Minion fonts weren't
  3237. appropriate. (gs_fonts.ps)
  3238. </pre><h3><a name="V3.47_Interpreter"></a>Interpreter</h3><pre>
  3239. Fixes bugs:
  3240. - If pathforall got an error computing the user-space points on a
  3241. path, it could cause an invalid access. (zpath1.c)
  3242. - A 'private' declaration were omitted. (Why doesn't gcc catch
  3243. this??) (zcie.c)
  3244. - Setting GS_FONTPATH produced a stackunderflow error.
  3245. (gs_fonts.ps)
  3246. - currentscreen caused a typecheck if the screen had been set by
  3247. setcolorscreen. (gs_dps1.ps)
  3248. - setcolorrendering tried to cache values computed from the color
  3249. space even if the current color space wasn't a CIE space. (zcrd.c)
  3250. - Out-of-range numbers like 10E38 caused a floating point exception.
  3251. (iscannum.c)
  3252. - Giving a closed readable file as input for a filter caused an
  3253. invalidaccess. (files.h, interp.c, zfilter.c)
  3254. - setpagedevice opened the default device even with -dNODISPLAY.
  3255. (gs_init.ps, gs_setpd.ps)
  3256. - realtime returned the same value as usertime. (gs_lev2.ps,
  3257. zmisc.c)
  3258. - Storing a local value into systemdict caused some redundant code
  3259. to be executed. (zdict.c)
  3260. - Files with a very long first line could cause a rangecheck error.
  3261. (gs_init.ps)
  3262. - The PageOffset page device parameter was ignored. (gs_setpd.ps)
  3263. - The Orientation page device parameter wasn't handled properly.
  3264. (gs_setpd.ps, idparam.h, idparam.c, zmedia2.c)
  3265. - setpagedevice could set device parameters twice, with an
  3266. incomplete update the first time. (gs_setpd.ps)
  3267. </pre><h3><a name="V3.47_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  3268. Fixes bugs:
  3269. - Readers confused the internal pdfrun procedure with the public
  3270. runpdf procedure. (pdf_*.ps)
  3271. </pre><h3><a name="V3.47_Streams"></a>Streams</h3><pre>
  3272. Fixes bugs:
  3273. - Closed streams had a NULL state pointer, causing problems for some
  3274. clients. (stream.c)
  3275. - Group 4 decoding could get an ioerror if an end-of-buffer occurred
  3276. in a horizontal code sequence between a makeup code and the termination
  3277. code. (scfd.c)
  3278. </pre><h3><a name="V3.47_Library"></a>Library</h3><pre>
  3279. Fixes bugs:
  3280. - Some 'private' declarations were omitted. (Why doesn't gcc catch
  3281. these??) (gdevmrop.c, gxht.c)
  3282. - Patterns could produce bad output in the band list. (gxclist.c)
  3283. - RasterOp wasn't implemented at all for 2- or 4-bit devices. (In
  3284. this release, we implement only a subset, and without handling transparency
  3285. properly.) (gdevm2.c, gdevm4.c, gdevmrop.c)
  3286. - Drawing operations and text sometimes didn't apply the RasterOp
  3287. when they should, and vice versa. (gxdcolor.h, gxdraw.c)
  3288. - setcolorrendering tried to cache values computed from the color
  3289. space even if the current color space wasn't a CIE space. (gscie.h,
  3290. gscie.c)
  3291. - Some CIE color spaces produced very distorted colors. (gscie.c)
  3292. - setpagedevice opened a window even with -dNODISPLAY. (gsdevice.c,
  3293. gsdparam.c)
  3294. - realtime returned the same value as usertime. (gp.h, time_.h,
  3295. gp_*.c)
  3296. - The library level attempted to handle the Orientation page device
  3297. parameter. (gxdevice.h, gdevbit.c, gsdevice.c, gsdparam.c, gspath.c)
  3298. - Severely non-linear CIE encoding/decoding functions produced
  3299. seriously skewed colors near the ends of the color value range. This
  3300. problem can now be alleviated, at a significant cost in performance, by
  3301. changing configuration parameters at the beginning of gscie.h. (gscie.h,
  3302. gscie.c)
  3303. - Files FTP'ed in binary mode weren't being opened properly on VMS.
  3304. (gp.h, gp_*.c, gsiodev.c)
  3305. - A header file had an inconsistent declaration. (math_.h)
  3306. Adds a new gp_get_usertime procedure to gp.h. THIS IS A
  3307. NON-BACKWARD-COMPATIBLE CHANGE, affecting only platform implementors. It
  3308. was necessary to fix the realtime/usertime bug. (gp.h, time_.h, gp_*.c)
  3309. Adds a new gp_fopen procedure to gp.h. THIS IS A NON-BACKWARD-COMPATIBLE
  3310. CHANGE, affecting only platform implementors. It was necessary to fix the
  3311. binary file problem on VMS. (gp.h, gp_*.c)
  3312. </pre>
  3313. <h2><a name="Version3.46"></a>Version 3.46 (limited) (9/4/95)</h2>
  3314. <p>
  3315. This is the "serious beta test" release for the next public release. It
  3316. finishes implementing RasterOp in the graphics state, and the remaining
  3317. commonly used parts of setpagedevice.
  3318. <h3><a name="V3.46_Documentation"></a>Documentation</h3><pre>
  3319. Documents some possible problems when building with DJGPP v2.0-beta.
  3320. (make.doc)
  3321. Adds documentation on using Ghostscript as a PDF interpreter. (use.doc)
  3322. Notes linking problems with the Watcom 10.0 environment. (make.doc)
  3323. </pre><h3><a name="V3.46_Procedures"></a>Procedures</h3><pre>
  3324. Fixes bugs:
  3325. - The rule for $(ccfonts).dev was wrong. (gs.mak)
  3326. Makes some additional filters into 'features'. (devs.mak, gs.mak)
  3327. Splits off 2 new makefiles from gs.mak, which had gotten very large: lib.mak
  3328. (graphics library) and int.mak (interpreters). (tar_cat, tar_cat.bat,
  3329. *.mak)
  3330. Adds a new 'config-clean' target that may be helpful in changing
  3331. configuration definitions. (gs.mak)
  3332. Notes in the relevant makefiles that on Unix and DVX systems, one should not
  3333. edit 'makefile' or the concatenated makefile, but should edit the individual
  3334. subfile and run tar_cat. (ansihead.mak, cc-head.mak, dgc-head.mak,
  3335. gcc-head.mak, devs.mak)
  3336. Updates the Watcom makefiles to handle Watcom release 10.5, in which many
  3337. executables moved to different directories. (watc.mak, watcwin.mak,
  3338. wccommon.mak)
  3339. Adds a pdf2ps shell script. (pdf2ps, pdf2ps.bat)
  3340. Adds a -sFONTMAP= switch to specify the name of the Fontmap file.
  3341. (gs_fonts.ps)
  3342. Adds a -u&lt;name&gt; switch to undefine a name from systemdict. (interp.h, gs.c,
  3343. iinit.c)
  3344. Adds a -dFIXEDRESOLUTION switch to parallel -dFIXEDMEDIA. Makes -g set
  3345. FIXEDMEDIA and -r set FIXEDRESOLUTION. (gs_init.ps, gs_setpd.ps, gs.c)
  3346. Changes some build procedures to avoid problems with read-only source files.
  3347. (gs.mak, int.mak, lib.mak)
  3348. </pre><h3><a name="V3.46_Utilities"></a>Utilities</h3><pre>
  3349. Adds a utility for emulating the CIE color mapping algorithms. (docie.ps)
  3350. </pre><h3><a name="V3.46_Drivers"></a>Drivers</h3><pre>
  3351. Changes the x11alpha device so that it uses 32-bit pixels with 8 bits of
  3352. alpha. (gdevxalt.c)
  3353. Updates the Epson Stylus Color driver to Gunther Hess's release 1.17.
  3354. (devs.mak, unix-end.mak, devices.doc, stcolor.ps, gdevstc.h, gdevstc*.c)
  3355. Updates the alternate X drivers for the change from PageSize to MediaSize.
  3356. (gdevxalt.c)
  3357. Makes Duplex an optional parameter of printer devices rather than of all
  3358. devices. (gdevprn.h, gxdevice.h, gsdparam.c, gdevdjet.c, gdevprn.c)
  3359. </pre><h3><a name="V3.46_Platforms"></a>Platforms</h3><pre>
  3360. Makes pipes (%pipe% file syntax) a selectable option on Unix platforms,
  3361. rather than always being included. (ansihead.mak, cc-head.mak,
  3362. gcc-head.mak, ugcclib.mak, unixtail.mak)
  3363. </pre><h3><a name="V3.46_Interpreter"></a>Interpreter</h3><pre>
  3364. Fixes bugs:
  3365. - colorimage, and the dictionary form of image with
  3366. MultipleDataSources = true, didn't check that all the data sources were of
  3367. the same type. (zpaint.c)
  3368. - colorimage, and dictionary-type images with MultipleDataSources =
  3369. true, usually didn't work properly with files. (zpaint.c)
  3370. - grestoreall left a dangling pointer to the transfer function
  3371. cache. (gsstate.c)
  3372. - Changes made by setpagedevice could get 'lost' and not installed
  3373. in the current page device dictionary. (gs_setpd.ps)
  3374. - The Install procedure was called before the new page device
  3375. dictionary had gotten installed. (gs_setpd.ps)
  3376. - If a grestore/grestoreall/restore/setgstate operation switched
  3377. page devices, the new page device didn't get installed properly.
  3378. (gs_setpd.ps, opextern.h, zdevice2.c, zdps1.c)
  3379. - If the current screen was a Type 1 halftone, currentscreen and
  3380. currentcolorscreen returned frequency = 60, angle = 0 rather than the
  3381. Frequency and Angle from the halftone (see Adobe TN 5085). (gs_dps1.ps,
  3382. gs_init.ps)
  3383. - setscreen with a Type 1 halftone dictionary didn't insert the
  3384. frequency and angle into the dictionary (see Adobe TN 5085). (gs_dps1.ps)
  3385. - upath didn't include a trailing moveto in the bounding box.
  3386. (gs_dps1.ps, zpath1.c)
  3387. - setpagedevice didn't automatically rotate or scale the image when
  3388. necessary. (gs_setpd.ps, zmedia2.c)
  3389. Moves the RasterOp operators to a separate file. (iutil.h, iutil.c,
  3390. zgstate.c, zrop.c)
  3391. Eliminates the unnecessary "wrapper" around .setdevice. (zdevice2.c)
  3392. Establishes the convention that all interpreter callbacks into PostScript
  3393. code use procedure names that begin with %; documents this in gs_init.ps.
  3394. Changes Type1BuildChar and Type1BuildGlyph to %Type1BuildChar and
  3395. %Type1BuildGlyph. (gs_init.ps, gs_type1.ps, zfont0.c, zfont1.c)
  3396. Changes image / imagemask / colorimage for the new library API. (zimage2.c,
  3397. zpaint.c)
  3398. Reorganizes font loading to make compiled fonts and Fontmap interact better
  3399. with each other. (gs_ccfnt.ps, gs_fonts.ps, gs_init.ps, gs_res.ps)
  3400. Implements parameter collection for the new CIEBasedDEF[G] color spaces, but
  3401. doesn't actually implement the color spaces themselves. (icie.h, zcie.c,
  3402. zcrd.c)
  3403. Renames iconfig.c as iconf.c to avoid problems with read-only source files.
  3404. (iconf.c)
  3405. </pre><h3><a name="V3.46_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  3406. Fixes bugs:
  3407. - PDF to PostScript conversion didn't work. (pdf_main.ps)
  3408. Shifts most of the work in the PDF interpreter from the reader to the
  3409. ProcSet. This simplifies the code considerably and also makes it easier to
  3410. modify. (gs_pdf.ps, pdf_draw.ps, pdf_font.ps, pdf_main.ps)
  3411. </pre><h3><a name="V3.46_Library"></a>Library</h3><pre>
  3412. Fixes bugs:
  3413. - 'static' was omitted in a place that some compilers require it.
  3414. (gxccman.c)
  3415. - Some compilers don't allow a variable with the same name as a
  3416. preprocessor macro with arguments. (gscie.c)
  3417. - Some places did a "return -1" rather than a proper error return.
  3418. (gsdevice.c, gxclist.c)
  3419. - An external declaration had a typo. (gsrop.h)
  3420. - An extra semicolon upset some compilers. (gzpath.h)
  3421. - Printer devices that didn't use the standard macros for generating
  3422. their procedure vector wound up being considered as non-page devices.
  3423. (gdevprn.c)
  3424. - Some compilers truncated identifiers longer than 31 characters.
  3425. (gscspace.h, zcie.c, gscie.c)
  3426. - upath didn't include a trailing moveto in the bounding box.
  3427. (gspath.h, gspath1.c)
  3428. - RasterOp value 126 returned an incorrect result. (gsroptab.c)
  3429. Finishes implementing RasterOp in the graphics state. (gdevmrop.h, gsrop.h,
  3430. gsropt.h, gsstate.h, gxbitmap.h, gxcindex.h, gxdcolor.h, gxdevice.h,
  3431. gzstate.h, gdevmrop.c, gscolor.c, gsdevice.c, gsimage.c, gsimage1.c,
  3432. gsimage2.c, gsimage3.c, gspcolor.c, gsrop.c, gsstate.c, gxacpath.c,
  3433. gxccache.c, gxcht.c, gxcmap.c, gxdither.c, gxdraw.c, gxht.c)
  3434. Changes forwarding devices so they forward get_bits by default. This
  3435. probably doesn't affect any existing code. (gxdevice.h, gsdevice.c)
  3436. Changes the API for gs_image[mask]_init to pass a structure rather than a
  3437. very large number of scalars. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE,
  3438. motivated by the addition of further image parameters to support RasterOp.
  3439. Since there are no external clients of the library yet, it shouldn't matter.
  3440. (gsimage.h, gsimage.c, gslib.c, gxccache.c)
  3441. Redefines the device "page size" as being the size of the actual media,
  3442. changing the name of the gx_device PageSize member to MediaSize, the name of
  3443. the PageSize device parameter to .MediaSize (but keeping PageSize as
  3444. equivalent, for backward compatibility), and the name of the
  3445. gx_device_set_page_size procedure to gx_device_set_media_size (keeping the
  3446. old name as a macro). THIS IS A NON-BACKWARD-COMPATIBLE CHANGE. It is
  3447. necessary to make setpagedevice work, and to avoid confusion about what
  3448. "page size" means. It potentially affects any device driver, but almost
  3449. none of the device drivers distributed with Ghostscript are affected, and
  3450. those have been updated. (gsparam.h, gxdevice.h, gsdevice.c, gsdparam.c,
  3451. gspath.c)
  3452. Renames gconfig.c as gconf.c to avoid problems with read-only source files.
  3453. (gconf.c)
  3454. Adds an API procedure for setting a bitmap pattern. (gscolor2.h,
  3455. gspcolor.c)
  3456. </pre>
  3457. <h2><a name="Version3.45"></a>Version 3.45 (limited) (8/27/95)</h2>
  3458. <p>
  3459. The purpose of this release is to fix some minor bugs reported by commercial
  3460. licensees, and to add two enhancements: optional RenderTable interpolation
  3461. for CIE color, and reducing the temporary space used during character
  3462. caching (also for a licensee).
  3463. <h3><a name="V3.45_Documentation"></a>Documentation</h3><pre>
  3464. Notes that the only valid return values from get_alpha_bits are 1, 2, and 4.
  3465. (drivers.doc)
  3466. Notes that the get_bits driver procedure will return a pointer to aligned
  3467. data, but does not require the caller's data area to be aligned.
  3468. (drivers.doc)
  3469. </pre><h3><a name="V3.45_Procedures"></a>Procedures</h3><pre>
  3470. Fixes bugs:
  3471. - Many of the printer and file output drivers in devs.mak still
  3472. included gdevprn.$(OBJ) in their dependencies. (devs.mak)
  3473. - PDEVH was used before it was defined. (devs.mak)
  3474. - GENCONF_XE was used before it was defined. (unixhead.mak,
  3475. unix-end.mak)
  3476. Makes it possible to switch sfile implementations without editing gs.mak.
  3477. (gs.mak)
  3478. Makes it possible to specify alternate compiled font tables without editing
  3479. gs.mak. (gs.mak)
  3480. Allows quoted arguments in @-files, e.g.,
  3481. -sOutputFile="a file name with spaces"
  3482. (gs.c)
  3483. </pre><h3><a name="V3.45_Utilities"></a>Utilities</h3><pre>
  3484. Fixes bugs:
  3485. - The ps2ascii script could fail to delete temporary files in case
  3486. of an abnormal exit. (ps2ascii)
  3487. </pre><h3><a name="V3.45_Drivers"></a>Drivers</h3><pre>
  3488. Fixes bugs:
  3489. - The MS Windows printer capability test was wrong. (gdevwpr2.c)
  3490. - The MS Windows and OS/2/PM displays weren't page devices.
  3491. (gdevwdib.c, gdevpm.c)
  3492. Gets rid of all direct references to dev-&gt;PageSize in drivers. (gdevl256.c,
  3493. gdevvglb.c)
  3494. </pre><h3><a name="V3.45_Platforms"></a>Platforms</h3><pre>
  3495. Fixes bugs:
  3496. - The 32-bit MS Windows configuration file for the Borland C++
  3497. compiler was missing from the fileset. (bcc32.cfg, tar_gs)
  3498. Makes the printer devices in the OS/2 implementation capable of outputting
  3499. directly to the print spooler. (use.doc, gp_os2.c)
  3500. Makes printing on Windows NT and Windows 95 use the printer queue.
  3501. (gp_mswin.c, gswin32.rc)
  3502. </pre><h3><a name="V3.45_Interpreter"></a>Interpreter</h3><pre>
  3503. Fixes bugs:
  3504. - Copying a null device produced an uninitialized pointer.
  3505. (gsdevice.c)
  3506. - The dictionary returned by deviceinfo wasn't read-only.
  3507. (gs_lev2.ps)
  3508. - If a filter's init code failed, an entry on the operand stack
  3509. (usually the top) could be smashed. (files.h, zfile.c, zfilter.c)
  3510. Adds const in a few places that needed it. (zwppm.c)
  3511. Adds interpolation to the CIE RenderTable lookup. (icie.h, zcie.c, zcrd.c)
  3512. </pre><h3><a name="V3.45_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  3513. Allows PDF files with control-character garbage at the end, and up to 250
  3514. characters of garbage at the beginning. The latter is only supported by
  3515. runpdf, not by run. (pdf_base.ps, pdf_main.ps)
  3516. </pre><h3><a name="V3.45_Streams"></a>Streams</h3><pre>
  3517. Fixes bugs:
  3518. - A 1-D CCITTFaxDecode stream could give an error if an input buffer
  3519. boundary fell just before a 0-length termination code. (scfx.h, scfd.c)
  3520. </pre><h3><a name="V3.45_Library"></a>Library</h3><pre>
  3521. Fixes bugs:
  3522. - A variable was used before being set, which could cause band
  3523. devices to become confused when processing colored halftones. (gxclist.c)
  3524. - Some of the color and tile bookkeeping for band lists was wrong
  3525. (as of 3.44), causing tiled areas to be filled with garbage. (gxclist.c,
  3526. gxclread.c)
  3527. - Colored Patterns showed up blank on devices whose native
  3528. representation of `black' was a non-zero value. The fix removes the
  3529. 'cached' member of the gx_device structure, and requires monobit memory
  3530. devices to have a palette; this is a NON-BACKWARD-COMPATIBLE CHANGE for
  3531. anyone who was foolish enough to statically initialize a gx_device structure
  3532. without using the macros in gxdevice.h or gdevprn.h. (gdevmem.h,
  3533. gxdevice.h, gxdevmem.h, gdevm1.c, gdevmrop.c, gsdevice.c, gxcpath.c,
  3534. gxdither.c)
  3535. Provides the framework for band devices to implement alpha (anti-aliasing).
  3536. (gxcldev.h, gdevprn.c, gsdevice.c, gxclist.c, gxclread.c)
  3537. Implements an efficient API for enumerating paths using device coordinates.
  3538. (gspath.h, gxpath.h, gzpath.h, gspath1.c, gxpath2.c)
  3539. Changes the character cache logic so that when rasterizing large
  3540. anti-aliased characters, it converts the oversampled bits to alpha values on
  3541. the fly rather than waiting until it has rasterized the entire character.
  3542. This saves a lot of temporary space, at the expense of some extra time and
  3543. lower quality results for Type 3 characters that don't use a single fill or
  3544. imagemask operation to draw the character. This enhancement requires adding
  3545. a member to the gx_device structure (max_fill_band), which is a
  3546. NON-BACKWARD-COMPATIBLE CHANGE for badly written drivers (see above).
  3547. (gxchar.h, gxdevice.h, gxpaint.h, gdevabuf.c, gschar.c, gspaint.c,
  3548. gxccache.c, gxccman.c, gxfill.c)
  3549. Changes the palette member of memory devices from gs_string to
  3550. gs_const_string. (gdevmem.h, gxdevmem.h, gdevmem.c, gdevm1.c)
  3551. Starts to decouple halftoning from the graphics state machinery, so
  3552. it can be applied after banding rather than before. (gxdcolor.h,
  3553. gxdht.h, gxdither.h, gzht.h, gxcmap.c, gxdither.c, gxdraw.c)
  3554. Starts to decouple path filling from the graphics state machinery, so
  3555. that we can pass paths through band lists. (gxpaint.h, gxfill.c)
  3556. Adds interpolation to the CIE RenderTable lookup. This is optional, enabled
  3557. by #define CIE_RENDER_TABLE_INTERPOLATE in gscie.h. (gscie.h, gxctable.h,
  3558. gscie.c, gxctable.c)
  3559. </pre>
  3560. <h2><a name="Version3.44"></a>Version 3.44 (limited) (8/21/95)</h2>
  3561. <p>
  3562. This includes a few bug fixes, but its main purpose is to add two new
  3563. features: monobit and 8-bit gray-scale RasterOp (at the driver level, not at
  3564. the gstate level yet), and (compressed) band lists in RAM. Of course, these
  3565. new features may have introduced new bugs!
  3566. <h3><a name="V3.44_Documentation"></a>Documentation</h3><pre>
  3567. Adds contact information for a user working on NeXT machines. (README)
  3568. Notes that Ghostscript runs on FreeBSD. (README)
  3569. Adds copy_rop (the RasterOp operation) to the driver interface.
  3570. (drivers.doc)
  3571. Adds FONTPATH information for more operating systems. (use.doc)
  3572. </pre><h3><a name="V3.44_Procedures"></a>Procedures</h3><pre>
  3573. Fixes bugs:
  3574. - The tar_cat script needed a #!/bin/sh to execute correctly on all
  3575. platforms. (tar_cat)
  3576. - There were a number of minor errors in the makefiles. (gs.mak,
  3577. unixhead.mak)
  3578. - Level 2 configurations without command lists had two undefined
  3579. references. (gs.mak)
  3580. - Some shells required an extra ';' to terminate an 'if' command.
  3581. (ugcclib.mak, unix-end.mak, unixtail.mak)
  3582. Updates the JPEG code to the officially released version 6 of the IJG
  3583. library. See jpeg.mak for information on where to find this library.
  3584. (jpeg/*, jpeg.mak, *.mak, modules.lis)
  3585. Adds a definition of XEAUX to the makefiles to parallel CCAUX, primarily for
  3586. cross-compilation environments. All references to &lt;some-program&gt;$(XE) must
  3587. be replaced by $(&lt;SOME-PROGRAM&gt;_XE), where some-program={$(GS), ansi2knr,
  3588. echogs, genarch, genconf, geninit}. This is a NON-BACKWARD-COMPATIBLE
  3589. CHANGE, required in order for the makefiles to work in cross-compiled
  3590. environments. (For non-cross-compiled environments, it currently doesn't
  3591. matter.) (gs.mak, *.mak)
  3592. </pre><h3><a name="V3.44_Utilities"></a>Utilities</h3><pre>
  3593. Updates ps2ai.ps to version 2.13. (ps2ai.ps)
  3594. Changes all the utility shell scripts to include #!/bin/sh, to use exec, and
  3595. to pass the original arguments using "$@". (bdftops, font2c, gsbj, gsdj,
  3596. gslj, gslp, gsnd, wftopfa)
  3597. </pre><h3><a name="V3.44_Drivers"></a>Drivers</h3><pre>
  3598. Adds the requirement that all page-oriented devices (i.e., those that use
  3599. gdevprn.h and implement the print_page procedure) include page.dev in their
  3600. dependencies and use $(SETPDEV) rather than $(SETDEV) in their makefile rule
  3601. bodies. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE. Without this change, the
  3602. command list logic (over 25K of unnecessary object code) would have to be
  3603. included in every configuration. (gs.mak, devs.mak, echogs.c)
  3604. Adds a user-contributed driver for the Okidata Microline (IBM compatible)
  3605. dot matrix printers. (gdevokii.c)
  3606. Adds copy_rop (the RasterOp operation) to the driver interface. Currently,
  3607. only monobit and 8-bit gray-scale devices implement it. (gxdevice.h,
  3608. gsdevice.c)
  3609. Adds the ability to read back bits from the display to the x11 devices.
  3610. (x_.h, gdevx.c, gdevxalt.c)
  3611. </pre><h3><a name="V3.44_Platforms"></a>Platforms</h3><pre>
  3612. Makes some minor changes to support QNX. (stat_.h)
  3613. Removes the mswinprn driver from the 16-bit Windows configuration, because
  3614. the 64K default data segment overflowed. (bcwin.mak)
  3615. </pre><h3><a name="V3.44_Interpreter"></a>Interpreter</h3><pre>
  3616. Fixes bugs:
  3617. - Type 1 fonts didn't accept packed arrays for Subrs or OtherSubrs.
  3618. (zchar1.c, zfont1.c)
  3619. - TBCP-encoded files (yes, I know there isn't supposed to be any
  3620. such thing) didn't automatically activate TBCP decoding. (gs_init.ps)
  3621. - Fonts with invalid FID entries weren't detected. (zfont.c)
  3622. Speeds up dictionary operations slightly by removing redundant checks for
  3623. nulls. (zdict.c)
  3624. Starts adding support for the new CIEBasedDEF and CIEBasedDEFG color spaces.
  3625. (gs_l2img.ps, gs_lev2.ps, igstate.h, zcrd.c)
  3626. Adds access operators for RasterOp and transparency in the graphics state.
  3627. (They don't actually do anything yet.) (zgstate.c)
  3628. </pre><h3><a name="V3.44_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  3629. Fixes bugs:
  3630. - PDFDocEncoding was missing characters 24-31. (gs_pdf_e.ps)
  3631. Moves the definition of pdfmark from systemdict to userdict so that Adobe
  3632. PostScript files won't think the interpreter is a distiller. (gs_pdf.ps)
  3633. </pre><h3><a name="V3.44_Library"></a>Library</h3><pre>
  3634. Fixes bugs:
  3635. - Some JPEG images had bands of garbage alternating with bands of
  3636. valid data. IJG v6 fixed this -- see above.
  3637. - With FPU_TYPE = -1, the cosine routine returned incorrect values
  3638. for angles above 270 degrees. (gsmisc.c)
  3639. - CIE color conversion didn't work on 16-bit systems. (gscie.h,
  3640. gscie.c)
  3641. Partially implements reducing the intermediate space for rasterizing
  3642. anti-aliased characters by compressing the oversampled representation to an
  3643. alpha array incrementally. (gdevmem.h, gxchar.h, gxdevmem.h, gdevabuf.c,
  3644. gschar.c, gspaint.c, gxccman.c)
  3645. Starts adding support for the new CIEBasedDEF and CIEBasedDEFG color spaces.
  3646. (gscie.h, gscspace.h, gscie.c)
  3647. Completes the implementation of band lists in RAM. To select this feature,
  3648. change the definition of cl_impl in gs.mak from clfile to clmem. (Someday
  3649. we'll make this easier.) (gxclmem.h, gxclmem.c)
  3650. Finishes implementing RasterOp and transparency at the driver level for
  3651. monobit and 8-bit gray-scale devices, and implements some of the framework
  3652. for general multiple-bit-per-pixel devices. See drivers.doc for
  3653. documentation. (gsropt.h, gxcldev.h, gxclist.h, gdevm1.c, gdevm8.c,
  3654. gdevmem.c, gdevmrop.c, gschar.c, gxclist.c, gxclread.c)
  3655. Implements the ability to include commands applicable to all bands, rather
  3656. than an individual band, in the band list. Eventually this will be used for
  3657. passing halftones through the band list. (gxcldev.h, gxclist.h, gxclist.c)
  3658. Adds support for 2-bit-deep 'word' memory devices. (gdevmem.h, gxdevmem.c,
  3659. gdevm2.c)
  3660. Changes the initialization for memory devices so that they determine their
  3661. polarity from the device for which they are buffering the image (if any).
  3662. This is a subtle change. (gdevmem.h, gdevmem.c, gdevm1.c, gsdevmem.c)
  3663. </pre>
  3664. <h2><a name="Version3.43"></a>Version 3.43 (limited) (8/10/95)</h2>
  3665. <p>
  3666. Fixes a few more minor bugs, and changes FEATURE selection back to
  3667. essentially the way it was before 3.41.
  3668. <h3><a name="V3.43_Documentation"></a>Documentation</h3><pre>
  3669. Fixes bugs:
  3670. - A ~ was missing in a URL. (README)
  3671. Adds information about an Amiga port of Ghostscript. (README)
  3672. Removes a file called gs.1.c, which appears to be an obsolete version of
  3673. gs.1.
  3674. Adds DCX documentation to the PCX driver. (We don't support DCX yet, but we
  3675. might in the future.) (gdevpcx.c)
  3676. Adds information about getting Type 1 fonts from H-P if you have an H-P
  3677. PostScript printer. (use.doc)
  3678. </pre><h3><a name="V3.43_Procedures"></a>Procedures</h3><pre>
  3679. Fixes bugs:
  3680. - The auxiliary programs wouldn't compile with ANSI compilers that
  3681. don't accept K&amp;R syntax. (ccgs, gs.mak, ugcclib.mak, *head.mak,
  3682. unixtail.mak, echogs.c, genarch.c, genconf.c, geninit.c)
  3683. Reinstates FEATURE_DEVS in the makefiles, getting rid of FEATURE1..10. THIS
  3684. IS A NON-BACKWARD-COMPATIBLE CHANGE, but it puts things back the way they
  3685. were before 3.41, with one exception: compiling the PostScript
  3686. initialization code into the executable is now a separate macro
  3687. COMPILE_INITS with a definition of 0 or 1, instead of the ccinit 'feature'.
  3688. (gs.mak, *.mak, fonts.doc, make.doc)
  3689. Adds a CCLEAF macro to the makefiles, for optimizing the compilation of
  3690. modules containing only leaf procedures. (gs.mak, *.mak)
  3691. Adds a CONFIG makefile variable that helps in maintaining multiple variants
  3692. in a single directory. (gs.mak, *.mak)
  3693. </pre><h3><a name="V3.43_Platforms"></a>Platforms</h3><pre>
  3694. Fixes bugs:
  3695. - An extern for exit() (in &lt;stdlib.h&gt;) was omitted. (gp_vms.c)
  3696. </pre><h3><a name="V3.43_Fonts"></a>Fonts</h3><pre>
  3697. Reorganizes the compiled font facility so that fonts can be compiled and
  3698. turned into a library by third parties. (gs.mak, font2c.ps, gs_ccfnt.ps,
  3699. ccfont.h, iccfont.c, ccfontab.c)
  3700. </pre><h3><a name="V3.43_Interpreter"></a>Interpreter</h3><pre>
  3701. Fixes bugs:
  3702. - internaldict was implemented as a dictionary in systemdict and an
  3703. operator in userdict, rather than as an operator in systemdict. This caused
  3704. a noaccess error when loading certain Type 1 fonts. (gs_init.ps,
  3705. gs_type1.ps)
  3706. - xfonts couldn't handle modified encodings. (zfont2.c)
  3707. Changes the build date printout in the help message to YYYY-MM-DD. (gs.c)
  3708. Adds native support for Multiple Master fonts (WeightVector). (zfont1.c)
  3709. Implements sin and cos more efficiently (by table lookup with linear
  3710. interpolation) on machines with slow (or no) floating point. (zmath.c)
  3711. Separates out the code for 'reading' the .ps initialization files, for the
  3712. new COMPILE_INITS arrangement. (imain.h, gconfig.c, gsmain.c, iconfig.c,
  3713. iccinit0.c, iinit.c)
  3714. </pre><h3><a name="V3.43_Streams"></a>Streams</h3><pre>
  3715. Fixes bugs:
  3716. - The CCITTFaxDecode filter could read up to 3 bytes beyond EOD.
  3717. This fix doesn't quite cover all cases, but at least it makes things better.
  3718. (ghc.h, sbhc.c, scfd.c)
  3719. </pre><h3><a name="V3.43_Library"></a>Library</h3><pre>
  3720. Fixes bugs:
  3721. - After a nocurrentpoint error from a show operation with a
  3722. composite font, the bookkeeping was confused and could cause an access
  3723. error. (gschar.c)
  3724. - xfonts couldn't handle modified encodings. (gsccode.h, gxchar.h,
  3725. gxfont.h, gxxfont.h, gschar.c, gxccache.c)
  3726. Makes .charboxpath able to use cached character information. (gxchar.h,
  3727. gschar.c)
  3728. Adds native support for Multiple Master fonts (OtherSubrs 14-18).
  3729. (gxfont1.h, gstype1.c)
  3730. Improves the hashing functions for the character cache. (gxfcache.h,
  3731. gxccman.c)
  3732. Adjusts the character oversampling algorithm to reduce thickening for
  3733. devices with alpha capability. (gsbitops.c)
  3734. Improves the encoding of the band list for certain kinds of small
  3735. rectangles. (gxcldev.h, gxclist.c, gxclread.c)
  3736. Implements sin and cos efficiently on machines with slow (or no) floating
  3737. point. (gxfarith.h, gsmatrix.c, gsmisc.c, gspath1.c)
  3738. </pre>
  3739. <h2><a name="Version3.42"></a>Version 3.42 (limited) (8/2/95)</h2>
  3740. <p>
  3741. Fixes a few significant problems in 3.41, and brings the DLL code up to
  3742. date.
  3743. <h3><a name="V3.42_Documentation"></a>Documentation</h3><pre>
  3744. Fixes bugs:
  3745. - language.doc still referred to rectappend rather than .rectappend.
  3746. (language.doc)
  3747. Adds documentation on the Macintosh port. (readme, make.doc)
  3748. Updates the DLL documentation. (dll.doc)
  3749. Documents the BCP and TBCP filters as non-experimental. (language.doc)
  3750. </pre><h3><a name="V3.42_Procedures"></a>Procedures</h3><pre>
  3751. Changes the build date printout to YYYY-MM-DD. (gs_init.ps)
  3752. </pre><h3><a name="V3.42_Platforms"></a>Platforms</h3><pre>
  3753. Fixes bugs:
  3754. - The VMS build script had gotten out of sync with the makefiles
  3755. (again). (vms.mak, modules.lis)
  3756. Brings the MS Windows and OS/2 platforms up to date with the rest of the
  3757. code, including DLL support for OS/2. (os2.mak, gsdll*.def, gdevswn.c,
  3758. gdevpm.c, gdevwdib.c, gp_mswin.c, gp_os2.c, gsdll.c, gsmain.c)
  3759. Adds a new platform-specific routine gp_do_exit, as an alias for the C
  3760. library `exit' call. (gp.h, gsdll.c, gsmain.c, gp_*.c)
  3761. </pre><h3><a name="V3.42_Interpreter"></a>Interpreter</h3><pre>
  3762. Fixes bugs:
  3763. - .forgetsave at the outermost level didn't clear the l_new bit,
  3764. causing changes to be undone improperly. (isave.c)
  3765. - A 'void' formal parameter list upset some compilers (as it should
  3766. have). (gsmain.c)
  3767. Adds a .charboxpath operator that appends to the current path the bounding
  3768. boxes of the characters of a string. (zchar.c, zchar1.c)
  3769. </pre><h3><a name="V3.42_Streams"></a>Streams</h3><pre>
  3770. Fixes bugs:
  3771. - A procedure was declared private inconsistently. (siscale.c)
  3772. </pre><h3><a name="V3.42_Library"></a>Library</h3><pre>
  3773. Fixes bugs:
  3774. - The library test program didn't do a necessary initial gsave.
  3775. (gslib.c)
  3776. - The fix for landscape monobit images in 3.41 could smash memory.
  3777. (gsimage1.c)
  3778. - 1-pixel-wide lines drawn with image or imagemask still disappeared
  3779. sometimes. (gsimage.c)
  3780. Does some more preparatory work for the implementation of command lists in
  3781. RAM. (gdevprn.h, gxclio.h, gxclist.h, gxclfile.c, gxclist.c, gxclread.c)
  3782. Adds a gs_charboxpath procedure that appends to the current path the
  3783. bounding boxes of the characters of a string. (gschar.h, gscpm.h,
  3784. gstype1.h, gxchar.h, gxpath.h, gxtype1.h, gzstate.h, gschar.c, gspaint.c,
  3785. gstype1.c, gxpath.c)
  3786. </pre>
  3787. <h2><a name="Version3.41"></a>Version 3.41 (limited) (7/27/95)</h2>
  3788. <p>
  3789. Another incremental release with bug fixes and customer-requested
  3790. enhancements. This release was intended to include the full setpagedevice
  3791. media matching and adjustment algorithm, but we discovered some
  3792. architectural problems during development, and have postponed it.
  3793. <h3><a name="V3.41_Documentation"></a>Documentation</h3><pre>
  3794. Replaces the build instructions for NeXTSTEP with more up-to-date and
  3795. accurate ones. (make.doc)
  3796. Notes that some extra manual steps are required when cross-compiling.
  3797. (make.doc)
  3798. Documents how to define new 'features' in the makefile. (gs.mak)
  3799. </pre><h3><a name="V3.41_Procedures"></a>Procedures</h3><pre>
  3800. Fixes bugs:
  3801. - The build rule for ccinit.dev was circular. Fixing this required
  3802. a small but NON-BACKWARD-COMPATIBLE change in the way that features are
  3803. selected in the makefiles (FEATURE_DEVS replaced by FEATURE1..10). (*.mak,
  3804. fonts.doc, make.doc)
  3805. Changes the build rule for gconfig.h to be less likely to overrun MS-DOS's
  3806. command line length limit. (gs.mak)
  3807. Adds a -dFIXEDMEDIA switch to indicate that the media size should be
  3808. considered fixed after initialization. (gs_init.ps)
  3809. </pre><h3><a name="V3.41_Utilities"></a>Utilities</h3><pre>
  3810. Fixes bugs:
  3811. - traceimg.ps incorrectly referred to .stdout. (traceimg.ps)
  3812. - prfont.ps didn't display unencoded characters correctly.
  3813. (prfont.ps)
  3814. - ps2epsi didn't give correct bounding box information. (ps2epsi,
  3815. ps2epsi.ps)
  3816. - ps2epsi produced DSC comments that didn't fully conform to the
  3817. Adobe standard. (ps2epsi, ps2epsi.ps)
  3818. Allows viewpbm.ps to take multiple files on the command line. (viewpbm.ps)
  3819. </pre><h3><a name="V3.41_Drivers"></a>Drivers</h3><pre>
  3820. Adds a preliminary, contributed PNG driver. THIS IS NOT USABLE YET -- DON'T
  3821. TRY TO USE IT. (png.mak, gdevpng.c)
  3822. Increases the maximum allowable scan line width for the TIFF drivers from
  3823. 5183 pixels to 12863 pixels. (scf.h)
  3824. </pre><h3><a name="V3.41_Platforms"></a>Platforms</h3><pre>
  3825. Updates the MS Windows DLL code to export the new, suspendable run_string
  3826. interface. (gsdll.h, gsdll.c, dll.doc)
  3827. </pre><h3><a name="V3.41_Fonts"></a>Fonts</h3><pre>
  3828. Fixes bugs:
  3829. - There were several errors in cfonts.mak. (cfonts.mak)
  3830. - The compiled fonts option didn't offer both free and standard
  3831. configurations. (gs.mak)
  3832. - A bug in the handling of Encoding resources prevented compiled
  3833. fonts from working. (gs_res.ps)
  3834. Adds a little more support for CID-keyed fonts. They still aren't anywhere
  3835. near usable. (gs_cidfn.ps, gs_type1.ps)
  3836. Adds a new Fontmap for Solaris 2.3. (Fontmap.Solaris)
  3837. Adds support for Type 4 fonts (Type 1 fonts with their own BuildChar
  3838. procedures), including the CCRun procedure in internaldict. (gs_fonts.ps,
  3839. gs_res.ps, gs_type1.ps)
  3840. </pre><h3><a name="V3.41_Interpreter"></a>Interpreter</h3><pre>
  3841. Fixes bugs:
  3842. - showpage and copypage didn't honor NumCopies in a page device.
  3843. (gs_setpd.ps, zdevice2.c)
  3844. - currentpagedevice returned incorrect information if the current
  3845. device wasn't a page device. (gs_setpd.ps)
  3846. - currentpagedevice didn't guarantee the presence of InputAttributes
  3847. and OutputAttributes. (gs_setpd.ps)
  3848. - The l_new bit wasn't set properly when a dictionary changed from
  3849. packed to unpacked keys, leading to unnecessary saves. (idict.c)
  3850. - Streams requiring intermediate buffering could read ahead too far,
  3851. causing input data to be skipped. (zfilter.c)
  3852. - cshow didn't reset the font to the base font when calling the
  3853. procedure. (zchar2.c)
  3854. - The Install procedure in a page device didn't set the default CTM.
  3855. (gs_setpd.ps, zmatrix.c)
  3856. - findlibfile didn't handle special files like %stdin correctly.
  3857. (zfile.c)
  3858. - setpagedevice didn't implement media matching. (gs_setpd.ps,
  3859. zdevice2.c, zmedia2.c, zmatrix.c)
  3860. - Some floating point numbers didn't print out with enough digits to
  3861. read back in with the identical value. (iutil.c)
  3862. - Integers that overflowed 31 bits (but not 32 bits) were converted
  3863. to negative integers rather than correct positive reals. (iscannum.c)
  3864. Removes an experimental operator that called the image scaling/interpolation
  3865. code. (zimage2.c)
  3866. Adds a -sSUBSTFONT=&lt;fontname&gt; switch that substitutes the given font for all
  3867. unknown fonts, bypassing the normal intelligent substitution algorithm.
  3868. (gs_fonts.ps)
  3869. Adds the Revision system parameter. (zmisc2.c)
  3870. Adds a .knownundef operator that does an undef and returns true iff the key
  3871. was formerly present. (zdict.c)
  3872. Makes the maximum length of names be 256 if EXTEND_NAMES is being used, 16K
  3873. otherwise. (inamedef.h, iname.c)
  3874. Adds internaldict. (gs_init.ps, iinit.c)
  3875. Adds support for Type 4 fonts. (bfont.h, zchar.c, zchar1.c, zfont1.c,
  3876. zfont2.c)
  3877. Changes .encodingdict to EncodingDirectory, for compatibility with Adobe
  3878. interpreters. (gs_init.ps, gs_kanji.ps, gs_res.ps)
  3879. Adds superexec, an undocumented operator that is equivalent to exec but
  3880. suppresses all invalidaccess checks. NOT COMPLETED YET; currently superexec
  3881. is equivalent to exec. (zcontrol.c)
  3882. </pre><h3><a name="V3.41_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  3883. Fixes bugs:
  3884. - .stderr was used but is no longer defined. (pdf_base.ps)
  3885. </pre><h3><a name="V3.41_Streams"></a>Streams</h3><pre>
  3886. Fixes bugs:
  3887. - Not all streams initialized their state pointer. (stream.c,
  3888. sfile.c, sfileno.c)
  3889. Adds a filter for the smoothed image scaling algorithm. Eventually this
  3890. filter will require very little intermediate storage; right now it still
  3891. needs to buffer the entire intermediate image. (siscale.h, siscale.c)
  3892. Increases the maximum allowable scan line width for the CCITTFaxEncode
  3893. filter from 5183 pixels to 12863 pixels. (scf.h)
  3894. </pre><h3><a name="V3.41_Library"></a>Library</h3><pre>
  3895. Fixes bugs:
  3896. - setpagedevice didn't update NumCopies correctly. (gdevprn.c,
  3897. gsdparam.c)
  3898. - The newly optimized code for monobit bitmaps could cause an
  3899. out-of-bounds memory access and/or make unaligned references. (gsimage1.c)
  3900. - setpagedevice with unknown keys could cause an /undefined error.
  3901. (gsdparam.c)
  3902. - cshow didn't reset the font to the base font when calling the
  3903. procedure. (gschar.h, gschar.c)
  3904. - The Install procedure in a page device didn't set the default CTM.
  3905. (gzstate.h, gschar.c, gscoord.c, gsdevice.c)
  3906. - Very non-linear EncodeABC procedures in a color rendering
  3907. dictionary could produce very inaccurate results. (gscie.h, gscie.c)
  3908. - The line_ptrs pointer in memory devices didn't get relocated if
  3909. the bitmap was moved during garbage collection, leading to memory smashing.
  3910. (gdevmem.c)
  3911. - setpagedevice didn't implement media matching. (gsdparam.c,
  3912. gscoord.c)
  3913. - 'word' memory devices weren't recognized as memory devices.
  3914. (gdevmem.c)
  3915. - makeimagedevice allocated, and then didn't free, an unnecessary
  3916. palette for monobit devices. (gsdevmem.c)
  3917. - The hack for 1-bit-wide images didn't work consistently,
  3918. particularly in landscape orientation. (gsimage.c, gsimage0.c)
  3919. Adds an .IgnoreNumCopies page device parameter that causes #copies and
  3920. NumCopies to be ignored. (gxdevice.h, gsdevice.c, gsdparam.c)
  3921. Removes the .IsPageDevice device parameter. (gsdparam.c)
  3922. Converts the image scaling/interpolation code to a filter. (gximage.h,
  3923. gsimage.c, gsimage0.c, gsimage3.c)
  3924. Adds support for Type 4 fonts. (gxfont.h)
  3925. Adds a default implementation of parameter lists, designed to be usable
  3926. easily from C code. (gsparam.h, gsparam.c)
  3927. </pre>
  3928. <h2><a name="Version3.40"></a>Version 3.40 (limited) (6/28/95)</h2>
  3929. <p>
  3930. This is another incremental limited release for delivery of a couple of
  3931. important bug fixes (pixel 'holes' in rotated images, setpagedevice errors
  3932. on some platforms) and an enhancement (architectural support for band lists
  3933. in RAM).
  3934. <h3><a name="V3.40_Documentation"></a>Documentation</h3><pre>
  3935. Fixes bugs:
  3936. - The FTP location of the EMX DLLs was incorrect. (use.doc)
  3937. </pre><h3><a name="V3.40_Procedures"></a>Procedures</h3><pre>
  3938. Fixes bugs:
  3939. - A couple of build rules for IJG v6 were omitted. (jpeg.mak)
  3940. </pre><h3><a name="V3.40_Utilities"></a>Utilities</h3><pre>
  3941. Fixes bugs:
  3942. - prfont.ps wouldn't print more than 128 unencoded characters.
  3943. (prfont.ps)
  3944. </pre><h3><a name="V3.40_Platforms"></a>Platforms</h3><pre>
  3945. Fixes bugs:
  3946. - setpagedevice often caused /undefined errors on MS Windows and
  3947. OS/2 platforms. (gdevmswn.c, gdevpm.c)
  3948. - The VMS module list had gotten out of sync with the makefiles
  3949. (again). (modules.lis)
  3950. </pre><h3><a name="V3.40_Interpreter"></a>Interpreter</h3><pre>
  3951. Fixes bugs:
  3952. - A couple of casts betwen char * and byte * were omitted.
  3953. (gsmain.c)
  3954. - gs_[main_]run_file_open wasn't exported properly. (imain.h,
  3955. main.h, gsmain.c)
  3956. </pre><h3><a name="V3.40_Streams"></a>Streams</h3><pre>
  3957. Changes the DCTEncode filter to return an error if it wasn't supplied enough
  3958. data before being closed. (sdcte.c)
  3959. </pre><h3><a name="V3.40_Library"></a>Library</h3><pre>
  3960. Fixes bugs:
  3961. - The coordinate computations for all filling operations were
  3962. slightly inaccurate, leading to pixel 'holes' in rotated images. (gxdda.h,
  3963. gximage.h, gsimage*.c, gxdraw.c, gxfill.c)
  3964. Undoes an "optimization" (inlining the normal, fast case of a procedure)
  3965. that actually hurt performance. (gxclist.c)
  3966. Refactors the command list code so that it in the future it will be able to
  3967. store command lists either in RAM or in the file system. (gdevprn.h,
  3968. gxcldev.h, gxclio.h, gxclist.h, gdevprn.c, gxclfile.c, gxclist.c,
  3969. gxclread.c)
  3970. Changes the interface to the path filling code to take separate X and Y
  3971. adjustment values. (gxpaint.h, gspaint.c, gxfill.c)
  3972. Makes the command list allocate a small tile cache if the device doesn't
  3973. need halftones. (gxclist.c)
  3974. </pre>
  3975. <hr>
  3976. <h2><a name="Version3.39"></a>Version 3.39 (limited) (6/24/95)</h2>
  3977. <p>
  3978. This is again an incremental release primarily for delivery of enhancements
  3979. (suspendable string input in particular) to commercial customers, and with a
  3980. few bug fixes.
  3981. <h3><a name="V3.39_Documentation"></a>Documentation</h3><pre>
  3982. Notes that PDF files and repositioning PostScript files do not work if
  3983. Ghostscript was compiled with VAX C. (use.doc)
  3984. Notes the requirement for EOD lookahead in decoding filters. (strimpl.h)
  3985. </pre><h3><a name="V3.39_Procedures"></a>Procedures</h3><pre>
  3986. Fixes bugs:
  3987. - There were a number of undefined or used-before-defined variables
  3988. in the makefiles. (devs.mak, dvx-head.mak, unixhead.mak, gs.mak)
  3989. - Some commands in the makefile exceeded the MS-DOS limit of 120
  3990. characters. (gs.mak)
  3991. Adds a -P and -P- switch to control whether the search path automatically
  3992. includes `.' as its first element. Moves the default value of this choice
  3993. (SEARCH_HERE_FIRST) from gsmain.c to iminst.h. (iminst.h, gs.c, gsmain.c,
  3994. use.doc)
  3995. Makes some makefile changes in anticipation of the IJG v6 release. (*.mak)
  3996. </pre><h3><a name="V3.39_Utilities"></a>Utilities</h3><pre>
  3997. Fixes bugs:
  3998. - font2c generated invalid C procedure names from font names that
  3999. contained non-alphanumerics other then '-'. (font2c.ps)
  4000. - font2c generated a single element of incorrect type for numeric
  4001. arrays of zero length. (font2c.ps)
  4002. </pre><h3><a name="V3.39_Platforms"></a>Platforms</h3><pre>
  4003. Fixes bugs:
  4004. - The VMS build scripts had gotten out of sync (again). (vms*.mak,
  4005. modules.lis)
  4006. </pre><h3><a name="V3.39_Fonts"></a>Fonts</h3><pre>
  4007. Makes the FONTPATH directory scanner accept fonts that begin with
  4008. %!PS-AdobeFont or %!FontType1 with no following `-'. (gs_fonts.ps)
  4009. </pre><h3><a name="V3.39_Interpreter"></a>Interpreter</h3><pre>
  4010. Fixes bugs:
  4011. - eq and ne on arrays or dictionaries required read access.
  4012. (zrelbit.c)
  4013. - An include was missing. (zcsindex.c)
  4014. - .forgetsave at the outermost level didn't reset the l_new flag in
  4015. changed slots, leading to an anomalous (although perhaps not harmful) state.
  4016. (isave.c)
  4017. - Dictionary growing or unpacking would both save and free the old
  4018. keys array, leading to a dangling reference. (idict.c)
  4019. Changes gs_interpret so that for .quit with a negative operand &lt;= -100,
  4020. gs_interpret returns e_Fatal rather than the operand. THIS IS A
  4021. NON-BACKWARD-COMPATIBLE CHANGE, but as far as we know, it doesn't affect
  4022. anyone. (interp.c)
  4023. Adds an API to allow feeding string input to the interpreter in pieces.
  4024. (errors.h, imain.h, main.h, gs.c, gsmain.c, interp.c, zcontrol.c, zfilter.c)
  4025. Adds new predicates .identeq and .identne that test "pointer equality", even
  4026. for numbers and strings. (iutil.h, iutil.c, zrelbit.c)
  4027. Changes a few uses of return_error to return in places that don't lead
  4028. directly to a PostScript error. (idict.c)
  4029. </pre><h3><a name="V3.39_Streams"></a>Streams</h3><pre>
  4030. Fixes bugs:
  4031. - The logic for skipping up to a 0xff byte when decoding JPEG data
  4032. could skip too much. (sdctd.c, sjpegd.c)
  4033. - If a buffer boundary fell in the middle of, or just before, an
  4034. EOD, some decoding filters could stop reading too soon. (sbcp.c, smtf.c,
  4035. sstring.c)
  4036. Makes some minor changes in anticipation of the IJG v6 release.
  4037. (gsjmorec.h)
  4038. </pre><h3><a name="V3.39_Library"></a>Library</h3><pre>
  4039. Fixes bugs:
  4040. - A declaration should have been removed. (gsdll.c)
  4041. - The library initialization/termination API wasn't declared.
  4042. (gslib.h, gsinit.c, gsmain.c)
  4043. - A variable and a preprocessor macro with the same name confused
  4044. VAX C. (gxclist.c)
  4045. - Image devices with depth 2-8 and only gray shades in the palette
  4046. didn't set color_info correctly. (gsdevice.c)
  4047. Speeds up unrotated black-and-white images further by making them render
  4048. directly into a memory device when possible. (gxdevmem.h, gsimage1.c)
  4049. </pre>
  4050. <h2><a name="Version3.38"></a>Version 3.38 (limited) (6/18/95)</h2>
  4051. <p>
  4052. This release incorporates several customer-requested enhancements (cleaner
  4053. separation of the graphics library from the interpreter, option for &gt;64K
  4054. names, true garbage collection of names, better handling of halftones on
  4055. band devices). It is intended primarily for those customers, but is
  4056. intended as a dry run for the next public release.
  4057. <h3><a name="V3.38_Documentation"></a>Documentation</h3><pre>
  4058. Fixes bugs:
  4059. - gx_bitmap had not been updated to gx_tile_bitmap.
  4060. (drivers.doc)
  4061. </pre><h3><a name="V3.38_Procedures"></a>Procedures</h3><pre>
  4062. Fixes bugs:
  4063. - The man page extension in the Unix makefiles was still $(manext),
  4064. not $(man1ext). (unix-end.mak)
  4065. - 'make clean' didn't remove gs_init.c. (gs.mak)
  4066. Restructures the makefiles to better separate the language interpreters from
  4067. the graphics core. (gs.mak)
  4068. Adds a -dNOPROMPT switch to suppress the end-of-page prompts (but still wait
  4069. for the user to type a newline). This is different from -dNOPAUSE, which
  4070. suppresses both the prompts and the wait. (gs_init.ps)
  4071. </pre><h3><a name="V3.38_Utilities"></a>Utilities</h3><pre>
  4072. Replaces the mergeini.ps program with an equivalent (actually slightly
  4073. better) version written in C. (gs.mak, *.mak, psfiles.doc, use.doc,
  4074. geninit.c)
  4075. </pre><h3><a name="V3.38_Drivers"></a>Drivers</h3><pre>
  4076. Fixes bugs:
  4077. - The color DeskJet drivers wouldn't compile with a K&amp;R compiler,
  4078. because some of the procedure definitions weren't in the restricted syntax
  4079. that ansi2knr requires. (gdevcdj.c)
  4080. - The color DeskJet drivers wouldn't compile because of a bug in
  4081. Sun's cc. (gdevcdj.c)
  4082. Changes the BJ-10e(x) margins to be identical to those of the BJ-200.
  4083. (gdevbj10.c)
  4084. Changes the LaserJet margins in response to a user's request. (gdevdjet.c)
  4085. Changes the psmono driver to produce slightly larger files that execute
  4086. faster on typical Level 1 printers. (gdevpsim.c)
  4087. Changes the psmono driver so that it does not scale the image to fit the
  4088. page size, but instead scales it to be the same physical size on the page.
  4089. THIS IS A NON BACKWARD COMPATIBLE CHANGE. However, for full-page images, it
  4090. will not have any visible effect. (gdevpsim.c)
  4091. </pre><h3><a name="V3.38_Platforms"></a>Platforms</h3><pre>
  4092. Fixes bugs:
  4093. - There were some problems associated with printing in 32-bit
  4094. Windows environments. (gp_mswin.c)
  4095. - The IBM RS/6000 needs both &lt;time.h&gt; and &lt;sys/time.h&gt;. (time_.h)
  4096. Adds the PDF interpreter to the standard MS Windows configuration.
  4097. (bcwin.mak)
  4098. </pre><h3><a name="V3.38_Fonts"></a>Fonts</h3><pre>
  4099. Fixes bugs:
  4100. - The entry for Courier-BoldItalic in cfonts.mak incorrectly named
  4101. it as Courier-Italic. (cfonts.mak)
  4102. - The files for Courier-Italic in cfonts.mak were inconsistently
  4103. named ncrri instead of ncri. (cfonts.mak)
  4104. - The rules in cfonts.mak covered only the fonts distributed with
  4105. the free versions of Ghostscript, omitting some of the standard set of 35.
  4106. (cfonts.mak)
  4107. - The maximum number of stem hints per character in Type 1 fonts
  4108. wasn't large enough for complex Asian characters. (gxtype1.h)
  4109. Adds a -dNOFONTMAP switch to suppress loading the Fontmap file.
  4110. (gs_init.ps, gs_fonts.ps)
  4111. </pre><h3><a name="V3.38_Interpreter"></a>Interpreter</h3><pre>
  4112. Fixes bugs:
  4113. - One of the GC marking routines for halftones had a typo,
  4114. possibly leading to an invalid access. (zht2.c)
  4115. - The GC could store beyond the end of the mark stack,
  4116. possibly smashing some characters of a string or name. (igc.c)
  4117. - If the allocator allocated a new ref object from a
  4118. freelist, the bookkeeping for the current ref object could get
  4119. confused. (ialloc.c)
  4120. - The GC didn't remove names properly from the hash table.
  4121. (iname.c)
  4122. - If a DOS editor added a ^Z to the end of an initialization file,
  4123. an error occurred during initialization. (gs_init.ps)
  4124. - If an initialization file had any lines longer than 128
  4125. characters, .skipeof would get an error. (gs_init.ps)
  4126. - makepattern could create structures in global VM pointing to
  4127. structures in local VM. (zpcolor.c)
  4128. - The default color rendering dictionary didn't specify large enough
  4129. ranges for some intermediate values. (gs_lev2.ps)
  4130. - Files being freed by a restore weren't unlinked properly, leading
  4131. to dangling pointers. (zfile.c)
  4132. - The interpreter used strlen without a prototype. (interp.c)
  4133. - Indexed or Separation colors with a CIE base or alternate space
  4134. didn't work. (zcie.c)
  4135. - The Watcom C 10.0 compiler produced incorrect code for an
  4136. overlapping structure assignment. (zcsindex.c)
  4137. Removes limit of 64K names, if EXTEND_NAMES is defined at compile
  4138. time. (*.mak, idebug.h, iminst.h, iname.h, gs.c, gsmain.c, idebug.c,
  4139. iname.c)
  4140. Makes the garbage collector really collect names. (iname.h, inamedef.h,
  4141. isstate.h, igc.c, iname.c, isave.c)
  4142. Restructures some files to better separate the language interpreters
  4143. from their support code. (gconfig.c, iconfig.c, iinit.c)
  4144. Restructures some files to better separate the language interpreters
  4145. from the graphics core. (iastate.h, iastruct.h, ialloc.c)
  4146. Allows the operands of cshow to be in either order on the stack. Adobe
  4147. interpreters apparently allow this, even though it's not documented.
  4148. (zchar2.c)
  4149. Adds a hack in cvs to truncate non-standard operator names, rather than
  4150. giving a rangecheck, to work around the "max err string" problem in some
  4151. common error handlers. (ztype.c)
  4152. Changes the print string for unregistered operators from operator_0x... to
  4153. @0x.... (iutil.c)
  4154. Changes the garbage collector so it tries to allocate a large mark stack, to
  4155. avoid going into its 'slow' mode if the mark stack overflows. (igc.c)
  4156. </pre><h3><a name="V3.38_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  4157. Fixes bugs:
  4158. - Stroked text used the text matrix, rather than just the
  4159. CTM, for scaling the line width, which could lead to inappropriately
  4160. wide lines. (gs_pdf.ps)
  4161. - Fonts based on other than a 1000-unit scale (i.e., with a
  4162. FontMatrix other than [0.001 0 0 0.001 0 0]) didn't scale Widths to
  4163. match the font scaling. (pdf_font.ps)
  4164. Implements the PDF 1.1 color space extensions, except for Lab space.
  4165. (gs_pdf.ps, pdf_draw.ps)
  4166. Implements the Rotate key for pages. (pdf_main.ps)
  4167. </pre><h3><a name="V3.38_Streams"></a>Streams</h3><pre>
  4168. Fixes bugs:
  4169. - When the garbage collector closed a file stream, the stream
  4170. incorrectly attempted to free the buffer. (stream.c)
  4171. Separates out some stream implementations to better distinguish the
  4172. graphics core from the language interpreters. (smtf.h, sfilter1.c,
  4173. smtf.c, srld.c, srle.c)
  4174. </pre><h3><a name="V3.38_Library"></a>Library</h3><pre>
  4175. Fixes bugs:
  4176. - Compressing characters being entered in the cache could cause an
  4177. invalid memory access. (gsbitops.c)
  4178. - The setbbox bounding box check was slightly inaccurate.
  4179. (gsdps1.c)
  4180. - makepattern could create structures in global VM pointing to
  4181. structures in local VM. (gscolor2.h, gspcolor.c)
  4182. - Out-of-range values during CIE color conversion led to random
  4183. results. (gscie.c)
  4184. - On output devices with non-inverted Y axes (such as MS Windows),
  4185. Interpolated images would smash memory. (gsimage.c)
  4186. - 90 degree rotated zero-width images caused an invalid memory
  4187. access. (gsimage1.c)
  4188. - If #copies was zero, showpage could create bogus empty output
  4189. files. (gdevprn.c)
  4190. - PageCount didn't take #copies into account. (gsdevice.c)
  4191. - Indexed or Separation colors with a CIE base or alternate space
  4192. didn't work. (gscie.h, gscie.c)
  4193. Implements triangular line caps and joins, in anticipation of adding
  4194. a PCL5 interpreter. (gsline.h, gxstroke.c)
  4195. Moves some procedures around for better separation of library from
  4196. interpreter. (gsinit.c, gslib.c, gsmain.c, gsmisc.c)
  4197. Moves the standard allocator from the interpreter to the library.
  4198. (gsalloc.h, gxalloc.h, gxobj.h, gsalloc.c)
  4199. Starts to change the representation of paths slightly to make it possible to
  4200. identify arcs. This change is backward-compatible for all code except
  4201. callers of gx_path_add_arc. (gxpath.h, gspath1.c, gxpath.c, gxstroke.c)
  4202. Adds some framework for keeping track of RasterOp and "transparency" in the
  4203. graphics state, although these don't actually have any effect yet.
  4204. (gsrop.h, gsropt.h, gsstate.h, gxcldev.h, gzstate.h, gsrop.c, gsstate.c,
  4205. gxclist.c, gxclread.c)
  4206. Adds a compile-time option for using the Adobe RGB&lt;-&gt;CMYK conversion rules.
  4207. (gxdcconv.c)
  4208. Adds a driver procedure for identifying band devices. This change is
  4209. backward-compatible for all existing devices. (gdevmem.h, gxdevice.h,
  4210. gsdevice.c, gxclip2.c, gxclist.c, gxcpath.c)
  4211. Speeds up gray-scale images on devices requiring banding, and enables
  4212. further optimizations, by reintroducing the distinction between banded and
  4213. non-banded devices. (gxdevice.h, gdevprn.c, gsimage1.c)
  4214. Reduces the size of the band list for halftoned images by encoding tile
  4215. indices more compactly. (gxcldev.h, gxclist.h, gxclist.c, gxclread.c)
  4216. Extends the band list so it can cache more than 256 halftone tiles, and to
  4217. make better decisions about tile caching. (gxcldev.h, gxclist.h, gxclist.c,
  4218. gxclread.c)
  4219. </pre>
  4220. <h2><a name="Version3.37"></a>Version 3.37 (limited) (5/11/95)</h2>
  4221. <p>
  4222. Another bug fix release distributed only to customers.
  4223. <h3><a name="V3.37_Documentation"></a>Documentation</h3><pre>
  4224. Fixes bugs:
  4225. - Some documentation about parameter lists was incorrect.
  4226. (gsparam.h)
  4227. - The documentation did not note that one cannot "pipe" PDF files
  4228. into the interpreter. (use.doc)
  4229. Adds documentation for the BJC-600 to devices.doc. (devices.doc)
  4230. </pre><h3><a name="V3.37_Procedures"></a>Procedures</h3><pre>
  4231. Changes the debugging switch for OS calls from -Z0 to -Ze, and adds -Z0 for
  4232. high-level GC tracing. (use.doc, gp_unifs.c, ialloc.c, igc.c)
  4233. </pre><h3><a name="V3.37_Utilities"></a>Utilities</h3><pre>
  4234. Fixes bugs:
  4235. - The ps2ascii shell script included an erroneous @d. (ps2ascii)
  4236. Enhances ps2ascii to output color and rectangle fill/stroke information if
  4237. COMPLEX is defined. (ps2ascii.ps)
  4238. </pre><h3><a name="V3.37_Drivers"></a>Drivers</h3><pre>
  4239. Fixes bugs:
  4240. - the BJC-600 driver didn't handle BitsPerPixel correctly.
  4241. (gdevcdj.c)
  4242. </pre><h3><a name="V3.37_Fonts"></a>Fonts</h3><pre>
  4243. Fixes bugs:
  4244. - Some buggy Type 1 fonts confused the Type 1 font reader.
  4245. (gs_fonts.ps, gs_type1.ps, pdf_font.ps)
  4246. </pre><h3><a name="V3.37_Interpreter_PostScript"></a>Interpreter (PostScript)</h3><pre>
  4247. Fixes bugs:
  4248. - .registerencoding didn't accept mixedarrays, which could cause an
  4249. error if an encoding was loaded long after initialization. (zfont2.c)
  4250. - If a program did a lot of saves and restores, the garbage
  4251. collector could get invoked much too often. (iastate.h, ialloc.c, igc.c,
  4252. isave.c)
  4253. Changes the name of the rectappend operator to .rectappend, since it isn't a
  4254. standard PostScript operator. (zdps1.c)
  4255. </pre><h3><a name="V3.37_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  4256. Fixes bugs:
  4257. - PDF files didn't interact properly with ps2ascii. (gs_pdf.ps)
  4258. - setdash wouldn't accept a packed array. (zgstate.c)
  4259. - PDF files with incorrect generation numbers in object references
  4260. produced an error rather than a warning. (pdf_base.ps)
  4261. </pre>
  4262. <h2><a name="Version3.36"></a>Version 3.36 (limited) (5/4/95)</h2>
  4263. <p>
  4264. This is a limited-distribution release for distributing bug fixes to a few
  4265. customers.
  4266. <h3><a name="V3.36_Documentation"></a>Documentation</h3><pre>
  4267. Adds some environment variables to the man page. (gs.1)
  4268. </pre><h3><a name="V3.36_Procedures"></a>Procedures</h3><pre>
  4269. Adds the psmono device to all 32-bit configurations. (*.mak)
  4270. Moves the psmono and 'bit' devices to DEVICE_DEVS12 to avoid exceeding the
  4271. 120-character maximum length of the DOS command line. (*.mak)
  4272. </pre><h3><a name="V3.36_Drivers"></a>Drivers</h3><pre>
  4273. Changes the pgm[raw] and ppm[raw] drivers so they do *not* automatically
  4274. switch to pbm or pgm/ppm respectively if this is possible for the particular
  4275. page being rendered; adds pgnm[raw] and pnm[raw] drivers that *do* do this.
  4276. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE. However, existing programs will
  4277. still work; they just won't produce the smallest and simplest possible
  4278. output. (devs.mak, gdevpbm.c)
  4279. </pre><h3><a name="V3.36_Interpreter"></a>Interpreter</h3><pre>
  4280. Fixes bugs:
  4281. - A multi-level restore didn't free gstates allocated by
  4282. intermediate saves, causing some global VM to be lost until a garbage
  4283. collection. (isave.h, isave.c, zvmem.c)
  4284. Speeds up restore by skipping the scan of the character cache if no new
  4285. names have been allocated since the save. (zfont.c)
  4286. Extends the client API to allow for popping return values off the operand
  4287. stack. (imain.h, gs.c, gsmain.c)
  4288. </pre><h3><a name="V3.36_Library"></a>Library</h3><pre>
  4289. Modifies the character oversampling algorithms to help prevent dropouts.
  4290. (gsbitops.c, gschar.c)
  4291. </pre>
  4292. <h2><a name="Version3.35"></a>Version 3.35 (internal) (5/2/95)</h2>
  4293. <p>
  4294. This is another internal "snapshot" version.
  4295. <h3><a name="V3.35_Documentation"></a>Documentation</h3><pre>
  4296. Fixes bugs:
  4297. - Some of the file names in the `man' page had gotten out of date.
  4298. (gs.1)
  4299. - Two references to .PageCount hadn't been changed to PageCount.
  4300. (language.doc, devarch.doc)
  4301. </pre><h3><a name="V3.35_Procedures"></a>Procedures</h3><pre>
  4302. Puts writeppmfile back in the standard Unix and DV/X configurations, since
  4303. gsftopk uses it. Also puts the PDF reader in all 32-bit configurations.
  4304. (*.mak)
  4305. Moves the BMP devices to DEVICE_DEVS11 to avoid exceeding the 120-character
  4306. maximum length of the DOS command line. (bcwin.mak, bcwin32.mak, os2.mak)
  4307. </pre><h3><a name="V3.35_Utilities"></a>Utilities</h3><pre>
  4308. Fixes bugs:
  4309. - unix-lpr.sh didn't handle 32-bit devices. (unix-lpr.sh)
  4310. - unix-lpr.sh still used the name .PageCount rather than PageCount.
  4311. (unix-lpr.sh)
  4312. - font2c gave an error when trying to write general procedures in
  4313. font dictionaries. (font2c.ps)
  4314. Adds a pdf2dsc.ps utility for writing out fake DSC-compliant PostScript code
  4315. to invoke the PDF reader, for the benefit of viewer programs that aren't
  4316. PDF-aware. (unix-end.mak, pdf2dsc.ps)
  4317. </pre><h3><a name="V3.35_Drivers"></a>Drivers</h3><pre>
  4318. Fixes bugs:
  4319. - The TIFF drivers put out incorrect PageNumber values.
  4320. (gdevtfax.c)
  4321. - Printer (and file output) devices got closed and reopened
  4322. unnecessarily when changing parameters. (gdevprn.c)
  4323. - Printer (and file output) devices didn't check for invalid formats
  4324. following a % in OutputFile. (devs.mak, gdevprn.c)
  4325. - 1-bit memory devices were not considered page devices, unlike all
  4326. other memory devices. (gsdevice.c)
  4327. - The black-and-white H-P printers didn't close the printer
  4328. properly, causing printing not to happen under MS Windows. (gdevprn.c)
  4329. - Some compilers didn't like initializing a const char * to NULL.
  4330. (gdevlbp8.c)
  4331. Changes the X Windows driver so that if Ghostview specifies a bounding box,
  4332. this also sets ImagingBBox. (gdevxini.c)
  4333. At the request of a customer, adds 1-, 4-, 8-, 24-, and 32-bit-deep memory
  4334. devices that store bits in 32-bit units rather than byte units. (gdevmem.h,
  4335. gxdevmem.h, gdevmem.c, gdevm1.c, gdevm2.c, gdevm4.c, gdevm8.c, gdevm16.c,
  4336. gdevm24.c, gdevm32.c)
  4337. Adds a new MS Windows printer driver, mswinpr2, that uses a DIB rather than
  4338. a DDB. (gdevwpr2.c)
  4339. </pre><h3><a name="V3.35_Platforms"></a>Platforms</h3><pre>
  4340. Fixes bugs:
  4341. - A routine wouldn't compile because of a bug in the SGI C compiler.
  4342. (zcsindex.c)
  4343. - Some declarations were inconsistent when compiling for segmented
  4344. environments. (gscie.c)
  4345. - A routine wouldn't compile because of a bug in the VAX C compiler.
  4346. (gscie.c)
  4347. Turns on compiler optimization for OS/2; adds PDF support and more devices
  4348. for Win32 and OS/2. (bcwin.mak, bcwin32.mak, os2.mak)
  4349. </pre><h3><a name="V3.35_Fonts"></a>Fonts</h3><pre>
  4350. Fixes bugs:
  4351. - Font loading used 'setglobal' without binding it, which caused
  4352. some EPS files to signal errors. (gs_fonts.ps)
  4353. - A zero-length string with offset = 0 in a binary object sequence
  4354. caused an error. (iscanbin.c)
  4355. Adds a LOCALFONTS switch that causes Ghostscript to load Type 1 fonts into
  4356. the current VM, rather than global VM. According to Adobe, this is what
  4357. Adobe printers (but not other interpreters, such as DPS and CPSI) do.
  4358. (gs_init.ps, gs_fonts.ps)
  4359. </pre><h3><a name="V3.35_Interpreter"></a>Interpreter</h3><pre>
  4360. Fixes bugs:
  4361. - The 'note' page size command caused pages to be clipped
  4362. improperly. (gs_statd.ps)
  4363. Adds "word" image devices. (gs_init.ps, zdevice.c)
  4364. Starts converting the interpreter to use an explicit instance pointer. This
  4365. is very fragmentary so far and not really supported. (main.h, gs.c,
  4366. gsmain.c, iccinit.c)
  4367. </pre><h3><a name="V3.35_Library"></a>Library</h3><pre>
  4368. Adds "word" image devices. (gsdevice.h, gsdevice.c)
  4369. Removes the requirement that ImagingBBox[0] and [1] be non-negative. (The
  4370. Adobe specification requires this, but Ghostscript supports more general
  4371. initial CTMs than the Adobe spec.) (gsdparam.c)
  4372. </pre>
  4373. <h2><a name="Version3.34"></a>Version 3.34 (internal) (4/18/95)</h2>
  4374. <p>
  4375. This is a "snapshot" version made for internal purposes. It was never
  4376. released to anyone.
  4377. <h3><a name="V3.34_Documentation"></a>Documentation</h3><pre>
  4378. Updates commprod.doc to be fully consistent with the AGFPL. (commprod.doc)
  4379. </pre><h3><a name="V3.34_Procedures"></a>Procedures</h3><pre>
  4380. Fixes bugs:
  4381. - tar_x was out of date. (tar_x)
  4382. - tar_gs assumed that if any PC executables were present, gs.exe
  4383. would exist. (tar_gs)
  4384. - jpeg.mak said the current IJG version was 5b, but the makefiles
  4385. actually referred to version 5a. (jpeg.mak)
  4386. - The build rule for the LIPS III driver was incorrect. (devs.mak)
  4387. - Some definitions in the makefiles occurred out of order.
  4388. (ansihead.mak, cc-head.mak, gcc-head.mak, unixhead.mak, unixtail.mak)
  4389. - The build rule for dvx-gcc.mak was incorrect. (unix-end.mak)
  4390. </pre><h3><a name="V3.34_Interpreter"></a>Interpreter</h3><pre>
  4391. Restructures the CIE caches to move much more of the computation from color
  4392. mapping time to cache loading time. (zcie.c)
  4393. </pre><h3><a name="V3.34_Library"></a>Library</h3><pre>
  4394. Fixes bugs:
  4395. - Color conversion of 12-bit images was very slightly inaccurate.
  4396. (gxfrac.h)
  4397. Changes the transfer function, black generation, and undercolor removal
  4398. caches so that they sample at 1024 points and don't interpolate, rather than
  4399. sampling at 256 points and interpolating. This significantly improves the
  4400. speed of colored image rendering. ****** LIMITED TO 256 POINTS BECAUSE OF
  4401. O-STACK SIZE LIMIT. ****** (gxfmap.h, gxcmap.c)
  4402. Restructures the CIE caches to move much more of the computation from color
  4403. mapping time to cache loading time. (gscie.h, gscie.c)
  4404. </pre>
  4405. <h2><a name="Version3.33"></a>Version 3.33 (4/13/95)</h2>
  4406. <p>
  4407. A few more last-minute bug fixes. This is, finally, the first public
  4408. release since 3.12.
  4409. <h3><a name="V3.33_Documentation"></a>Documentation</h3><pre>
  4410. Fixes bugs:
  4411. - There was a reference to "VAX with OSF/1", which doesn't exist,
  4412. and an incorrect reference to VAX with Ultrix. (make.doc)
  4413. - The Unix makefiles incorrectly stated that gsdatadir was only
  4414. relevant to `make install'. (ansihead.mak, cc-head.mak, dgc-head.mak,
  4415. gcc-head.mak)
  4416. - Notes that DV/X users should use the zip version of the JPEG
  4417. library. (jpeg.mak)
  4418. </pre><h3><a name="V3.33_Procedures"></a>Procedures</h3><pre>
  4419. Fixes bugs:
  4420. - A command line had gotten too long for the MS-DOS shell.
  4421. (gs.mak)
  4422. - The VMS DEC C script didn't explicitly select DEC C.
  4423. (vms-decc.mak)
  4424. - The VMS MODULES.LIS omitted SPDIFF and ZFPDIFF. (modules.lis)
  4425. - The VMS script had an incorrect entry. (vms.mak)
  4426. - The `if' fix in 3.31 broke some Unix systems with different
  4427. implementations of sh. (unix-end.mak)
  4428. - The makefile definition of gscspace_h was out of order. (gs.mak)
  4429. - An extra ; got written in gconfig_.h on DV/X platforms.
  4430. (dvx-tail.mak)
  4431. - '.' was incorrectly prepended to the library search list on DV/X
  4432. platforms. (dgc-head.mak)
  4433. - The build rules for unix*.mak didn't work on DV/X. (unix-end.mak)
  4434. Adds a description of the -c quit switch to the help message. (gs.c)
  4435. For the DV/X platform, changes /usr/include to /djgpp/include as the place
  4436. to look for header files. I'm not sure this is always correct.
  4437. (dvx-tail.mak)
  4438. </pre><h3><a name="V3.33_Utilities"></a>Utilities</h3><pre>
  4439. Fixes bugs:
  4440. - ps2ascii would cause an error if given a font that didn't have an
  4441. 'X' character. (ps2ascii.ps)
  4442. - ps2ascii didn't intercept the Level 2 string display operators.
  4443. (ps2ascii.ps)
  4444. </pre><h3><a name="V3.33_Drivers"></a>Drivers</h3><pre>
  4445. Fixes bugs:
  4446. - The Stylus Color driver had an incorrect type name. (gdevstc.c)
  4447. </pre><h3><a name="V3.33_Platforms"></a>Platforms</h3><pre>
  4448. Fixes bugs:
  4449. - -dBitsPerPixel= didn't work properly for MS Windows or OS/2 PM.
  4450. (gdevmswn.c, gdevpm.c)
  4451. - The Win32 platform didn't compile properly. (memory_.h)
  4452. </pre><h3><a name="V3.33_Fonts"></a>Fonts</h3><pre>
  4453. Improves the font substitution algorithm to take the face name into account
  4454. in more cases. (gs_fonts.ps)
  4455. </pre><h3><a name="V3.33_Library"></a>Library</h3><pre>
  4456. Fixes bugs:
  4457. - Unrotated black-and-white bitmaps with an inverted device X axis
  4458. were displaced in X. (gsimage1.c)
  4459. </pre>
  4460. <h2><a name="Version3.32"></a>Version 3.32 (4/7/95)</h2>
  4461. <p>
  4462. More bug fixes. This is still not a public release.
  4463. <h3><a name="V3.32_Documentation"></a>Documentation</h3><pre>
  4464. Further clarifies the "two-phase commit" algorithm for device put_params
  4465. procedures. (drivers.doc, gsparam.h)
  4466. Adds a note about a compiler bug under Ultrix 4.4. (make.doc)
  4467. </pre><h3><a name="V3.32_Procedures"></a>Procedures</h3><pre>
  4468. Fixes bugs:
  4469. - Some installation scripts could fail because some implementations
  4470. of sh take the status of an `if' condition as the status of the `if'
  4471. command. (unix-end.mak)
  4472. Adds "maintainer-clean" as a synonym for "real-clean". (gs.mak)
  4473. Adds a -dORIENT1 switch that defines orientation = 1 as portrait for
  4474. setpage[params]. (use.doc, gs_init.ps, gs_lev2.ps, gs_statd.ps)
  4475. </pre><h3><a name="V3.32_Utilities"></a>Utilities</h3><pre>
  4476. Fixes bugs:
  4477. - ps2ascii didn't redirect %stdout completely. (ps2ascii.ps)
  4478. - ps2ascii didn't preserve the local/global VM mode. (ps2ascii.ps)
  4479. - ps2ascii didn't handle fonts with an all-zero or missing bounding
  4480. box correctly. (ps2ascii.ps)
  4481. - viewpbm didn't scale the image properly. (viewpbm.ps)
  4482. </pre><h3><a name="V3.32_Drivers"></a>Drivers</h3><pre>
  4483. Fixes bugs:
  4484. - The CGM driver wrote out an incorrect color precision value.
  4485. (gdevcgm.c)
  4486. - The SGI bitmap driver was named "sgi" rather than "sgirgb".
  4487. (gdevsgi.c)
  4488. - The PCX driver didn't round up an odd line length for gray-scale
  4489. output. (gdevpcx.c)
  4490. - The PCX driver produced incorrect output for gray-scale or 4- or
  4491. 8-bit color. (gdevpcx.c)
  4492. </pre><h3><a name="V3.32_Platforms"></a>Platforms</h3><pre>
  4493. Fixes bugs:
  4494. - The VMS MODULES.LIS file had gotten out of sync with the Unix
  4495. makefiles (again). (modules.lis)
  4496. </pre><h3><a name="V3.32_Interpreter"></a>Interpreter</h3><pre>
  4497. Fixes bugs:
  4498. - Some compilers won't accept '\l', even in the false arm of a
  4499. preprocessor conditional. (scanchar.h)
  4500. - A procedure was declared with an incorrect argument type.
  4501. (zcsindex.c)
  4502. - The scaled font cache didn't copy XUIDs properly. (bfont.h,
  4503. zfont.c, zfont2.c)
  4504. - status could return true even if the file was closed. (zfile.c)
  4505. </pre><h3><a name="V3.32_Streams"></a>Streams</h3><pre>
  4506. Fixes bugs:
  4507. - The LZW filters were factored improperly. (modules.lis, gs.mak,
  4508. vms.mak, slzwx.h, slzwc.c, slzwd.c)
  4509. Changes the DCTDecode filter for compatibility with Adobe implementations:
  4510. - Ignore bytes preceding the 0xff that marks the beginning of the
  4511. JPEG data. (sdctd.c)
  4512. - Set MAX_BLOCKS_IN_MCU to 64. (jpeg.mak, gsjpglib.h)
  4513. </pre><h3><a name="V3.32_Library"></a>Library</h3><pre>
  4514. Fixes bugs:
  4515. - The "two-phase commit" for device parameters wasn't fully
  4516. implemented. (gsiodev.c)
  4517. - Asking for a device color map before the device was opened could
  4518. cause a crash. (gsdparam.c)
  4519. - The scaled font cache didn't copy XUIDs properly. (gxfont.h,
  4520. gsfont.c)
  4521. - 90 or 270 degree rotated black-and-white bitmaps (including
  4522. bitmapped fonts such as downloaded TrueType fonts) with an inverted device Y
  4523. axis were displaced in Y. (gsimage1.c)
  4524. - On high-resolution devices, parts of regions filled with halftones
  4525. could fail to be painted. (gxclist.c)
  4526. </pre>
  4527. <h2><a name="Version3.31"></a>Version 3.31 (4/2/95)</h2>
  4528. <p>
  4529. A few final bug fixes for the release. Includes significant speed
  4530. improvements for CIE color, and a first draft of a low-level CGM driver.
  4531. <h3><a name="V3.31_Documentation"></a>Documentation</h3><pre>
  4532. Notes that the BJC600 driver also works for the BJC4000. (devs.mak)
  4533. </pre><h3><a name="V3.31_Procedures"></a>Procedures</h3><pre>
  4534. At the suggestion of a user, changes the default protections for installed
  4535. files on Unix and DV/X systems from 775/664 to 755/644. (*head.mak)
  4536. At the suggestion of a user, adds a -dNOCIE switch to substitute DeviceGray
  4537. and DeviceRGB color spaces for CIEBasedA and CIEBasedABC spaces
  4538. respectively. (gs_init.ps, gs_lev2.ps)
  4539. </pre><h3><a name="V3.31_Utilities"></a>Utilities</h3><pre>
  4540. Changes gslp and its relatives to use ISOLatin1Encoding for output, and to
  4541. send almost all printout to stderr rather than stdout (for use as a filter
  4542. under Unix). (gslp.ps)
  4543. </pre><h3><a name="V3.31_Drivers"></a>Drivers</h3><pre>
  4544. Fixes bugs:
  4545. - The fax/TIFF driver no longer exported gdev_fax_print_page, which
  4546. the DigiFax driver needs. (gdevtfax.c)
  4547. - The color DeskJet drivers gave an error for BitsPerPixel=3.
  4548. (gdevcdj.c)
  4549. - The "Windows printer" driver was setting its margins in points
  4550. rather than inches. (gdevwprn.c)
  4551. - The BJ10 and BJ200 drivers calculated vertical skip distances
  4552. wrong. (gdevbj10.c)
  4553. - The BJ10 and BJ200 drivers output two garbage bytes following the
  4554. initialization string. (gdevbj10.c)
  4555. Adds a preliminary driver that produces low-level CGM output. (gdevcgml.h,
  4556. gdevcgmx.h, gdevcgm.c, gdevcgml.c)
  4557. </pre><h3><a name="V3.31_Platforms"></a>Platforms</h3><pre>
  4558. Fixes bugs:
  4559. - The VMS files had gotten out of sync with the other makefiles
  4560. (again). (modules.lis, vms.mak)
  4561. - The MS Windows and OS/2-PM drivers hadn't been updated to handle
  4562. BitsPerPixel as a standard parameter. (gdevmswn.c, gdevpm.c)
  4563. Removes the TIFF drivers from the Windows platform, and restores the BMP
  4564. drivers. (bcwin.mak)
  4565. </pre><h3><a name="V3.31_Interpreter"></a>Interpreter</h3><pre>
  4566. Fixes bugs:
  4567. - The CIE color mapping cache could produce anomalous results
  4568. for the default (all zero values) color if some of the mapping
  4569. functions were non-linear. (zcie.c)
  4570. - MultiMaster font substitution got confused if substituted
  4571. fonts had their FontName changed. (gs_fonts.ps)
  4572. - A procedure was declared as private inconsistently. (zdevcal.c)
  4573. - Some pointer relocation procedures didn't work correctly on
  4574. systems with sizeof(T *) &gt; sizeof(int). (istack.c)
  4575. - The freelist vector wasn't large enough to handle graphics state
  4576. objects on 64-bit systems, leading to severe memory sandbars. (iastate.h)
  4577. - The debugging messages from the allocator had gotten inconsistent
  4578. and hard to use. (ialloc.c)
  4579. - Mixing save/restore with allocation could cause the GC never to
  4580. get run. (isave.c)
  4581. Speeds up the mapping of CIE colors. (zcie.c)
  4582. Adds a .namestring operator for getting the string of a name without having
  4583. to copy it. (zstring.c)
  4584. </pre><h3><a name="V3.31_Streams"></a>Streams</h3><pre>
  4585. Fixes bugs:
  4586. - The IJG code needed a couple more flags set for IJG v6.
  4587. (gsjmorec.h)
  4588. - Some pointer relocation procedures didn't work correctly on
  4589. systems with sizeof(T *) &gt; sizeof(int). (stream.c)
  4590. </pre><h3><a name="V3.31_Library"></a>Library</h3><pre>
  4591. Fixes bugs:
  4592. - The end-test for the fast case of monobit images was wrong,
  4593. leading to out-of-range memory accesses. (gsimage1.c)
  4594. - Monobit images rotated by 270 degrees displayed incorrectly.
  4595. (gsimage1.c)
  4596. - If a Type 1 font used hint replacement, some parts of the outline
  4597. before the hint replacement ignored the old hints. (gstype1.c)
  4598. - Some compilers didn't accept a variable name that was the same as
  4599. a macro with parameters. (gxht.c)
  4600. - A procedure was declared as private inconsistently. (gdevm1.c)
  4601. - Some pointer relocation procedures didn't work correctly on
  4602. systems with sizeof(T *) &gt; sizeof(int). (gdevmem.c, gsstate.c)
  4603. - The test on FORCE_HINTS_TO_BIG_PIXELS was backwards. This bug was
  4604. supposed to have been fixed in 3.30, but somehow the fix got lost.
  4605. (gstype1.c)
  4606. - 90 degree rotated monobit images could drop some scan lines.
  4607. (gsimage*.c)
  4608. Speeds up the mapping of CIE colors. (gscie.h, gxcmap.h, gscie.c, gxcmap.c)
  4609. Speeds up color images (non-interpolated, 1-8 bits per component) by adding
  4610. a cache for mapped color values. (gximage.h, gsimage.c, gsimage1.c,
  4611. gsimage2.c)
  4612. Shrinks the band list file slightly by using only as many bytes as necessary
  4613. for writing out colors, rather than always using 4 bytes. (gxclist.c,
  4614. gxclread.c)
  4615. </pre>
  4616. <h2><a name="Version3.30"></a>Version 3.30 (beta) (3/21/95)</h2>
  4617. <p>
  4618. More bug fixes. The garbage collector and PDF interpreter finally appear to
  4619. work reliably.
  4620. <h3><a name="V3.30_Documentation"></a>Documentation</h3><pre>
  4621. Fixes bugs:
  4622. - language.doc had gotten out of date. (language.doc)
  4623. </pre><h3><a name="V3.30_Utilities"></a>Utilities</h3><pre>
  4624. Fixes bugs:
  4625. - Changes in the handling of %stdout had broken ps2ascii.
  4626. (gs_dps1.ps, ps2ascii.ps)
  4627. Improves ps2ascii to skip empty strings and not output redundant font
  4628. changes. (ps2ascii.ps)
  4629. </pre><h3><a name="V3.30_Drivers"></a>Drivers</h3><pre>
  4630. Fixes bugs:
  4631. - The fax and TIFF drivers didn't free all their working storage.
  4632. (This bug was fixed in 3.27, and the fix somehow got lost.) (gdevtfax.c)
  4633. Adds new drivers:
  4634. - sgirgb, to produce SGI RGB raster files. (gdevsgi.c)
  4635. - tiffcrle, to produce output in TIFF "CCITT 1-dimensional Huffman
  4636. RLE" format (Group 3 fax with no EOLs). (gdevtfax.c)
  4637. - tifflzw, to produce output in TIFF LZW format (using the existing
  4638. CCITTFaxEncode filter code). (gdevtfax.c)
  4639. - tiffpack, to produce output in TIFF PackBits format. (gdevtfax.c)
  4640. </pre><h3><a name="V3.30_Interpreter_PostScript"></a>Interpreter (PostScript)</h3><pre>
  4641. Fixes bugs:
  4642. - If the current screen was set with a halftone, setcolorscreen
  4643. wouldn't accept what currentcolorscreen returned. (gs_dps1.ps)
  4644. - debug_print_full_ref didn't print t_oparray objects correctly.
  4645. (idebug.c)
  4646. - The internal data for a font could be allocated in a different VM
  4647. space from the font dictionary, causing dangling pointers. (zfont2.c)
  4648. - definefont became confused if a program failed to delete the FID
  4649. from a re-encoded font. (This is questionable PostScript, but dvips does
  4650. it.) (zfont2.c)
  4651. - If a BuildChar procedure did a save before the setcachedevice and
  4652. a restore afterwards, the memory manager would attempt to free the cache
  4653. device after it had already been freed by the restore, leading to damaged
  4654. freelists. (gschar.c)
  4655. - setresolution (in statusdict) was ignored. (gs_lev2.ps,
  4656. gs_statd.ps)
  4657. - If a string containing a string containing a \ was passed to the
  4658. token operator, the \ was not recognized properly in a Level 2 environment.
  4659. (iscan.c)
  4660. - A couple of default dictionary sizes had become too small.
  4661. (iinit.c)
  4662. Makes DOS EOF (control-Z, 0x1a) a self-delimiting token, like left bracket.
  4663. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE, but it should not have any adverse
  4664. effects. (gs_init.ps, iscan.c, iscantab.c)
  4665. Distinguishes arch_small_memory from arch_ints_are_short, and adds a new
  4666. -Z. switch to force small-memory table sizes regardless of actual memory
  4667. size. (dstack.h, idict.c, zpcolor.c, zvmem2.c)
  4668. </pre><h3><a name="V3.30_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  4669. Fixes bugs:
  4670. - A page with no Contents caused an error. (pdf_main.ps)
  4671. - Executing a Form resource caused an error. (pdf_draw.ps)
  4672. - Outlines with open entries caused an error. (pdf_main.ps)
  4673. - Embedded Type 3 fonts caused an error. (pdf_draw.ps, pdf_font.ps)
  4674. - The Widths array of fonts was ignored. (pdf_font.ps)
  4675. </pre><h3><a name="V3.30_Library"></a>Library</h3><pre>
  4676. Fixes bugs:
  4677. - Freeing an entry in the pattern cache didn't clear the pointers to
  4678. the raster data, producing a dangling reference that confused the garbage
  4679. collector. (gxpcmap.c)
  4680. - The test on FORCE_HINTS_TO_BIG_PIXELS was backwards. (gstype1.c)
  4681. - The pattern cache bookkeeping was incorrect. (gxpcmap.c)
  4682. - Depending on the order in which pointers were relocated, the
  4683. garbage collector could incorrectly relocate pointers from the character
  4684. cache. (gxfcache.h, gsfont.c, gxccache.c, gxccman.c)
  4685. Changes the fast case of black-and-white images so it aligns scaled images
  4686. with the device coordinate system, to improve performance. (gsimage1.c)
  4687. Extends the coordinate transformation routines to handle absurdly large
  4688. translation values in the CTM as long as the final device device coordinates
  4689. are within fixed-point range. (gxmatrix.h, gxpath.h, gschar.c, gscoord.c,
  4690. gsmatrix.c, gxhint2.c, gxpath2.c)
  4691. Distinguishes arch_small_memory from arch_ints_are_short, and adds a new
  4692. -Z. switch to force small-memory table sizes regardless of actual memory
  4693. size. (gdevprn.h, gxpcolor.h, gzht.h, std.h, gsfont.c, gsht1.c, gspaint.c,
  4694. gsstate.c, gxcht.c, gxht.c, gxpcmap.c)
  4695. </pre>
  4696. <hr>
  4697. <h2><a name="Version3.29"></a>Version 3.29 (internal) (3/8/95)</h2>
  4698. <p>
  4699. Another bug-fix release. This release processes all but 7 of the 500+ files
  4700. on the Adobe Acrobat Sampler CD-ROM without giving an error. The garbage
  4701. collector finally appears to be stable. This version was created for a
  4702. customer; it was not released to the general public or even to the beta test
  4703. list.
  4704. <h3><a name="V3.29_Documentation"></a>Documentation</h3><pre>
  4705. Documents the possible need to set LD_RUN_PATH on SVR4 platforms.
  4706. (make.doc)
  4707. Expands the description of the device life cycle, and of the constraints on
  4708. put_params procedures. (drivers.doc)
  4709. Adds an explicit copyright notice to the Aladdin Ghostscript Free Public
  4710. License. (PUBLIC)
  4711. Clarifies that the Win32s documentation also applies to Windows NT.
  4712. (make.doc)
  4713. </pre><h3><a name="V3.29_Procedures"></a>Procedures</h3><pre>
  4714. Removes the obsolete writeppmfile operator from the standard configurations.
  4715. (gs.mak)
  4716. Changes the Watcom makefiles to work properly with Watcom C/C++ 10.0.
  4717. (make.doc, msc.mak, watc.mak, watcwin.mak, wccommon.mak)
  4718. </pre><h3><a name="V3.29_Utilities"></a>Utilities</h3><pre>
  4719. Adds a wftopfa utility for converting the Wadalab fonts to usable Type 0 and
  4720. Type 1 form. (wftopfa)
  4721. </pre><h3><a name="V3.29_Fonts"></a>Fonts</h3><pre>
  4722. Fixes bugs:
  4723. - Entries added automatically by definefont (FontInfo, ExactSize)
  4724. could cause a font dictionary to become full. (gs_fonts.ps, gs_type1.ps)
  4725. - wrfont.ps couldn't deal with very long CharStrings. (wrfont.ps)
  4726. Makes the name of the Fontmap file an easily editable parameter.
  4727. (gs_fonts.ps)
  4728. Adds a utility for converting the Wadalab font to usable Type 0 and Type 1
  4729. form. (wrfont.ps, wftopfa.ps)
  4730. </pre><h3><a name="V3.29_Drivers"></a>Drivers</h3><pre>
  4731. Fixes bugs:
  4732. - The top margin for printer (and fax) devices was computed
  4733. incorrectly, using the X resolution rather than the Y resolution.
  4734. (gdevprn.h)
  4735. - Changing the page size or resolution of a printer device closed
  4736. and reopened the device unnecessarily. (gdevprn.c)
  4737. - Changing the page size of the X11 device didn't change the initial
  4738. matrix, so (0,0) didn't wind up in the lower left corner. (gdevx.c)
  4739. - The bit devices didn't allow changing the number of bits per
  4740. pixel. (gdevbit.c)
  4741. Adds a settable .IsPageDevice boolean device parameter to the X Windows
  4742. driver. The default value is true. (gdevx.h, gdevx.c)
  4743. Changes the PPM driver so that it chooses between PBM/PGM/PPM on a
  4744. page-by-page basis, rather retaining the most general format ever required
  4745. by any page. (gdevpbm.c)
  4746. </pre><h3><a name="V3.29_Interpreter_PostScript"></a>Interpreter (PostScript)</h3><pre>
  4747. Fixes bugs:
  4748. - The current page device could be null, rather than an empty
  4749. dictionary. (igstate.h, zchar.c, zdevice.c, zdevice2.c, zgstate.c)
  4750. - The scanner didn't signal an error for names or strings that were
  4751. too long. (iscan.c)
  4752. - A missing header file upset the VAX compilers. (ztype.c)
  4753. - Some places expecting dictionary operands didn't check the type,
  4754. because they incorrectly assumed that the dict_check_read/write macro did
  4755. this. (idict.h, zdevice2.c, zht2.c, zmisc2.c)
  4756. - The definition of quit in systemdict wasn't disabled within
  4757. encapsulated jobs. (gs_lev2.ps)
  4758. - resetfile gave an error if the file was closed, rather than doing
  4759. nothing. (zfileio.c)
  4760. - The scanner attempted to free an uninitialized pointer if it
  4761. reached EOF after a / or //. (iscan.c)
  4762. - A restore in a different file than the corresponding save caused
  4763. an invalidrestore error. (gs_init.ps)
  4764. - The default value of EndOfData in RunLengthDecode streams was set
  4765. to false. (zfilter.c)
  4766. - .registerencoding didn't invoke the save machinery correctly,
  4767. leading to GC problems. (zfont2.c)
  4768. - The facility for overriding .printerror didn't work correctly.
  4769. (gs_init.ps)
  4770. - gs_run_file_open wasn't public. (gsmain.c)
  4771. - The interpreter returned e_undefined for undefined error names,
  4772. rather than the error code. (interp.c)
  4773. - Allocation in system memory (specifically, adding a block to a
  4774. stack) couldn't trigger automatic garbage collection. (interp.c, igc.c,
  4775. zvmem2.c)
  4776. - A restore in a different invocation of gs_run_string than the
  4777. corresponding save would stop reading the string. (files.h, gsmain.c,
  4778. iccinit.c, zfile.c)
  4779. - The Type 1 rasterizer state included a pointer into the middle of
  4780. an object, confusing the garbage collector. (zchar1.c, zfont1.c)
  4781. - When the garbage collector deleted a name, it didn't zero out the
  4782. string pointer. (iname.c)
  4783. - On platforms where obj_align_mod &gt; 4, the memory manager could
  4784. access 1 beyond the end of its freelists. (iastate.h)
  4785. - makefont and scalefont didn't check the type of their font operand
  4786. soon enough. (zfont.c)
  4787. - restore didn't finalize the objects it freed. (isave.c)
  4788. - restore didn't free system VM. (isave.c)
  4789. - Freeing a ref array that occupied an entire chunk didn't free the
  4790. chunk. (ialloc.c)
  4791. Adds a .runexec operator which implements the 'close if error' function of
  4792. run. (zfile.c, zfileio.c)
  4793. Moves the obsolete writeppmfile operator into a separate file. (zfileio.c,
  4794. zwppm.c)
  4795. Makes the statistics returned by the memory manager more accurate.
  4796. (ialloc.c, zvmem.c)
  4797. Adds a (read-only) %Calendar% IODevice. (zdevcal.c)
  4798. Adds a "hook" in the character operators to allow external code to
  4799. intervene; this is needed for a customer. (ichar.h, zchar.c, zchar2.c)
  4800. Makes control-D (0x04) a self-delimiting token, like left bracket. THIS IS
  4801. A NON-BACKWARD-COMPATIBLE CHANGE, but it should not have any adverse
  4802. effects. (scanchar.h, iscan.c, iscantab.c)
  4803. Changes the error stack printout so that it puts line breaks between items
  4804. iff the items are being printed with ==. (gs_init.ps)
  4805. Uses finalization to close streams being freed. (igc.c, zfile.c, ziodev.c)
  4806. </pre><h3><a name="V3.29_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  4807. Fixes bugs:
  4808. - Embedded Type 1 fonts that invoked save and restore while being
  4809. read caused an error. (pdf_font.ps)
  4810. - Large files that referenced a non-alphabetic font for the first
  4811. time late in the file could cause an error. (pdf_main.ps)
  4812. </pre><h3><a name="V3.29_Streams"></a>Streams</h3><pre>
  4813. Fixes bugs:
  4814. - SubFileDecode streams didn't copy partial matches of the EOD
  4815. string into their output. (sfilter1.c)
  4816. Makes switching between read and write modes a stream procedure. (stream.h,
  4817. sfile.c, sfileno.c, stream.c, zfileio.c)
  4818. Makes file streams close themselves when finalized. (We can't do this for
  4819. other streams, because finalization procedures aren't allowed to free
  4820. storage explicitly.) (stream.h, sfile.c, sfileno.c, stream.c)
  4821. </pre><h3><a name="V3.29_Library"></a>Library</h3><pre>
  4822. Fixes bugs:
  4823. - The obsolete files gcdefs.h and gsfile.c were still included in
  4824. the fileset.
  4825. - A number of places didn't deal with null patterns properly (p_tile
  4826. == 0). (gxdcolor.h, gspcolor.c, gxpcmap.c)
  4827. - The pattern tiling algorithm was numerically unstable, especially
  4828. if the X/YStep vectors were close to the axes. (gxcolor2.h, gspcolor.c,
  4829. gxpcmap.c)
  4830. - setdeviceparams checked the values of read-only byte array
  4831. parameters incorrectly. (gsdparam.c)
  4832. - The statistics macros in gxfill.c didn't use DO_NOTHING when
  4833. disabled. (gxfill.c)
  4834. - Changing the orientation of a device closed and reopened the
  4835. device unnecessarily. (gsdparam.c)
  4836. - ioerrors occurring when writing command lists weren't reported
  4837. properly. (gxclist.h, gxclist.c)
  4838. - Errors from device procedures weren't always propagated up to
  4839. clients. (gsimage1.c, gsimage3.c, gxclip2.c, gxclist.c)
  4840. - Overflowing the fixed-point translation values in the CTM caused a
  4841. floating point exception rather than a limitcheck. (gxmatrix.h, gscoord.c)
  4842. - charpath set the current point correctly, but didn't append a
  4843. moveto element to the path. (This mostly affected Mathematica output.)
  4844. (gzpath.h)
  4845. - Image devices mapped colors incorrectly. (gdevmem.c, gdevm16.c)
  4846. - On devices with color capability but fewer than 4 bits per pixel,
  4847. color halftones didn't work (and could cause an arithmetic exception).
  4848. (gxdither.c)
  4849. - Black-on-white memory devices didn't map colors properly.
  4850. (gdevprn.h, gxdevice.h, gxdevmem.h, gdevmem.c, gdevm1.c, gsdevice.c)
  4851. - Memory devices with a non-zero origin in their initial matrix
  4852. clipped the image improperly. (gsdevice.c)
  4853. - The Type 1 rasterizer state included a pointer into the middle of
  4854. an object, confusing the garbage collector. (gstype1.h, gxfont1.h,
  4855. gxtype1.h, gstype1.c, gxhint2.c)
  4856. - The band rasterizer could produce garbled output for images
  4857. (including characters) on 64-bit architectures. (gxclread.c)
  4858. - Bounding boxes (for pathbbox and setbbox) could be slightly
  4859. inaccurate. (gsmatrix.c)
  4860. - On 64-bit architectures, halftone tiles less than 16 bits wide
  4861. were handled incorrectly. (gxclist.c)
  4862. Adds an .IsPageDevice boolean device parameter (normally read-only).
  4863. (gsdparam.c)
  4864. Removes the library code for implementing the obsolete writeppmfile
  4865. operator. (gswppm.c)
  4866. Makes the default matrix (for initmatrix and defaultmatrix) a settable
  4867. parameter in the graphics state. (gscoord.h, gzstate.h, gscoord.c,
  4868. gsdevice.c, gsdparam.c)
  4869. Makes the statistics returned by the memory manager more accurate.
  4870. (gsmemory.h)
  4871. Adds a compile-time flag to choose whether or not to force Type 1 hints to
  4872. "big pixel" boundaries when oversampling. (gstype1.c)
  4873. Changes the .PageCount device parameter back to PageCount, because the
  4874. change broke some scripts. (gsdparam.c)
  4875. Adds optimization for 90 degree rotated images with pure colors.
  4876. (gximage.h, gsimage.c, gsimage1.c)
  4877. Changes the band rasterizer so that replicated halftone tiles are written on
  4878. the band list in unreplicated form. (gsbitops.h, gxcldev.h, gsbitops.c,
  4879. gxclist.c, gxclread.c, gxht.c)
  4880. Changes the .HWBitsPerPixel device parameter to BitsPerPixel. (drivers.doc,
  4881. language.doc, gdevcdj.c, gdevstc.c, gsdparam.c)
  4882. </pre>
  4883. <h2><a name="Version3.28"></a>Version 3.28 (beta) (2/13/95)</h2>
  4884. <p>
  4885. Another bug-fix beta release. The number of bugs being fixed in each of
  4886. these sub-releases does exceed the number of new bugs introduced, but the
  4887. latter number is discouragingly high.
  4888. <h3><a name="V3.28_Documentation"></a>Documentation</h3><pre>
  4889. Adds some information about handling VMS file attributes for files
  4890. transferred by FTP. (use.doc)
  4891. </pre><h3><a name="V3.28_Procedures"></a>Procedures</h3><pre>
  4892. Fixes bugs:
  4893. - unix-gcc.mak said the static linkage switch for SunOS was -Bstatic
  4894. rather than -static. (unix-gcc.mak)
  4895. - Some dependency lists in gs.mak were out of date. (gs.mak)
  4896. </pre><h3><a name="V3.28_Utilities"></a>Utilities</h3><pre>
  4897. Fixes bugs:
  4898. - markhint.ps didn't check for protected fonts. (markhint.ps)
  4899. </pre><h3><a name="V3.28_Drivers"></a>Drivers</h3><pre>
  4900. Fixes bugs:
  4901. - The cdj driver had a byte/char agreement problem. (gdevcdj.c)
  4902. - The cdj driver attempted to initialize a dynamic array.
  4903. (gdevcdj.c)
  4904. Removes the setting of InputAttributes and OutputAttributes from the H-P
  4905. drivers, since this causes more problems than it solves. (gdevdjet.c)
  4906. </pre><h3><a name="V3.28_Interpreter"></a>Interpreter</h3><pre>
  4907. Fixes bugs:
  4908. - makeoperator assigned incorrect attributes to operators. (bug
  4909. introduced in 3.27) (opdef.h, iinit.c, iutil.c, zmisc.c)
  4910. </pre><h3><a name="V3.28_Library"></a>Library</h3><pre>
  4911. Fixes bugs:
  4912. - gs_makeimagedevice didn't set the caller's pointer to the newly
  4913. created device. (bug introduced in 3.27) (gsdevice.c)
  4914. - There were still some mismatches between char * and byte * values.
  4915. (gsdparam.c)
  4916. - The halftone replication algorithm could produce inappropriately
  4917. large replicated masks. (gxht.c)
  4918. - stroke usually did the wrong thing for degenerate (single-point)
  4919. subpaths. (gxstroke.c)
  4920. </pre>
  4921. <h2><a name="Version3.27"></a>Version 3.27 (beta)(withdrawn) (2/8/95)</h2>
  4922. <p>
  4923. Yet another bug-fix beta release. This release had so many serious problems
  4924. (the most serious being at least one changed file that the release tool
  4925. failed to include in the fileset) that it was withdrawn less than a day
  4926. after it was issued.
  4927. <h3><a name="V3.27_Documentation"></a>Documentation</h3><pre>
  4928. Fixes bugs:
  4929. - The NEWS for 3.26 didn't mention the fact that the stdxxx stream
  4930. interface used by MS Windows, OS/2, and Macintosh implementations had
  4931. changed. (NEWS)
  4932. - The file public.doc wasn't distributed with the previous fileset.
  4933. Brings the NeXTSTEP documentation up to date for NeXTSTEP releases 3.2 and
  4934. subsequent. (make.doc)
  4935. </pre><h3><a name="V3.27_Procedures"></a>Procedures</h3><pre>
  4936. Fixes bugs:
  4937. - Some dependency lists in gs.mak were out of date. (gs.mak)
  4938. - A 'fi;' was missing in the Unix install script. (unix-end.mak)
  4939. - There was no VMS build script for the PDF options. (vms.mak)
  4940. - The VMS script used CC_QUALI instead of CC_QUAL in several places.
  4941. (vms.mak)
  4942. </pre><h3><a name="V3.27_Utilities"></a>Utilities</h3><pre>
  4943. Fixes bugs:
  4944. - ps2epsi's usage prompt referred to "pstoepsi". (ps2epsi)
  4945. - ps2epsi set PATH and LOCALPATH unilaterally. (ps2epsi)
  4946. Comments out the sample usage line at the end of viewjpeg.ps. (viewjpeg.ps)
  4947. </pre><h3><a name="V3.27_Drivers"></a>Drivers</h3><pre>
  4948. Fixes bugs:
  4949. - The fax and tiff drivers didn't free all of their working storage.
  4950. (gdevtfax.c)
  4951. Adds user-contributed drivers for the BJC 600 and ESC/P printers.
  4952. (devs.mak, gdevcdj.c)
  4953. </pre><h3><a name="V3.27_Platforms"></a>Platforms</h3><pre>
  4954. Fixes bugs:
  4955. - Some necessary casts of string parameters to (const byte *) were
  4956. omitted. (gp_mswin.c, gp_os2.c)
  4957. Adds the psmono and bit* drivers, and removes the p*m drivers, in the OS/2,
  4958. 32-bit MS-DOS, and 32-bit Windows configurations. (bcwin32.mak, os2.mak,
  4959. watc.mak)
  4960. </pre><h3><a name="V3.27_Fonts"></a>Fonts</h3><pre>
  4961. Fixes bugs:
  4962. - The Fontmap for Ultrix had somehow become slightly incorrect.
  4963. (Fontmap.Ult)
  4964. Removes the font file names from the dependency lists in cfonts.mak. This
  4965. makes cfonts.mak readily usable with any set of fonts, but it also means
  4966. that it will always run font2c, rather than being able to avoid this if the
  4967. .c file is up to date. (cfonts.mak)
  4968. </pre><h3><a name="V3.27_Interpreter"></a>Interpreter</h3><pre>
  4969. Fixes bugs:
  4970. - Some operators could fail if the stdxxx streams weren't currently
  4971. open. (files.h, zfileio.c, ziodev.c)
  4972. - setpagedevice didn't handle unrecognized keys properly.
  4973. (gs_setpd.ps)
  4974. - The value returned for the HWColorMap device parameter was
  4975. allocated incorrectly, confusing the garbage collector. (iparam.c)
  4976. - Typing ahead at the &gt;&gt;showpage&lt;&lt; prompt no longer caused all
  4977. further pages to be processed without stopping. (gs_init.ps)
  4978. - Setting DEVICEWIDTHPOINTS or DEVICEHEIGHTPOINTS on the command
  4979. line caused a typecheck. (gs_init.ps)
  4980. - The garbage collector didn't handle halftone threshold arrays
  4981. properly. (zht2.c)
  4982. - setdefaulttimeouts caused an error on Level 2 systems.
  4983. (gs_lev2.ps)
  4984. - cvi and cvr weren't equivalent to token followed by a type check.
  4985. (iscan.h, iscannum.h, iscan.c, iscannum.c, ztoken.c, ztype.c)
  4986. - In Level 2 systems, image and colorimage didn't allow 12 bits per
  4987. sample. (zpaint.c)
  4988. - If debugging was enabled, the garbage collector printed spurious
  4989. error messages about the allocator objects not being in a chunk. (ialloc.c)
  4990. - restore didn't reset the count of operator procedures, so the
  4991. operator procedure table could fill up. Fixing this required splitting the
  4992. op_array_table into a global table and a local table. (opdef.h, iinit.c,
  4993. iutil.c, zmisc.c)
  4994. - .forgetsave could leave a dangling pointer in the memory manager,
  4995. causing an access error. (ialloc.c, isave.c)
  4996. - Freed objects weren't always marked as freed, which could confuse
  4997. the memory validator. (ialloc.c)
  4998. - .forgetsave didn't mark inner chunk headers as free, leading to
  4999. access errors. (isave.c)
  5000. Changes the representation of operator procedures so that they point
  5001. directly to their definition in the op_array_table. (iref.h, opdef.h,
  5002. idebug.c, igc.c, igcref.c, interp.c, zmisc.c)
  5003. Removes .makeglobaloperator. (zmisc.c)
  5004. Adds patches to discard some common garbage produced by H-P-oriented
  5005. applications and drivers. (gs_init.ps)
  5006. Changes the &gt;&gt;showpage&lt;&lt; prompt so that if the input reaches EOF, the
  5007. interpreter still stops after the next &gt;&gt;showpage&lt;&lt;, rather than processing
  5008. all subsequent pages. This is a consequence of the bug fix that
  5009. automatically reopens the stdxxx files.
  5010. Adds an optional dictionary parameter for the RunLengthEncode/Decode
  5011. filters, to allow specifying EndOfData. The default is true. (zfilter.c)
  5012. Adds ByteTranslateEncode/Decode filters. (zfilter2.c)
  5013. </pre><h3><a name="V3.27_Streams"></a>Streams</h3><pre>
  5014. Fixes bugs:
  5015. - The K &gt; 0 option of the CCITTFaxDecode filter switched back to 2-D
  5016. encoding if an output buffer boundary fell in the middle of a 1-D line, and
  5017. signalled an error if an input buffer boundary fell in the middle of an EOL.
  5018. (scfd.c)
  5019. Adds an EndOfData flag to the RunLengthEncode/Decode filters. If true, RLE
  5020. generates 128 as EOD, and RLD recognizes it; if false, RLE does not mark
  5021. EOD, and RLD ignores 128. (srlx.h, gxclist.c, gxclread.c, sfilter1.c)
  5022. Adds ByteTranslateEncode/Decode streams. (sbtx.h, sfilter2.c)
  5023. </pre><h3><a name="V3.27_Library"></a>Library</h3><pre>
  5024. Fixes bugs:
  5025. - There were some mismatches between char * and byte * values.
  5026. (gsdparam.c)
  5027. - Failure to round a scaling coordinate caused one-for-one
  5028. black-and-white images to render slower than they should. (gsimage.c)
  5029. - Setting PageSize without setting HWResolution could cause an
  5030. invalid memory access. (gsdparam.c)
  5031. - The garbage collector didn't handle halftone threshold arrays
  5032. properly. (gxht.h, gsht.c, gsht1.c)
  5033. </pre>
  5034. <h2><a name="Version3.26"></a>Version 3.26 (beta) (2/1/95)</h2>
  5035. <p>
  5036. Yet another bug-fix beta release, still not ready for public release.
  5037. <h3><a name="V3.26_Documentation"></a>Documentation</h3><pre>
  5038. Fixes bugs:
  5039. - The description of device properties had gotten out of sync with
  5040. the code. (language.doc)
  5041. Splits off documentation specific to the Aladdin (non-GNU) release into a
  5042. separate file. (readme, public.doc, unix-end.mak)
  5043. Adds a pointer to a collection of other free fonts (including some Cyrillic
  5044. ones) available on the net. (public.doc)
  5045. </pre><h3><a name="V3.26_Procedures"></a>Procedures</h3><pre>
  5046. Fixes bugs:
  5047. - On VMS systems with both VAX C and DEC C installed, the build script
  5048. used VAX C rather than DEC C. (vms.mak)
  5049. - zfdecode.c didn't have a build rule. (gs.mak)
  5050. - Several macros in the makefile were used before they were defined.
  5051. (gs.mak)
  5052. - Several macros in the makefile were used without being defined.
  5053. (gs.mak)
  5054. Replaces the gssetdev, gssetmod, and gsaddmod scripts with more variants of
  5055. echogs. (echogs.c, gs.mak)
  5056. </pre><h3><a name="V3.26_Utilities"></a>Utilities</h3><pre>
  5057. Fixes bugs:
  5058. - The ps2ascii shell script passed a -f flag to the shell, which not
  5059. all shells recognize. (ps2ascii)
  5060. </pre><h3><a name="V3.26_Drivers"></a>Drivers</h3><pre>
  5061. Fixes bugs:
  5062. - Due to a typo in an initialization string, the H-P printers didn't
  5063. reset the top margin to zero. (gdevdjet.c)
  5064. Adds InputAttributes and OutputAttributes entries to the H-P drivers. (This
  5065. should probably be generic to all printers.) (gdevdjet.c)
  5066. Replaces the contributed Epson Stylus Color driver with a newer version.
  5067. (devices.doc, gdevstc.c)
  5068. </pre><h3><a name="V3.26_Platforms"></a>Platforms</h3><pre>
  5069. Fixes bugs:
  5070. - DEC C complained about 'abs' and 'exit' not being declared. (x_.h)
  5071. - gp_mswin.c and gp_os2.c wouldn't compile. (gp_mswin.c, gp_os2.c,
  5072. ziodev.c)
  5073. </pre><h3><a name="V3.26_Interpreter"></a>Interpreter</h3><pre>
  5074. Fixes bugs:
  5075. - The default CIE rendering dictionary gave everything a magenta tint.
  5076. (gs_lev2.ps)
  5077. - Changing HWResolution and PageSize in the same call of
  5078. setpagedevice produced an incorrect HWSize. (gsdparam.c)
  5079. - .putdeviceparams didn't accept all the keys that .getdeviceparams
  5080. returned. (gsdparam.c)
  5081. - The default handler for interrupt and timeout errors didn't push a
  5082. current object (command) on the stack. (gs_init.ps)
  5083. - The garbage collector didn't handle strings larger than 64K
  5084. properly. (iastate.h, ialloc.c, igcstr.c)
  5085. Adds media matching and Policy consultation to the implementation of
  5086. setpagedevice. (gs_setpd.ps)
  5087. Adds a MaxGlobalVM system parameter. (zmisc2.c)
  5088. </pre><h3><a name="V3.26_Streams"></a>Streams</h3><pre>
  5089. Fixes bugs:
  5090. - The CCITTFaxEncode filter could access a byte beyond the end of
  5091. the allocated area. (scfe.c)
  5092. - The CCITTFaxDecode filter could get an ioerror if a buffer
  5093. boundary fell in exactly the wrong place. (scfd.c)
  5094. </pre><h3><a name="V3.26_Library"></a>Library</h3><pre>
  5095. Fixes bugs:
  5096. - The garbage collector didn't trace colored halftones properly.
  5097. (gzht.h)
  5098. - The garbage collector didn't relocate the bitmap pointers in
  5099. halftone caches properly. (gzht.h, gxht.c)
  5100. Adds the ability to transmit dictionaries through the param_list mechanism
  5101. (specifically, as device parameters). This change is
  5102. non-backward-compatible only for implementors of parameter lists, which only
  5103. exist within the Ghostscript core. (gsparam.h, iparam.h, iparam.c)
  5104. Removes the InitialMatrix device property. (gsdparam.c)
  5105. </pre>
  5106. <h2><a name="Version3.25"></a>Version 3.25 (beta) (1/24/95)</h2>
  5107. <p>
  5108. Yet another bug-fix beta release. There are still at least half a dozen
  5109. significant known bugs to be fixed before a public release.
  5110. <h3><a name="V3.25_Documentation"></a>Documentation</h3><pre>
  5111. Notes that on Unix systems, one should not edit 'makefile', but should edit
  5112. the individual subfile and run tar_cat. THIS IS A NON-BACKWARD-COMPATIBLE
  5113. CHANGE. (make.doc)
  5114. Adds information on the Macintosh implementation. (readme)
  5115. </pre><h3><a name="V3.25_Procedures"></a>Procedures</h3><pre>
  5116. Fixes bugs:
  5117. - make clean failed on Unix systems where rm -f requires at least one
  5118. file name. (gs.mak)
  5119. - math_.h was omitted from many dependency lists. (gs.mak)
  5120. </pre><h3><a name="V3.25_Drivers"></a>Drivers</h3><pre>
  5121. Fixes bugs:
  5122. - The X Windows and MS Windows draw-line routines couldn't possibly
  5123. produce sufficiently correct output (since the interface only provides integer
  5124. coordinates). (gdevx.c, gdevwddb.c)
  5125. In response to patent-related actions by Unisys and CompuServe, removes the
  5126. GIF driver. (*.mak)
  5127. Changes dci_std_color (and std_device_std_color_* and prn_device_std_*) so
  5128. that if the number of bits per pixel is 32, the device is defined as CMYK
  5129. rather than RGB. (gxdevice.h)
  5130. Removes the tseng8 device, which is no longer useful. (devs.mak, gdevsvga.c)
  5131. Adds pseudo-alpha support to the SVGA drivers, via the TextAlphaBits and
  5132. GraphicsAlphaBits device parameters. (gdevsvga.h, gdevsvga.c)
  5133. Adds a user-contributed driver for the Epson Stylus Color printer. (devs.mak,
  5134. gdevstc.c, devices.doc)
  5135. </pre><h3><a name="V3.25_Platforms"></a>Platforms</h3><pre>
  5136. Fixes bugs:
  5137. - The VMS build scripts had gotten out of sync (again). (vms*.mak)
  5138. </pre><h3><a name="V3.25_Interpreter"></a>Interpreter</h3><pre>
  5139. Fixes bugs:
  5140. - The emulator name array was incorrectly declared const in one place.
  5141. (gs.c)
  5142. - A closed file could incorrectly appear to be 'eq' to another file
  5143. (open or closed). (iutil.c)
  5144. - If %stdin/%stdout/%stderr was ever closed, it couldn't be
  5145. reopened. (gs_btokn.ps, gs_init.ps, files.h, zfile.c, zfileio.c, zfilter.c,
  5146. zfproc.c, ziodev.c)
  5147. Changes (almost) all the operator routines to 'static'. (z*.c)
  5148. </pre><h3><a name="V3.25_Library"></a>Library</h3><pre>
  5149. Fixes bugs:
  5150. - The raster value for replicated tiles in the halftone cache was
  5151. incorrect, causing unaligned memory accesses. (gxht.c)
  5152. - stroke and strokepath could produce slightly inaccurate output
  5153. (leading to slight visible anomalies) as a result of stroke adjustment.
  5154. (gxstroke.c)
  5155. - Attempting to draw an arc with zero radius could cause a numeric
  5156. exception. (gspath1.c)
  5157. - Setting the Orientation of a device to null resulted in actually
  5158. setting it to a random value. (gsdparam.c)
  5159. - charpath, stringwidth, and cshow attempted to remap the current
  5160. color unnecessarily. (gschar.c)
  5161. Adds the ability to trace calls on the sqrt function (and possibly other math
  5162. functions in the future.) (math_.h, gsmisc.c)
  5163. Adds additional interrupt checks in the banding code. (gxclist.c, gxclread.c)
  5164. </pre>
  5165. <h2><a name="Version3.24"></a>Version 3.24 (beta) (1/17/95)</h2>
  5166. <p>
  5167. This was supposed to be a public release, but too many bugs showed up in 3.23,
  5168. so this is another bug-fix beta release. This is the first release with a
  5169. working PDF reader.
  5170. <h3><a name="V3.24_Documentation"></a>Documentation</h3><pre>
  5171. Notes that Solaris requires using installbsd instead of install. (make.doc)
  5172. </pre><h3><a name="V3.24_Procedures"></a>Procedures</h3><pre>
  5173. Changes 'make mostlyclean' so that it doesn't delete the Ghostscript
  5174. executable (but deletes everything else that 'make clean' does). (gs.mak)
  5175. Changes the link list generator so it eliminates duplicate library requests.
  5176. (genconf.c)
  5177. Factors the interpreter further so as to include less unnecessary PostScript
  5178. support in the PDF interpreter. (gs.mak, zpath.c, zpath1.c)
  5179. Adds a printout of the available language interpreters to the -h message.
  5180. (genconf.c, gs.c, iinit.c, gs.mak)
  5181. </pre><h3><a name="V3.24_Drivers"></a>Drivers</h3><pre>
  5182. Fixes bugs:
  5183. - The alternate X drivers used a cast in an initializer, causing a
  5184. compilation error on some platforms. (gdevxalt.c)
  5185. Adds a driver for the LaserJet IIID, including duplex printing if specified by
  5186. the Duplex page device parameter. (gdevdjet.c)
  5187. Adds Orientation to the bit device. (gdevbit.c)
  5188. </pre><h3><a name="V3.24_Platforms"></a>Platforms</h3><pre>
  5189. Fixes bugs:
  5190. - There was an extraneous pfen-&gt; in the NT file system module, causing
  5191. a compilation error. (gp_ntfs.c)
  5192. - The DLL code referred to an obsolete symbol a_foreign. (gsdll.c)
  5193. - The VMS build scripts omitted the LaserJet 4 driver. (vms-*.mak)
  5194. - The VMS build scripts had several other minor errors. (vms.mak)
  5195. </pre><h3><a name="V3.24_Fonts"></a>Fonts</h3><pre>
  5196. Fixes bugs:
  5197. - Defining a font alias in global VM with a name that was a string in
  5198. local VM caused an error. (gs_fonts.ps)
  5199. - The font compiler referred to an obsolete symbol a_foreign.
  5200. (font2c.ps)
  5201. </pre><h3><a name="V3.24_Interpreter"></a>Interpreter</h3><pre>
  5202. Fixes bugs:
  5203. - There was an extraneous '#' before an extern declaration.
  5204. (gsmain.c)
  5205. - The interpreter could (incorrectly) attempt to expand the e-stack.
  5206. (istack.h, interp.c, istack.c)
  5207. - zfproc.c called memcpy but didn't include memory_.h. (zfproc.c)
  5208. - A garbage collection occurring within a 'save' would often smash
  5209. memory. (igc.c)
  5210. - If the last character returned by the procedure of a procedure-based
  5211. filter was \r, readline could get an endless loop. (zfileio.c)
  5212. - Saving a change to a ref member of a structure confused the garbage
  5213. collector. (isave.h, isave.c, zdict.c)
  5214. - The -Zu debugging printout could cause an access error under rare
  5215. circumstances. (isave.c)
  5216. - Save objects could get allocated in global VM, causing dangling
  5217. references. (zvmem.c)
  5218. - The vmsave object created by the interpreter for a save didn't get
  5219. freed properly if the memory manager created an invisible save level, which
  5220. could cause the next garbage collection to crash. (zvmem.c)
  5221. - 'run' always printed an error message, rather than letting the
  5222. top-level control loop do it. (gs.c, gs_init.ps)
  5223. Adds support for duplex devices. (gxdevice.h, gsdparam.c, gs_statd.ps,
  5224. gs_setpd.ps)
  5225. Adds the beginnings of support for CID-keyed fonts. (gs_cidfn.ps)
  5226. Changes the format of the stack dump printed for errors, to make it easier to
  5227. read. (gs_init.ps)
  5228. </pre><h3><a name="V3.24_Interpreter_PostScript"></a>Interpreter (PostScript)</h3><pre>
  5229. Fixes bugs:
  5230. - The .local/global allocation operators always allocated in system
  5231. VM. (zsysvm.c)
  5232. - setpage[params] caused an error. (gs_lev2.ps)
  5233. - If an error occurred during a cshow or (x|y|xy)show, the interpreter
  5234. freed the enumerator twice. (zchar.c, zchar2.c)
  5235. Changes setpageparams so that orientation = 0 means portrait. This is not
  5236. compatible with AGFA's convention for roll-feed devices, but it is compatible
  5237. with the more common cut-sheet printers. (gs_statd.ps)
  5238. Adds meaningful values for the Emulator resource. (gsmain.c, gs_res.ps)
  5239. Makes -Z? validate the state of memory before and after save and restore.
  5240. (ialloc.h, igc.h, ialloc.c, igc.c, ilocate.c, zvmem.c)
  5241. </pre><h3><a name="V3.24_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  5242. Fixes bugs:
  5243. - The Unix install script didn't install the PDF files if they were
  5244. present. (unix-end.mak)
  5245. - PDF to PostScript conversion didn't work at all. (It still doesn't
  5246. work very well.) (pdf_2ps.ps, pdf_main.ps)
  5247. - Images with an Indexed color space and no Decode entry caused an
  5248. error. (pdf_draw.ps)
  5249. - The 'Page &lt;n&gt;' messages were printed even if QUIET was set.
  5250. (pdf_main.ps)
  5251. Changes the interpreter so that when it encounters an unknown operator, it
  5252. prints an error message and continues, rather than signalling an error.
  5253. (pdf_base.ps)
  5254. Makes F a synonym for f if there is nothing on the operand stack, to
  5255. compensate for a bug in some Adobe software. (pdf_base.ps)
  5256. Changes pdfgetpage so it uses 1-origin rather than 0-origin indexing. THIS IS
  5257. A NON-BACKWARD-COMPATIBLE CHANGE. (pdf_main.ps)
  5258. </pre><h3><a name="V3.24_Streams"></a>Streams</h3><pre>
  5259. Fixes bugs:
  5260. - The Group 3 2-D and Group 4 encoders produced incorrect output if a
  5261. scan line beginning with a black pixel was followed by a scan line beginning
  5262. with a white pixel. (scfe.c)
  5263. - A SubFileDecode filter with a count of 1 and a non-empty EOD string
  5264. would smash memory. (sfilter1.c)
  5265. Updates the DCT filters so they will work with the latest version (5a) of the
  5266. IJG library. (*.mak, jpeg.mak, sjpegerr.c)
  5267. </pre><h3><a name="V3.24_Library"></a>Library</h3><pre>
  5268. Fixes bugs:
  5269. - A call with integer parameters to a procedure with floating point
  5270. arguments didn't work on non-ANSI compilers. (gsimage.c)
  5271. - Arcs could get turned into polygons if the scaling values in the CTM
  5272. were very large and the radius was (in user space coordinates) very small.
  5273. (gspath.c)
  5274. - The current point was defined when a BuildChar procedure was called.
  5275. (This bug was documented as fixed in version 2.2!) (gschar.c)
  5276. Adds support for Orientation and Duplex page device parameters, for those
  5277. devices that support these. (gdevprn.h, gxdevice.h, gsdevice.c, gsdparam.c)
  5278. </pre>
  5279. <h2><a name="Version3.23"></a>Version 3.23 (beta) (1/5/95)</h2>
  5280. <p>
  5281. This is almost entirely a bug fix release. It also includes a largely working
  5282. PDF reader. This is intended as the beta test release for the next public
  5283. release.
  5284. <h3><a name="V3.23_Documentation"></a>Documentation</h3><pre>
  5285. Fixes bugs:
  5286. - COPYLEFT, COPYING, NEWS, PUBLIC, README, and the standard Fontmap
  5287. were omitted from the 3.22 fileset.
  5288. Documents the use of the -oldc switch to work around a compiler crash on
  5289. the DECstation.
  5290. Expands and clarifies the documentation for building the DesqView/X version
  5291. with djgcc. (make.doc)
  5292. Adds documentation on the "600x300" H-P inkjet printers, explaining why
  5293. this alleged higher resolution is not available. (devices.doc)
  5294. Adds to the PUBLIC license a warning that it is not a GNU License, and a
  5295. requirement to include a copy of or a pointer to the License in any written
  5296. material. (PUBLIC)
  5297. Documents the fact that Ghostscript *does* attempt to look up files in the
  5298. current directory first. (use.doc)
  5299. </pre><h3><a name="V3.23_Procedures"></a>Procedures</h3><pre>
  5300. Fixes bugs:
  5301. - In VMS.MAK, .JPEG should have been changed to .JPEG-5 in a few
  5302. places. (vms.mak)
  5303. Adds the pjxl300 driver to all configurations that include the other color
  5304. DeskJet drivers. Replaces pjet and pjetxl with pj and pjxl. (*.mak)
  5305. Makes 'run' recognize PDF files if the PDF reader is included.
  5306. (pdf_main.ps)
  5307. </pre><h3><a name="V3.23_Utilities"></a>Utilities</h3><pre>
  5308. Fixes bugs:
  5309. - viewjpeg.ps needed the test for languagelevel = 2 at the
  5310. beginning of the file. (viewjpeg.ps)
  5311. - prfont.ps used 'min', which isn't a standard PostScript operator.
  5312. (prfont.ps)
  5313. - prfont.ps created Encoding vectors that weren't 256 elements
  5314. long. (prfont.ps)
  5315. Adds the gsdj500 script to the installation list. (unix-end.mak)
  5316. Changes the Unix "line printer" shell scripts to add the date to the page
  5317. header. (gsbj, gsdj, gsdj500, gslj)
  5318. Changes ansi2knr so that it will work properly on systems where the ctype
  5319. macros don't handle 8-bit characters correctly. (ansi2knr.c)
  5320. </pre><h3><a name="V3.23_Drivers"></a>Drivers</h3><pre>
  5321. Fixes bugs:
  5322. - Some compilers don't allow casts in initialization expressions.
  5323. (gdevx.c, gdevxalt.c)
  5324. - The cdj drivers didn't initialize the color_info structure
  5325. properly. (gdevcdj.c)
  5326. Adds another alternate X Windows driver, x11mono, that is a black-and-white
  5327. device. (devs.mak, gdevxalt.c)
  5328. Adds a user-contributed driver for the Apple Imagewriter LQ. (devs.mak,
  5329. gdevadmp.c)
  5330. </pre><h3><a name="V3.23_Platforms"></a>Platforms</h3><pre>
  5331. Fixes bugs:
  5332. - The VMS MODULES.LIS file had gotten out of sync with the makefile
  5333. (again); GDEVABUF and GSBITOPS were missing. (modules.lis)
  5334. - The VMS script file had gotten out of sync with the makefile
  5335. (again). (vms.mak)
  5336. - The MS Windows platform code didn't recognize Windows 95 (Windows
  5337. 4.0) as equivalent to Windows NT. (gp_mswin.c)
  5338. - File name enumeration didn't work on OS/2 or win32. (gp_ntfs.c,
  5339. gp_os2.c)
  5340. - -sOutputFile= didn't work under MS Windows. (gp_mswin.c)
  5341. Changes the SCO Unix direct frame buffer driver so it generates in-line
  5342. instructions to access the frame buffer, for a dramatic speed improvement.
  5343. (gdevpcfb.h, gdevsco.c)
  5344. </pre><h3><a name="V3.23_Fonts"></a>Fonts</h3><pre>
  5345. Fixes bugs:
  5346. - If a font couldn't be found in the Fontmap, a recursion loop
  5347. sometimes occurred. (gs_fonts.ps)
  5348. - Aliases for global fonts weren't automatically created as global,
  5349. possibly leading to a recursion loop. (gs_dps1.ps, gs_fonts.ps)
  5350. - If a font was loaded into global VM within an inner save, the restore
  5351. deleted it from FontDirectory but not from SharedFontDirectory, causing a
  5352. possible recursion loop. (gs_dps1.ps, gs_fonts.ps, idict.h, idict.c, zdict.c)
  5353. Further improves the algorithm for substituting for unknown fonts.
  5354. (gs_fonts.ps)
  5355. </pre><h3><a name="V3.23_Interpreter_PostScript"></a>Interpreter (PostScript)</h3><pre>
  5356. Fixes bugs:
  5357. - zcontrol.c had an assignment of const char * to const byte *,
  5358. which some compilers don't like. (zcontrol.c)
  5359. - Setting an Indexed color space based on a CIE space caused an
  5360. attempt to free a random block of memory. (zcsindex.c)
  5361. - Some compilers don't like mixing conditionals and casts in
  5362. initialization expressions. (iref.h)
  5363. - Some calculations of table sizes for string garbage collection
  5364. didn't work if sizeof(long) != 4, leading to smashed strings. (iastate.h,
  5365. ialloc.c, igcstr.c)
  5366. - Strings longer than about 7000 bytes smashed their chunk header
  5367. and confused the garbage collector. (ialloc.c)
  5368. - Some compilers needed iccfont.c to include strimpl.h.
  5369. (iccfont.c)
  5370. - The obsolete file zcspace2.c was still included in the fileset.
  5371. - If the command line included any @-files that required searching
  5372. the library path, a limitcheck would occur. (zfile.c)
  5373. - The insideness testing operators caused a memory access error,
  5374. because the procedure vector hadn't been updated to provide a default
  5375. get_alpha_bits procedure. (zupath.c)
  5376. - gcheck didn't check for stack underflow. (zvmem2.c)
  5377. - cleardictstack could fail to clear the dictionary stack if the
  5378. stack had overflowed into additional blocks. (zdict.c)
  5379. - If the '-' switch was selected, resources weren't released
  5380. properly on exit. (gs.c)
  5381. - Setting a Pattern color space based on a CIE space caused an
  5382. invalid memory access. (zcsindex.c)
  5383. - The garbage collector didn't treat refs properly on machines with
  5384. short ints. (igcref.c)
  5385. - Operators with more than 16 arguments could break the
  5386. interpreter. (interp.h, iinit.c, interp.c)
  5387. - save/restore didn't restore the setting of the current allocator
  5388. VM (local/global). (isstate.h, isave.c)
  5389. - stdpre.h declared exit as an extern, instead of letting gsmain.c
  5390. declare it. (stdpre.h, gsmain.c)
  5391. - gs.c used fputs to print help messages rather than fprintf.
  5392. (gs.c)
  5393. - Interrupts failed to re-execute the operation that was
  5394. interrupted. (interp.c)
  5395. - Low-resolution CMYK devices didn't use separate screens for each
  5396. color plane as the default. (gs_init.ps)
  5397. - filterdict wasn't getting undef'ed at the end of initialization.
  5398. (gs_init.ps)
  5399. - gstate operations were broken (bug introduced in 3.02).
  5400. (zdevice2.c)
  5401. - resourceforall didn't remove the resource dictionary from the
  5402. dictionary stack when calling the client-supplied procedure. (gs_res.ps)
  5403. - currentcolor with an Indexed color space returned a real rather
  5404. than an integer. (zcolor2.c)
  5405. - setshared / setglobal left the stack in an unobvious state if
  5406. they were given a non-Boolean argument. (gs_dps1.ps)
  5407. - sethalftone followed by currenthalftone returned an invalid value.
  5408. (zht2.c)
  5409. - Empty strings produced spurious garbage collector error messages.
  5410. (gsstruct.h, scommon.h, igc.c, igcstr.c, iname.c)
  5411. - The garbage collector didn't trace Separation color spaces properly.
  5412. (gscsepr.c)
  5413. Changes defineresource so that it does not, by default, make instances
  5414. read-only. (gs_res.ps)
  5415. Adds .{local,global}{array,dict,packedarray,string} operators for creating
  5416. objects in a specific VM space. (zsysvm.c, gs_dps1.ps)
  5417. Adds definitions of setpage and setpageparams to statusdict. (gs_setpd.ps,
  5418. gs_statd.ps)
  5419. Alleviates some performance problems in the garbage collector. (igc.c)
  5420. </pre><h3><a name="V3.23_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  5421. Fixes bugs:
  5422. - PDF files that used filters with parameters caused a typecheck
  5423. error because the arguments to 'filter' were reversed. (pdf_base.ps)
  5424. - The (undocumented) PDF 1.1 ability to specify link and annotation
  5425. destinations indirectly was not supported. (pdf_main.ps)
  5426. - The (undocumented) PDF ability to specify a null page in a link
  5427. destination was not supported. (pdf_main.ps)
  5428. - The PDF encodings weren't loaded properly in a system with both
  5429. PS Level 2 and PDF features. (gs_res.ps, gs_init.ps)
  5430. - If the next line after a stream keyword was blank, the line
  5431. wasn't skipped, which matters for binary data. (pdf_base.ps)
  5432. - A Q operator with no matching q operator caused an error.
  5433. (pdf_draw.ps)
  5434. - The text position wasn't preserved across a fill or stroke
  5435. operator. (gs_pdf.ps, pdf_draw.ps)
  5436. - Embedded Type 3 fonts didn't work. (pdf_base.ps, pdf_draw.ps,
  5437. pdf_main.ps)
  5438. - Masked images with no Decode value had their polarity inverted.
  5439. (pdf_draw.ps)
  5440. - Embedded Type 1 fonts referenced from within a stream didn't
  5441. work. (pdf_font.ps)
  5442. Changes the PDF code so that it automatically recognizes PDF files as such.
  5443. (pdf_main.ps)
  5444. Splits out the PixelDifference filters as a separate "feature". (gs.mak)
  5445. </pre><h3><a name="V3.23_Streams"></a>Streams</h3><pre>
  5446. Fixes bugs:
  5447. - Closing the primary input stream caused an invalid memory access.
  5448. (stream.c)
  5449. - Increasing the size of a buffer within a save resulted in a
  5450. dangling reference after the restore. (files.h, sfilter.h, zfile.c,
  5451. zfilter.c)
  5452. - The garbage collector didn't properly trace streams that referenced
  5453. strings directly. (stream.h, stream.c, ziodev.c)
  5454. </pre><h3><a name="V3.23_Library"></a>Library</h3><pre>
  5455. Fixes bugs:
  5456. - An extraneous \ upset some compilers. (gdevabuf.c)
  5457. - Uncolored Patterns that completely filled their bounding box
  5458. caused an invalid memory access. (gspcolor.c)
  5459. - If a color image required clipping, black or white pixels might
  5460. be rendered with incorrect (random) colors. (gxcpath.c)
  5461. - Reference counts for color spaces were sometimes set too high, so
  5462. they would only be freed by restore or garbage collection. (gscolor.c)
  5463. - The character cache could get confused if the Encoding for the
  5464. character wasn't a name. (gschar.c)
  5465. - Character outlines were always rendered with flatness = 0,
  5466. causing very bad performance for large characters. (gzstate.h, gschar.c,
  5467. gsimage.c, gxfill.c, gxstroke.c)
  5468. - If a device (presumably uninitialized) had a
  5469. color_info.num_components of zero, an invalid memory access could occur.
  5470. (gsdparam.c)
  5471. - Intersecting clipping paths that are not both rectangular didn't
  5472. properly set the outer box of new clipping path, leading to unnecessary
  5473. computation. (gxcpath.h, gxacpath.c, gxcpath.c)
  5474. - A call passed false instead of NULL. (gschar.c)
  5475. - On machines where sizeof returns a long, genarch.c failed.
  5476. (genarch.c)
  5477. - xfonts were consulted, incorrectly, even for stroked characters.
  5478. (gxccman.c)
  5479. - gstate/currentgstate/setgstate didn't work properly. (gsline.c,
  5480. gsstate.c)
  5481. - On CMYK devices needing halftoning, colors with C = M = Y were
  5482. always converted to gray shades. (gxcmap.c)
  5483. - Isolated horizontal lines, or the horizontal edges of rectangles,
  5484. could get drawn with one or both end pixels missing. (gxfill.c)
  5485. Changes the character cache back so it oversamples characters at small
  5486. sizes. (gschar.c)
  5487. Changes all occurrences of (void)x to discard(x), and defines discard in
  5488. stdpre.h as a cast to void, to make it possible to pacify compilers that
  5489. don't accept this construct for some kinds of x. (gpcheck.h, stdpre.h,
  5490. store.h, gdevmswn.c, gp_mswin.c, gscoord.c, gxclread.c, igc.c, sfile.c,
  5491. sfileno.c, zcie.c, zht2.c, ziodev.c, zmisc1.c)
  5492. Increases the size of the halftone cache on large-memory machines from 35K
  5493. to 100K. This substantially improves halftoning performance at higher
  5494. resolutions. (gxht.c)
  5495. </pre>
  5496. <h2><a name="Version3.22"></a>Version 3.22 (beta) (11/30/94)</h2>
  5497. <p>
  5498. This is primarily a bug fix release. It also includes limited anti-aliased
  5499. graphics capability. This release was not distributed to the public.
  5500. <h3><a name="V3.22_Procedures"></a>Procedures</h3><pre>
  5501. Fixes bugs:
  5502. - The definition of ghost_h was misplaced, so changes in it or its
  5503. antecedents didn't force recompilation of its dependents. (gs.mak)
  5504. Actually implements the -Z+ switch, for forcing small stack blocks.
  5505. (interp.c)
  5506. Makes the -dSAFER switch disable the %pipe syntax for file names, even for
  5507. reading. (gs_init.ps)
  5508. </pre><h3><a name="V3.22_Drivers"></a>Drivers</h3><pre>
  5509. Fixes bugs:
  5510. - The dfax drivers incorrectly set EncodedByteAlign to false.
  5511. (gdevdfax.c)
  5512. - softwareValue and dateTimeValue were declared as byte rather than
  5513. char. (gdevtfax.c)
  5514. </pre><h3><a name="V3.22_Platforms"></a>Platforms</h3><pre>
  5515. Fixes bugs:
  5516. - The VMS DEC C compilers declare delete in unixio.h, and doesn't
  5517. declare unlink anywhere. (stdio_.h)
  5518. - The VMS compilers declare malloc and free in stdlib.h, which
  5519. wasn't being included in malloc_.h. (malloc_.h)
  5520. - The SCO Unix C compiler needs both &lt;sys/time.h&gt; and &lt;time.h&gt;.
  5521. (time_.h)
  5522. - The VMS compilers declare abs in stdlib.h, which wasn't being
  5523. included anywhere. (gshtscr.c)
  5524. - The definition for A4 paper in VMS-AXP.MAK was incorrect.
  5525. (vms-axp.mak)
  5526. Renames VMS-AXP.MAK as VMS-DECC.MAK, with some changes that make it
  5527. appropriate for DEC C on both VAX and AXP platforms. (vms-axp.mak =&gt;
  5528. vms.decc.mak)
  5529. </pre><h3><a name="V3.22_Fonts"></a>Fonts</h3><pre>
  5530. Fixes bugs:
  5531. - gs_kanji.ps got an invalidaccess error. (gs_kanji.ps)
  5532. </pre><h3><a name="V3.22_Interpreter"></a>Interpreter</h3><pre>
  5533. Fixes bugs:
  5534. - An off-by-1 test in the roll operator caused it to smash the
  5535. stack if the operand stack had overflowed into additional blocks.
  5536. (zstack.c)
  5537. - The default CIE color rendering dictionary didn't assume a
  5538. reasonable intermediate (XYZ) space. (gs_lev2.ps)
  5539. - CIE color mapping tables weren't traced properly by the garbage
  5540. collector. (gscie.h, gscie.c, zcie.c)
  5541. - If the very last character of a file was a ^M, the scanner
  5542. (incorrectly) signaled a syntaxerror. (iscan.c)
  5543. - If an operator could return both a typecheck and a
  5544. stackunderflow, it always returned a stackunderflow, which doesn't match
  5545. the behavior of Adobe interpreters. (opcheck.h, idparam.c, interp.c,
  5546. iutil.c, z*.c)
  5547. - astore, dictstack, and execstack could return a spurious
  5548. invalidaccess error (or fail to detect an invalid access) if the operand
  5549. stack had overflowed into additional blocks. (istack.c)
  5550. - The garbage collector didn't relocate pointers to names! (Bug
  5551. introduced in 3.20.) (iname.h)
  5552. - If the dictionary stack overflowed into additional blocks, the
  5553. cached value pointer for a name could get set incorrectly, and also not get
  5554. relocated by the garbage collector. (idict.c)
  5555. - If the dictionary stack overflowed into additional blocks, the
  5556. post-GC fixup of cached value pointers in names could cause an addressing
  5557. error. (igc.c)
  5558. - With the -Z? switch set, the garbage collector could incorrectly
  5559. report that objects or strings weren't in any chunk. (igc.c)
  5560. - &lt;&lt; /a 1 /a 2 &gt;&gt; /a get gave the value 2 rather than 1.
  5561. (gs_init.ps)
  5562. - Numbers in binary object sequences and encoded number arrays
  5563. didn't work properly on machines where sizeof(short) != 2 or sizeof(long)
  5564. != 4. (ibnum.c)
  5565. - The put operator for dictionaries allowed null as a key.
  5566. (idict.h, idict.c)
  5567. - &gt;&gt; didn't give an error if there were an odd number of values on
  5568. the stack above the next mark. (gs_init.ps)
  5569. - Operations that explicitly freed ref objects (setting a CIE
  5570. colorspace, resizing a dictionary, popping a block off a stack) could
  5571. corrupt storage. (ialloc.c)
  5572. - The -Z@ switch, which fills freed blocks with a recognizable bit
  5573. pattern, could incorrectly overwrite freed blocks in previous save levels,
  5574. causing invalid memory accesses. (ialloc.c)
  5575. - Since streams freed by a restore weren't marked as free, they
  5576. could confuse the garbage collector and lead to invalid memory accesses.
  5577. (zfile.c)
  5578. - If one of the built-in dictionaries overflowed during
  5579. initialization, no error was reported -- entries were simply discarded.
  5580. (iinit.c)
  5581. - If the level2.dev feature was combined with certain other
  5582. features, the current languagelevel was 2 when some gs_*.ps files were
  5583. loaded, causing them to load incorrectly. (gs_btokn.ps, gs_setpd.ps)
  5584. - If readline read a line that ended with only a CR (no LF)
  5585. followed by an end-of-file, it incorrectly closed the stream. (zfileio.c)
  5586. Adds a .cond operator, similar to the Lisp multi-arm conditional.
  5587. (zcontrol.c)
  5588. Adds a .makeglobaloperator operator, allowing the definition of operator
  5589. procedures in local VM that turn into global operators, provided the save
  5590. level is zero. (iref.h, opdef.h, iinit.c, interp.c, zmisc.c)
  5591. Note: the fix for returning typecheck vs. stackunderflow requires that all
  5592. operators (or other code) that uses return_error(e_typecheck) to indicate
  5593. an incorrect object type on the operand stack must change this to
  5594. return_op_typecheck(op), where op points to the operand. THIS IS A
  5595. NON-BACKWARD-COMPATIBLE CHANGE.
  5596. Implements string array and name array parameters for parameter lists.
  5597. (gsparam.h, iparam.c)
  5598. Brings filterdict inside the INITIAL_DICTIONARIES conditional. (iinit.c)
  5599. Adds a .currentscreenlevels operator that returns the number of
  5600. distinguishable halftone levels. (zht.c)
  5601. </pre><h3><a name="V3.22_Streams"></a>Streams</h3><pre>
  5602. Fixes bugs:
  5603. - The 2-D case of CCITTFaxDecode could get confused by an input
  5604. data buffer boundary that fell immediately after a horizontal code.
  5605. (scfd.c)
  5606. - The LZW decoder didn't detect invalid data unless DEBUG was
  5607. selected at build time. (slzwd.c)
  5608. </pre><h3><a name="V3.22_Library"></a>Library</h3><pre>
  5609. Fixes bugs:
  5610. - The clipping region accumulator could refer to a clipping
  5611. rectangle even after it had been freed. (No effect on execution unless the
  5612. -Z@ switch was selected.) (gxacpath.c)
  5613. - setbbox expanded the bounding box, but didn't place a limit on
  5614. further path elements, if the current path wasn't empty. (gsdps1.c)
  5615. - setbbox didn't make sufficient allowance for rounding.
  5616. (gsdps1.c)
  5617. Implements the ProcessColorModel parameter (read-only) for all devices.
  5618. (gsdparam.c)
  5619. Adds a gs_currentscreenlevels procedure that returns the number of
  5620. distinguishable halftone levels. (gsht.c)
  5621. </pre>
  5622. <h2><a name="Version3.21"></a>Version 3.21 (beta) (11/17/94)</h2>
  5623. <p>
  5624. This is primarily a bug fix release. It also includes a substantial
  5625. improvement in the Type 1 font hinting algorithms. This release was not
  5626. distributed to the public.
  5627. <h3><a name="V3.21_Documentation"></a>Documentation</h3><pre>
  5628. Fixes bugs:
  5629. - The `man' page referred to gnu.ghostscript.bug rather than
  5630. comp.lang.postscript. (gs.1)
  5631. Documents the special entries in operator definition tables that allow
  5632. switching dictionaries. (opdef.h)
  5633. </pre><h3><a name="V3.21_Procedures"></a>Procedures</h3><pre>
  5634. Moves the definition of JSRCDIR to the individual platform makefiles, to
  5635. make it easier to change on platforms that don't have file links. (*.mak)
  5636. </pre><h3><a name="V3.21_Utilities"></a>Utilities</h3><pre>
  5637. Fixes bugs:
  5638. - ansi2knr didn't recognize that a line ending with } couldn't be a
  5639. function definition. (ansi2knr.c)
  5640. - ps2epsi always returned an empty bounding box. (ps2epsi,
  5641. ps2epsi.bat)
  5642. </pre><h3><a name="V3.21_Drivers"></a>Drivers</h3><pre>
  5643. Fixes bugs:
  5644. - The bitrgb device had an invalid depth of 3. (gdevbit.c)
  5645. Replaces the color mapping code in the X driver with a much faster
  5646. algorithm, courtesy of Tim Theisen. (gdevx.h, gdevx.c, gdevxini.c)
  5647. </pre><h3><a name="V3.21_Platforms"></a>Platforms</h3><pre>
  5648. Fixes bugs:
  5649. - Two variable names were misspelled. (gdevpm.c, gp_mswin.c)
  5650. - It wasn't possible to compile a non-DLL configuration under OS/2.
  5651. (os2.mak)
  5652. - Compilation under Microsoft C/C++ 8.0 gave errors. (gp_mswin.h,
  5653. gp_mswin.c, gshtscr.c)
  5654. Adds some more devices to the OS/2 makefile. (os2.mak)
  5655. </pre><h3><a name="V3.21_Fonts"></a>Fonts</h3><pre>
  5656. Fixes bugs:
  5657. - wrfont.ps, and hence bdftops, didn't write out the FontType or
  5658. PaintType. (Bug introduced since 2.6.1) (wrfont.ps)
  5659. - wrfont.ps omitted a 'begin' and 'end', causing -! or -| to be
  5660. undefined when the font was loaded. (Bug introduced since 2.6.1)
  5661. (wrfont.ps)
  5662. </pre><h3><a name="V3.21_Interpreter"></a>Interpreter</h3><pre>
  5663. Fixes bugs:
  5664. - make_tasv_old called make_tasv_new with extra arguments.
  5665. (store.h)
  5666. - currentcacheparams only returned 2 values instead of 3.
  5667. (zfont.c)
  5668. - ustroke popped one element too many off the stack if a matrix was
  5669. supplied. (zupath.c)
  5670. - inu[eo]fill popped one element too many off the stack.
  5671. (zupath.c)
  5672. - The color rendering dictionary was initialized to null rather
  5673. than a valid dictionary. (gs_lev2.ps)
  5674. - An invalid IODevice resource named "9" got created. (gs_res.ps)
  5675. - bytesavailable often caused an error rather than returning -1.
  5676. (zfileio.c, stream.c)
  5677. - The insideness testing operators always returned true if the
  5678. aperture was defined by a user path rather than a point. (zupath.c)
  5679. - If INITIAL_DICTIONARIES was defined in the makefile, the
  5680. definition of the initial_dictionaries array was missing a comma.
  5681. (iinit.c)
  5682. - Even if userdict appeared in INITIAL_DICTIONARIES, gs_init.ps set
  5683. its maxlength to 200. (gs_init.ps)
  5684. - Setting a CIE color space left a garbage value on the stack.
  5685. (zcie.c)
  5686. - If a file or filter was opened and then closed, opening a file
  5687. subsequently within a 'save' could lead to a memory access error in the
  5688. garbage collector. (zfile.c)
  5689. - Setting an Indexed or Separation color space could cause a crash
  5690. either in the garbage collector or when printing out the e-stack.
  5691. (icsmap.h, zcsindex.c, zcssepr.c)
  5692. - Invoking a filter with an invalid data source or sink could cause
  5693. a memory access error (bug introduced in 3.20). (zfilter.c)
  5694. - Invoking stringwidth on a font whose BuildChar procedure did a
  5695. save could cause a memory manager error or infinite loop, because
  5696. stringwidth attempted to use an inapplicable shortcut. (gschar.c)
  5697. - The bounding box for rendering stroked Type 1 characters didn't
  5698. take square caps and miter joins into account. (gs_type1.ps)
  5699. - Invoking filter with DCTDecode or DCTEncode could cause an
  5700. addressing error if no dictionary argument was supplied. (zfdctd.c,
  5701. zfdcte.c)
  5702. - The Generic resource, the Font resource, and half a dozen
  5703. resources with no predefined instances all shared the same Instances
  5704. dictionary. (gs_res.ps)
  5705. - The temporary null device allocated for stringwidth was never
  5706. freed. (gschar.h, gschar.c, zchar.c)
  5707. - Internal operators, and structures that might be freed on stack
  5708. unwinding, could "escape" from the e-stack. (zcontrol.c, ztype.c)
  5709. - makefont and scalefont didn't properly handle a font whose
  5710. Encoding had been changed. (bfont.h, zfont.c, zfont2.c)
  5711. - Type 1 fonts with PaintType = 2 incorrectly checked for an xfont.
  5712. (gxfont.h, gschar.c, gsfont.c, zchar1.c, zfont1.c, zfont2.c)
  5713. - Specifying a string argument with -d...=(...) or -d...=&lt;...&gt;
  5714. would cause an invalidaccess error. (gs.c)
  5715. - The environment for encapsulated jobs didn't rebind quit to stop
  5716. in userdict. (gs_lev2.ps)
  5717. - restore didn't deal properly with open files on the e-stack.
  5718. (zvmem.c)
  5719. - Even with the '-' switch, Ghostscript would try to read ahead in
  5720. the input stream rather than processing input character-by-character.
  5721. (ziodev.c)
  5722. - If an error occurred with a unreadable dictionary on any stack,
  5723. the standard error printer would get into an error loop and exit the
  5724. interpreter. (gs_init.ps)
  5725. - The for_roots macro in igc.c used ap rather than mem as its
  5726. second formal parameter. (This typo had no effect on the executable
  5727. program.) (igc.c)
  5728. - If saving the stacks for an error caused a GC request, a value
  5729. could get stored into an improper variable on the C stack, causing havoc.
  5730. (interp.c)
  5731. - setdash checked to make sure that the distance array had read
  5732. access; Adobe interpreters don't check this. (zgstate.c)
  5733. - The roots for gs_run_string and gs_interpret weren't registered
  5734. properly, which could cause a dangling reference in the case of a restore
  5735. whose save had been done earlier. (gsmain.c, interp.c)
  5736. Adds an OpenOutputFile Boolean device parameter for printer devices; if
  5737. true, the device opens the OutputFile at the time the device is opened,
  5738. instead of waiting for the first showpage. This helps with synchronization
  5739. when the OutputFile is a pipe. (gdevprn.h, gdevprn.c)
  5740. Changes the BEGIN/END_OP_DEFS macros to require an explicit { and } at each
  5741. use. (gsmain.c, interp.c, z*.c)
  5742. Arranges things so that the operators that the interpreter handles
  5743. specially are assigned the first N operator indices [internal change only].
  5744. (interp.h, iinit.c, interp.c)
  5745. Changes the operators max and min to .max and .min, to avoid conflicts with
  5746. PostScript programs that use these names for variables and also use 'bind'.
  5747. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE from programs that depend on
  5748. 'bind' binding in these operators; however, we have also defined procedures
  5749. max and min that just call the operators, which should take care of any
  5750. ordinary code. (*.ps, zrelbit.c)
  5751. </pre><h3><a name="V3.21_Streams"></a>Streams</h3><pre>
  5752. Fixes bugs:
  5753. - The pfb_state pointer in the eexecDecode filter state wasn't
  5754. marked as traceable for the garbage collector. (sfilter.h)
  5755. - The eexec decoding filter could access invalid memory or return
  5756. garbage under some conditions. (Bug introduced in 3.12.) (zmisc1.c)
  5757. - The eexec decoding filter would incorrectly ask for more input if
  5758. the output buffer was full. (seexec.c)
  5759. </pre><h3><a name="V3.21_Library"></a>Library</h3><pre>
  5760. Fixes bugs:
  5761. - Some compilers reserve the word 'try'. (gshtscr.c)
  5762. - Some compilers don't like line continuations (\) within a
  5763. preprocessor macro formal parameter list. (gdevprn.h, gxdevice.h)
  5764. - Memory devices created with an inverted palette (0=white,
  5765. 1=black) interchanged white and black in fill operations. (gdevmem1.c)
  5766. - The 'bits' variable in mem_mono_copy_mono was unused on
  5767. little-endian machines. (gdevmem1.c)
  5768. - Some garbage collector procedures were declared 'private'
  5769. inconsistently. (gscie.c)
  5770. - The new anti-aliased text capability accidentally caused all
  5771. characters to be oversampled. (gschar.c)
  5772. - Type 1 fonts with PaintType = 2 and StrokeWidth = 0 came out with
  5773. many pixels missing because of oversampling. (gschar.c)
  5774. - Type 1 font stem hints were not being processed correctly.
  5775. (gstype1.h, gxtype1.h, gstype1.c, gxhint2.c, gxhint3.c, gxpath.c)
  5776. - The tracing message for 9/7 composite fonts incorrectly
  5777. identified them as 1/7 fonts. (gschar0.c)
  5778. - If a 1/7 or 9/7 composite font was a child of a non-modal font,
  5779. the font number of the child font was computed incorrectly. (gschar0.c)
  5780. Splits up the various memory devices into one file per depth [internal
  5781. change only]. (gdevm*.c)
  5782. </pre>
  5783. <h2><a name="Version3.20"></a>Version 3.20 (beta) (10/31/94)</h2>
  5784. <p>
  5785. This version contains some support for a PDF interpreter; however, the PDF
  5786. code itself is not ready for release yet. It also includes anti-aliased text
  5787. capability. This release was not distributed to the public.
  5788. <h3><a name="V3.20_Documentation"></a>Documentation</h3><pre>
  5789. Notes that the FAQ has moved to smallo.ruhr.de:pub/ghost/gs.faq. (readme)
  5790. Documents various implementation limits. (language.doc)
  5791. </pre><h3><a name="V3.20_Procedures"></a>Procedures</h3><pre>
  5792. Fixes bugs:
  5793. - bcp.dev wasn't included in the list of dependencies for
  5794. level1.dev. (gs.mak)
  5795. Changes the printout of version numbers so that it is always A.BC,
  5796. rather than A.B if C is zero. (gs.c, gs_init.ps)
  5797. </pre><h3><a name="V3.20_Utilities"></a>Utilities</h3><pre>
  5798. Fixes bugs:
  5799. - font2c didn't correctly handle Metrics or Metrics2 dictionaries
  5800. whose entries were arrays rather than scalars. (font2c.ps, ccfont.h,
  5801. iccfont.c)
  5802. - font2c didn't handle CDevProc. (font2c.ps, ccfont.h, iccfont.c)
  5803. - genconf could get a stack overflow on small machines.
  5804. (genconf.c)
  5805. Changes mergeini.ps so it can take arguments on the command line specifying
  5806. the input and output files. (mergeini.ps)
  5807. Adds a gsdj500 shell script to parallel gsdj500.bat. (gsdj500)
  5808. </pre><h3><a name="V3.20_Drivers"></a>Drivers</h3><pre>
  5809. Fixes bugs:
  5810. - The X driver didn't mask dynamically assigned colors properly, so
  5811. it could request the same color over and over again. (gdevx.c)
  5812. Adds two alternate X Windows drivers, for helping debug drivers with other
  5813. color models:
  5814. - x11alpha, an RGB device with 4-bit alpha capability (for
  5815. copy_alpha only);
  5816. - x11cmyk, a 1-bit-per-component CMYK device.
  5817. (devs.mak, gdevxalt.c)
  5818. Changes the left margin of the lj4dith driver to 0.26". (gdevcdj.c)
  5819. </pre><h3><a name="V3.20_Platforms"></a>Platforms</h3><pre>
  5820. Fixes bugs:
  5821. - If &lt;sys/time.h&gt; didn't exist, time_.h didn't always include
  5822. &lt;time.h&gt;. (time_.h)
  5823. - The OS/2 platform wouldn't compile. (gdevpm.c)
  5824. - The auxiliary VMS command files sometimes got blank lines
  5825. inserted when going through EOL conversion. (vms.mak; delete gs_.com)
  5826. - The VMS makefiles didn't include the Level 1 operators in
  5827. level1.dev. (vms.mak)
  5828. - The VMS gcc makefile didn't handle undefined DEVICE_DEVSn
  5829. variables properly. (vms*.mak)
  5830. - The VMS makefiles didn't recognize DEVICE_DEVS{1,2,5,7}.
  5831. (vms.mak)
  5832. At the request of a Unix expert, changes all the Unix shell scripts to use
  5833. exec gs ... "$@" rather than gs ... $*. (gsnd, gsbj, gsdj, gslj, gslp)
  5834. Modifies the JPEG library so that it uses 4K less of the automatic data
  5835. segment in 16-bit environments. (bcwin.mak, jpeg.mak, sjpeg.c, sjpegerr.c)
  5836. Adds the bmp drivers back into the 16-bit MS Windows executable, since they
  5837. will fit now. (bcwin.mak)
  5838. </pre><h3><a name="V3.20_Fonts"></a>Fonts</h3><pre>
  5839. Makes the font substitution algorithm recognize the word Roman as calling
  5840. for a serif font. (gs_fonts.ps)
  5841. </pre><h3><a name="V3.20_Interpreters"></a>Interpreters</h3><pre>
  5842. Fixes bugs:
  5843. - The fix in 3.13 for the inexact function values at 0 didn't work.
  5844. (zcontrol.c)
  5845. - Level 1 configurations referenced an undefined procedure
  5846. gs_currenthalftone. (gsht.c, gsht1.c)
  5847. - Specifying any device properties (including -r and -g) on the
  5848. command line caused an error. (gs_init.ps)
  5849. - The forward declaration of cfont_name_array_create was
  5850. incorrect. (iccfont.c)
  5851. - save and restore could get called before the graphics state stack
  5852. had been initialized properly. (gs_mex_e.ps)
  5853. - Some encodings weren't loaded properly. (gs.mak, gs_mex_e.ps,
  5854. gs_mro_e.ps, gs_pdf_e.ps, gs_wan_e.ps)
  5855. - Zero-height images were allowed, but zero-width images
  5856. weren't. (zpaint.c)
  5857. - Neither zero-width nor zero-height images popped their
  5858. arguments from the operand stack. (zpaint.c)
  5859. - lib_file_fopen overwrote its file name argument, causing havoc
  5860. with @-files. (gxiodev.h, gdevpipe.c, gsiodev.c, zfile.c)
  5861. - The garbage collector got confused if there were any arrays or
  5862. dictionaries with 8K or more elements. (igcref.c)
  5863. - &gt;&gt; could leave the stacks in a questionable state if it failed.
  5864. (gs_init.ps)
  5865. - The Category resource category didn't implement undefineresource.
  5866. (gs_res.ps)
  5867. - When the token operator read the last token from a string, it
  5868. left an unchanged string on the stack instead of an empty string.
  5869. (stream.c)
  5870. - noaccess didn't give an invalidaccess error when applied to the
  5871. permanent dictionaries. (dstack.h, idict.c, ztype.c)
  5872. - Overflowing the exec stack wasn't handled properly. (istack.h,
  5873. istack.c)
  5874. - The garbage collector cleared the cached value pointers in names,
  5875. causing interpretation to slow down substantially. (idict.c, igc.c,
  5876. iname.c)
  5877. - 0 dict created a dictionary with a maxlength of 1. (idict.c)
  5878. Changes the default size of the execution stack from 150 to 250, to match
  5879. the Adobe "typical" value. (interp.c)
  5880. Moves the operator definitions out of the automatic data segment.
  5881. (opdef.h, iinit.c, z*.c)
  5882. Adds operators that allow creation of objects in system space:
  5883. .systemvmstring, .systemvmarray, .systemvmpackedarray, .systemvmdict,
  5884. .systemvmcheck. (zsysvm.c)
  5885. Renames gcdefs.h as gscdefs.h.
  5886. Allocates names in system space rather than global space. (gsmain.c)
  5887. Changes the memory manager so that it allows programs to create objects in
  5888. system space. (iref.h, iutil.h, ivmspace.h, ...)
  5889. Changes the implementation of filters so they appear in their own
  5890. dictionary named filterdict. (gs_init.ps, z*.c)
  5891. Changes the implementation of color spaces so each one has its own
  5892. setcolorspace procedure, defined in a new dictionary named
  5893. colorspacedict. (gs_lev2.ps, z*.c)
  5894. Adds a new debugging switch, $, that always initializes all fields in a
  5895. ref, in order to keep Purify happy. (store.h)
  5896. </pre><h3><a name="V3.20_Library"></a>Library</h3><pre>
  5897. Fixes bugs:
  5898. - The page size for image devices was always set to (0, 0).
  5899. (gsdevice.c)
  5900. - The PageSize computation in gx_default_put_params could overflow
  5901. on 16-bit machines. (gsdparam.c)
  5902. - An omitted 'static' on an initialized array caused a compiler
  5903. error. (gxccman.c)
  5904. - If interpolated image rendering was requested but not
  5905. actually carried out, gs_image_cleanup could attempt to free a random
  5906. pointer. (gsimage.c)
  5907. - Some compilers only retain 23 characters of procedure names, but
  5908. some procedure names weren't unique in the first 23 characters. (gscie.c,
  5909. gscolor.c, gscolor1.c, gxcmap.c)
  5910. - The garbage collector didn't trace device colors properly.
  5911. (gxdcolor.h, gzht.h, gsimage1.c, gspcolor.c, gxcht.c, gxcmap.c, gxdraw.c,
  5912. gxht.c)
  5913. - For CMYK devices, the transfer functions were being applied to
  5914. the CMYK values rather than the complemented RGBW values. (gxcmap.c)
  5915. - Memory devices used their own color mapping procedures rather
  5916. than those of the target; this could cause incorrect colors for patterns on
  5917. devices with more than 1 bit per pixel. (gxdevmem.h, gdevmem1.c, gdevpm.c,
  5918. gdevprn.c, gdevwdib.c, gschar.c, gsdevice.c, gxccache.c, gxccman.c,
  5919. gxclip2.c, gxclread.c, gxpcmap.c)
  5920. - The garbage collector didn't trace image enumerators properly in
  5921. the image_render_simple case. (gsimage.c)
  5922. - stroke produced different-looking output for thin (zero-width)
  5923. lines depending on whether or not clipping was invoked. (gxstroke.c)
  5924. - If a clipping list changed from multiple rectangles to a single
  5925. rectangle, it could fail to clip properly thereafter. (gxacpath.c)
  5926. Adds two new device procedures: alpha_bits and copy_alpha. This change is
  5927. backward-compatible for all existing devices. (gdevmem.h, gxdevice.h,
  5928. gsdevice.c, gxclip2.c, gxclist.c, gxcpath.c)
  5929. Changes the implementation of color halftones so that, when appropriate, it
  5930. generates a single cell and uses the device tile_rectangle procedure.
  5931. (gzht.h, gsht.c, gxcht.c, gxclist.c, gxclread.c)
  5932. Adds partial support for the Orientation page device parameter.
  5933. (gsdevice.c)
  5934. Adds support for anti-aliased characters using 2 or 4 bits of alpha.
  5935. (gxfcache.h, gschar.c, gxccache.c)
  5936. </pre>
  5937. <hr>
  5938. <h2><a name="Version3.13"></a>Version 3.13(private) (10/3/94)</h2>
  5939. <p>
  5940. This release was created for a customer; it was not distributed to the
  5941. public.
  5942. <h3><a name="V3.13_Documentation"></a>Documentation</h3><pre>
  5943. Notes in make.doc that the file names in the IJG archive distributed with
  5944. Ghostscript do not include the gsA.BC/ prefix. (make.doc)
  5945. Adds a cross-reference to make.doc to the Watcom makefiles. (watc.mak,
  5946. watcwin.mak, wccommon.mak)
  5947. </pre><h3><a name="V3.13_Procedures"></a>Procedures</h3><pre>
  5948. Fixes bugs:
  5949. - The makefile rule for gconfig.h et al had a couple of blank lines
  5950. in the middle of it. (gs.mak)
  5951. </pre><h3><a name="V3.13_Utilities"></a>Utilities</h3><pre>
  5952. Fixes bugs:
  5953. - wrfont.ps didn't add a lenIV entry to the Private dictionary if
  5954. it was needed. (wrfont.ps)
  5955. Adds a packfile.ps utility that allows compressing multiple files into a
  5956. single file for environments with very little permanent storage.
  5957. (gs_pfile.ps, packfile.ps, wrfont.ps)
  5958. </pre><h3><a name="V3.13_Drivers"></a>Drivers</h3><pre>
  5959. Fixes bugs:
  5960. - The {tiff,fax}{g32d,g4} devices could produce incorrect output.
  5961. See under Streams below.
  5962. - The dfax drivers referred to the obsolete structure member
  5963. EncodedEOLAlign. (gdevdfax.c)
  5964. Changes the default bit order for TIFF/F output to little-endian, which is
  5965. apparently what the majority of TIFF decoders like best. The bit order for
  5966. the fax drivers is still big-endian. (gdevdfax.c, gdevtfax.c)
  5967. </pre><h3><a name="V3.13_Platforms"></a>Platforms</h3><pre>
  5968. Fixes bugs:
  5969. - The VMS build script used -a rather than -w for creating
  5970. gconfig_.h. (vms.mak)
  5971. - The VMS build script didn't create gconfigv.h. (vms.mak)
  5972. - The VMS Fontmap had incorrect entries for the Bitstream Charter
  5973. fonts. (fontmap.vms)
  5974. - The VMS MODULES.LIS file assumed the JPEG library files were in
  5975. directory JPEG rather than JPEG-5. (modules.lis)
  5976. </pre><h3><a name="V3.13_Fonts"></a>Fonts</h3><pre>
  5977. Fixes bugs:
  5978. - Using DISKFONTS resulted in an invalidaccess error.
  5979. (gs_fonts.ps)
  5980. </pre><h3><a name="V3.13_Interpreter"></a>Interpreter</h3><pre>
  5981. Fixes bugs:
  5982. - The standard transfer function considered gray values above
  5983. roughly 0.994 equivalent to white; 0.999 is a better value. (gs_init.ps)
  5984. - The transfer, black generation, and undercolor removal functions
  5985. gave slightly inexact results for an input value of 0. (zcolor.c,
  5986. zcontrol.c)
  5987. - setpagedevice gave an /undefined error if it did not recognize a
  5988. key, rather than ignoring the key. (zdevice.c, gs_init.ps, gs_lev2.ps,
  5989. gs_setpd.ps)
  5990. Changes .putdeviceparams to take an additional argument, a Boolean that
  5991. says whether or not unrecognized keys should be reported as /undefined
  5992. errors. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE; however, no user-written
  5993. code should be calling .putdeviceparams. (zdevice.c)
  5994. </pre><h3><a name="V3.13_Streams"></a>Streams</h3><pre>
  5995. Fixes bugs:
  5996. - The Group 3 2-D and Group 4 fax encoders could emit incorrect
  5997. output. (scfe.c)
  5998. - The algorithm for constructing optimal Huffman codes could
  5999. produce invalid codes in some rare cases. (shcgen.c)
  6000. </pre><h3><a name="V3.13_Library"></a>Library</h3><pre>
  6001. Fixes bugs:
  6002. - Rectangles closed with lineto rather than closepath weren't
  6003. recognized as rectangles. (This only affected performance, not
  6004. functionality.) (gxpath2.c)
  6005. - The xfont lookup_font procedure could get called with a matrix
  6006. whose translation components had never been initialized. (gxccman.c)
  6007. - Some compilers don't allow \ in the formal argument list of a
  6008. preprocessor macro. (gdevprn.h, gxdevice.h)
  6009. </pre>
  6010. <h2><a name="Version3.12"></a>Version 3.12 (9/29/94)</h2>
  6011. <p>
  6012. This is another bug fix release, the first Level 2 release that we believe
  6013. is reasonably reliable.
  6014. <h3><a name="V3.12_Documentation"></a>Documentation</h3><pre>
  6015. Adds some text warning about making copies of the makefile. (make.doc)
  6016. </pre><h3><a name="V3.12_Procedures"></a>Procedures</h3><pre>
  6017. Fixes bugs:
  6018. - There were a number of unnecessary dependencies on $(MAKEFILE) in
  6019. gs.mak, left over from before the existence of gconfigv.h. (gs.mak)
  6020. - JPEGSRC was defined in gs.mak rather than in jpeg.mak. (gs.mak,
  6021. jpeg.mak)
  6022. Changes the version numbering scheme back to A.BC, since people seem to be
  6023. adapting to the change, and this allows using the version number directly
  6024. as a MS-DOS directory name. (gconfig.c, gdevtfax.c, gs.c, gs_init.ps)
  6025. Updates the JPEG library to version 5 (official release) of the IJG code.
  6026. (jpeg/*, jpeg.mak)
  6027. </pre><h3><a name="V3.12_Drivers"></a>Drivers</h3><pre>
  6028. Fixes bugs:
  6029. - The TIFF/F driver put out invalid PageNumber and Software
  6030. entries. (gdevtifs.h, gdevtfax.c)
  6031. - The TIFF/F and fax Group 3 2-D drivers used K=3 and K=5 instead
  6032. of K=2 and K=4. (gdevtfax.c)
  6033. - The TIFF/F and fax Group 3 2-D drivers emitted improperly aligned
  6034. output. (See under Streams below.)
  6035. - The MS Windows driver didn't resize the window properly in
  6036. response to changing the device parameters. (gdevmswn.c)
  6037. Because of complementary bugs in various C compilers, changes all the
  6038. non-printer devices to use a different set of macros. (gdevmem.h,
  6039. gdevpcfb.h, gdevprn.h, gdevsvga.h, gxdevice.h, gdev{3b1, bgi, herc, l256,
  6040. pe, pm, sun, vglb, wddb, wdib, wprn, x}.c, gsdevice.c, gxacpath.c,
  6041. gxclip2.c, gxcpath.c, gxpcmap.c, zupath.c)
  6042. Changes the X11 driver to ignore the "margins" specified by Ghostview.
  6043. This is apparently necessary for Ghostview to handle landscape display
  6044. properly. (gdevxini.c)
  6045. Adds a WindowID parameter to the X11 device, to allow setting the window
  6046. for the output. (gdevx.h, gdevx.c, gdevxini.c)
  6047. </pre><h3><a name="V3.12_Platforms"></a>Platforms</h3><pre>
  6048. Fixes bugs:
  6049. - The definition of BEGINFILES in os2.mak occurred too late in the
  6050. file to have the desired effect. (os2.mak)
  6051. </pre><h3><a name="V3.12_Interpreter"></a>Interpreter</h3><pre>
  6052. Fixes bugs:
  6053. - Updating the list of allocated file objects at a restore didn't
  6054. clear the prev pointer of the new head, which could cause the garbage
  6055. collector to encounter an invalid pointer. (Bug introduced by .forgetsave
  6056. in 3.0.3.) (zfile.c)
  6057. </pre><h3><a name="V3.12_Streams"></a>Streams</h3><pre>
  6058. Fixes bugs:
  6059. - The CCITTFaxEncode filter with K &gt; 0 and EncodedByteAlign = true
  6060. incorrectly aligned the 1-D/2-D bit as the last bit of a byte, rather than
  6061. the first bit. (scfx.h, scfe.c)
  6062. - eexec could loop indefinitely under certain conditions.
  6063. (seexec.c)
  6064. - eexec's algorithm for recognizing text vs. binary encoding didn't
  6065. work properly in some cases that don't conform to the Adobe Type 1 Font
  6066. Format documentation. (seexec.c)
  6067. - Closing a stream didn't clear out the strm and state pointers,
  6068. which could cause invalid accesses by the garbage collector. (stream.c)
  6069. </pre><h3><a name="V3.12_Library"></a>Library</h3><pre>
  6070. Fixes bugs:
  6071. - fill_loop could loop indefinitely under certain conditions.
  6072. (Introduced by a bug fix in 3.1.) (gxfill.c)
  6073. - fill/eofill sometimes failed to paint parts of a region.
  6074. (Introduced by a bug fix in 3.1.1.) (gxfill.c)
  6075. - Non-convex clipping paths sometimes omitted thin horizontal
  6076. slivers of the region. (Probably introduced by the "thin graphics" fix in
  6077. 3.1.) (gxacpath.c)
  6078. </pre>
  6079. <h2><a name="Version3.1.1"></a>Version 3.1.1 (9/25/94)</h2>
  6080. <p>
  6081. This is primarily a bug fix release. It was originally intended for some
  6082. commercial licensees, but beta testers found too many problems with it.
  6083. <h3><a name="V3.1.1_Documentation"></a>Documentation</h3><pre>
  6084. Fixes bugs:
  6085. - NEWS didn't indicate that there was a non-backward-compatible
  6086. change in the gx_device structure -- specifically, that l_margin,
  6087. b_margin, r_margin, and t_margin were replaced by macros named
  6088. dev_l_margin(dev), etc. (news)
  6089. Describes the two-phase commit requirement for device put_params
  6090. procedures. (drivers.doc, gsparam.h)
  6091. </pre><h3><a name="V3.1.1_Procedures"></a>Procedures</h3><pre>
  6092. Fixes bugs:
  6093. - The new S macro in genarch.c didn't work on compilers that do
  6094. macro substitution within string constants (which is forbidden by the ANSI
  6095. standard). (genarch.c)
  6096. </pre><h3><a name="V3.1.1_Drivers"></a>Drivers</h3><pre>
  6097. Fixes bugs:
  6098. - Driver put_params implementations didn't observe a "two-phase
  6099. commit" discipline; this could lead to the current device in the graphics
  6100. state being closed, and other inconsistencies. (gsparam.h, gxdevice.h,
  6101. iparam.h, gdevbit.c, gdevcdj.c, gdevmswn.c, gdevpcfb.c, gdevpm.c,
  6102. gdevprn.c, gdevx.c, gsdevice.c, gsdparam.c, zdevice.c, ziodev2.c, zmisc2.c)
  6103. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE; however, it only affects
  6104. put_params implementations, of which there are few.
  6105. NOTE THE NON-BACKWARD-COMPATIBLE CHANGE IN THE gx_device STRUCTURE UNDER
  6106. 'Documentation' ABOVE. (gdevescp.c, gdevsj48.c, gdevsppr.c, gdevxini.c)
  6107. </pre><h3><a name="V3.1.1_Platforms"></a>Platforms</h3><pre>
  6108. Ensures that the Unix makefiles all include all the variants of TIFF/F and
  6109. fax drivers. (ansihead.mak, cc-head.mak, gcc-head.mak)
  6110. </pre><h3><a name="V3.1.1_Interpreter"></a>Interpreter</h3><pre>
  6111. Fixes bugs:
  6112. - Most of the contents of statusdict were missing when
  6113. running a Level 2 system in Level 1 mode. (zmisc2.c)
  6114. </pre>
  6115. <h2><a name="Version3.1"></a>Version 3.1 (9/20/94)</h2>
  6116. <p>
  6117. This release finally includes a usable subset implementation of
  6118. setpagedevice, including all the machinery needed to address the
  6119. long-standing "margins" problems.
  6120. <h3><a name="V3.1_Documentation"></a>Documentation</h3><pre>
  6121. Fixes bugs:
  6122. - t_oparray objects weren't identified as behaving differently
  6123. depending on whether they were marked executable. (iref.h)
  6124. - drivers.doc had gx_color_value instead of gx_color_index in
  6125. the description of color mapping. (drivers.doc)
  6126. Updates drivers.doc to reflect the change from static_procs to
  6127. std_procs in the gx_device structure. (drivers.doc)
  6128. </pre><h3><a name="V3.1_Procedures"></a>Procedures</h3><pre>
  6129. Fixes bugs:
  6130. - The commands for building the JPEG library used rm instead
  6131. of rm -f. (jpeg.mak)
  6132. </pre><h3><a name="V3.1_Drivers"></a>Drivers</h3><pre>
  6133. Fixes bugs:
  6134. - The X Windows driver hadn't been updated to reflect some
  6135. name changes in members of the gx_color_info structure. (gdevx.h,
  6136. gdevx.c, gdevxini.c)
  6137. Changes all non-printer drivers so that they use the new std_device_body
  6138. macros. (gdev*.c)
  6139. Adds a print_page_copies procedure for printer drivers, allowing the
  6140. driver to receive num_copies. (gdevprn.h, gdevprn.c)
  6141. </pre><h3><a name="V3.1_Interpreter"></a>Interpreter</h3><pre>
  6142. Fixes bugs:
  6143. - ref_memory_enum/reloc_ptrs were declared inconsistently.
  6144. (ialloc.c)
  6145. - If the operand of restore was invalid, the restore did
  6146. nothing, instead of giving a typecheck. (zvmem.c)
  6147. - In Level 2, the margins and setmargins compatibility
  6148. operators were defined incorrectly in terms of current/setpagedevice.
  6149. (gs_lev2.ps)
  6150. Enables .makeoperator to make local operators as well as global ones.
  6151. (opdef.h, iinit.c, zmisc.c, zpacked.c)
  6152. Finishes implementing the TransferFunction entry in halftone
  6153. dictionaries. (zht1.c, zht2.c)
  6154. Adds .set/currentfilladjust operators for access to the fill
  6155. adjustment parameter in the graphics state. (zgstate.h)
  6156. Removes the deviceinitialmatrix operator. (zdevice.c)
  6157. Changes defaultmatrix from a procedure to an operator. (zmatrix.c)
  6158. Sets the fill adjustment to 0.5 for high-resolution devices, effectively
  6159. implementing Adobe's any-part-of-pixel filling rule. (gs_init.ps)
  6160. Implements a small but useful subset of setpagedevice. (gs_lev2.ps)
  6161. </pre><h3><a name="V3.1_Streams"></a>Streams</h3><pre>
  6162. Fixes bugs:
  6163. - The eexec decoder incorrectly concluded that its data was
  6164. in hex form if the first data character was whitespace. (seexec.c)
  6165. </pre><h3><a name="V3.1_Library"></a>Library</h3><pre>
  6166. Fixes bugs:
  6167. - Thin graphics (e.g., lines or rectangles) with small angles
  6168. relative to the X axis rendered with many points missing. (gxdraw.c,
  6169. gxfill.c)
  6170. - The character cache rejected oversampled characters if the
  6171. scaled-up size was too large, even if the scaled-down size wasn't.
  6172. (gxchar.h, gschar.c, gxccache.c, gxccman.c)
  6173. - A call on sqrt with an integer argument didn't promote it
  6174. explicitly to double, which is required for non-ANSI compilers.
  6175. (gshtscr.c)
  6176. Finishes implementing the TransferFunction entry in halftone
  6177. dictionaries. (gsht1.c)
  6178. Modifies the character oversampler so it can produce gray scale
  6179. output instead of a 1-bit mask. We don't actually make use of this
  6180. ability yet. (gxccman.c)
  6181. Adds gs_set/currentfilladjust for access to the fill adjustment
  6182. parameter in the graphics state. (gsstate.h, gsstate.c)
  6183. Changes the names of the last few routines beginning with gz_ to
  6184. begin with gx_ instead. (gzdraw.h =&gt; gxdraw.h, gsimage*.c, gxdraw.c,
  6185. gxfill.c, gxstroke.c)
  6186. Properly implements the PageSize, Margins, .HWMargins, and ImagingBBox
  6187. device parameters for all devices. (gscoord.c, gsdparam.c, gspath2.c)
  6188. Implements the NumCopies device parameter for printer devices.
  6189. (gdevprn.c)
  6190. Implements std_device_body macros to help insulate statically initialized
  6191. non-printer devices from future changes in the gx_device structure.
  6192. (gxdevice.h, ... many .c files ...)
  6193. </pre>
  6194. <hr>
  6195. <h2><a name="Version3.0.3"></a>Version 3.0.3 (9/16/94)</h2>
  6196. <p>
  6197. This is primarily a bug fix release; it also implements most of the
  6198. remaining Level 2 loose ends (except for setpagedevice).
  6199. <h3><a name="V3.0.3_Documentation"></a>Documentation</h3><pre>
  6200. Changes code that refers to "Ghostscript" to use the correct product
  6201. name from gs_product. (gs.mak, gdevpbm.c, gdevsun.c, gswppm.c)
  6202. Documents the new .forgetsave operator. (language.doc)
  6203. Clarifies the distinction between commercial licensing and single-copy
  6204. end-user sales. (readme)
  6205. </pre><h3><a name="V3.0.3_Procedures"></a>Procedures</h3><pre>
  6206. Fixes bugs:
  6207. - The compilation rule for gdevadmp.c was missing from the
  6208. makefile. (devs.mak)
  6209. Changes the version numbering scheme back to A.B.C, since too many
  6210. people got confused by the change to A.BC. (gconfig.c, gs.c,
  6211. gs_init.ps)
  6212. Adds a -dNOGC switch to prevent the garbage collector from being
  6213. enabled. (gs_init.ps)
  6214. </pre><h3><a name="V3.0.3_Utilities"></a>Utilities</h3><pre>
  6215. Removes the ps2image utility, since the new psmono driver replaces it.
  6216. </pre><h3><a name="V3.0.3_Drivers"></a>Drivers</h3><pre>
  6217. Fixes bugs:
  6218. - The TIFF drivers incorrectly assumed that short and ulong
  6219. were the same size as TIFF_short and TIFF_ulong, causing problems on
  6220. 64-bit systems. (gdevtfax.c)
  6221. - The EGA/VGA driver didn't do gray halftones properly if it
  6222. was configured as a monochrome or 8-color device. (gdevpcfb.h)
  6223. - The comment in gdevevga.c incorrectly identified the file
  6224. as gdevpcfb.c. (gdevevga.c)
  6225. Changes the PC display drivers to save and restore more of the BIOS
  6226. state. (gdevpcfb.h, gdevevga.c, gdevpcfb.c, gdevsco.c)
  6227. Adds a new psmono driver that does the same thing as ps2image, faster
  6228. and more conveniently. (gdevpsim.c)
  6229. Replaces the X11 driver with the one from 3.01, since the color
  6230. handling rewrite in 3.02 introduced serious bugs. (gdevx.h, gdevx.c,
  6231. gdevxini.c)
  6232. </pre><h3><a name="V3.0.3_Platforms"></a>Platforms</h3><pre>
  6233. Changes the definition of gx_no_color_index to work around one of the
  6234. bugs in the SGI Irix compiler. (gxdcolor.h)
  6235. Rewrites the installation commands in unix-end.mak so they don't have
  6236. very long lines. (unix-end.mak)
  6237. </pre><h3><a name="V3.0.3_Fonts"></a>Fonts</h3><pre>
  6238. Fixes bugs:
  6239. - Fonts that used 2- or 4-element arrays in the Metrics dictionary
  6240. interpreted the width and side bearing interchanged with each other.
  6241. (gs_type1.ps)
  6242. - Setting FONTPATH on the command line didn't work. (gs_fonts.ps)
  6243. </pre><h3><a name="V3.0.3_Streams"></a>Streams</h3><pre>
  6244. Fixes bugs:
  6245. - The stream position wasn't updated properly if sgets
  6246. crossed a buffer boundary. (stream.c)
  6247. Extends the BoundedHuffman filters so they can encode and decode runs of
  6248. zeros specially, and so they mark and detect EOD. (sbhc.h, shc.h, sbhc.c,
  6249. zfilter2.c)
  6250. Provides an alternate implementation of file streams which doesn't use
  6251. stdio buffering and which works around the System V "interrupted system
  6252. call" problem. (stream.c, sfile.c, sfileno.c)
  6253. Increases the maximum LZW output code from 3000 to 4095. (slzwe.c)
  6254. </pre><h3><a name="V3.0.3_Interpreter"></a>Interpreter</h3><pre>
  6255. Fixes bugs:
  6256. - Opening a filter on a file of the wrong access type (read
  6257. vs. write) didn't cause an error. (stream.h, sbasic.c, zfile.c, zfileio.c)
  6258. - save performed an extra, unnecessary gsave. (zvmem.c)
  6259. - sethalftone always gave a /undefined error. (zht2.c)
  6260. - eexec decryption read too much data from the input -- in
  6261. Level 2, it isn't allowed to read 512 characters ahead. (sfilter.h,
  6262. strimpl.h, seexec.c, sstring.c, zfileio.c, zmisc1.c)
  6263. - The scanner was too aggressive about allocating additional
  6264. space for strings on small machines. (iscan.c)
  6265. - The AccurateScreens flag in Type 1 and Type 2 halftone
  6266. dictionaries was being ignored. (zht2.c)
  6267. - The Level 2 definition of margins in statusdict didn't
  6268. allow for Margins being undefined in the current page device.
  6269. (gs_lev2.ps)
  6270. - The Interpolate flag was being ignored in image
  6271. dictionaries. [implemented in library]
  6272. - The TransferFunction option was being ignored in halftone
  6273. dictionaries. (zht2.c)
  6274. - Type 5 halftones usually didn't work, because they called
  6275. the wrong (or an invalid) spot function. (zht2.c)
  6276. Implements a .forgetsave operator that effectively causes a given save (and
  6277. all more recent saves) to disappear. (isave.h, stream.h, isave.c, zfile.c,
  6278. zvmem.c)
  6279. </pre><h3><a name="V3.0.3_Library"></a>Library</h3><pre>
  6280. Fixes bugs:
  6281. - In the 1-operand form of the image operator, a Decode value of [1
  6282. 0] with 8-bit sample values and a single data source was treated the same
  6283. as [0 1]. (gsimage1.c)
  6284. - Some Monotype fonts put a callsubr between an OtherSubr call and
  6285. the following 'pop' opcodes (which the Adobe documentation forbids); The
  6286. Type 1 font interpreter gave an invalidfont error rather than allowing
  6287. this. (gxtype1.h, gstype1.c)
  6288. - Patterns didn't implement XStep and YStep properly.
  6289. (gxpcolor.h, gspcolor.c, gxclip2.c)
  6290. - Clipping regions were sometimes 1 pixel too small at the edges;
  6291. this could cause vertical and horizontal lines produced by certain Windows
  6292. drivers to disappear. (gzpath.h, gxacpath.c, gxcpath.c, gxfill.c)
  6293. - Oversampling cached rotated characters produced very bad
  6294. results (many dropouts). (gschar.c)
  6295. - Rendering a DeviceGray color on a DeviceCMYK device applied
  6296. the transfer function to all 4 components, not just to the K
  6297. component. (gxcmap.c)
  6298. - A screen specified with setcolorscreen didn't take effect
  6299. properly on CMYK devices. (gsht.c)
  6300. Implements the Interpolate option for images. Currently this is only
  6301. implemented for portrait-orientation images (no rotation, skewing, or
  6302. X-reflection). (gscspace.h, gximage.h, gscie.c, gscolor.c, gscolor1.c,
  6303. gscolor2.c, gspcolor.c, gxcmap.c, gsimage.c, gsimage2.c, gsimage3.c)
  6304. Implements AccurateScreens, but only in the form of a larger limit on
  6305. the size of a halftone super-cell. (gxht.h, gsht.c, gsht1.c)
  6306. Starts to implement the TransferFunction option for halftones.
  6307. (gzht.h, gzstate.h, gsht.c, ...too many others to list...)
  6308. </pre>
  6309. <h2><a name="Version3.02"></a>Version 3.02 (8/30/94)</h2>
  6310. <p>
  6311. This is another bug fix release. It was distributed only to a few people,
  6312. since the new X Windows color mapping code is not reliable yet.
  6313. <h3><a name="V3.02_Documentation"></a>Documentation</h3><pre>
  6314. Fixes bugs:
  6315. - make.doc, but not unixtail.mak, called for setting PLATFORM=unix_
  6316. on SVR4 platforms. (unixtail.mak)
  6317. - drivers.doc contained some wording that suggested that
  6318. Ghostscript always used RGB colors internally. (drivers.doc)
  6319. - The definition of gx_device in drivers.doc had gotten out of sync
  6320. with gxdevice.h. (drivers.doc)
  6321. - README claimed that Ghostscript is not compatible with the
  6322. VAX/VMS DEC C compiler, which is no longer true. (readme)
  6323. Adds a new section on printer drivers to drivers.doc. (drivers.doc)
  6324. Adds a large number of new display boards to the 800x600 SVGA section of
  6325. use.doc. (use.doc)
  6326. Adds a bug report form to the README file. (readme)
  6327. Notes that OSF/1 AXP systems require changing the definition of INSTALL
  6328. from install to installbsd. (make.doc)
  6329. </pre><h3><a name="V3.02_Procedures"></a>Procedures</h3><pre>
  6330. Removes -Wno-uninitialized from the gcc flags, and fixes all the places (in
  6331. Aladdin's code only) that need to be fixed to pacify gcc after doing this.
  6332. (gcc-head.mak, gdevgif.c, gdevmem2.c, gdevpcl.c, gs.c, gsht1.c, gsimpath.c,
  6333. gsutil.c, gxclread.c, gxpcopy.c, gxstroke.c, idict.c, iscannum.c, stream.c,
  6334. zdevice2.c) (NOT FINISHED YET)
  6335. Adds a FAKEFONTS switch that makes fake entries in FontDirectory for
  6336. unloaded fonts, for the benefit of programs that think they can find all
  6337. the available fonts by scanning FontDirectory. (gs_fonts.ps, gs_init.ps)
  6338. </pre><h3><a name="V3.02_Utilities"></a>Utilities</h3><pre>
  6339. Fixes bugs:
  6340. - ps2epsi didn't work, because setdevice now erases the page.
  6341. (ps2epsi.ps)
  6342. - ps2epsi didn't work, because -dNODISPLAY installs a null device
  6343. with 0 width and height. The fix -- to remove the -dNODISPLAY -- is not
  6344. satisfactory, because it opens an unnecessary window. (ps2epsi)
  6345. </pre><h3><a name="V3.02_Drivers"></a>Drivers</h3><pre>
  6346. Fixes bugs:
  6347. - gdev_fax_open was incorrectly declared static in gdevtfax.c,
  6348. causing the extern reference in the dfax drivers not to be resolved.
  6349. (gdevtfax.c)
  6350. - devs.mak included a duplicate definition of gdevmswn_h.
  6351. (devs.mak)
  6352. - The fax drivers didn't link properly in Level 1 systems, because
  6353. shc.c was omitted from their dependency list. (gs.mak, devs.mak)
  6354. - The TIFF/F drivers didn't set RowsPerStrip properly.
  6355. (gdevtfax.c)
  6356. - The TIFF/F drivers didn't byte-align the EOL properly. (scfx.h,
  6357. gdevdfax.c, gdevtfax.c, scfe.c, zfilter2.c)
  6358. - The rule for compiling gdevpccm.c incorrectly specified
  6359. dependency on gs.h rather than gx.h. (devs.mak)
  6360. - The rule for compiling gdevtfax.c didn't include time_.h as a
  6361. dependency. (devs.mak)
  6362. - The mode 2 compression routine for the DeskJet/LaserJet printers
  6363. was broken. (gdevpcl.c)
  6364. Removes the -O0 from the compilation rule for gdevsco.c, since it was
  6365. misplaced to begin with. (devs.mak)
  6366. Adds a maxDynamicColors X resource to control dynamic allocation in the
  6367. color map. Replaces the X color lookup algorithms with completely new
  6368. ones, for a substantial performance gain. (gdevx.h, gdevx.c, gdevxini.c)
  6369. Adds PageNumber, Software, and DateTime entries to the TIFF/F drivers.
  6370. (gdevtifs.h, gdevtfax.c)
  6371. Changes the margins for the LaserJet 4 to 0. (gdevdjet.c)
  6372. Adds a user-contributed LaserJet 4 driver that does Floyd-Steinberg
  6373. dithering. (gdevcdj.c)
  6374. </pre><h3><a name="V3.02_Platforms"></a>Platforms</h3><pre>
  6375. Fixes bugs:
  6376. - The exit codes for Ghostscript should be different on VMS.
  6377. (iastate.h, gs.c, gsmain.c, igc.c, igcref.c)
  6378. - The VMS DEC C compiler declares malloc and free in stdlib.h, and
  6379. delete and unlink in stdlib.h. (malloc_.h, stdio_.h)
  6380. - st_prn_device wasn't defined, which upset the VMS linker even
  6381. though there were no references. (gdevprn.h)
  6382. - stdpre.h didn't bring in the right headers when running gcc on
  6383. SCO Unix, causing compilation warnings/errors. (stdpre.h)
  6384. - The definition of rename in gp_sysv didn't include const for the
  6385. arguments. (gp_sysv.c)
  6386. - The definition of gettimeofday in gp_sysv didn't return any
  6387. value. (gp_sysv.c)
  6388. - time_.h didn't work on MS-DOS systems. (time_.h)
  6389. - math_.h didn't include &lt;math.h&gt; when compiling with gcc on VMS
  6390. systems. (math_.h)
  6391. - DesqView/X doesn't have a 'cat' command, which caused problems in
  6392. the linking step. (dvx-tail.mak)
  6393. Changes the definitions of popen in gdevpipe.c and gp_unix.c so they don't
  6394. specify the argument list. This is an attempt to get around the fact that
  6395. there is no easy way to detect whether the available header files declare
  6396. popen correctly (with const arguments), incorrectly (with non-const
  6397. arguments), or not at all. (gdevpipe.c, gp_unix.c)
  6398. Replaces VMS.MAK, VMS-CC.MAK, and VMS-AXP.MAK with new versions provided by
  6399. a user. (vms.mak, vms-cc.mak, vms-axp.mak)
  6400. Changes the 16-bit Borland makefiles so their standard configuration is
  6401. Level 1 plus color.dev (CMYK color and colorimage). (bc.mak, bcwin.mak)
  6402. </pre><h3><a name="V3.02_Fonts"></a>Fonts</h3><pre>
  6403. Fixes bugs:
  6404. - cfonts.mak still referred to some .gsf files that have been
  6405. replaced by .pfa files. (cfonts.mak)
  6406. - Compiled fonts got entered into FontDirectory, but didn't get
  6407. registered as resources. (gs_ccfnt.ps)
  6408. - The Cyrillic, Kana, Hershey .gsf, and URW fonts didn't include a
  6409. necessary systemdict begin/end, which caused them to fail in badly designed
  6410. environments. (fonts/f*.gsf, fonts/h*.gsf, fonts/?0*.gsf)
  6411. Changes the default target directory in cfonts.mak from fonts/c to .;
  6412. changes the names of the Zapf Chancery compiled font procedures from c* to
  6413. zc*. (cfonts.mak)
  6414. Adds more fonts from the Adobe Type Manager package for MS Windows to
  6415. Fontmap.ATM. (fontmap.atm)
  6416. Adds the entire set of 35 standard fonts to the ccfonts feature in gs.mak;
  6417. removes all the compilation rules for compiled fonts, since these rules are
  6418. in cfonts.mak already. (gs.mak)
  6419. </pre><h3><a name="V3.02_Interpreter"></a>Interpreter</h3><pre>
  6420. Fixes bugs:
  6421. - kshow executed a null, rather than the correct procedure, between
  6422. the characters of the string, and got a typecheck error at the end.
  6423. (zchar.c)
  6424. - MultiMaster fonts computed their side bearing and width
  6425. incorrectly, producing incorrect output. (zchar1.c)
  6426. - There was no structure definition for gs_type1_state, so a GC
  6427. during the execution of an OtherSubrs procedure could scramble pointers in
  6428. the saved state. (zchar1.c, zfont1.c; also affects library, see below)
  6429. - kshow didn't work properly if the kerning procedure changed the
  6430. depth of the operand or dictionary stack. (zchar.c)
  6431. - If the element count for roll was too large by only 1 or 2, the
  6432. result was a crash rather than a rangecheck. (zstack.c)
  6433. - restore didn't undo currentgstate. (igstate.h, store.h,
  6434. gsstate.c, zdevice2.c, zdps1.c, ztype.c)
  6435. - The scanner didn't set the local bit properly in a suspended
  6436. state. (iscan.c)
  6437. - copypage disregarded #copies. (gs_init.ps)
  6438. - An incorrectly declared pointer led to addressing faults on
  6439. 16-bit systems. (zchar1.c)
  6440. - The cache for Separation colors was allocated with one element
  6441. too few. (zcsindex.c)
  6442. Changes `executive' so that if an error other than EOF occurs in the
  6443. reading of the statement, the interpreter prints the error message, but
  6444. control remains in the executive loop. (This isn't a very good fix; a
  6445. better one will require refactoring executive / execute / run.)
  6446. (gs_init.ps)
  6447. Changes dictionary undo saving to use the new ref_must_save macro [internal
  6448. change only]. (idict.c)
  6449. Moves configuration definitions from iinit.c to gconfig.c. (gcdefs.h,
  6450. interp.h, gconfig.c, gs.c, iinit.c, zmisc2.c, gs.mak)
  6451. Moves =string from systemdict to userdict for Adobe compatibility.
  6452. (gs_init.ps)
  6453. Starts to implement the Interpolate flag in image dictionaries. See under
  6454. Library below for restrictions. (zpaint.c, zimage2.c)
  6455. </pre><h3><a name="V3.02_Streams"></a>Streams</h3><pre>
  6456. Fixes bugs:
  6457. - stream_compact attempted to compact a read-only string being used
  6458. as the data source of a filter. (sbasic.c, stream.c)
  6459. Adds an EncodedEOLAlign flag to the CCITTFaxEncode stream, to allow direct
  6460. generation of TIFF/F output. (scfx.h, scfe.c, zfilter2.c)
  6461. </pre><h3><a name="V3.02_Library"></a>Library</h3><pre>
  6462. Fixes bugs:
  6463. - There was no structure definition for gs_type1_state, so a GC
  6464. during the execution of an OtherSubrs procedure could scramble pointers in
  6465. the saved state. (gxfont1.h, gxtype1.h, gstype1.c, gxhint2.c)
  6466. - A couple of calls had to discard const, but didn't include the
  6467. necessary cast. (gxpcmap.c)
  6468. - makeimagedevice refused to accept an empty image. (gsdevice.c)
  6469. - The extra parentheses around arguments in memory_.h caused some
  6470. compilers to fail. (memory_.h)
  6471. - Floating point overflows during coordinate conversion terminated
  6472. Ghostscript. (gxfarith.h, gxfixed.h, gsmatrix.c, gsmisc.c)
  6473. - Accents still weren't getting placed properly on characters
  6474. created with seac. (gstype1.c, gxhint2.c)
  6475. - The SGI C compiler couldn't handle the (perfectly legal)
  6476. definitions of dev_init_[open_]misc. (gxdevice.h)
  6477. - string_.h caused some problems with gcc on some versions of
  6478. Solaris. (string_.h)
  6479. - The halftone levels for color screens were computed incorrectly.
  6480. (gzht.h, gxdither.c)
  6481. - Color screens sometimes had vertical stripes of solid color
  6482. interspersed. (gxcht.c)
  6483. - Colors could get mapped incorrectly if a compiler aggressively
  6484. (and incorrectly) reordered the computation of procedure arguments
  6485. involving the unit_frac macro. (gxcmap.c)
  6486. - setcachedevice[2] insisted that the corners of the bounding box
  6487. be given in the correct order, i.e., llx &lt; urx and lly &lt; ury. (gschar.c)
  6488. - The image operator gave a limitcheck on unrotated 1-bit-per-pixel
  6489. images whose width in device coordinates exceeded 65529. (gsimage.c)
  6490. - The garbage collector didn't trace the input data of an
  6491. in-progress image operator correctly. (gsimage.c)
  6492. Changes the max_rgb and dither_rgb members of gx_device_color_info to
  6493. max_color and dither_colors, since Ghostscript now uses these for CMYK
  6494. devices as well. Also changes dither_gray to dither_grays. (gdevmem.h,
  6495. gdevprn.h, gxdevice.h, gdevbit.c, gdevcdj.c, gdevprn.c, gdevxini.c,
  6496. gsdparam.c, gxcht.c, gxcmap.c)
  6497. Starts to implement the Interpolate option for images. Currently this is
  6498. only implemented for image, not imagemask, and only for rotations that are
  6499. multiples of 90 degrees (possibly with reflection). (gsimage.h,
  6500. gsiscale.h, gximage.h, gsimage.c, gsimage1.c, gsiscale.c)
  6501. Starts to implement XStep and YStep in pattern dictionaries. (gxdcolor.h,
  6502. gxpcolor.h, gspcolor.c, gxpcmap.c)
  6503. </pre>
  6504. <h2><a name="Version3.01"></a>Version 3.01 (8/14/94)</h2>
  6505. <p>
  6506. This is a patch release to fix early problems in release 3.0, and to clean
  6507. up a few known loose ends.
  6508. <h3><a name="V3.01_Documentation"></a>Documentation</h3><pre>
  6509. Fixes bugs:
  6510. - language.doc still documented the devicename procedure, which has
  6511. been withdrawn. (language.doc)
  6512. - drivers.doc didn't specify under what circumstances each
  6513. procedure could be called. (drivers.doc)
  6514. - current.doc said that setcachedevice and makeimagedevice wouldn't
  6515. accept packed arrays, but neither of these operators takes any array
  6516. arguments. (current.doc)
  6517. - current.doc said that definefont didn't interact properly with
  6518. the resource machinery, which apparently is no longer true. (current.doc)
  6519. - make.doc incorrectly gave the name of the DVX makefile as
  6520. dvx-djg.mak rather than dvx-gcc.mak. (make.doc)
  6521. - In one place, devices.doc incorrectly used -sBitsPerPixel= rather
  6522. than -dBitsPerPixel=. (devices.doc)
  6523. Notes that a kernel bug in SCO Unix makes Ghostscript not work correctly in
  6524. some circumstances. (use.doc)
  6525. </pre><h3><a name="V3.01_Procedures"></a>Procedures</h3><pre>
  6526. Fixes bugs:
  6527. - devs.mak incorrectly referred to gdevjetp.c instead of
  6528. gdev3852.c. (devs.mak)
  6529. - The obsolete file gsprops.c was accidentally included in the
  6530. fileset.
  6531. Changes the version numbering scheme from A.BCC to A.B[C]. E.g., this
  6532. release will be 3.01, not 3.001. (gs_init.ps, gs.c, iinit.c)
  6533. Adds the LaserJet 4 driver to all makefiles that already include the
  6534. LaserJet 3 driver. (*.mak)
  6535. Adds the BJ-200 driver to all makefiles that already included the BJ-10e
  6536. driver. (*.mak)
  6537. Splits the Unix 'install' target into install-exec and install-data. Moves
  6538. the executable scripts from gsdatadir to a new directory scriptdir, which
  6539. defaults to bindir. (ansihead.mak, cc-head.mak, gcc-head.mak,
  6540. unix-end.mak)
  6541. </pre><h3><a name="V3.01_Utilities"></a>Utilities</h3><pre>
  6542. Fixes bugs:
  6543. - genconf had fixed buffer sizes built into it, which it could
  6544. overrun its working storage without checking. (genconf.c)
  6545. Removes RCS or SCCS headers from two utility files. (pj-gs.sh,
  6546. printafm.ps)
  6547. </pre><h3><a name="V3.01_Drivers"></a>Drivers</h3><pre>
  6548. Fixes bugs:
  6549. - The new dfaxhigh and dfaxlow drivers didn't set
  6550. state.EncodedByteAlign to false. (gdevdfax.c)
  6551. - The sunview driver assumed that the device would be open before
  6552. map_rgb_color was called. (gdevsun.c)
  6553. - The CP50 driver incremented page_count itself, rather than
  6554. letting the core library do it. (gdevcp50.c)
  6555. - The GIF driver(s) could loop indefinitely under certain
  6556. circumstances. (gdevgif.c)
  6557. - The Group 4 fax drivers incorrectly included end-of-line codes in
  6558. the output. (gdevtfax.c, gdevdfax.c)
  6559. - The Group 4 fax drivers could put out an EOB in the middle of the
  6560. data. (scfe.c)
  6561. - The DesignJet 650C driver didn't use the correct compression
  6562. mode. (gdevcdj.c)
  6563. - The Hercules and EGA/VGA/SVGA drivers computed the page height
  6564. incorrectly according to the A4 switch. (gdevherc.c, gdevpcfb.h)
  6565. Changes the page_count and showpage_count members of the device structure
  6566. from int to long. (gxdevice.h, gdevprn.c, gsdparam.c)
  6567. Changes the faxg3, faxg32d, and faxg4 drivers so that, like the TIFF and
  6568. dfax drivers, they adjust the page size to one of the three CCITT standard
  6569. sizes if this is reasonable. (gdevtfax.c)
  6570. Splits the bit driver into bit, bitrgb, and bitcmyk. Adds bitrgb and
  6571. bitcmyk to all makefiles that included bit. (*.mak, devs.mak, gdevbit.c)
  6572. Replaces the atiw16, tseng16, and tvga16 SuperVGA drivers with a single
  6573. svga16 driver that allows specifying the display mode number. (devs.mak,
  6574. gdevpcfb.c)
  6575. </pre><h3><a name="V3.01_Platforms"></a>Platforms</h3><pre>
  6576. Fixes bugs:
  6577. - The MS Windows and OS/2 drivers allocated their terminal input
  6578. buffers in a way that could cause the GC to crash. (gp_mswin.c, gp_os2.c)
  6579. - The handling of gettimeofday on SVR4 platforms was incorrect.
  6580. (time_.h, gp_sysv.c, gp_unix.c)
  6581. - On some platforms, function prototypes were not enabled even if
  6582. __STDC__ was defined. (stdpre.h)
  6583. - The VMS build script referred to an obsolete feature lev2only.
  6584. (vms.mak)
  6585. Changes the DVX platform so that stdprn is buffered. This should improve
  6586. printing performance dramatically. (gp_dvx.c)
  6587. </pre><h3><a name="V3.01_Fonts"></a>Fonts</h3><pre>
  6588. Fixes bugs:
  6589. - Setting DISKFONTS resulted in a reference to FontFileDirectory
  6590. before it was defined. (gs_type1.ps, gs_fonts.ps)
  6591. - /Font findresource gave an error rather than doing font
  6592. substitution. (gs_res.ps)
  6593. - FontDirectory wasn't rebound to GlobalFontDirectory when global
  6594. VM was current. (gs_res.ps, zdict.c)
  6595. - Type 1 fonts weren't loaded into global VM. (gs_fonts.ps)
  6596. - In the standard Fontmap, the Utopia fonts had extension .gsf
  6597. rather than .pfa. (fontmap.gs)
  6598. - Fonts whose FontBBox was [0 0 0 0] were not displayed, or were
  6599. displayed as tiny dots. (gs_type1.ps)
  6600. </pre><h3><a name="V3.01_Interpreter"></a>Interpreter</h3><pre>
  6601. Fixes bugs:
  6602. - dict_put could read from the variable pvslot before it was used.
  6603. (This was harmless, since the value was never actually used; it just upset
  6604. Purify.) (idict.c)
  6605. - Binary object sequences could cause addressing faults.
  6606. (iscanbin.c)
  6607. - The attributes on names were set incorrectly in binary object
  6608. sequences. (iscanbin.c)
  6609. - gs.c duplicated (in some cases incorrectly) some definitions in
  6610. interp.h. (gs.c)
  6611. - gs_lib_paths was declared const in one place and non-const in
  6612. another. (zfile.c)
  6613. - file_restore and font_restore had inconsistent const declarations
  6614. for their argument. (isave.c)
  6615. - iodev_os_open_file was missing its last formal parameter.
  6616. (ziodev.c)
  6617. - gs.c declared gs_devicename with an incorrect extern. (gs.c)
  6618. - undefinefont didn't interact properly with the resource
  6619. machinery. (gs_lev2.ps)
  6620. - The declaration for swap_entry used a typedef name as a formal
  6621. parameter, which upset some compilers. (zmisc2.c)
  6622. - Including the ccinit feature could cause the garbage collector to
  6623. make an invalid access. (stream.c)
  6624. - The check for t_[a]struct types in ztype.c was incorrect.
  6625. (ztype.c)
  6626. - After the collection of halftone samples, temporary data
  6627. structures were freed incorrectly. (gzht.h, gsht1.c, zht.c)
  6628. - Images with source width between 489 and 492 crashed the
  6629. memory manager. (iastate.h)
  6630. Makes it possible to define SEARCH_HERE_FIRST (gsmain.c) in the makefile.
  6631. (gsmain.c)
  6632. Splits the Level 2 resource machinery into a separate file. (gs_lev2.ps,
  6633. gs_res.ps, gs.mak, unix-end.mak, vms.mak).
  6634. Changes the names of the DiffEncode/Decode filters to
  6635. PixelDifferenceEncode/Decode, and splits them off into a separate
  6636. "feature". (gs.mak, zfilter2.c, zfpdiff.c, spdiff.c, spdiffx.h)
  6637. Adds experimental code for filtered image scaling. DON'T USE THIS CODE.
  6638. (zimage2.c)
  6639. </pre><h3><a name="V3.01_Streams"></a>Streams</h3><pre>
  6640. Fixes bugs:
  6641. - The CCITTFaxEncode filter could put out an EOB in the middle of
  6642. the data. (scfe.c)
  6643. Splits off the PixelDifferenceEncode/Decode filters into a separate
  6644. "feature". (gs.mak)
  6645. </pre><h3><a name="V3.01_Library"></a>Library</h3><pre>
  6646. Fixes bugs:
  6647. - gs_setcachedevice could return a garbage error code. (gschar.c)
  6648. - joins on stroked lines were incorrect if the device coordinate
  6649. system mapped +Y to +Y. (gxstroke.c)
  6650. - If gsmisc.c supplied versions of missing library routines, they
  6651. could clash with the names of the real ones if those were present
  6652. unexpectedly. (memory_.h, gsmisc.c)
  6653. - The initialization expression for is_open in the
  6654. dev_init_misc_open macro included a cast, which some compilers don't allow.
  6655. (gxdevice.h, gsdevice.c, gxclip2.c, gxpcmap.c)
  6656. - In Type 1 fonts, character that specified their side bearing and
  6657. width with sbw rather than hsbw gave an invalidfont error. (gstype1.c)
  6658. - Some procedures were declared inconsistently with regard to const
  6659. arguments. (gscie.c, gxpcmap.c, gxacpath.c, gxcmap.c)
  6660. - A few places still assumed that pointers occupied 4 bytes.
  6661. (gxclist.c)
  6662. - Rendering a gray halftone on a CMYK device called the device's
  6663. map_rgb_color procedure instead of map_cmyk_color. (gxdither.c)
  6664. Renames gsfile.c as gswppm.c. (gsfile.c, gswppm.c)
  6665. Implements the ability to cache arbitrarily transformed characters. This
  6666. is currently enabled by a compile-time flag in gschar.c. (gschar.c)
  6667. </pre>
  6668. <h2><a name="Version3.0"></a>Version 3.0 (8/1/94)</h2>
  6669. <p>
  6670. This is the first full Level 2 version released to the public.
  6671. Unfortunately, we were not able to include setpagedevice in this release.
  6672. <h3><a name="V3.0_Documentation"></a>Documentation</h3><pre>
  6673. Fixes bugs:
  6674. - README didn't mention Aladdin's European distributor.
  6675. - psfiles.doc didn't describe some of the newer gs_*.ps files.
  6676. Notes that gcc -O2 (version 2.5.8 of gcc) generates incorrect code for some
  6677. modules on the H-P RISC architecture.
  6678. Notes that on AXP platforms running VMS, DEC C V4.0 is required.
  6679. </pre><h3><a name="V3.0_Procedures"></a>Procedures</h3><pre>
  6680. Fixes bugs:
  6681. - 'make clean' didn't delete devs.tr or t.tr.
  6682. - devs.mak was missing the entry for faxg32d.
  6683. - unixansi.mak omitted some drivers that were included in
  6684. unix-cc.mak and unix-gcc.mak.
  6685. Updates jpeg.mak to reference version 5beta1 of the IJG JPEG code.
  6686. Changes the version numbering scheme from A.B.C to A.B[CC]. I.e., the
  6687. first sub-release after 3.0 will be 3.01 or 3.001, not 3.0.1.
  6688. </pre><h3><a name="V3.0_Utilities"></a>Utilities</h3><pre>
  6689. Fixes bugs:
  6690. - ps2ascii didn't do a setglobal.
  6691. Adds an option to ansi2knr to convert ... to va_alist/va_dcl.
  6692. </pre><h3><a name="V3.0_Drivers"></a>Drivers</h3><pre>
  6693. Fixes bugs:
  6694. - The newly added faxg32d driver didn't have an entry in devs.mak.
  6695. - The BMP, GIF, and PCX drivers wrote out an incorrect color
  6696. palette (the blue values were too small).
  6697. - The vgalib driver had some compilation problems.
  6698. - The TIFF drivers didn't produce correct multi-page output.
  6699. Adds faxg32d and tiffg32d drivers.
  6700. Reinstates the DigiFax drivers, which were withdrawn when the new fax
  6701. drivers were added.
  6702. </pre><h3><a name="V3.0_Platforms"></a>Platforms</h3><pre>
  6703. Fixes bugs:
  6704. - gs_btokn.ps and gs_ccfnt.ps weren't installed on Unix platforms.
  6705. - The VMS module list omitted SBHC, included a non-existent GXDASH,
  6706. and had incorrect names for some of the IJG JPEG files.
  6707. - The VMS build scripts (vms*.mak) had incorrect "boilerplate".
  6708. - The VMS script file gssetmod.com had \r characters in it, as well
  6709. as \n characters.
  6710. - The echogs and genarch utilities didn't return the correct exit
  6711. codes under VMS.
  6712. - The VMS Fontmap had incorrect entries for the Courier and Charter
  6713. fonts.
  6714. - When running under Ghostview, Ghostscript didn't drain the input
  6715. pipe. (We fixed this with a temporary patch in gs.c; this isn't a good
  6716. solution for the longer term.)
  6717. </pre><h3><a name="V3.0_Fonts"></a>Fonts</h3><pre>
  6718. Fixes bugs:
  6719. - The free AvantGarde, Bookman, and Palatino font families had
  6720. incorrect FontBBox values.
  6721. - The 'f' and 'j' in the free AvantGarde-DemiOblique,
  6722. Bookman-DemiItalic, Bookman-LightItalic, and Palatino-Italic fonts were
  6723. chopped off on the right. (The bitmaps were chopped off in the original
  6724. BDF fonts from which these fonts were made.) ****** THIS PROBLEM WAS NOT
  6725. ACTUALLY FIXED. ******
  6726. </pre><h3><a name="V3.0_Interpreter"></a>Interpreter</h3><pre>
  6727. Fixes bugs:
  6728. - gs -h and gs -v didn't print the tertiary version number correctly.
  6729. - Binary object sequences with no strings or names didn't read in
  6730. correctly.
  6731. - Binary object sequences that crossed an input buffer boundary
  6732. didn't read in correctly.
  6733. - Binary object sequences read in as {[e1 .. en] e1 ... en} instead
  6734. of {[e1 ... en]}. (New bug in 2.9.x.)
  6735. - setpattern didn't set the current color space correctly if the
  6736. current color space wasn't a Pattern space.
  6737. - If the current color space was an uncolored Pattern space but the
  6738. current color was a colored Pattern, currentcolor returned extra values on
  6739. the operands stack.
  6740. - .buildfont1 in gs_type1.ps didn't force binding of the old
  6741. definition, causing ps2ascii to loop endlessly.
  6742. Adds a facility for writing and reading dictionaries in binary object
  6743. sequences. This is experimental and subject to change in the future.
  6744. </pre><h3><a name="V3.0_Streams"></a>Streams</h3><pre>
  6745. Fixes bugs:
  6746. - gs_run_string and ccinit didn't have any way to mark the string
  6747. as "foreign", which confused the GC.
  6748. </pre><h3><a name="V3.0_Library"></a>Library</h3><pre>
  6749. Fixes bugs:
  6750. - gxchar.h had an extra comma after the last element of the
  6751. show_width_status enum, which upset some compilers.
  6752. - stroke and strokepath didn't correctly skip zero-length segments
  6753. if the line width was less than one pixel, or if there was a closed subpath
  6754. consisting entirely of zero-length segments.
  6755. - strokepath sometimes incorrectly added a moveto at the end of the
  6756. path.
  6757. </pre>
  6758. <!-- [3.0 begin visible trailer] =========================================== -->
  6759. <hr>
  6760. <p>
  6761. <small>Copyright &copy; 1996, 1997, 1998 Aladdin Enterprises.
  6762. All rights reserved.</small>
  6763. <p>
  6764. <small>This file is part of AFPL Ghostscript. See the
  6765. <a href="Public.htm">Aladdin Free Public License</a> (the "License") for
  6766. full details of the terms of using, copying, modifying, and redistributing
  6767. AFPL Ghostscript.</small>
  6768. <p>
  6769. <small>Ghostscript version 7.04, 31 January 2002
  6770. <!-- [3.0 end visible trailer] ============================================= -->
  6771. </body>
  6772. </html>