History5.htm 551 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452
  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 5.n</title>
  5. <!-- $Id: History5.htm,v 1.15.2.2 2002/02/01 05:31:25 raph Exp $ -->
  6. <!--
  7. WARNING: do not use Pete Kaiser's emacs function "gs-toc" alone to
  8. re-create the table of contents here, because it will replace the
  9. hand-edited TOC subheads with a separate subhead for each H2 in
  10. the body of the file. Or if you do, first look at the original
  11. TOC to see how to edit it for visual conciseness.
  12. -->
  13. <link rel="stylesheet" type="text/css" href="gs.css" title="Ghostscript Style">
  14. </head>
  15. <body>
  16. <!-- [1.0 begin visible header] ============================================ -->
  17. <!-- [1.1 begin headline] ================================================== -->
  18. <h1>History of Ghostscript versions 5.n</h1>
  19. <!-- [1.1 end headline] ==================================================== -->
  20. <!-- [1.2 begin table of contents] ========================================= -->
  21. <h2>Table of contents</h2>
  22. <blockquote><ul>
  23. <li><a href="#Version5.99">Version 5.99 (beta) (1999-12-18)</a>
  24. <ul>
  25. <li><a href="#5.99_Incompatible_changes">Incompatible changes</a>,
  26. <a href="#5.99_Documentation">Documentation</a>,
  27. <a href="#5.99_Procedures">Procedures</a>,
  28. <a href="#5.99_Utilities">Utilities</a>,
  29. <a href="#5.99_Drivers">Drivers</a>,
  30. <a href="#5.99_Platforms">Platforms</a>,
  31. <a href="#5.99_Fonts">Fonts</a>,
  32. <a href="#5.99_PDF_writer">PDF writer</a>,
  33. <a href="#5.99_Interpreter_PDF">Interpreter (PDF)</a>,
  34. <a href="#5.99_Interpreter">Interpreter</a>,
  35. <a href="#5.99_Streams">Streams</a>,
  36. <a href="#5.99_Library">Library</a>
  37. </ul>
  38. <li><a href="#Version5.98">Version 5.98 (beta) (1999-12-01)</a>
  39. <ul>
  40. <li><a href="#5.98_Incompatible_changes">Incompatible changes</a>,
  41. <a href="#5.98_Documentation">Documentation</a>,
  42. <a href="#5.98_Procedures">Procedures</a>,
  43. <a href="#5.98_Utilities">Utilities</a>,
  44. <a href="#5.98_Drivers">Drivers</a>,
  45. <a href="#5.98_Fonts">Fonts</a>,
  46. <a href="#5.98_PDF_writer">PDF writer</a>,
  47. <a href="#5.98_Interpreter_PDF">Interpreter (PDF)</a>,
  48. <a href="#5.98_Interpreter">Interpreter</a>,
  49. <a href="#5.98_Streams">Streams</a>,
  50. <a href="#5.98_Library">Library</a>
  51. </ul>
  52. <li><a href="#Version5.97">Version 5.97 (beta) (11/22/99)</a>
  53. <ul>
  54. <li><a href="#5.97_Incompatible_changes">Incompatible changes</a>,
  55. <a href="#5.97_Documentation">Documentation</a>,
  56. <a href="#5.97_Procedures">Procedures</a>,
  57. <a href="#5.97_Utilities">Utilities</a>,
  58. <a href="#5.97_Drivers">Drivers</a>,
  59. <a href="#5.97_Platforms">Platforms</a>,
  60. <a href="#5.97_PDF_writer">PDF writer</a>,
  61. <a href="#5.97_Interpreter">Interpreter</a>,
  62. <a href="#5.97_Library">Library</a>
  63. </ul>
  64. <li><a href="#Version5.96">Version 5.96 (beta) (11/12/99)</a>
  65. <ul>
  66. <li><a href="#5.96_Incompatible_changes">Incompatible changes</a>,
  67. <a href="#5.96_Documentation">Documentation</a>,
  68. <a href="#5.96_Procedures">Procedures</a>,
  69. <a href="#5.96_Utilities">Utilities</a>,
  70. <a href="#5.96_Drivers">Drivers</a>,
  71. <a href="#5.96_Platforms">Platforms</a>,
  72. <a href="#5.96_PDF_writer">PDF writer</a>,
  73. <a href="#5.96_Interpreter_PDF">Interpreter (PDF)</a>,
  74. <a href="#5.96_Interpreter">Interpreter</a>,
  75. <a href="#5.96_Streams">Streams</a>,
  76. <a href="#5.96_Library">Library</a>
  77. </ul>
  78. <li><a href="#Version5.95">Version 5.95 (beta) (11/1/99)</a>
  79. <ul>
  80. <li><a href="#5.95_Incompatible_changes">Incompatible changes</a>,
  81. <a href="#5.95_Documentation">Documentation</a>,
  82. <a href="#5.95_Procedures">Procedures</a>,
  83. <a href="#5.95_Utilities">Utilities</a>,
  84. <a href="#5.95_Drivers">Drivers</a>,
  85. <a href="#5.95_Platforms">Platforms</a>,
  86. <a href="#5.95_Fonts">Fonts</a>,
  87. <a href="#5.95_PDF_writer">PDF writer</a>,
  88. <a href="#5.95_Interpreter_PDF">Interpreter (PDF)</a>,
  89. <a href="#5.95_Interpreter">Interpreter</a>,
  90. <a href="#5.95_Library">Library</a>
  91. </ul>
  92. <li><a href="#Version5.94">Version 5.94 (beta) (9/30/99)</a>
  93. <ul>
  94. <li><a href="#5.94_Incompatible_changes">Incompatible changes</a>,
  95. <a href="#5.94_Documentation">Documentation</a>,
  96. <a href="#5.94_Procedures">Procedures</a>,
  97. <a href="#5.94_Utilities">Utilities</a>,
  98. <a href="#5.94_Drivers">Drivers</a>,
  99. <a href="#5.94_Platforms">Platforms</a>,
  100. <a href="#5.94_Fonts">Fonts</a>,
  101. <a href="#5.94_PDF_writer">PDF writer</a>,
  102. <a href="#5.94_Interpreter_PDF">Interpreter (PDF)</a>,
  103. <a href="#5.94_Interpreter">Interpreter</a>,
  104. <a href="#5.94_Streams">Streams</a>,
  105. <a href="#5.94_Library">Library</a>
  106. </ul>
  107. <li><a href="#Version5.93">Version 5.93 (beta) (9/11/99)</a>
  108. <ul>
  109. <li><a href="#5.93_Incompatible_changes">Incompatible changes</a>,
  110. <a href="#5.93_Documentation">Documentation</a>,
  111. <a href="#5.93_Procedures">Procedures</a>,
  112. <a href="#5.93_Utilities">Utilities</a>,
  113. <a href="#5.93_Drivers">Drivers</a>,
  114. <a href="#5.93_Platforms">Platforms</a>,
  115. <a href="#5.93_PDF_writer">PDF writer</a>,
  116. <a href="#5.93_Interpreter_PDF">Interpreter (PDF)</a>,
  117. <a href="#5.93_Interpreter">Interpreter</a>,
  118. <a href="#5.93_Streams">Streams</a>,
  119. <a href="#5.93_Library">Library</a>
  120. </ul>
  121. <li><a href="#Version5.92">Version 5.92 (beta) (9/2/99)</a>
  122. <ul>
  123. <li><a href="#5.92_Documentation">Documentation</a>,
  124. <a href="#5.92_Procedures">Procedures</a>,
  125. <a href="#5.92_Utilities">Utilities</a>,
  126. <a href="#5.92_Drivers">Drivers</a>,
  127. <a href="#5.92_PDF_writer">PDF writer</a>,
  128. <a href="#5.92_Interpreter">Interpreter</a>,
  129. <a href="#5.92_Streams">Streams</a>
  130. </ul>
  131. <li><a href="#Version5.91">Version 5.91 (beta) (8/30/99)</a>
  132. <ul>
  133. <li><a href="#5.91_Documentation">Documentation</a>,
  134. <a href="#5.91_Utilities">Utilities</a>,
  135. <a href="#5.91_Drivers">Drivers</a>,
  136. <a href="#5.91_Platforms">Platforms</a>,
  137. <a href="#5.91_Fonts">Fonts</a>,
  138. <a href="#5.91_PDF_writer">PDF writer</a>,
  139. <a href="#5.91_Library">Library</a>
  140. </ul>
  141. <li><a href="#Version5.90">Version 5.90 (beta) (8/20/99)</a>
  142. <ul>
  143. <li><a href="#5.90_Incompatible_changes">Incompatible changes</a>,
  144. <a href="#5.90_Documentation">Documentation</a>,
  145. <a href="#5.90_Procedures">Procedures</a>,
  146. <a href="#5.90_Utilities">Utilities</a>,
  147. <a href="#5.90_Drivers">Drivers</a>,
  148. <a href="#5.90_Platforms">Platforms</a>,
  149. <a href="#5.90_Fonts">Fonts</a>,
  150. <a href="#5.90_PDF_writer">PDF writer</a>,
  151. <a href="#5.90_Interpreter_PDF">Interpreter (PDF)</a>,
  152. <a href="#5.90_Interpreter">Interpreter</a>,
  153. <a href="#5.90_Streams">Streams</a>,
  154. <a href="#5.90_Library">Library</a>
  155. </ul>
  156. <li>(Version 5.89 deliberately omitted.)
  157. <li><a href="#Version5.88">Version 5.88 (tester) (8/3/99)</a>
  158. <ul>
  159. <li><a href="#5.88_Incompatible_changes">Incompatible changes</a>,
  160. <a href="#5.88_Documentation">Documentation</a>,
  161. <a href="#5.88_Procedures">Procedures</a>,
  162. <a href="#5.88_Drivers">Drivers</a>,
  163. <a href="#5.88_Platforms">Platforms</a>,
  164. <a href="#5.88_Fonts">Fonts</a>,
  165. <a href="#5.88_Interpreter_PDF">Interpreter (PDF)</a>,
  166. <a href="#5.88_Interpreter">Interpreter</a>,
  167. <a href="#5.88_Streams">Streams</a>,
  168. <a href="#5.88_Library">Library</a>
  169. </ul>
  170. <li><a href="#Version5.87">Version 5.87 (tester) (6/29/99)</a>
  171. <ul>
  172. <li><a href="#5.87_Incompatible_changes">Incompatible changes</a>,
  173. <a href="#5.87_Documentation">Documentation</a>,
  174. <a href="#5.87_Procedures">Procedures</a>,
  175. <a href="#5.87_Drivers">Drivers</a>,
  176. <a href="#5.87_Interpreter_PDF">Interpreter (PDF)</a>,
  177. <a href="#5.87_Interpreter">Interpreter</a>,
  178. <a href="#5.87_Library">Library</a>
  179. </ul>
  180. <li><a href="#Version5.86">Version 5.86 (tester) (6/14/99)</a>
  181. <ul>
  182. <li><a href="#5.86_Incompatible_changes">Incompatible changes</a>,
  183. <a href="#5.86_Documentation">Documentation</a>,
  184. <a href="#5.86_Procedures">Procedures</a>,
  185. <a href="#5.86_Utilities">Utilities</a>,
  186. <a href="#5.86_Drivers">Drivers</a>,
  187. <a href="#5.86_Platforms">Platforms</a>,
  188. <a href="#5.86_Fonts">Fonts</a>,
  189. <a href="#5.86_Interpreter_PDF">Interpreter (PDF)</a>,
  190. <a href="#5.86_Interpreter">Interpreter</a>,
  191. <a href="#5.86_Streams">Streams</a>,
  192. <a href="#5.86_Library">Library</a>
  193. </ul>
  194. <li><a href="#Version5.85">Version 5.85 (tester) (5/29/99)</a>
  195. <ul>
  196. <li><a href="#5.85_Incompatible_changes">Incompatible changes</a>,
  197. <a href="#5.85_Documentation">Documentation</a>,
  198. <a href="#5.85_Procedures">Procedures</a>,
  199. <a href="#5.85_Utilities">Utilities</a>,
  200. <a href="#5.85_Drivers">Drivers</a>,
  201. <a href="#5.85_Interpreter_PDF">Interpreter (PDF)</a>,
  202. <a href="#5.85_Interpreter">Interpreter</a>,
  203. <a href="#5.85_Library">Library</a>
  204. </ul>
  205. <li><a href="#Version5.84">Version 5.84 (tester) (5/19/99)</a>
  206. <ul>
  207. <li><a href="#5.84_Incompatible_changes">Incompatible changes</a>,
  208. <a href="#5.84_Procedures">Procedures</a>,
  209. <a href="#5.84_Utilities">Utilities</a>,
  210. <a href="#5.84_Drivers">Drivers</a>,
  211. <a href="#5.84_Platforms">Platforms</a>,
  212. <a href="#5.84_Interpreter">Interpreter</a>,
  213. <a href="#5.84_Streams">Streams</a>,
  214. <a href="#5.84_Library">Library</a>
  215. </ul>
  216. <li><a href="#Version5.83">Version 5.83 (tester) (5/13/99)</a>
  217. <ul>
  218. <li><a href="#5.83_Incompatible_changes">Incompatible changes</a>,
  219. <a href="#5.83_Documentation">Documentation</a>,
  220. <a href="#5.83_Procedures">Procedures</a>,
  221. <a href="#5.83_Utilities">Utilities</a>,
  222. <a href="#5.83_Interpreter">Interpreter</a>,
  223. <a href="#5.83_Library">Library</a>
  224. </ul>
  225. <li><a href="#Version5.82">Version 5.82 (tester) (4/24/99)</a>
  226. <ul>
  227. <li><a href="#5.82_Incompatible_changes">Incompatible changes</a>,
  228. <a href="#5.82_Documentation">Documentation</a>,
  229. <a href="#5.82_Procedures">Procedures</a>,
  230. <a href="#5.82_Utilities">Utilities</a>,
  231. <a href="#5.82_Drivers">Drivers</a>,
  232. <a href="#5.82_Platforms">Platforms</a>,
  233. <a href="#5.82_Interpreter_PDF">Interpreter (PDF)</a>,
  234. <a href="#5.82_Interpreter">Interpreter</a>,
  235. <a href="#5.82_Library">Library</a>
  236. </ul>
  237. <li><a href="#Version5.81">Version 5.81 (tester) (4/14/99)</a>
  238. <ul>
  239. <li><a href="#5.81_Incompatible_changes">Incompatible changes</a>,
  240. <a href="#5.81_Procedures">Procedures</a>,
  241. <a href="#5.81_Utilities">Utilities</a>,
  242. <a href="#5.81_Drivers">Drivers</a>,
  243. <a href="#5.81_Fonts">Fonts</a>,
  244. <a href="#5.81_Platforms">Platforms</a>,
  245. <a href="#5.81_Interpreter_PDF">Interpreter (PDF)</a>,
  246. <a href="#5.81_Interpreter">Interpreter</a>,
  247. <a href="#5.81_Library">Library</a>
  248. </ul>
  249. <li><a href="#Version5.80">Version 5.80 (tester) (4/6/99)</a>
  250. <ul>
  251. <li><a href="#5.80_Incompatible_changes">Incompatible changes</a>,
  252. <a href="#5.80_Procedures">Procedures</a>,
  253. <a href="#5.80_Utilities">Utilities</a>,
  254. <a href="#5.80_Drivers">Drivers</a>,
  255. <a href="#5.80_Fonts">Fonts</a>,
  256. <a href="#5.80_Platforms">Platforms</a>,
  257. <a href="#5.80_Interpreter">Interpreter</a>,
  258. <a href="#5.80_Interpreter_PDF">Interpreter (PDF)</a>,
  259. <a href="#5.80_Streams">Streams</a>,
  260. <a href="#5.80_Library">Library</a>
  261. </ul>
  262. <li>(Versions 5.74 - 5.79 deliberately omitted.)
  263. <li><a href="#Version5.73">Version 5.73 (tester) (3/19/99)</a>
  264. <ul>
  265. <li><a href="#5.73_Incompatible_changes">Incompatible changes</a>,
  266. <a href="#5.73_Documentation">Documentation</a>,
  267. <a href="#5.73_Procedures">Procedures</a>,
  268. <a href="#5.73_Drivers">Drivers</a>,
  269. <a href="#5.73_Interpreter">Interpreter</a>,
  270. <a href="#5.73_Library">Library</a>
  271. </ul>
  272. <li><a href="#Version5.72">Version 5.72 (tester) (3/17/99)</a>
  273. <ul>
  274. <li><a href="#5.72_Incompatible_changes">Incompatible changes</a>,
  275. <a href="#5.72_Documentation">Documentation</a>,
  276. <a href="#5.72_Procedures">Procedures</a>,
  277. <a href="#5.72_Utilities">Utilities</a>,
  278. <a href="#5.72_Drivers">Drivers</a>,
  279. <a href="#5.72_Fonts">Fonts</a>,
  280. <a href="#5.72_Interpreter">Interpreter</a>,
  281. <a href="#5.72_Interpreter_PDF">Interpreter (PDF)</a>,
  282. <a href="#5.72_Streams">Streams</a>,
  283. <a href="#5.72_Library">Library</a>
  284. </ul>
  285. <li><a href="#Version5.71">Version 5.71 (tester) (3/3/99)</a>
  286. <ul>
  287. <li><a href="#5.71_Incompatible_changes">Incompatible changes</a>,
  288. <a href="#5.71_Documentation">Documentation</a>,
  289. <a href="#5.71_Procedures">Procedures</a>,
  290. <a href="#5.71_Utilities">Utilities</a>,
  291. <a href="#5.71_Drivers">Drivers</a>,
  292. <a href="#5.71_Fonts">Fonts</a>,
  293. <a href="#5.71_Interpreter">Interpreter</a>,
  294. <a href="#5.71_Interpreter_PDF">Interpreter (PDF)</a>,
  295. <a href="#5.71_Streams">Streams</a>,
  296. <a href="#5.71_Library">Library</a>
  297. </ul>
  298. <li><a href="#Version5.70">Version 5.70 (internal) (2/20/99)</a>
  299. <ul>
  300. <li><a href="#5.70_Incompatible_changes">Incompatible changes</a>,
  301. <a href="#5.70_Documentation">Documentation</a>,
  302. <a href="#5.70_Procedures">Procedures</a>,
  303. <a href="#5.70_Utilities">Utilities</a>,
  304. <a href="#5.70_Drivers">Drivers</a>,
  305. <a href="#5.70_Fonts">Fonts</a>,
  306. <a href="#5.70_Interpreter">Interpreter</a>,
  307. <a href="#5.70_Interpreter_PDF">Interpreter (PDF)</a>,
  308. <a href="#5.70_Streams">Streams</a>,
  309. <a href="#5.70_Library">Library</a>
  310. </ul>
  311. <li><a href="#Version5.69">Version 5.69 (internal) (2/4/99)</a>
  312. <ul>
  313. <li><a href="#5.69_Procedures">Procedures</a>,
  314. <a href="#5.69_Utilities">Utilities</a>,
  315. <a href="#5.69_Drivers">Drivers</a>,
  316. <a href="#5.69_Interpreter">Interpreter</a>,
  317. <a href="#5.69_Streams">Streams</a>,
  318. <a href="#5.69_Library">Library</a>
  319. </ul>
  320. <li><a href="#Version5.68">Version 5.68 (internal) (1/29/99)</a>
  321. <ul>
  322. <li><a href="#5.68_Incompatible_changes">Incompatible changes</a>,
  323. <a href="#5.68_Documentation">Documentation</a>,
  324. <a href="#5.68_Procedures">Procedures</a>,
  325. <a href="#5.68_Utilities">Utilities</a>,
  326. <a href="#5.68_Drivers">Drivers</a>,
  327. <a href="#5.68_Fonts">Fonts</a>,
  328. <a href="#5.68_Platforms">Platforms</a>,
  329. <a href="#5.68_Interpreter">Interpreter</a>,
  330. <a href="#5.68_Streams">Streams</a>,
  331. <a href="#5.68_Library">Library</a>
  332. </ul>
  333. <li><a href="#Version5.67">Version 5.67 (internal) (1/8/99)</a>
  334. <ul>
  335. <li><a href="#5.67_Incompatible_changes">Incompatible changes</a>,
  336. <a href="#5.67_Documentation">Documentation</a>,
  337. <a href="#5.67_Procedures">Procedures</a>,
  338. <a href="#5.67_Utilities">Utilities</a>,
  339. <a href="#5.67_Drivers">Drivers</a>,
  340. <a href="#5.67_Fonts">Fonts</a>,
  341. <a href="#5.67_Interpreter">Interpreter</a>,
  342. <a href="#5.67_Interpreter_PDF">Interpreter (PDF)</a>,
  343. <a href="#5.67_Streams">Streams</a>,
  344. <a href="#5.67_Library">Library</a>
  345. </ul>
  346. <li><a href="#Version5.66">Version 5.66 (internal) (11/25/98)</a>
  347. <ul>
  348. <li><a href="#5.66_Incompatible_changes">Incompatible changes</a>,
  349. <a href="#5.66_Documentation">Documentation</a>,
  350. <a href="#5.66_Procedures">Procedures</a>,
  351. <a href="#5.66_Utilities">Utilities</a>,
  352. <a href="#5.66_Drivers">Drivers</a>,
  353. <a href="#5.66_Platforms">Platforms</a>,
  354. <a href="#5.66_Interpreter">Interpreter</a>,
  355. <a href="#5.66_Interpreter_PDF">Interpreter (PDF)</a>,
  356. <a href="#5.66_Streams">Streams</a>,
  357. <a href="#5.66_Library">Library</a>
  358. </ul>
  359. <li><a href="#Version5.65">Version 5.65 (internal) (11/13/98)</a>
  360. <ul>
  361. <li><a href="#5.65_Incompatible_changes">Incompatible changes</a>,
  362. <a href="#5.65_Documentation">Documentation</a>,
  363. <a href="#5.65_Procedures">Procedures</a>,
  364. <a href="#5.65_Utilities">Utilities</a>,
  365. <a href="#5.65_Drivers">Drivers</a>,
  366. <a href="#5.65_Platforms">Platforms</a>,
  367. <a href="#5.65_Interpreter">Interpreter</a>,
  368. <a href="#5.65_Interpreter_PDF">Interpreter (PDF)</a>,
  369. <a href="#5.65_Library">Library</a>
  370. </ul>
  371. <li><a href="#Version5.64">Version 5.64 (internal) (11/5/98)</a>
  372. <ul>
  373. <li><a href="#5.64_Incompatible_changes">Incompatible changes</a>,
  374. <a href="#5.64_Documentation">Documentation</a>,
  375. <a href="#5.64_Procedures">Procedures</a>,
  376. <a href="#5.64_Drivers">Drivers</a>,
  377. <a href="#5.64_Library">Library</a>
  378. </ul>
  379. <li><a href="#Version5.63">Version 5.63 (internal) (11/4/98)</a>
  380. <ul>
  381. <li><a href="#5.63_Incompatible_changes">Incompatible changes</a>,
  382. <a href="#5.63_Documentation">Documentation</a>,
  383. <a href="#5.63_Procedures">Procedures</a>,
  384. <a href="#5.63_Drivers">Drivers</a>,
  385. <a href="#5.63_Interpreter">Interpreter</a>,
  386. <a href="#5.63_Library">Library</a>
  387. </ul>
  388. <li><a href="#Version5.62">Version 5.62 (internal) (10/31/98)</a>
  389. <ul>
  390. <li><a href="#5.62_Incompatible_changes">Incompatible changes</a>,
  391. <a href="#5.62_Documentation">Documentation</a>,
  392. <a href="#5.62_Drivers">Drivers</a>,
  393. <a href="#5.62_Interpreter">Interpreter</a>,
  394. <a href="#5.62_Library">Library</a>
  395. </ul>
  396. <li><a href="#Version5.61">Version 5.61 (internal) (10/28/98)</a>
  397. <ul>
  398. <li><a href="#5.61_Documentation">Documentation</a>,
  399. <a href="#5.61_Procedures">Procedures</a>,
  400. <a href="#5.61_Utilities">Utilities</a>,
  401. <a href="#5.61_Drivers">Drivers</a>,
  402. <a href="#5.61_Interpreter_PDF">Interpreter (PDF)</a>,
  403. <a href="#5.61_Streams">Streams</a>,
  404. <a href="#5.61_Library">Library</a>
  405. </ul>
  406. <li><a href="#Version5.60">Version 5.60 (internal) (10/18/98)</a>
  407. <ul>
  408. <li><a href="#5.60_Incompatible_changes">Incompatible changes</a>,
  409. <a href="#5.60_Documentation">Documentation</a>,
  410. <a href="#5.60_Procedures">Procedures</a>,
  411. <a href="#5.60_Utilities">Utilities</a>,
  412. <a href="#5.60_Drivers">Drivers</a>,
  413. <a href="#5.60_Platforms">Platforms</a>,
  414. <a href="#5.60_Interpreter">Interpreter</a>,
  415. <a href="#5.60_Interpreter_PDF">Interpreter (PDF)</a>,
  416. <a href="#5.60_Streams">Streams</a>,
  417. <a href="#5.60_Library">Library</a>
  418. </ul>
  419. <li>(Versions 5.51 - 5.59 deliberately omitted.)
  420. <li><a href="#Version5.50">Version 5.50 (9/16/98)</a>
  421. <ul>
  422. <li><a href="#5.50_Documentation">Documentation</a>,
  423. <a href="#5.50_Procedures">Procedures</a>,
  424. <a href="#5.50_Utilities">Utilities</a>,
  425. <a href="#5.50_Drivers">Drivers</a>,
  426. <a href="#5.50_Platforms">Platforms</a>,
  427. <a href="#5.50_Interpreter">Interpreter</a>,
  428. <a href="#5.50_Interpreter_PDF">Interpreter (PDF)</a>,
  429. <a href="#5.50_Library">Library</a>
  430. </ul>
  431. <li><a href="#Version5.40">Version 5.40 (beta) (9/10/98)</a>
  432. <ul>
  433. <li><a href="#5.40_Documentation">Documentation</a>,
  434. <a href="#5.40_Procedures">Procedures</a>,
  435. <a href="#5.40_Utilities">Utilities</a>,
  436. <a href="#5.40_Drivers">Drivers</a>,
  437. <a href="#5.40_Platforms">Platforms</a>,
  438. <a href="#5.40_Library">Library</a>
  439. </ul>
  440. <li><a href="#Version5.39">Version 5.39 (beta) (9/8/98)</a>
  441. <ul>
  442. <li><a href="#5.39_Drivers">Drivers</a>,
  443. <a href="#5.39_Library">Library</a>
  444. </ul>
  445. <li><a href="#Version5.38">Version 5.38 (beta) (9/3/98)</a>
  446. <ul>
  447. <li><a href="#5.38_Documentation">Documentation</a>,
  448. <a href="#5.38_Drivers">Drivers</a>,
  449. <a href="#5.38_Interpreter">Interpreter</a>,
  450. <a href="#5.38_Library">Library</a>
  451. </ul>
  452. <li><a href="#Version5.37">Version 5.37 (beta) (8/31/98)</a>
  453. <ul>
  454. <li><a href="#5.37_Documentation">Documentation</a>,
  455. <a href="#5.37_Procedures">Procedures</a>,
  456. <a href="#5.37_Utilities">Utilities</a>,
  457. <a href="#5.37_Drivers">Drivers</a>,
  458. <a href="#5.37_Fonts">Fonts</a>,
  459. <a href="#5.37_Interpreter">Interpreter</a>,
  460. <a href="#5.37_Interpreter_PDF">Interpreter (PDF)</a>,
  461. <a href="#5.37_Streams">Streams</a>,
  462. <a href="#5.37_Library">Library</a>
  463. </ul>
  464. <li><a href="#Version5.36">Version 5.36 (beta) (8/25/98)</a>
  465. <ul>
  466. <li><a href="#5.36_Documentation">Documentation</a>,
  467. <a href="#5.36_Utilities">Utilities</a>,
  468. <a href="#5.36_Drivers">Drivers</a>,
  469. <a href="#5.36_Platforms">Platforms</a>,
  470. <a href="#5.36_Fonts">Fonts</a>,
  471. <a href="#5.36_Interpreter">Interpreter</a>,
  472. <a href="#5.36_Interpreter_PDF">Interpreter (PDF)</a>,
  473. <a href="#5.36_Streams">Streams</a>,
  474. <a href="#5.36_Library">Library</a>
  475. </ul>
  476. <li><a href="#Version5.35">Version 5.35 (beta) (8/18/98)</a>
  477. <ul>
  478. <li><a href="#5.35_Documentation">Documentation</a>,
  479. <a href="#5.35_Drivers">Drivers</a>,
  480. <a href="#5.35_Fonts">Fonts</a>,
  481. <a href="#5.35_Interpreter">Interpreter</a>,
  482. <a href="#5.35_Interpreter_PDF">Interpreter (PDF)</a>,
  483. <a href="#5.35_Library">Library</a>
  484. </ul>
  485. <li><a href="#Version5.34">Version 5.34 (beta) (8/16/98)</a>
  486. <ul>
  487. <li><a href="#V5.34_Documentation">Documentation</a>,
  488. <a href="#V5.34_Procedures">Procedures</a>,
  489. <a href="#V5.34_Drivers">Drivers</a>,
  490. <a href="#V5.34_Interpreter">Interpreter</a>,
  491. <a href="#V5.34_Library">Library</a>
  492. </ul>
  493. <li><a href="#Version5.33">Version 5.33 (beta) (8/14/98)</a>
  494. <ul>
  495. <li><a href="#V5.33_Platforms">Platforms</a>,
  496. <a href="#V5.33_Fonts">Fonts</a>,
  497. <a href="#V5.33_Interpreter_PDF">Interpreter (PDF)</a>,
  498. <a href="#V5.33_Library">Library</a>
  499. </ul>
  500. <li><a href="#Version5.32">Version 5.32 (beta) (8/13/98)</a>
  501. <ul>
  502. <li><a href="#V5.32_Procedures">Procedures</a>,
  503. <a href="#V5.32_Interpreter">Interpreter</a>,
  504. <a href="#V5.32_Interpreter_PDF">Interpreter (PDF)</a>,
  505. <a href="#V5.32_Library">Library</a>
  506. </ul>
  507. <li><a href="#Version5.31">Version 5.31 (limited) (8/11/98)</a>
  508. <ul>
  509. <li><a href="#V5.31_Drivers">Drivers</a>,
  510. <a href="#V5.31_Interpreter">Interpreter</a>,
  511. <a href="#V5.31_Library">Library</a>
  512. </ul>
  513. <li><a href="#Version5.30">Version 5.30 (limited) (8/10/98)</a>
  514. <ul>
  515. <li><a href="#V5.30_Documentation">Documentation</a>,
  516. <a href="#V5.30_Procedures">Procedures</a>,
  517. <a href="#V5.30_Drivers">Drivers</a>,
  518. <a href="#V5.30_Platforms">Platforms</a>,
  519. <a href="#V5.30_Fonts">Fonts</a>,
  520. <a href="#V5.30_Interpreter">Interpreter</a>,
  521. <a href="#V5.30_Streams">Streams</a>,
  522. <a href="#V5.30_Library">Library</a>
  523. </ul>
  524. <li><a href="#Version5.28">Version 5.28 (limited) (8/3/98)</a>
  525. <ul>
  526. <li><a href="#V5.28_Documentation">Documentation</a>,
  527. <a href="#V5.28_Procedures">Procedures</a>,
  528. <a href="#V5.28_Utilities">Utilities</a>,
  529. <a href="#V5.28_Drivers">Drivers</a>,
  530. <a href="#V5.28_Platforms">Platforms</a>,
  531. <a href="#V5.28_Interpreter">Interpreter</a>,
  532. <a href="#V5.28_Interpreter_PDF">Interpreter (PDF)</a>,
  533. <a href="#V5.28_Streams">Streams</a>,
  534. <a href="#V5.28_Library">Library</a>
  535. </ul>
  536. <li><a href="#Version5.27">Version 5.27 (limited) (7/18/98)</a>
  537. <ul>
  538. <li><a href="#V5.27_Documentation">Documentation</a>,
  539. <a href="#V5.27_Procedures">Procedures</a>,
  540. <a href="#V5.27_Drivers">Drivers</a>,
  541. <a href="#V5.27_Platforms">Platforms</a>,
  542. <a href="#V5.27_Interpreter">Interpreter</a>,
  543. <a href="#V5.27_Interpreter_PDF">Interpreter (PDF)</a>,
  544. <a href="#V5.27_Library">Library</a>
  545. </ul>
  546. <li><a href="#Version5.26">Version 5.26 (limited) (7/7/98)</a>
  547. <ul>
  548. <li><a href="#V5.26_Procedures">Procedures</a>,
  549. <a href="#V5.26_Drivers">Drivers</a>,
  550. <a href="#V5.26_Fonts">Fonts</a>,
  551. <a href="#V5.26_Interpreter">Interpreter</a>,
  552. <a href="#V5.26_Library">Library</a>
  553. </ul>
  554. <li><a href="#Version5.25">Version 5.25 (limited) (7/1/98)</a>
  555. <ul>
  556. <li><a href="#V5.25_Documentation">Documentation</a>,
  557. <a href="#V5.25_Procedures">Procedures</a>,
  558. <a href="#V5.25_Platforms">Platforms</a>,
  559. <a href="#V5.25_Fonts">Fonts</a>,
  560. <a href="#V5.25_Interpreter">Interpreter</a>,
  561. <a href="#V5.25_Interpreter_PDF">Interpreter (PDF)</a>,
  562. <a href="#V5.25_Drivers">Drivers</a>,
  563. <a href="#V5.25_Library">Library</a>
  564. </ul>
  565. <li><a href="#Version5.24">Version 5.24 (limited) (6/17/98)</a>
  566. <ul>
  567. <li><a href="#V5.24_Documentation">Documentation</a>,
  568. <a href="#V5.24_Procedures">Procedures</a>,
  569. <a href="#V5.24_Utilities">Utilities</a>,
  570. <a href="#V5.24_Drivers">Drivers</a>,
  571. <a href="#V5.24_Platforms">Platforms</a>,
  572. <a href="#V5.24_Fonts">Fonts</a>,
  573. <a href="#V5.24_Interpreter">Interpreter</a>,
  574. <a href="#V5.24_Interpreter_PDF">Interpreter (PDF)</a>,
  575. <a href="#V5.24_Streams">Streams</a>,
  576. <a href="#V5.24_Library">Library</a>
  577. </ul>
  578. <li><a href="#Version5.23">Version 5.23 (limited) (5/14/98)</a>
  579. <ul>
  580. <li><a href="#V5.23_Documentation">Documentation</a>,
  581. <a href="#V5.23_Procedures">Procedures</a>,
  582. <a href="#V5.23_Utilities">Utilities</a>,
  583. <a href="#V5.23_Drivers">Drivers</a>,
  584. <a href="#V5.23_Platforms">Platforms</a>,
  585. <a href="#V5.23_Fonts">Fonts</a>,
  586. <a href="#V5.23_Interpreter">Interpreter</a>,
  587. <a href="#V5.23_Interpreter_PDF">Interpreter (PDF)</a>,
  588. <a href="#V5.23_Streams">Streams</a>,
  589. <a href="#V5.23_Library">Library</a>
  590. </ul>
  591. <li><a href="#Version5.22">Version 5.22 (limited) (2/19/98)</a>
  592. <ul>
  593. <li><a href="#V5.22_Documentation">Documentation</a>,
  594. <a href="#V5.22_Procedures">Procedures</a>,
  595. <a href="#V5.22_Utilities">Utilities</a>,
  596. <a href="#V5.22_Drivers">Drivers</a>,
  597. <a href="#V5.22_Interpreter">Interpreter</a>,
  598. <a href="#V5.22_Interpreter_PDF">Interpreter (PDF)</a>,
  599. <a href="#V5.22_Streams">Streams</a>,
  600. <a href="#V5.22_Library">Library</a>
  601. </ul>
  602. <li><a href="#Version5.21">Version 5.21 (limited) (1/19/98)</a>
  603. <ul>
  604. <li><a href="#V5.21_Documentation">Documentation</a>,
  605. <a href="#V5.21_Procedures">Procedures</a>,
  606. <a href="#V5.21_Drivers">Drivers</a>,
  607. <a href="#V5.21_Fonts">Fonts</a>,
  608. <a href="#V5.21_Interpreter">Interpreter</a>,
  609. <a href="#V5.21_Interpreter_PDF">Interpreter (PDF)</a>,
  610. <a href="#V5.21_Library">Library</a>
  611. </ul>
  612. <li><a href="#Version5.20">Version 5.20 (limited) (1/8/98)</a>
  613. <ul>
  614. <li><a href="#V5.20_Documentation">Documentation</a>,
  615. <a href="#V5.20_Procedures">Procedures</a>,
  616. <a href="#V5.20_Utilities">Utilities</a>,
  617. <a href="#V5.20_Drivers">Drivers</a>,
  618. <a href="#V5.20_Platforms">Platforms</a>,
  619. <a href="#V5.20_Fonts">Fonts</a>,
  620. <a href="#V5.20_Interpreter">Interpreter</a>,
  621. <a href="#V5.20_Interpreter_PDF">Interpreter (PDF)</a>,
  622. <a href="#V5.20_Streams">Streams</a>,
  623. <a href="#V5.20_Library">Library</a>
  624. </ul>
  625. <li><a href="#Version5.10">Version 5.10 (11/23/97)</a>
  626. <ul>
  627. <li><a href="#V5.10_Documentation">Documentation</a>,
  628. <a href="#V5.10_Procedures">Procedures</a>,
  629. <a href="#V5.10_Utilities">Utilities</a>,
  630. <a href="#V5.10_Drivers">Drivers</a>,
  631. <a href="#V5.10_Interpreter">Interpreter</a>,
  632. <a href="#V5.10_Library">Library</a>
  633. </ul>
  634. <li><a href="#Version5.07">Version 5.07 (limited) (10/31/97)</a>
  635. <ul>
  636. <li><a href="#V5.07_Documentation">Documentation</a>,
  637. <a href="#V5.07_Drivers">Drivers</a>,
  638. <a href="#V5.07_Library">Library</a>
  639. </ul>
  640. <li><a href="#Version5.06">Version 5.06 (limited) (10/7/97)</a>
  641. <ul>
  642. <li><a href="#V5.06_Documentation">Documentation</a>,
  643. <a href="#V5.06_Procedures">Procedures</a>,
  644. <a href="#V5.06_Utilities">Utilities</a>,
  645. <a href="#V5.06_Drivers">Drivers</a>,
  646. <a href="#V5.06_Interpreter">Interpreter</a>,
  647. <a href="#V5.06_Interpreter_PDF">Interpreter (PDF)</a>,
  648. <a href="#V5.06_Library">Library</a>
  649. </ul>
  650. <li><a href="#Version5.05">Version 5.05 (limited) (9/24/97)</a>
  651. <ul>
  652. <li><a href="#V5.05_Platforms">Platforms</a>,
  653. <a href="#V5.05_Drivers">Drivers</a>,
  654. <a href="#V5.05_Interpreter">Interpreter</a>,
  655. <a href="#V5.05_Interpreter_PDF">Interpreter (PDF)</a>
  656. </ul>
  657. <li><a href="#Version5.04">Version 5.04 (limited) (9/21/97)</a>
  658. <ul>
  659. <li><a href="#V5.04_Documentation">Documentation</a>,
  660. <a href="#V5.04_Procedures">Procedures</a>,
  661. <a href="#V5.04_Utilities">Utilities</a>,
  662. <a href="#V5.04_Drivers">Drivers</a>,
  663. <a href="#V5.04_Interpreter">Interpreter</a>,
  664. <a href="#V5.04_Interpreter_PDF">Interpreter (PDF)</a>,
  665. <a href="#V5.04_Library">Library</a>
  666. </ul>
  667. <li><a href="#Version5.03">Version 5.03 (8/8/97)</a>
  668. <ul>
  669. <li><a href="#V5.03_Documentation">Documentation</a>,
  670. <a href="#V5.03_Procedures">Procedures</a>,
  671. <a href="#V5.03_Drivers">Drivers</a>,
  672. <a href="#V5.03_Platforms">Platforms</a>,
  673. <a href="#V5.03_Fonts">Fonts</a>,
  674. <a href="#V5.03_Interpreter">Interpreter</a>,
  675. <a href="#V5.03_Interpreter_PDF">Interpreter (PDF)</a>,
  676. <a href="#V5.03_Library">Library</a>
  677. </ul>
  678. <li><a href="#Version5.02">Version 5.02 (7/28/97)</a>
  679. <ul>
  680. <li><a href="#V5.02_Documentation">Documentation</a>,
  681. <a href="#V5.02_Procedures">Procedures</a>,
  682. <a href="#V5.02_Utilities">Utilities</a>,
  683. <a href="#V5.02_Drivers">Drivers</a>,
  684. <a href="#V5.02_Platforms">Platforms</a>,
  685. <a href="#V5.02_Fonts">Fonts</a>,
  686. <a href="#V5.02_Interpreter">Interpreter</a>,
  687. <a href="#V5.02_Interpreter_PDF">Interpreter (PDF)</a>,
  688. <a href="#V5.02_Library">Library</a>
  689. </ul>
  690. <li><a href="#Version5.01">Version 5.01 (6/22/97)</a>
  691. <ul>
  692. <li><a href="#V5.01_Documentation">Documentation</a>,
  693. <a href="#V5.01_Procedures">Procedures</a>,
  694. <a href="#V5.01_Utilities">Utilities</a>,
  695. <a href="#V5.01_Drivers">Drivers</a>,
  696. <a href="#V5.01_Platforms">Platforms</a>,
  697. <a href="#V5.01_Interpreter">Interpreter</a>,
  698. <a href="#V5.01_Interpreter_PDF">Interpreter (PDF)</a>,
  699. <a href="#V5.01_Library">Library</a>
  700. </ul>
  701. <li><a href="#Version5.0">Version 5.0 (6/6/97)</a>
  702. <ul>
  703. <li><a href="#V5.0_Documentation">Documentation</a>,
  704. <a href="#V5.0_Procedures">Procedures</a>,
  705. <a href="#V5.0_Interpreter">Interpreter</a>,
  706. <a href="#V5.0_Library">Library</a>
  707. </ul>
  708. </ul></blockquote>
  709. <!-- [1.2 end table of contents] =========================================== -->
  710. <!-- [1.3 begin hint] ====================================================== -->
  711. <p>
  712. This document is a record of changes in Ghostscript releases numbered 5.n.
  713. For earlier versions, see the the history documents:
  714. <blockquote>
  715. <a href="History4.htm">History of Ghostscript versions 4.n</a><br>
  716. <a href="History3.htm">History of Ghostscript versions 3.n</a><br>
  717. <a href="History2.htm">History of Ghostscript versions 2.n</a><br>
  718. <a href="History1.htm">History of Ghostscript versions 1.n</a>
  719. </blockquote>
  720. <p>For other information, see the <a href="Readme.htm">Ghostscript
  721. overview</a>.
  722. <!-- [1.3 end hint] ======================================================== -->
  723. <hr>
  724. <!-- [1.0 end visible header] ============================================== -->
  725. <!-- [2.0 begin contents] ================================================== -->
  726. <p>
  727. Within each release, news appears in the following order: Incompatible
  728. changes, Documentation, Procedures, Utilities, Drivers, Platforms, Fonts,
  729. Interpreter, Streams (included under Interpreter through release 2.9.9),
  730. Library. Changes marked with a * were made available as patches to a
  731. previous release.
  732. <hr>
  733. <h2><a name="Version5.99"></a>Version 5.99 (beta) (1999-12-18)</h2>
  734. <h3><a name="5.99_Incompatible_changes"></a>Incompatible changes</h3><pre>
  735. (Procedures)
  736. - All platform-specific makefiles must now define the Q macro.
  737. - Ghostscript now exits with an error status if an error occurs in a
  738. file named on the command line, a -c command, or piped input.
  739. (Utilities)
  740. - ps2epsi now disables setpagedevice: the bounding box of the EPSI
  741. output file is recorded only in the %%BoundingBox comment.
  742. (Drivers)
  743. - The return type of gdev_vector_close_file is changed from void
  744. to int.
  745. (Interpreter)
  746. - The name of the predefined stochastic halftone is changed to
  747. StochasticDefault. (This change was actually made in 5.98.)
  748. - The compht feature is replaced by stocht.
  749. - Font searching now looks in FontResourceDir.
  750. - The ASCIIHexEncode filter now produces upper-case output.
  751. (Library)
  752. - The type returned by compiled halftone resource access procedures
  753. is changed.
  754. </pre><h3><a name="5.99_Documentation"></a>Documentation</h3><pre>
  755. Fixes problems:
  756. - A stray character had gotten added to the beginning of a file.
  757. (doc/Use.htm)
  758. - Many minor HTML errors had crept in. (doc/*.htm, doc/gsdoc.el)
  759. Updates the docmentation on the mswinpr2 driver. (doc/Devices.htm)
  760. Notes that GNU make currently does not work on OpenVMS. (doc/Make.htm)
  761. Documents the fact that x/y_pixels_per_inch are deprecated. (gxdevcli.h)
  762. Documents certain bugs in ps2pdf. (doc/Ps2pdf.htm)
  763. Documents the addition of FontResourceDir to the font search process.
  764. (doc/Use.htm)
  765. Documents the new arrangement for B paper sizes. (doc/Psfiles.htm,
  766. doc/Use.htm, doc/gs-vms.hlp, man/gs.1)
  767. Removes the "under development" warning from the text API and
  768. get_bits_rectangle documentation, and adds a little more detail.
  769. (doc/Drivers.htm)
  770. Adds new user-contributed documentation for installing and using Ghostscript
  771. fonts with X Windows. (doc/Fonts.htm, doc/Readme.htm, doc/Use.htm)
  772. Adds building with the Watcom compiler to the release process.
  773. (doc/Release.htm)
  774. Adds an "Improving performance" section to the user documentation.
  775. (doc/Use.htm)
  776. Adds a note to the C style guide about order of evaluation.
  777. (doc/C-style.htm)
  778. Documents the new stocht.ps file. (doc/Psfiles.htm)
  779. </pre><h3><a name="5.99_Procedures"></a>Procedures</h3><pre>
  780. Fixes problems:
  781. - A missing dependency caused builds on certain platforms to fail.
  782. (int.mak)
  783. - $(EXP) was missing before various utility invocations. (int.mak)
  784. - VMS converts all unquoted arguments to lower case. In order to
  785. work around this, we have added a platform-specific makefile macro Q, which
  786. is defined as a quote mark on VMS and as an empty string on all other
  787. platforms, and used it to quote the few mixed-case values in the makefiles.
  788. We removed the obsolete QQ macro from os2.mak as well. (cfonts.mak,
  789. dvx-head.mak, int.mak, openvms.mak, openvms.mmk, os2.mak, unixhead.mak,
  790. wccommon.mak, winlib.mak)
  791. - PSRCDIR was incorrectly referenced as PNGSRCDIR in one place.
  792. (all-arch.mak)
  793. - winint.mak had a conditional that Watcom's make program didn't
  794. accept. (winint.mak)
  795. Adds a makefile entry to allow compilation with libpng 1.0.5. (libpng.mak)
  796. Updates the Borland C++ makefile to work with C++Builder 4. (bcwin32.mak)
  797. Updates the Unix installation makefile to install stocht.ps. (unixinst.mak)
  798. </pre><h3><a name="5.99_Utilities"></a>Utilities</h3><pre>
  799. Fixes problems:
  800. - ps2epsi didn't disable setpagedevice. (lib/ps2epsi)
  801. - geninit needed &lt;stdlib.h&gt; for 'exit'. (geninit.c)
  802. - Some invocations of utilities didn't deal with VMS's habit of
  803. converting arguments to lower case. (geninit.c, cfonts.mak)
  804. - The ps2pdf*.bat files didn't produce a usage message if no
  805. arguments were provided. (lib/ps2pdf.bat, lib/ps2pdf12.bat,
  806. lib/ps2pdf13.bat)
  807. - Removes some warnings from the Windows uninstaller.
  808. (dwuninst.cpp)
  809. Upgrades the halftone compiler to handle Type 5 halftones. (genht.c)
  810. Makes the initialization string compiler recognize sections of the code
  811. where binary tokens are allowed, and convert literal hex strings within such
  812. sections to binary-token strings, which take less space and load faster.
  813. (geninit.c)
  814. Adds a utility file to define b0 ... b6 as selecting JIS B paper sizes.
  815. (unixinst.mak, lib/jispaper.ps)
  816. Modifies the font printing utility to sort unencoded characters.
  817. (lib/prfont.ps)
  818. Adds a small utility to help use the StochasticDefault halftone.
  819. (lib/stocht.ps)
  820. </pre><h3><a name="5.99_Drivers"></a>Drivers</h3><pre>
  821. Fixes problems:
  822. - The output of the epswrite driver couldn't be embedded in another
  823. file, because it assumed it was invoked with an empty operand stack.
  824. (gdevps.c)
  825. - "Vector" drivers didn't detect I/O errors such as filling up the
  826. disk. (gdevvec.h, gdevpdf.c, gdevps.c, gdevpx.c, gdevvec.c)
  827. - The bookkeeping for image color spaces when banding was incorrect,
  828. possibly causing memory access errors. (gxclist.h, gxclimag.c, gxclist.c)
  829. - The cljet5 driver didn't place the image on the page correctly.
  830. (gdevclj.c)
  831. - 16-bit X11 devices with R/G/B widths other than 5/6/5 sometimes
  832. failed to map colors correctly. (gdevxcmp.h, gdevxcmp.c)
  833. - The cljet5c driver omitted a needed cast. (gdevcljc.c)
  834. Adds new x11rg16x and x11rg32x devices to test X Windows with unusual pixel
  835. layout. (devs.mak, gdevxalt.c)
  836. Works around a bug in Acrobat Distiller 4 (and perhaps some other PostScript
  837. interpreters) that causes an error if CCITTFaxDecode with /EndOfBlock = true
  838. is given data with no EOB (terminated by the end of the data stream
  839. instead). (gdevps.c)
  840. </pre><h3><a name="5.99_Platforms"></a>Platforms</h3><pre>
  841. Fixes problems:
  842. - The absence of mktemp on the Watcom platform caused a linking
  843. error under Windows. (watc.mak, watcw32.mak, gp_iwatc.c, gp_mktmp.c)
  844. </pre><h3><a name="5.99_Fonts"></a>Fonts</h3><pre>
  845. Fixes problems:
  846. - findfont, /Font resourcestatus, and /Font resourceforall weren't
  847. consistent. (lib/gs_fonts.ps, lib/gs_res.ps)
  848. - Very large TrueType fonts caused a stackoverflow. (lib/gs_ttf.ps)
  849. </pre><h3><a name="5.99_PDF_writer"></a>PDF writer</h3><pre>
  850. Fixes problems:
  851. - Errors in pdfmark and setdistillerparams were ignored (!).
  852. (lib/gs_pdfwr.ps)
  853. - The PUT pdfmark didn't allow adding dictionaries to stream-type
  854. objects. (The pdfmark documentation says this isn't allowed, but we think
  855. this is an oversight, since it is reasonable and unambiguous and Acrobat
  856. Distiller allows it.) (gdevpdfm.c)
  857. - The token scanner used to substitute object names in pdfmark
  858. parameters sometimes added an extra character on the end. (gdevpdfr.c)
  859. - ashow and [a]widthshow produced incorrect text spacing. (bug
  860. introduced by an optimization in 5.97) (gdevpdft.c)
  861. - setdistillerparams left its argument on the stack.
  862. (lib/gs_pdfwr.ps)
  863. - 0-height images caused errors either at conversion or at rendering
  864. time. (gdevpdfi.c)
  865. - If the FontMatrix included a translation component, text was
  866. positioned incorrectly. NOTE: this fix may not handle x/y/xyshow.
  867. (gdevpdft.c)
  868. - Out-of-range user-space coordinates could get generated for
  869. rectangles. NOTE: they can still get generated for general paths.
  870. (gdevpdfd.c)
  871. - Widths weren't written for renamed built-in fonts. We fixed this
  872. partly by improving the algorithm for recognizing built-in fonts.
  873. (gdevpdff.h, gdevpdff.c, gdevpdft.c)
  874. Works around the Acrobat limitation that user-space coordinates must not
  875. exceed 32K. (fix from Artifex) (gdevpdfp.c)
  876. Works around an Acrobat Reader 3 bug with printing files including Type 3
  877. fonts: with the "Download Fonts Once" option, AR3 only emits the font subset
  878. referenced on the first page where the font appears. (gdevpdfx.h,
  879. gdevpdf.c, gdevpdft.c)
  880. </pre><h3><a name="5.99_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  881. Fixes problems:
  882. - Type 3 fonts weren't handled properly as a marking context, so if
  883. a CharProc referenced a resource in the font, an error would occur.
  884. (lib/pdf_fonts.ps)
  885. - 0-height images caused an error. (lib/pdf_draw.ps)
  886. </pre><h3><a name="5.99_Interpreter"></a>Interpreter</h3><pre>
  887. Fixes problems:
  888. - Errors weren't propagated properly. (bug introduced in 5.98 by
  889. enhanced error recovery code) (imainarg.h, gs.c, imainarg.c)
  890. - Errors in -c commands or in files named on the command line
  891. sometimes allowed execution to continue, and did not terminate with an
  892. abnormal status. (lib/gs_init.ps)
  893. Changes the binary token scanner so that if the stream buffer is in foreign
  894. space, binary-token strings will not be copied, but will be referenced
  895. directly in the buffer. This parallels what is done for name strings.
  896. (iscanbin.c)
  897. Changes the stochastic halftone from multiple Type 3s to a Type 5.
  898. (lib/ht_ccsto.ps, int.mak)
  899. Replaces the compht feature with a new feature called stocht. If this
  900. feature is selected, the StochasticDefault halftone resource will be
  901. pre-loaded into Ghostscript. If COMPILE_INITS=1, all the halftone data
  902. (threshold array, order and bits arrays) will be efficiently compiled into
  903. the executable. (int.mak)
  904. Replaces (...\n) print with (...) = everywhere. (lib/gs_cmdl.ps,
  905. lib/gs_fonts.ps, lib/gs_init.ps, lib/gs_setpd.ps, lib/pdf_base.ps,
  906. lib/pdf_font.ps, lib/pdf_main.ps, lib/pdf_sec.ps)
  907. Adds support for JIS B paper sizes: statusdict will now include isob0..6 and
  908. jisb0..6 operators, with b0..6 normally aliased to the former.
  909. (lib/gs_statd.ps, lib/jispaper.ps)
  910. Adds a b5tray procedure; limits the valid arguments for setpagetype to the
  911. Adobe-defined values 0 and 1. (lib/gs_statd.ps)
  912. Updates clients for the change in the gs_image_* API. (zimage.c)
  913. Makes the default halftone lookup procedure more reasonable.
  914. (lib/gs_init.ps, lib/gs_ll3.ps)
  915. </pre><h3><a name="5.99_Streams"></a>Streams</h3><pre>
  916. Fixes problems:
  917. - An error condition when closing a file stream wasn't reported
  918. properly. (sfxfd.c, sfxstdio.c)
  919. For greater Adobe compatibility, changes the ASCIIHexEncode filter to
  920. produce upper-case output. (sstring.c)
  921. </pre><h3><a name="5.99_Library"></a>Library</h3><pre>
  922. Fixes problems:
  923. - The gs_image_* API didn't work for ImageType 3 images. Fixing
  924. this required a small (but backward-compatible) API change. (fix mostly
  925. provided by Artifex) (gsimage.h, gsimage.c)
  926. - The change in the bbox device in 5.95 broke it for the case where
  927. it was being used in a pipeline. (gdevbbox.c)
  928. - A possible overflow wasn't detected when stroking lines with very
  929. large coordinates. (gxstroke.c)
  930. - A mask was sized incorrectly. (gsdcolor.h)
  931. Updates the runtime support for compiled halftones. (gxdhtres.h, gscdefs.h,
  932. gconf.c, gxclrast.c, gxhtbit.c)
  933. Replaces all references to the now-deprecated x/y_pixels_per_inch with
  934. HWResolution[0/1]. (gsdevice.c, gxclist.c, gxpcmap.c)
  935. </pre>
  936. <hr>
  937. <h2><a name="Version5.98"></a>Version 5.98 (beta) (1999-12-01)</h2>
  938. <h3><a name="5.98_Incompatible_changes"></a>Incompatible changes</h3><pre>
  939. (Library)
  940. - The return type of init_proc is changed from void to int.
  941. - The return types of gs_lib_init* are changed from void to int.
  942. (Interpreter)
  943. - The return types of gs_[main_]init*, gs_[main_]add_lib_path,
  944. gs_[main_]set_lib_paths, and a number of internal initialization-related
  945. procedures are changed from void to int.
  946. </pre><h3><a name="5.98_Documentation"></a>Documentation</h3><pre>
  947. Improves the documentation of the clist_render_rectangle procedure.
  948. (gxclist.h)
  949. Makes it clear that pre-public-release filesets should not be redistributed.
  950. (doc/Tester.htm)
  951. Clarifies that the parameters for the X driver are command line switches,
  952. not X resources. (doc/Use.htm)
  953. Improves the documentation of ps2pdf in response to some user comments.
  954. (doc/Ps2pdf.htm)
  955. Documents the initial settings of the distiller parameters.
  956. (doc/Ps2pdf.htm)
  957. Documents the UniqueIDs assigned to Aladdin. (lib/gs_fonts.ps)
  958. Updates the documentation for the stochastic halftone mask. (doc/Make.htm)
  959. Removes some obsolete material. (doc/Release.htm)
  960. </pre><h3><a name="5.98_Procedures"></a>Procedures</h3><pre>
  961. Fixes problems:
  962. - The new ps2pdf* scripts weren't included in the Unix install list.
  963. (unixinst.mak)
  964. - The directory names were missing in BEGINFILES. (openvms.mak)
  965. - The .pl and .sh scripts weren't included in the Unix install list.
  966. (unixinst.mak)
  967. Updates all-arch.mak with a newer version from its contributor.
  968. (all-arch.mak)
  969. Updates the makefiles for a change in eexec modularization. (devs.mak,
  970. int.mak, lib.mak)
  971. </pre><h3><a name="5.98_Utilities"></a>Utilities</h3><pre>
  972. Fixes problems:
  973. - The dvipdf usage message was incorrect. (lib/dvipdf)
  974. Adds a utility for mechanically adding the Adobe extended Latin characters
  975. (primarily Central European accented letters) to a font. Eventually we
  976. would like to integrate this into the font loader and/or make extended
  977. versions of the standard 35 fonts. (lib/addxchar.ps)
  978. </pre><h3><a name="5.98_Drivers"></a>Drivers</h3><pre>
  979. Fixes problems:
  980. - psdf_sorted_glyphs_include didn't handle empty lists correctly.
  981. (gdevpsdf.c)
  982. - A reference to a #defined constant hadn't been converted to upper
  983. case. (gdevpsdf.h)
  984. - Acrobat Reader couldn't handle &lt;&gt; as the definition of
  985. Notice in an embedded font's FontInfo dictionary: it requires a ()
  986. string. (gdevpsd1.c)
  987. - The [e]pswrite driver didn't take stroked paths into account when
  988. computing the bounding box. (gdevps.c)
  989. Updates gdevwpr2.c with a new version from its most recent author.
  990. (gdevwpr2.c)
  991. </pre><h3><a name="5.98_Fonts"></a>Fonts</h3><pre>
  992. Fixes problems:
  993. - The FONTPATH file scanner wasn't protected against errors.
  994. (lib/gs_fonts.ps)
  995. - Some badly designed Chinese TrueType fonts, whose 'post' table
  996. gives the name .null to all glyphs, didn't work properly. (lib/gs_ttf.ps)
  997. - The shareware Katakana font had an incorrect UniqueID.
  998. (fonts/fkarw.gsf)
  999. Adds all of the PostScript 3 fonts to the intelligent substitution tables.
  1000. (lib/gs_fonts.ps)
  1001. Changes the FONTPATH scanner to allow a %%BeginFont: line as the first line
  1002. of a font. Nothing in Adobe's documentation suggests that this is
  1003. acceptable, but some fonts have it. (lib/gs_fonts.ps)
  1004. Releases an updated set of the URW fonts, fixing the braceleftbt problem in
  1005. the Symbol font and a couple of missing characters in the ZapfDingbats
  1006. fonts, and adding the Euro glyph to the alphabetic fonts. The new archive
  1007. also includes fonts.scale and fonts.dir files for use with X Windows
  1008. (mkfontdir and xfs).
  1009. Centralizes the definition of Aladdin's XUIDs. (lib/gs_fonts.ps,
  1010. lib/gs_ttf.ps)
  1011. </pre><h3><a name="5.98_PDF_writer"></a>PDF writer</h3><pre>
  1012. Fixes problems:
  1013. - The algorithm for making font names unique didn't take subset
  1014. prefixes into account. (gdevpdff.h, gdevpdff.c, gdevpdfw.c)
  1015. - Computing character bounding boxes was taking an inordinate amount
  1016. of time. (performance problem only) (gdevpdff.c)
  1017. - The pdf_image_writer and pdf_image_enum structures didn't have GC
  1018. descriptors, possibly causing memory corruption. (gdevpdfi.c)
  1019. - PostScript files containing images with premature end-of-data were
  1020. converted to PDF files with premature end-of-data, which Acrobat doesn't
  1021. accept. (gdevpdfo.h, gdevpdfx.h, gdevpdfi.c, gdevpdfo.c, gdevpdfu.c)
  1022. - Pattern resources whose image was written in-line omitted a needed
  1023. gsave (q). (bug introduced in 5.94) (gdevpdfi.c)
  1024. - The similarity between a font and a base font wasn't computed
  1025. correctly, leading to some unnecessary writing of Widths for standard fonts.
  1026. (gdevpdft.c)
  1027. - Embedding a stream in the psdf_binary_writer caused garbage
  1028. collector problems, because there could be pointers to that stream from
  1029. elsewhere. (gdevpsdf.h, gdevpsdf.c)
  1030. - The algorithms for deciding whether a font was script or serif
  1031. were very inaccurate. (The revised ones are only somewhat better.)
  1032. (gdevpdff.c)
  1033. - Re-encoded characters in subset fonts weren't handled correctly.
  1034. We work around this by writing the entire font if the character doesn't
  1035. appear in the font's encoding. This is inefficient but will always produce
  1036. correct output. (gdevpdff.h, gdevpdff.c, gdevpdft.c, gdevpdfw.c)
  1037. - The meaning of bit 6 in the Flags was supposed to have changed in
  1038. PDF 1.2, but didn't. (gdevpdff.h, gdevpdff.c, gdevpdfw.c)
  1039. - The Widths array didn't get written out for embedded subsets of
  1040. the built-in fonts. (gdevpdfw.c)
  1041. - Planar images weren't handled correctly, and could cause memory
  1042. corruption. (gdevpdfi.c)
  1043. - Patterns still weren't scaled correctly; in fact, the "fix" in
  1044. 5.94 can't possibly have worked, and we don't understand why it seemed to.
  1045. (gdevpdfi.c)
  1046. Recants the belief that the default encoding for embedded fonts is
  1047. StandardEncoding (see 5.95): the appearance of this was a symptom of having
  1048. multiple fonts with the same name. (gdevpdft.c)
  1049. Removes FONT_EMBED_UNKNOWN, which is meaningless (a decision is always made
  1050. about whether to embed a font). (gdevpdff.h, gdevpdff.c, gdevpdft.c)
  1051. Changes the algorithm for picking the base font so that it produces more
  1052. efficient output for certain cases of re-encoded fonts. (gdevpdft.c)
  1053. </pre><h3><a name="5.98_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  1054. Fixes problems:
  1055. - Fonts were getting renamed unnecessarily. (performance and PDF
  1056. output size problem only) (lib/pdf_font.ps)
  1057. - Fonts with Widths but no FontDescriptor caused an error.
  1058. (lib/pdf_font.ps)
  1059. - TrueType fonts processed the Encoding key in the font the same way
  1060. as other font types, which is not correct. (lib/pdf_font.ps)
  1061. - For embedded Type 3 fonts, the Widths entry in a font didn't
  1062. override the width in the CharProc. (lib/pdf_font.ps, lib/pdf_ops.ps)
  1063. - If a page had multiple Contents streams, and one of the streams
  1064. ended with values on the operand stack, an error might occur.
  1065. (lib/pdf_main.ps)
  1066. - Ts and Tz within a text object didn't take effect immediately.
  1067. (lib/pdf_ops.ps)
  1068. - sc[n] and SC[N] could cause an error because Do left an extra item
  1069. on the stack temporarily. (lib/pdf_draw.ps)
  1070. </pre><h3><a name="5.98_Interpreter"></a>Interpreter</h3><pre>
  1071. Fixes problems:
  1072. - Getting the unscaled outline for a Type 1 font didn't disable
  1073. hinting. (mostly a performance problem) (zchar1.c)
  1074. - Error conditions during initialization weren't recognized. Fixing
  1075. this required changing various return types from void to int. (ialloc.h,
  1076. iinit.h, imain.h, interp.h, ialloc.c, iinit.c, imain.c)
  1077. - HalftoneMode didn't affect setscreen or setcolorscreen.
  1078. (lib/gs_init.ps, lib/gs_ll3.ps)
  1079. Makes the interpreter quit with a message, rather than a stack dump, if it
  1080. can't open the initial device and DEBUG is not set. (lib/gs_init.ps)
  1081. Adds .setlimitclamp and .currentlimitclamp operators to access the limit
  1082. clamp flag in the graphics state. (zgstate.c)
  1083. Changes the names of the stochastic halftone mask to be more descriptive.
  1084. (lib/ht_ccsto.ps, int.mak, unixinst.mak)
  1085. </pre><h3><a name="5.98_Streams"></a>Streams</h3><pre>
  1086. Adds the ability to forbid using hex encoding when writing strings.
  1087. (spsdf.h, spsdf.c)
  1088. </pre><h3><a name="5.98_Library"></a>Library</h3><pre>
  1089. Fixes problems:
  1090. - Computing the width of a glyph unnecessarily constructed the
  1091. entire outline. (performance problem only) (gxtype1.c)
  1092. - Getting the unscaled width of a glyph in a Type 1 font didn't
  1093. disable hinting. (mostly a performance problem) (gxtype1.c.)
  1094. - The "unknown device" GC descriptor is no longer used. (gsdevice.c)
  1095. - Some compilers *still* complained about end-of-loop code not being
  1096. reached. (gxpath2.c)
  1097. - Mixing float and double values sometimes caused spurious lines to
  1098. be drawn when stroking very short lines with large widths. (fix from
  1099. Artifex) (gxpdash.c)
  1100. - The code for handling crossing lines in the path filling algorithm
  1101. sometimes computed line crossings incorrectly, causing excessive
  1102. computation. (gxfill.c)
  1103. - When oversampling for anti-aliasing, the flatness parameter was
  1104. not scaled, leading to unnecessarily accurate curve rendering. (gspaint.c)
  1105. - An extra grestore in a Pattern PaintProc could cause a crash.
  1106. (gxpcmap.c)
  1107. - Error conditions during initialization weren't recognized. Fixing
  1108. this required changing the return type of init_proc, and various other
  1109. internal procedures, from void to int. (std.h, gslib.h, gscdefs.h,
  1110. gshtscr.c, gsiodev.c, gslib.c, gsutil.c)
  1111. Splits off the Type 1 encryption/decryption code into a separate file for
  1112. sharing with the eexec streams. (gscrypt1.c, gxtype1.c)
  1113. </pre>
  1114. <hr>
  1115. <h2><a name="Version5.97"></a>Version 5.97 (beta) (11/22/99)</h2>
  1116. <p>
  1117. This is the next beta for 6.0. We believe the pdfwrite driver (ps2pdf) now
  1118. finally produces Acrobat-acceptable output, with reasonable handling of
  1119. fonts, and have also fixed the problem with high-level image banding. We
  1120. are cautiously hopeful that this is a "real" beta candidate.
  1121. <h3><a name="5.97_Incompatible_changes"></a>Incompatible changes</h3><pre>
  1122. (Drivers)
  1123. - The default CompatibilityLevel in the pdfwrite driver is now back
  1124. to 1.3.
  1125. (Library)
  1126. - The seac_data procedure of a Type 1 font must now be able to
  1127. return the glyph and/or the actual outline data.
  1128. </pre><h3><a name="5.97_Documentation"></a>Documentation</h3><pre>
  1129. Fixes problems:
  1130. - A &lt;br&gt; was missing. (doc/Release.htm)
  1131. - The final step of copying releases to www.aladdin.com was missing.
  1132. (doc.Release.htm)
  1133. Documents the new situation with the ps2pdf* scripts. (doc/Ps2pdf.htm)
  1134. Documents the simplification of the pthreads code. (doc/Helpers.htm,
  1135. doc/Make.htm)
  1136. Adds a requirement to the license that modifications include the name and
  1137. e-mail address of the author, and the date and purpose of the modification.
  1138. (doc/Public.htm)
  1139. Adds a link to the documentation for setdistillerparams. (doc/Ps2pdf.htm)
  1140. </pre><h3><a name="5.97_Procedures"></a>Procedures</h3><pre>
  1141. Fixes problems:
  1142. - On OpenVMS, the test for whether the bin and obj subdirectories
  1143. already existed was incorrect. (openvms.mak, openvms.mmk)
  1144. - The recently updated Borland/Inprise makefile deleted some temp
  1145. files prematurely. (bcwin32.mak)
  1146. - The dependencies for the Unix install-scripts and install-data
  1147. targets were incorrect. (unixinst.mak)
  1148. Updates the RPM spec files. (gs.rps, gs-fonts.rps, rpm-conf.dif)
  1149. Adds support for compilation with Borland/Inprise C++Builder 3.
  1150. (bcwin32.mak, winint.mak)
  1151. Adds a note on font installation under Red Hat Linux 6. (doc/Install.htm)
  1152. </pre><h3><a name="5.97_Utilities"></a>Utilities</h3><pre>
  1153. Adds ps2pdf12 and ps2pdf13 scripts to select the PDF output level
  1154. explicitly; makes ps2pdf a wrapper for ps2pdf12. (lib/ps2pdf,
  1155. lib/ps2pdf.bat, lib/ps2pdf12, lib/ps2pdf12.bat, lib/ps2pdf13,
  1156. lib/ps2pdf13.bat, lib/ps2pdfwr, lib/ps2pdfwr.bat)
  1157. Updates the Windows install/setup program to display the Aladdin start menu
  1158. folder on a successful install, so that the user gets some feedback that all
  1159. went well. (dwinst.cpp, dwsetup.cpp)
  1160. </pre><h3><a name="5.97_Drivers"></a>Drivers</h3><pre>
  1161. Fixes problems:
  1162. - The lj5{mono,gray} drivers didn't send the page size to the
  1163. printer. (gdevpxut.h, gdevlj56.c, gdevpx.c, gdevpxut.c)
  1164. - The pxl drivers didn't handle out-of-range points properly.
  1165. (gdevvec.c, gdevpx.c)
  1166. - The bmpa drivers didn't produce multi-page output files correctly
  1167. -- all pages but the first were blank. (The bmp format is supposed to be
  1168. single-page, but at least some readers handle multi-page files correctly.)
  1169. (gdevbmpa.c)
  1170. - The code for writing embedded TrueType fonts was broken. (bug
  1171. probably introduced in 5.9x) (gdevpsdt.c)
  1172. Removes an unused variable. (gdevbmpa.c)
  1173. </pre><h3><a name="5.97_Platforms"></a>Platforms</h3><pre>
  1174. Replaces the 4 pthreads files, which included a dependence on the non-POSIX
  1175. &lt;semaphore.h&gt;, with a single file that uses only pthreads procedures.
  1176. (gp_psync.c, gp_posem.c [deleted], gp_pthr.c [deleted], gp_ptsem.c
  1177. [deleted], gp_semon.c [deleted])
  1178. </pre><h3><a name="5.97_PDF_writer"></a>PDF writer</h3><pre>
  1179. Fixes problems:
  1180. - Whether or not to write the Widths array was implicit in the data
  1181. structures rather than explicit, so it was sometimes written unnecessarily.
  1182. (gdevpdfx.h, gdevpdff.c, gdevpdft.c)
  1183. - Fonts based on the 14 built-in fonts didn't set BaseFont to the
  1184. name of the built-in font. (gdevpdff.c)
  1185. - The determination of whether a glyph was available was incorrect
  1186. for embedded fonts, leading some glyphs to be turned into bitmaps
  1187. unnecessarily. (gdevpdft.c)
  1188. - Apparently Acrobat Reader gets confused if different subsets of
  1189. the same font have different FirstChar and LastChar values, so we have to
  1190. write the full Widths array each time. (gdevpdfx.h, gdevpdff.c, gdevpdft.c)
  1191. - A structure member wasn't initialized when processing pdfmark
  1192. annotations, possibly causing a memory access error. (gdevpdfm.c)
  1193. - The typedef for gx_device_pdf had a typo. (gdevpdfx.h)
  1194. - Each embedded font subset had its own FontDescriptor and its own
  1195. font data, confusing Acrobat Reader. Fixing this required sharing
  1196. FontDescriptors among multiple fonts and making FontDescriptors
  1197. pseudo-resources. (gdevpdff.h, gdevpdfx.h, gdevpdf.c, gdevpdff.c,
  1198. gdevpdft.c, gdevpdfw.c)
  1199. - Incrementally defined embedded Type 1 fonts didn't write out
  1200. correct Widths. (gdevpdff.c)
  1201. - PDF resources didn't consistently record the gs_id of the
  1202. structure they represented, possibly causing resources to be duplicated
  1203. unnecessarily. (gdevpdff.c, gdevpdfu.c)
  1204. Reinstates PDF text output. (gdevpdf.c)
  1205. Changes the default CompatibilityLevel in the pdfwrite device back to 1.3,
  1206. since the ps2pdf scripts now make it easy to choose the PDF level.
  1207. (gdevpdf.c)
  1208. When possible, uses the widths obtained from the font, rather than the
  1209. default implementation of text_process, to complete the text_process
  1210. operation. This greatly speeds up the conversion process. (gdevpdft.c)
  1211. Allows character remapping (but not reencoding) of TrueType fonts.
  1212. (gdevpdft.c)
  1213. Factors the definitions for cos objects and font-related objects into header
  1214. files more thoroughly. (gdevpdff.h, gdevpdfo.h, gdevpdfx.h, gdevpdf.c,
  1215. gdevpdff.c, gdevpdfi.c, gdevpdfm.c, gdevpdfr.c, gdevpdft.c, gdevpdfu.c)
  1216. Makes the names of some structure elements correspond more directly to keys
  1217. in PDF directories. (gdevpdff.h, gdevpdff.c, gdevpdft.c)
  1218. Splits off the font-writing code, since a source file was getting too big.
  1219. (gdevpdff.h, gdevpdff.c, gdevpdfw.c)
  1220. Adds CharSet information to embedded Type 1 font descriptors. (gdevpdfw.c)
  1221. Makes all font names in the output unique, selected by static bool
  1222. MAKE_FONT_NAMES_UNIQUE. (gdevpdff.h, gdevpdff.c, gdevpdft.c)
  1223. Reinstates support for one special case of composite fonts (8/8 mapping with
  1224. the high order byte always zero) that is used by the AdobePS4 Windows
  1225. driver. (gdevpdft.c)
  1226. Changes the assumption about the default encoding for embedded TrueType
  1227. fonts from StandardEncoding to no known encoding. (gdevpdft.c)
  1228. Changes FONT_EMBED_BASE14 to FONT_EMBED_STANDARD for greater
  1229. descriptiveness. (gdevpdff.h, gdevpdff.c, gdevpdft.c)
  1230. </pre><h3><a name="5.97_Interpreter"></a>Interpreter</h3><pre>
  1231. Fixes problems:
  1232. - The same-font test for Type 1 fonts didn't correctly identify
  1233. re-encoded fonts with unchanged metrics. (zfont1.c)
  1234. - If a save level was split into multiple internal save objects,
  1235. some changes could get undone before objects were finalized. (isave.c)
  1236. - When releasing all of memory, stable allocators weren't finalized.
  1237. (isave.c)
  1238. - Some compilers gave annoying and needless warnings about integer
  1239. overflow. (store.h)
  1240. - There was a signed/unsigned char * mismatch. (iccfont.c)
  1241. Adds a debugging procedure. (idebug.h, idebug.c)
  1242. Changes the Type 1 font seac_data procedure to match the new API.
  1243. (zchar1.c)
  1244. </pre><h3><a name="5.97_Library"></a>Library</h3><pre>
  1245. Fixes problems:
  1246. - The GC didn't know about the pointers to the tables for Indexed
  1247. color spaces when banding, occasionally causing the tables to be written as
  1248. garbage. This is the real fix for the problem discovered in 5.96.
  1249. (gsiparam.h, gxclist.h, gxiparam.h, gxclimag.c, gxclist.c, gxclpath.c)
  1250. - With 'async' drivers, multi-page files didn't render properly
  1251. (they got a rangecheck error on every page after the first one).
  1252. (gdevprna.c)
  1253. - Some compilers still complained about end-of-loop code not being
  1254. reached. (gxpath2.c)
  1255. - The scaled font cache required that a font have a UID in order to
  1256. be a candidate for caching. (gsfont.c)
  1257. - An obsolete check caused slight discrepancies between banded and
  1258. non-banded output. (gxstroke.c)
  1259. - The glyph_outline procedure for TrueType fonts transformed the
  1260. width by the scaling matrix twice. (gstype42.c)
  1261. Removes some now-unnecessary extern_st declarations. (gdevbbox.c,
  1262. gdevplnx.c, gximage3.c)
  1263. Removes some initializations that read uninitialized locations and are
  1264. logically unnecessary. (gsalloc.c, gscolor.c)
  1265. Adds makefile rules for compiling the MD5 implementation. (lib.mak)
  1266. Makes the seac_data of a Type 1 font return the glyph and/or the actual
  1267. outline data. This is necessary because some Type 1 fonts don't have the
  1268. accents in the same positions as StandardEncoding, but use seac anyway.
  1269. (gxfont1.h)
  1270. Changes the Type 1 font interpreter to match the new seac_data API.
  1271. (gxtype1.c)
  1272. </pre>
  1273. <hr>
  1274. <h2><a name="Version5.96"></a>Version 5.96 (beta) (11/12/99)</h2>
  1275. <p>
  1276. This is the next beta for 6.0. To meet a need of our commercial licensing
  1277. partner for a PostScript LL3 release, we are releasing this fileset with all
  1278. font handling in the PDF writer disabled, as well as high-level image
  1279. banding. This is a temporary measure: we will reinstate PDF text in 5.97,
  1280. and high-level image banding as soon as we can straighten out its memory
  1281. management problems.
  1282. <h3><a name="5.96_Incompatible_changes"></a>Incompatible changes</h3><pre>
  1283. (Procedures)
  1284. - All Unix 'make' programs must now predefine MAKE as the name of
  1285. the program.
  1286. (Interpreter)
  1287. - zcolor_remap_one now returns o_push_estack rather than 0 in the
  1288. case where it doesn't actually have to sample the procedure.
  1289. (Library)
  1290. - Multi-plane halftones (when needed) are now used for all CMYK
  1291. devices, not only if setcolorscreen was executed.
  1292. - Font implementors must now provide a same_font procedure.
  1293. </pre><h3><a name="5.96_Documentation"></a>Documentation</h3><pre>
  1294. Makes it clear that gsnup.ps is very simple and naive. (doc/Psfiles.htm,
  1295. lib/gsnup.ps)
  1296. Documents the new -Z_ switch. (doc/Use.htm)
  1297. Documents that SYNC=nosync allows building on systems that don't support
  1298. multi-threading. (doc/Make.htm)
  1299. Adds documentation for building on Macintosh Rhapsody systems.
  1300. (doc/Make.htm)
  1301. Adds a reference to the new all-arch.mak file. (doc/Helpers.htm,
  1302. doc/Make.htm)
  1303. Notes that ps2pdf does preserve the color space for images.
  1304. (doc/Ps2pdf.htm)
  1305. Documents the new self-extracting archive for MS Windows. (doc/Install.htm,
  1306. doc/Release.htm)
  1307. Further improves the documentation of the PDF text machinery. (gdevpdfx.h)
  1308. Reorganizes the build information for Unix. (doc/Make.htm)
  1309. Adds information on building Ghostscript under BSDI. (doc/Make.htm)
  1310. Notes that versions of zlib before 1.1.3 may cause an error on rare
  1311. occasions. (zlib.mak)
  1312. Fixes a few other minor problems. (doc/Current.htm, doc/Devices.htm,
  1313. doc/DLL.htm, doc/Install.htm, doc/Language.htm, doc/Make.htm,
  1314. doc/New-user.htm, doc/Ps2pdf.htm, doc/Source.htm, doc/Use.htm)
  1315. </pre><h3><a name="5.96_Procedures"></a>Procedures</h3><pre>
  1316. Fixes problems:
  1317. - dctd.dev and dcte.dev were defined in $(PSD), but referenced in
  1318. $(GLD). (devs.mak, int.mak, lib.mak)
  1319. - pipe.dev was defined in $(GLD), but referenced in $(PSD).
  1320. (bcwin32.mak, dvx-gcc.mak, msvc32.mak, unix-gcc.mak, unixansi.mak,
  1321. unixtrad.mak)
  1322. - XLIBDIRS was included in the linker command even if none of the
  1323. X drivers were used. (devs.mak, dvx-tail.mak, ugcclib.mak, unixlink.mak)
  1324. - The OpenVMS makefile didn't create the obj and bin directories
  1325. properly. (openvms.mak)
  1326. - 'make debug' and 'make pg' didn't work on Unix systems where the
  1327. make program was named something other than make. (unix-end.mak)
  1328. Introduces a new top-level makefile macro, STDLIBS, that is -lm for all
  1329. reasonable platforms but null for Rhapsody. (dvx-gcc.mak, dvx-tail.mak,
  1330. ugcclib.mak, unix-gcc.mak, unixansi.mak, unixlink.mak, unixtrad.mak)
  1331. Adds Nelson Beebe's contributed multi-architecture Unix makefile.
  1332. (all-arch.mak)
  1333. Makes it theoretically possible in theory to build the new Windows
  1334. install/uninstall program with the Borland compiler. However, since this
  1335. requires Borland C++ 4.52 and we only have 4.5, this is disabled in
  1336. bcwin32.mak. (bcwin32.mak, winint.mak)
  1337. </pre><h3><a name="5.96_Utilities"></a>Utilities</h3><pre>
  1338. Fixes problems:
  1339. - The default for gsnup.ps was 3x2 landscape, rather than 2x2
  1340. portrait. (lib/gsnup.ps)
  1341. - gslp.ps was broken (by the changes made to support gsnup.ps).
  1342. (lib/gslp.ps)
  1343. Adds a -link switch to genconf, to allow verbatim copying of commands into
  1344. the linker command line. (genconf.c)
  1345. Edits files to add missing $Id lines and module summary comments, and to
  1346. delimit module summary comments from further material. (dwinst.h,
  1347. dwsetup.h, dwuninst.h, bench.c, dwuninst.cpp)
  1348. Makes it possible to build the new Windows install/uninstall program with
  1349. the Borland compiler. (dwinst.cpp, dwsetup.cpp, dwsetup.def, dwsetup.rc,
  1350. dwuninst.cpp, dwuninst.def)
  1351. </pre><h3><a name="5.96_Drivers"></a>Drivers</h3><pre>
  1352. Fixes problems:
  1353. - Embedded Type 1 fonts lacked some 'def' commands. (gdevpsd1.c)
  1354. - Multiple Master Font instances weren't written out correctly.
  1355. (gdevpsd1.c)
  1356. Edits files to add missing $Id lines and module summary comments, and to
  1357. delimit module summary comments from further material. (gdev8bcm.h,
  1358. gdevht.h, gdevpccm.h, gdevpcl.h, gdevsvga.h, gdevx.h, gdev3852.c,
  1359. gdev8510.c, gdevadmp.c, gdevcd8.c, gdevcif.c, gdevclj.c, gdevhl7x.c,
  1360. gdevifno.c, gdevimgn.c, gdevl31s.c, gdevmeds.c, gdevmswn.c, gdevos2p.c,
  1361. gdevpe.c, gdevpm.c, gdevsj48.c, gdevtknk.c, gdevupd.c, gdevwddb.c,
  1362. gdevwpr2.c, gdevwprn.c)
  1363. </pre><h3><a name="5.96_Platforms"></a>Platforms</h3><pre>
  1364. Fixes problems:
  1365. - The pthreads wrapper had a procedure type mismatch. We fixed this
  1366. by making it allocate and free a wrapper object, as the Windows wrapper
  1367. does. (gp_pthr.c)
  1368. Edits files to add missing $Id lines and module summary comments, and to
  1369. delimit module summary comments from further material. (dwimg.h, dwmain.h,
  1370. gsdll.h, gp_msio.c, gp_mswin.c)
  1371. Removes an unnecessary #include &lt;semaphore.h&gt;. (gp_semon.c)
  1372. Adds a module that implements semaphores using the pthreads mutex
  1373. facilities, as an alternative to gp_posem.c. Unfortunately, using this
  1374. module causes immediate crashes on both Linux and BSDI, and we don't know
  1375. why. (Let us know if you figure it out.) (gp_ptsem.c)
  1376. </pre><h3><a name="5.96_PDF_writer"></a>PDF writer</h3><pre>
  1377. Fixes problems:
  1378. - The character and word spacing weren't recognized as being reset
  1379. by a PDF grestore. (gdevpdfx.h, gdevpdfu.c)
  1380. - Fonts that couldn't be embedded were always converted to bitmaps,
  1381. rather than becoming candidates for non-embedded representation (if
  1382. EmbedAllFonts is false and the font doesn't appear on the AlwaysEmbed list).
  1383. (gdevpdfx.h, gdevpdff.c, gdevpdft.c)
  1384. - Stream-type Cos objects were written with no (0-length) data.
  1385. (gdevpdfm.c)
  1386. - Reencoded base 14 fonts were not recognized as such, leading to
  1387. excessive font embedding. (gdevpdfx.h, gdevpdf.c, gdevpdff.c, gdevpdft.c)
  1388. - Fonts were embedded by default even if EmbedAllFonts was false.
  1389. (gdevpdft.c)
  1390. Changes MaxSubsetPct to 35 to match Acrobat Distiller. (gdevpsdf.h)
  1391. Adds some tracing output (-Z_). (gdevpdff.c, gdevpdft.c)
  1392. Temporarily disables font handling in the PDF writer, to meet a need of our
  1393. commercial licensing partner. All text will be converted to code-scrambled
  1394. Type 3 bitmap fonts. (gdevpdf.c)
  1395. </pre><h3><a name="5.96_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  1396. Fixes problems:
  1397. - The sh operator caused an invalidaccess error for shadings that
  1398. required a DataSource. (lib/pdf_draw.ps)
  1399. - The test for whether a Widget appearance was a Form or a
  1400. collection of sub-appearances was incorrect, causing an /undefined error in
  1401. the latter case. (lib/pdf_draw.ps)
  1402. - If the FontName in a Font descriptor differed from the BaseFont
  1403. name in the Font object, the interpreter used the two inconsistently,
  1404. sometimes causing the wrong font to be used. (lib/pdf_font.ps)
  1405. - ICCBased color spaces caused an error. (lib/pdf_draw.ps)
  1406. Works around the fact that Acrobat Distiller produces files in which a
  1407. Widget's Form appearance lacks Type and Subtype keys. (lib/pdf_draw.ps)
  1408. </pre><h3><a name="5.96_Interpreter"></a>Interpreter</h3><pre>
  1409. Fixes problems:
  1410. - Failure in allocating the name table would cause a crash.
  1411. (iname.c)
  1412. - Shadings with procedure-based filters didn't work.
  1413. (lib/gs_ll3.ps, ifilter.h, zfileio.c, zfproc.c)
  1414. - Some compilers complained about arithmetic on an enum. (iparam.c)
  1415. - Setting a transfer or similar function to the identity function
  1416. didn't set the cached values, so the setting didn't consistently take
  1417. effect. (icolor.h, zcolor.c)
  1418. - If the C library's implementation of sprintf with a %g format ever
  1419. produced a number with an exponent but no decimal point, a crash would
  1420. occur. (iutil.c)
  1421. - The PageDeviceName page device parameter wasn't supported.
  1422. (lib/gs_lev2.ps, lib/gs_setpd.ps)
  1423. - A public procedure wasn't declared extern if DEBUG wasn't set.
  1424. (igc.h)
  1425. - Because of a typo, loading resources automatically from a file
  1426. always failed. (bug introduced in 5.94) (lib/gs_res.ps)
  1427. Edits files to add missing $Id lines and module summary comments, and to
  1428. delimit module summary comments from further material. (files.h, iastate.h,
  1429. ibnum.h, ichar.h, ifilter.h, iimage.h, iimage2.h, iparam.h, isave.h,
  1430. iscan.h, isstate.h, istream.h, iutil.h, opcheck.h, scanchar.h)
  1431. Adds a font similarity testing procedure for Type 1/2/4 fonts. (zfont1.c)
  1432. </pre><h3><a name="5.96_Streams"></a>Streams</h3><pre>
  1433. Edits files to add missing $Id lines and module summary comments, and to
  1434. delimit module summary comments from further material. (sbhc.h, sbtx.h,
  1435. sbwbs.h, sdct.h, scfdgen.c, scfdtab.c, shcgen.h, siscale.h, sjpeg.h,
  1436. slzwx.h, smtf.h, spdiffx.h, spngpx.h, srlx.h)
  1437. </pre><h3><a name="5.96_Library"></a>Library</h3><pre>
  1438. Fixes problems:
  1439. - Making a transformed font inappropriately copied the font's
  1440. notification list. (gsfont.c)
  1441. - Some compilers complained about end-of-loop code not being
  1442. reached. (gxpath2.c)
  1443. - The first two arguments of scale_delta was swapped, causing
  1444. anomalous output for certain Type 1 fonts with curves where the starting and
  1445. ending points had the same X or Y coordinate. (gxhint3.c)
  1446. - Large smoothness values produced blocky output. (gxshade.c)
  1447. - When banding, in a region where a CMYK halftone had no K at all,
  1448. the output was likely to be black rather than the correct color. (gxcht.c)
  1449. - Interpolated images with mirrored X scaling weren't mirrored.
  1450. (gxiscale.c)
  1451. - Interpolated images were truncated. (gxiscale.c)
  1452. - Halftone caches could have a dangling pointer to a transfer map in
  1453. the halftone order. (gxht.c)
  1454. - The next-character code returned for kshow was the same as the
  1455. current character. (bug probably introduced in 5.86) (gstext.c)
  1456. - The GC didn't know about the pointers to the tables for Indexed
  1457. color spaces when banding, occasionally causing the tables to be written as
  1458. garbage. In the process of investigating this, we discovered that the GC
  1459. didn't know about *any* of the pointers in the structures used to track
  1460. banded images. ****** NOT FIXED, TOO MUCH RISK OF INTRODUCING FURTHER
  1461. BUGS. ****** Instead, we disabled high-level image banding in this fileset.
  1462. (gxclimag.c)
  1463. Changes the name of a variable from ppc to ppcr, because an Apple compiler
  1464. inappropriately defines the name ppc when compiling on a PowerPC.
  1465. (gxshade6.c)
  1466. Edits files to add missing $Id lines and module summary comments, and to
  1467. delimit module summary comments from further material. (gdevbbox.h,
  1468. gscoord.h, gscpixel.h, gsfname.h, gsfont.h, gsimage.h, gslib.h, gsmdebug.h,
  1469. gspaint.h, gspath.h, gspath2.h, gxalloc.h, gxclipm.h, gxclpage.h,
  1470. gxclpath.h, gxcmap.h, gxcoord.h, gxcpath.h, gxdda.h, gxdevmem.h, gxfcache.h,
  1471. gxfont.h, gximage.h, gxiodev.h, gxpaint.h, gxpath.h, gxpcolor.h, gzacpath.h,
  1472. gzcpath.h, gzht.h, gzpath.h, md5.h, gxdither.c, md5.c)
  1473. Adds a prototype for debug_find_pointers. (gxalloc.h)
  1474. Adds a font procedure for testing whether two fonts are the same in various
  1475. ways. This is needed so that the PDF writer can do a reasonable job of
  1476. identifying reencoded and renamed versions of the base 14 fonts. (gxfont.h,
  1477. gsfont.c)
  1478. Changes a macro to a procedure and improves some commenting. (gxhint3.c)
  1479. Changes the halftoning code so that multi-plane halftones are always used on
  1480. CMYK devices, even if only a single halftone is set (setscreen or
  1481. HalftoneType 1). (gxcht.c, gxdither.c)
  1482. </pre>
  1483. <hr>
  1484. <h2><a name="Version5.95"></a>Version 5.95 (beta) (11/1/99)</h2>
  1485. <p>
  1486. There were several new problems in 5.94, some of them severe. We hope this
  1487. beta candidate fixes them without introducing any new ones. It also fixes
  1488. some minor problems not reported in 5.93.
  1489. <p>
  1490. We think we have finally found the right workarounds for Acrobat and
  1491. specification problems so that pdfwrite output (with CompatibilityLevel
  1492. either 1.2 or 1.3) both conforms as closely as possible to the published PDF
  1493. specification and works with Acrobat Reader (3 or 4 respectively) for both
  1494. displaying and printing.
  1495. <p>
  1496. NOTE: The default level of output from the pdfwrite device (ps2pdf) has been
  1497. changed back to PDF 1.2 (Acrobat 3 compatible), because this is what the
  1498. majority of users want. For PDF 1.3 output, use -dCompatibilityLevel=1.3.
  1499. <p>
  1500. Note: some post-6.0 code is included under an #ifdef POST60.
  1501. <h3><a name="5.95_Incompatible_changes"></a>Incompatible changes</h3><pre>
  1502. (Drivers)
  1503. - The default CompatibilityLevel in the pdfwrite device (ps2pdf) is
  1504. now 1.2 rather than 1.3.
  1505. - pdfwrite now discards information after the last showpage rather
  1506. than producing an additional page.
  1507. (Library)
  1508. - The is_monotonic procedure of a function now returns a result that
  1509. indicates the direction of monotonicity of each value separately.
  1510. - The coordinate system used internally by the bbox device is now
  1511. upright (lower left corner = (0,0) rather than upper left corner). (This
  1512. should not make any difference to clients, who should always have been using
  1513. default user space coordinate.)
  1514. </pre><h3><a name="5.95_Documentation"></a>Documentation</h3><pre>
  1515. Fixes problems:
  1516. - A couple of URLs were incorrect or out of date. (doc/Readme.htm,
  1517. doc/Use.htm)
  1518. - There was a typo in a comment. (gxfont.h)
  1519. - An old bug had been fixed, but the documentation had not been
  1520. updated to reflect this. (doc/Current.htm)
  1521. Documents the requirement to change SYNC from posync to fbsdsync on FreeBSD.
  1522. (doc/Make.htm)
  1523. Adds references to Adobe's on-line documentation. (doc/Readme.htm)
  1524. Updates the release procedure to mention adding .ps files.
  1525. (doc/Release.htm)
  1526. Adds documentation for the bbox device. (doc/Use.htm)
  1527. Documents the new gsnup.ps utility. (doc/Psfiles.htm)
  1528. Modifies the gslp utility for greater page independence and smaller output
  1529. files. (lib/gslp.ps)
  1530. Documents the fact that the default output from pdfwrite is PDF 1.2.
  1531. (doc/Ps2pdf.htm)
  1532. Adds Inprise (as the new name of the Borland tools) in a few places.
  1533. (doc/Make.htm)
  1534. Updates the release documentation slightly. (doc/Release.htm)
  1535. </pre><h3><a name="5.95_Procedures"></a>Procedures</h3><pre>
  1536. Fixes problems:
  1537. - FreeBSD uses a different name for the pthreads implementation.
  1538. (lib.mak, unixansi.mak, unix-gcc.mak, unixtrad.mak)
  1539. Encapsulates gsnogc.$(OBJ) in a gsnogc.dev module, to make it more sharable.
  1540. (lib.mak)
  1541. </pre><h3><a name="5.95_Utilities"></a>Utilities</h3><pre>
  1542. Fixes problems:
  1543. - guilsinglleft and guilsinglright were misspelled.
  1544. (lib/ps2ascii.ps)
  1545. - The ps2pdf script didn't handle the -I switch correctly. We fixed
  1546. this by including the options twice, both before and after the automatically
  1547. supplied options. (lib/ps2pdf, lib/ps2pdf.bat)
  1548. Adds an install/uninstall program for Windows 9x, including optional
  1549. generation of a self-extracting executable, written by Ghostgum Software Pty
  1550. Ltd. This program is not actually used yet. (msvc32.mak, winint.mak,
  1551. dwinst.*, dwsetup.*, dwuninst.*)
  1552. Adds a new environment parameter to arch.h, ARCH_DIV_NEG_POS_TRUNCATES.
  1553. (genarch.c)
  1554. Adds a utility for N-up printing. (unixinst.mak, lib/gsnup.ps)
  1555. Changes ps2pdf so that if showpage has ever been executed, any partial page
  1556. after the last showpage is discarded rather than made into an additional
  1557. page. This is consistent with printers, and correctly handles BeginPage
  1558. procedures that draw backgrounds. (gdevpdf.c)
  1559. </pre><h3><a name="5.95_Drivers"></a>Drivers</h3><pre>
  1560. Fixes problems:
  1561. - The TIFF drivers could produce incorrectly sorted tag tables.
  1562. (gdevtifs.c)
  1563. - The OS/2 PM driver had an incorrect #include. (gdevpm.c)
  1564. - Embedded Type 1 fonts that used seac didn't automatically include
  1565. the constituent glyphs. (gdevpsd1.c)
  1566. - Embedded Type 1 fonts wrote the wrong font name in the first
  1567. (comment) line. (gdevpsd1.c)
  1568. - Deleting elements from the AlwaysEmbed or NeverEmbed list could
  1569. cause a memory access error. (gdevpsdp.c)
  1570. - The string and string array members of psdf_distiller_params were
  1571. omitted from the GC descriptor, causing memory corruption. (gdevpsdf.h,
  1572. gdevpsdf.c, gdevpsdp.c)
  1573. - When using "async" printing, the buffer device was destroyed too
  1574. soon. (fix from Artifex) (gdevbmpa.c)
  1575. Adds (partial) parsing for the new Acrobat Distiller 4.0 parameters, under
  1576. #ifdef POST60. The put_params code isn't finished. (gdevpsdf.h,
  1577. gdevpsdp.c)
  1578. </pre><h3><a name="5.95_Platforms"></a>Platforms</h3><pre>
  1579. Changes product to productfamily as the Windows registry key. (gp_wgetv.c)
  1580. </pre><h3><a name="5.95_Fonts"></a>Fonts</h3><pre>
  1581. Fixes problems:
  1582. - guilsinglleft and guilsinglright were misspelled in
  1583. MacRomanEncoding and MacGlyphEncoding. (lib/gs_mro_e.ps)
  1584. - plusminus was misspelled in MacGlyphEncoding. (lib/gs_mgl_e.ps)
  1585. - braceleftbt was misspelled as bracelefttbt in the Symbol font.
  1586. (fonts/s050000l.pfb) ****** NOT DISTRIBUTED YET ******
  1587. - euro was incorrectly included at position 240 in the Symbol
  1588. encoding. (lib/gs_sym_e.ps)
  1589. - Zcaron and zcaron weren't included in WinAnsiEncoding (this is new
  1590. for PDF 1.3). (lib/gs_wan_e.ps)
  1591. - Euro replaced currency in MacRomanEncoding. We had to change this
  1592. back, even though the Mac does use code 219 for Euro, for compatibility with
  1593. Adobe documentation. (lib/gs_mro_e.ps)
  1594. - TrueType fonts with more glyphencoding entries than glyphs could
  1595. cause errors. (lib/gs_ttf.ps)
  1596. Adds the Adobe Central European encoding. (lib/gs_ce_e.ps, unixinst.mak)
  1597. Adds more tracing to the TrueType font loader. (lib/gs_ttf.ps)
  1598. Adds the remaining PDF Encodings to the predefined set. (lib/gs_lgo_e.ps,
  1599. lib/gs_lgx_e.ps, lib/gs_mex_e.ps, lib/gs_mgl_e.ps, lib/gs_mro_e.ps)
  1600. </pre><h3><a name="5.95_PDF_writer"></a>PDF writer</h3><pre>
  1601. Fixes problems:
  1602. - When printing an error message, a pointer/length string was
  1603. incorrectly treated as a C string. (gdevpdfm.c)
  1604. - The treatment of text was completely broken by "improvements" made
  1605. in 5.94. We think we've put things back to a state that at least isn't any
  1606. worse than 5.93. (gdevpdfx.h, gdevpdff.c, gdevpdft.c)
  1607. - The test for whether a glyph was present in a glyph set was wrong,
  1608. possibly causing an infinite loop. (This never happened, because the code
  1609. was masked by other bugs.) (gdevpdft.c)
  1610. - Testing the PDF compatibility level didn't work correctly, because
  1611. of float/double mismatches. (gdevpdfx.h, gdevpdfp.c)
  1612. - Embedded TrueType fonts were still written in binary even if
  1613. ASCII85EncodePages was true. (gdevpdff.c)
  1614. - Embedded TrueType subsets didn't use Flags to indicate that they
  1615. had a non-standard cmap. (gdevpdff.c)
  1616. - Contrary to the obvious reading of the PDF specification, it
  1617. appears that the default encoding for embedded fonts, if no BaseEncoding is
  1618. specified, is StandardEncoding, *not* the built-in encoding of the font
  1619. itself; and that any differences from StandardEncoding must be listed
  1620. explicitly. (gdevpdft.c)
  1621. Adds parsing for the new Acrobat Distiller 4.0 parameters, under #ifdef
  1622. POST60. (lib/gs_pdfwr.ps, gdevpdfx.h, gdevpdfp.c)
  1623. Ensures that the Mac encodings are loaded when writing PDF. (devs.mak)
  1624. Works around an Acrobat 3 bug: The only cmap table that works in TrueType
  1625. fonts is format 0, which can only reference glyphs up to 255. Consequently,
  1626. a TrueType font whose Encoding references glyphs above 255 cannot be
  1627. embedded (as a font). (gdevpdft.c)
  1628. Changes the default CompatibilityLevel from 1.3 to 1.2. The majority of
  1629. users are running Acrobat 3. (gdevpdf.c)
  1630. </pre><h3><a name="5.95_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  1631. Fixes problems:
  1632. - The T* operator was changed incorrectly to use the negative of the
  1633. leading value. (lib/pdf_ops.ps)
  1634. - The Tz value scaled the X offset for Td and TD (which it
  1635. shouldn't), occasionally causing strings to be displaced horizontally.
  1636. (lib/pdf_ops.ps)
  1637. - sc[n]/SC[N] didn't work with 1-value color spaces, because the
  1638. code incorrectly assumed the operand stack contained only the values on the
  1639. PDF operand stack. (bug introduced by Annotation rendering in 5.94)
  1640. (lib/pdf_base.ps, lib/pdf_draw.ps, lib/pdf_main.ps, lib/pdf_ops.ps)
  1641. - The HTP key in the graphics state caused an error if the
  1642. interpreter didn't implement sethalftonephase. (lib/pdf_draw.ps)
  1643. - If there was no Names tree, invalid links (string Dest values)
  1644. caused an error instead of being ignored. (lib/pdf_main.ps)
  1645. - An annotation with a Thread action caused an error.
  1646. (lib/pdf_main.ps)
  1647. Adds table entries, but not implementation, for the op and OPM keys in
  1648. ExtGState dictionaries. (lib/pdf_draw.ps)
  1649. Works around a bug in Adobe Acrobat Distiller 4.0 for Windows: it uses the
  1650. value /Default with the BG, UCR, and TR keys in an ExtGState.
  1651. (lib/pdf_draw.ps, lib/pdf_main.ps)
  1652. Adds additional tracing for Functions. (lib/pdf_draw.ps)
  1653. Implements the BG2, UCR2, and TR2 keys in ExtGStates. (lib/pdf_draw.ps)
  1654. </pre><h3><a name="5.95_Interpreter"></a>Interpreter</h3><pre>
  1655. Fixes problems:
  1656. - There was a (harmless) signed/unsigned mismatch. (imainarg.c)
  1657. - If build_gs_simple_font had to add any elements to the font
  1658. dictionary, a temporary pointer to the CharStrings could become invalid,
  1659. causing crashes or confusion. (zbfont.c)
  1660. - The check for known Encodings included some pseudo-Encodings.
  1661. (zbfont.c)
  1662. - The error object wasn't reset to null before each call of the
  1663. interpreter, possibly causing the garbage collector to mark it even if it no
  1664. longer existed. (interp.c)
  1665. Adds productfamily as a new predefined name, for the benefit of the Windows
  1666. registry. (iinit.c)
  1667. Changes the default color smoothness to 0.02 to match Adobe RIPs.
  1668. (lib/gs_ll3.ps)
  1669. Adds using the glyph_info procedure for Type 1 fonts, needed to fix the
  1670. problem with seac and Type 1 embedded fonts. (zfont1.c)
  1671. </pre><h3><a name="5.95_Library"></a>Library</h3><pre>
  1672. Fixes problems:
  1673. - Memory devices that may execute RasterOp must be initialized with
  1674. an allocator (for temporary bitmaps), but sometimes they weren't.
  1675. (gdevdrop.c)
  1676. - The computation of colors_used for images could cause arithmetic
  1677. exceptions and/or produce incorrect results. (fix from Artifex)
  1678. (gxclimag.c)
  1679. - A dead variable was getting incremented in a loop. (Small
  1680. performance bug only.) (gsfunc0.c)
  1681. - The cached is_monotonic value in a function head was incorrectly
  1682. declared bool rather than int. (gsfunc.h)
  1683. - The clip operators didn't always recognize empty clipping regions:
  1684. sometimes they retained a 1-pixel-wide region. (gxcpath.c)
  1685. - The bbox device could get into a recursion loop if it had a
  1686. non-null target with a non-standard fill_path procedure. (gdevbbox.c)
  1687. - The procedure u32 was defined in two places. (gsutil.h,
  1688. gdevpsdt.c, gsutil.c, gstype42.c)
  1689. - The DataSource member of a sampled function wasn't reported to the
  1690. garbage collector. (gsfunc0.h, gsfunc0.c) ****** MUST DO THE SAME FOR
  1691. SHADINGS ******
  1692. - All name-type parameters (device and other) were converted as
  1693. strings rather than names. (gsparam.c)
  1694. - Using a mask Pattern with an anti-aliased device could make
  1695. invalid memory accesses and cause a crash. (gxpcmap.c)
  1696. - math_.h was included unnecessarily. (gxfill.c, gxhint3.c)
  1697. - In a few places, (fixed-point) coordinates were truncated towards
  1698. zero rather than taking the floor. (It's likely that this had no effect.)
  1699. (gxfill.c, gxpcopy.c)
  1700. - The join and cap values weren't taken into account when dividing a
  1701. stroked path into bands, possibly causing some caps or joins to be dropped
  1702. if they fell exactly at band boundaries. (gxclpath.c)
  1703. - An arithmetic overflow in gx_adjust_if_empty could produce
  1704. incorrect output. (gxfill.c)
  1705. - Because the bbox device used a Y-inverted coordinate system, it
  1706. could produce incorrect results for out-of-bounds coordinates. (gdevbbox.c)
  1707. - The default font_info procedure didn't compute MISSING_WIDTH if
  1708. IS_FIXED_WIDTH wasn't requested. (gsfont.c)
  1709. - space_params wasn't managed properly, causing problems if the
  1710. device altered the default values. (fix from Artifex) (gdevprn.c)
  1711. - The Macintosh cmap table for embedded TrueType fonts was written
  1712. incorrectly. (gdevpsdt.c)
  1713. - The OS/2 table for embedded TrueType fonts could be inconsistent
  1714. with the cmap table. (gdevpsdt.c)
  1715. - In embedded subset TrueType fonts, loca entries beyond the last
  1716. occupied glyph contained garbage. (gdevpsdt.c)
  1717. - Embedded TrueType subsets didn't include the components of
  1718. composite glyphs. (gdevpsdf.h, gdevpsd1.c, gdevpsdf.c, gdevpsdt.c)
  1719. Changes the is_monotonic procedure of Functions so that it reports the
  1720. direction of monotonicity of each value independently. This allows a larger
  1721. class of functions to be detected as monotonic. (gsfunc.h, gsfunc0.c,
  1722. gsfunc3.c)
  1723. Works around a bug in Fontographer that causes it to produce (or at least
  1724. allow users to produce) Type 1 fonts using seac in which the side bearing of
  1725. the accented character differs from the side bearing of the base glyph. The
  1726. published Type 1 specification and Adobe's engineers agree that such fonts
  1727. are invalid, but the authors of Fontographer don't seem to care (this is the
  1728. 4th Fontographer bug that we have had to patch around so far). (gxtype1.h,
  1729. gstype1.c, gxtype1.c)
  1730. Adds gs_productfamily, for the benefit of the Windows registry. (gscdefs.h,
  1731. gscdef.c)
  1732. Adds a glyph_info procedure for Type 1 fonts, needed to fix the problem with
  1733. seac and Type 1 embedded fonts. (gxfont1.h, gxtype1.c)
  1734. Adds a gs_resize_struct_array procedure that either allocates or resizes an
  1735. object. We have wanted this for quite a while. (gsmemory.h, gsmemory.c)
  1736. Adds the remaining PDF Encodings to the predefined set. Also adds string
  1737. names for the "real" encodings. (gsccode.h)
  1738. Adjusts the format of embedded TrueType fonts to be closer to that produced
  1739. by Acrobat Distiller, in the hope of making Acrobat Reader accept them.
  1740. (gdevpsdf.h, gdevpsdt.c)
  1741. </pre>
  1742. <hr>
  1743. <h2><a name="Version5.94"></a>Version 5.94 (beta) (9/30/99)</h2>
  1744. <p>
  1745. This is (intended to be) the last beta candidate for the 6.0 release. Most
  1746. changes other than added documentation are bug fixes. In order to address a
  1747. last-minute problem report, we implemented a subset of Annotation rendering
  1748. for PDF files.
  1749. <p>
  1750. At the request of the Free Software Foundation, we removed support for GNU
  1751. readline from the Aladdin Ghostscript fileset. See <a
  1752. href="Make.htm#GNU_readline">here</a> for more information.
  1753. <p>
  1754. We suspect that Acrobat's bugs and limitations still prevent embedded
  1755. TrueType fonts in files created by the pdfwrite device from working
  1756. properly, but we have neither the time nor the means to test this properly.
  1757. <h3><a name="5.94_Incompatible_changes"></a>Incompatible changes</h3><pre>
  1758. (Procedures)
  1759. - For OpenVMS with MMK or MMS, the third-party libraries are now
  1760. located in [.&lt;lib&gt;] rather than [-.&lt;lib&gt;].
  1761. - The OpenVMS makefiles now select the same set of devices as the
  1762. Unix makefiles.
  1763. - The MS Windows and MS-DOS default installation directory is now
  1764. c:\Aladdin\gs#.# rather than c:\gs.
  1765. - All top-level makefiles now need a definition of BUILD_TIME_GS.
  1766. (Drivers)
  1767. - The cljet5 driver is renamed cljet5pr; there is a new cljet5
  1768. driver that doesn't attempt (and fail) to handle page rotation.
  1769. (Interpreter)
  1770. - .getiodevice may return null.
  1771. (Library)
  1772. - IODevices may now have a null name.
  1773. </pre><h3><a name="5.94_Documentation"></a>Documentation</h3><pre>
  1774. Fixes problems:
  1775. - The documentation of font searching was still wrong in both
  1776. places. (doc/Fonts.htm, doc/Use.htm)
  1777. Notes that certain CodeWarrior code generation options produce incorrect
  1778. code. (doc/Make.htm)
  1779. Removes an inaccurate and obsolete comment. (lib/pdf_font.ps)
  1780. Notes that newer versions of the SGI compiler use a different switch for
  1781. setting the optimization limit. (doc/Make.htm)
  1782. Notes that there may be code generation bugs in MSVC5 and later.
  1783. (doc/Make.htm)
  1784. Documents the new Fontmap.SGI file. (doc/Use.htm)
  1785. Updates the documentation on installing Ghostscript on MS Windows.
  1786. (doc/Install.htm)
  1787. Documents the removal of the GNU readline interface. (doc/Current.htm,
  1788. doc/Make.htm)
  1789. </pre><h3><a name="5.94_Procedures"></a>Procedures</h3><pre>
  1790. Fixes problems:
  1791. - The instcopy script, supposed to handle incompatibilities between
  1792. Unix `install' commands, didn't work. (instcopy, unixinst.mak)
  1793. - The Windows makefiles had an extra occurrence of `.' at the
  1794. beginning of the default search path. (bcwin32.mak, msvc32.mak,
  1795. msvclib.mak, watc*.mak)
  1796. - The OpenVMS makefile didn't automatically create the bin and obj
  1797. directories if needed. (openvms.mak)
  1798. Changes the OpenVMS MMK/MMS makefile to expect the third-party libraries in
  1799. a subdirectory of the current directory, rather than a subdirectory of the
  1800. parent. This makes it compatible with all the other makefiles.
  1801. (openvms.mmk)
  1802. Changes the OpenVMS makefiles to select the same set of devices as the Unix
  1803. makefiles. (openvms.mak, openvms.mmk, unixansi.mak)
  1804. Changes the Windows and OS/2 default search paths to match the new
  1805. convention of installation rooted at c:\Aladdin. (bcwin32.mak, msvc32.mak,
  1806. msvclib.mak, os2.mak, watc.mak, watclib.mak, watcw32.mak)
  1807. </pre><h3><a name="5.94_Utilities"></a>Utilities</h3><pre>
  1808. Fixes problems:
  1809. - The Type 1/2 CharString printer didn't handle undefined opcodes
  1810. correctly. (lib/type1ops.ps)
  1811. - There was no Unix script for pf2afm. (lib/pf2afm)
  1812. - The Type 1/2 font printing utilities didn't default lenIV to -1
  1813. for Type 2, and didn't handle lenIV = -1 correctly in some places.
  1814. (lib/type1ops.ps)
  1815. - The font2c utility used the version of font2c.ps from whatever
  1816. existing Ghostscript executable was in the search path. Fixing this
  1817. required adding a new parameter in all top-level makefiles, BUILD_TIME_GS.
  1818. (cfonts.mak, bcwin32.mak, dvx-gcc.mak, msvc32.mak, openvms.mak, openvms.mmk,
  1819. os2.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak, watc.mak, watcw32.mak)
  1820. - The pfbtopfa usage message was incorrect. (lib/pfbtopfa.ps)
  1821. </pre><h3><a name="5.94_Drivers"></a>Drivers</h3><pre>
  1822. Fixes problems:
  1823. - The pswrite driver didn't reset the clipping path when writing
  1824. low-level images, possibly causing output to be clipped incorrectly.
  1825. (gdevps.c)
  1826. - The PNG drivers implicitly declared png_init_io. Fixing this is
  1827. only possible in libpng versions 1.0.3 and later. (gdevpng.c)
  1828. - The cljet5 driver (now cljet5pr) set rotated = true if the page
  1829. was rotated, but didn't set it to false if the page wasn't rotated.
  1830. (gdevclj.c)
  1831. - Embedded Type 1 fonts didn't include any FontInfo elements.
  1832. (gdevpsd1.c)
  1833. - Specifying the DCTEncode filter for compressing images caused a
  1834. crash. This problem is hard to fix correctly because of the complicated
  1835. initialization requirements of the JPEG encoder. We patched around it by
  1836. substituting FlateEncode (when available) for DCTEncode. (gdevpsdi.c)
  1837. Renames the cljet5 driver, which has special (and incorrect) hacks to handle
  1838. page rotation for the PCL interpreter, as cljet5pr; adds a new cljet5 driver
  1839. without the hacks. (gdevclj.c)
  1840. </pre><h3><a name="5.94_Platforms"></a>Platforms</h3><pre>
  1841. Fixes problems:
  1842. - On MS Windows and OS/2 systems, the wstdio pseudo-IODevice showed
  1843. up as an instance of the IODevice resource category, causing problems.
  1844. (gp_msio.c, gp_os2.c)
  1845. Adds a set of XBM/XPM icons in 4 sizes, contributed by Gintautas Grigelionis
  1846. (eragigr@ki.ericsson.se). (lib/gs*.xbm, lib/gs*.xpm, unixinst.mak)
  1847. Brings the Windows and OS/2 code up to date, fixing some minor problems.
  1848. (gdevpm.c, gp_os2.c, gsos2.rc, gspmdrv.rc, os2.mak, pcwin.mak)
  1849. </pre><h3><a name="5.94_Fonts"></a>Fonts</h3><pre>
  1850. Fixes problems:
  1851. - The font directory scanner (FONTPATH) didn't recognize TrueType
  1852. fonts tagged as 'true' rather than 0x00010000. (lib/gs_ttf.ps)
  1853. Changes the TrueType font loader to use ISOLatin1Encoding for constructing
  1854. the CharStrings if there is a Microsoft Unicode cmap and no glyph names in
  1855. the post table. This seems like a hack, but we aren't sure what the right
  1856. approach would be. (lib/gs_ttf.ps)
  1857. Adds a Fontmap for SGI IRIX. This just comments out those fonts that are
  1858. provided by DPS. (lib/Fontmap.SGI)
  1859. </pre><h3><a name="5.94_PDF_writer"></a>PDF writer</h3><pre>
  1860. Fixes problems:
  1861. - Writing Patterns could cause a memory access error. (bug
  1862. introduced recently) (gdevpdfi.c)
  1863. - Filling with a pattern didn't reset the clipping path, possibly
  1864. causing output to be clipped incorrectly. (gdevpdfi.c)
  1865. - Patterns weren't scaled correctly. (gdevpdfi.c)
  1866. - The data for large Patterns could exceed Acrobat Reader's limit on
  1867. the length of a string. (gdevpdfi.c)
  1868. - copy_color did an extra gsave and concat. (gdevpdfi.c)
  1869. - Repeated color images weren't detected (performance bug only).
  1870. (gdevpdfi.c)
  1871. - Names including control characters or spaces produced invalid
  1872. output. (gdevpdfx.h, gdevpdfu.c)
  1873. - A matrix multiply was in the wrong order, causing fonts with
  1874. non-zero translation in the FontMatrix to render at incorrect coordinates
  1875. (sometimes off the page).
  1876. - If a font had one of the 14 standard names but had some characters
  1877. defined by PostScript procedures, the output file would be invalid.
  1878. (gdevpdft.c)
  1879. - The graphics state line parameters were kept in two different
  1880. copies, causing bookkeeping errors. (gdevpdfx.h, gdevpdf.c, gdevpdfd.c,
  1881. gdevpdfu.c)
  1882. - If a page's BeginPage procedure did anything other than erase the
  1883. page to white, the resulting PDF file was invalid. (gdevpdf.c)
  1884. - Articles with the same title weren't merged properly.
  1885. (gdevpdfm.c)
  1886. - The Threads element of the catalog wasn't an indirect object.
  1887. (gdevpdf.c)
  1888. - Thread actions incorrectly converted the destination (thread
  1889. title) to a name, rather than leaving it as a string. (gdevpdfm.c)
  1890. - Fonts with the same name as the built-in ones, but not the
  1891. standard definitions, produced possibly incorrect output. (gdevpdff.c)
  1892. - The writer didn't recognize attempts to use Encodings with the
  1893. standard fonts that mentioned characters not present in the font's glyph
  1894. set. (gdevpdft.c)
  1895. Ensures that the WinAnsiEncoding is loaded when writing PDF. (devs.mak)
  1896. </pre><h3><a name="5.94_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  1897. Fixes problems:
  1898. - The default (identity) CMap didn't map CID 0 to glyph 0.
  1899. (pdf_fonts.ps)
  1900. - TrueType fonts with an explicit Encoding didn't work properly.
  1901. (lib/gs_ttf.ps)
  1902. - If an embedded Type 1 font executed definefont more than once,
  1903. the wrong thing would happen. (lib/pdf_font.ps)
  1904. - The T* operator used the negative of the leading value.
  1905. (lib/pdf_ops.ps)
  1906. Implements a subset of Annotation rendering: only Widget annotations, only
  1907. Normal appearance, only S and D borders, no rounded-corner borders. We did
  1908. this at the very last minute before the release, in order to respond to a
  1909. bug report, and it probably has some bugs. (lib/pdf_draw.ps,
  1910. lib/pdf_main.ps)
  1911. </pre><h3><a name="5.94_Interpreter"></a>Interpreter</h3><pre>
  1912. Fixes problems:
  1913. - If an input buffer boundary fell at exactly the wrong place, an
  1914. image whose input was coming from a stream could fail to read the stream EOD
  1915. marker. (This is quite an old bug.) (zimage.c)
  1916. - On MS Windows and OS/2 systems, the wstdio pseudo-IODevice showed
  1917. up as an instance of the IODevice resource category, causing problems.
  1918. (lib/gs_res.ps, ziodev.c)
  1919. - errorinfo in $error was undefined, rather than null, initially and
  1920. after errors that didn't set it deliberately. (lib/gs_init.ps)
  1921. - The InkParams resource category was defined even in systems that
  1922. didn't support in-RIP trapping. (lib/gs_ll3.ps, lib/gs_res.ps,
  1923. lib/gs_trap.ps)
  1924. - CID fonts with 0-length data caused an error. (lib/gs_cidfn.ps)
  1925. - Type 10 halftone dictionaries were broken -- perhaps they never
  1926. had worked. (lib/gs_ll3.ps)
  1927. Makes FontInfo entries available through the extended font API, needed to
  1928. allow embedded Type 1 fonts to include those entries. (zfont1.c)
  1929. Makes it possible to determine whether the current file is a resource file,
  1930. needed to allow distinguishing between built-in and input-embedded fonts.
  1931. (lib/gs_ccfnt.ps, lib/gs_fonts.ps, lib/gs_init.ps, lib/gs_res.ps,
  1932. lib/gs_type1.ps, zfont.c)
  1933. Moves support for GNU readline from the main Ghostscript fileset to the
  1934. GNU-specific fileset. (unix-gcc.mak, int.mak, gp_gnrdl.c =>
  1935. src/gnu/gp_gnrdl.c, gnu/src/gnudevs.mak)
  1936. </pre><h3><a name="5.94_Streams"></a>Streams</h3><pre>
  1937. Fixes problems:
  1938. - The CCITTFaxDecode filter didn't correctly handle the case where
  1939. the last code of a 1-D row was a black code and occurred less than 7 or 8
  1940. bits before the end of the input stream. (We thought we fixed this in 5.86,
  1941. but we missed one case.) (scfd.c)
  1942. - If an input buffer boundary fell at exactly the wrong place, an
  1943. image whose input was coming from a stream could fail to read the stream EOD
  1944. marker. (This is quite an old bug.) Fixing this involved a possibly risky
  1945. change to the definition of sbuf_min_left and the already fragile logic in
  1946. sreadbuf: the fix does solve this problem, but we aren't at all certain it
  1947. didn't introduce new ones. (stream.h, stream.c)
  1948. </pre><h3><a name="5.94_Library"></a>Library</h3><pre>
  1949. Fixes problems:
  1950. - The default implementation of copy_tile didn't pass the bitmap id
  1951. for complete tiles, missing potential optimizations (performance bug only).
  1952. (gdevdbit.c)
  1953. - The patch edges of ShadingType 7 shadings were ordered
  1954. incorrectly, producing incorrect output in some cases where the surface
  1955. folds over itself. (gxshade6.c)
  1956. - Flushing internal buffers when rendering an image didn't clip the
  1957. flushed data, producing incorrect output. (gxidata.c)
  1958. - Non-zero data_x values for banded images produced incorrect band
  1959. list data. (It's astounding that this problem hasn't shown up before.)
  1960. (gxclimag.c)
  1961. - Banded images rotated by 90 degrees could produce "seams" or
  1962. garbage if they crossed band boundaries. (This is at least the third time
  1963. we have "fixed" this problem.) (gxclimag.c, gxifast.c)
  1964. - Circles or ellipses defined by pairs of 180-degree arcs produced
  1965. incorrect output when banding. (gxclpath.c, gxclrast.c)
  1966. - setgray et al simply cleared the Pattern pointer in the client
  1967. color rather than adjusting its reference count. (gscolor.c, gscolor1.c)
  1968. - The saved graphics state for bitmap/pixmap patterns contained a
  1969. reference to the Pattern color, causing Patterns to be retained when they
  1970. shouldn't be and causing unwanted recursion when freeing them. (gsptype1.c)
  1971. - Patterns containing halftoned CMYK colors rendered as all black.
  1972. (bug probably introduced in 5.6x) (gxcht.c)
  1973. - Because of a typo, CMYK halftoning with only a single plane could
  1974. put too much yellow into the output. This appears to be quite an old bug.
  1975. (gxdither.c)
  1976. - The error code from running out of band list memory wasn't
  1977. propagated if the condition was detected in cmd_put_drawing_color, causing
  1978. low-memory recovery not to be invoked. (gxclpath.c)
  1979. - (Same error code problem) in clist_change_tile. (gxclbits.c)
  1980. Adds more font attributes to the set available through a standard API.
  1981. (gxfont.h)
  1982. Adds more statistics to the filling algorithm. (gxfill.c)
  1983. Adds an is_resource flag to fonts, to indicate that they originated from a
  1984. resource rather than being embedded in an input file. (gxfont.h, gsfont.c)
  1985. </pre>
  1986. <hr>
  1987. <h2><a name="Version5.93"></a>Version 5.93 (beta) (9/11/99)</h2>
  1988. <p>
  1989. This is the next candidate for the 6.0 release. As with 5.92, all changes
  1990. other than added documentation are bug fixes.
  1991. <h3><a name="5.93_Incompatible_changes"></a>Incompatible changes</h3><pre>
  1992. (Library)
  1993. - Every stream whose state includes any GC-traceable pointers must
  1994. now have a set_defaults procedure that clears those pointers.
  1995. </pre><h3><a name="5.93_Documentation"></a>Documentation</h3><pre>
  1996. Fixes problems:
  1997. - There was an extra /ul tag. (doc/Release.htm)
  1998. - Fontmap.GS wasn't mentioned as needing to be installed.
  1999. (doc/Install.htm)
  2000. - Some documentation for the handling of seac was incorrect.
  2001. (gxtype1.c)
  2002. Removes references to installbsd, which are no longer relevant.
  2003. (doc/Install.htm)
  2004. Updates the information on building with NeXTSTEP. (doc/Make.htm)
  2005. </pre><h3><a name="5.93_Procedures"></a>Procedures</h3><pre>
  2006. Fixes problems:
  2007. - The install command had unpredictably different syntax from one
  2008. "standard" Unix system to another, causing `make install' to fail. We
  2009. replaced the install command with our own script. (instcopy, dvx-gcc.mak,
  2010. unix-gcc.mak, unixansi.mak, unixtrad.mak)
  2011. </pre><h3><a name="5.93_Utilities"></a>Utilities</h3><pre>
  2012. Fixes problems:
  2013. - pcharstr.ps loaded type1ops.ps with run rather than runlibfile,
  2014. causing an error. (lib/pcharstr.ps)
  2015. </pre><h3><a name="5.93_Drivers"></a>Drivers</h3><pre>
  2016. Fixes problems:
  2017. - Attempting to embed a font whose Encoding included characters not
  2018. present in the font produced invalid output. (gdevpsd1.c)
  2019. - Allocating a stream state didn't (automatically) clear all its
  2020. internal pointers, possibly causing GC memory access errors. (gdevpsds.c)
  2021. - An #include of string_.h should have been memory_.h. (gdevpsdf.c)
  2022. Disables compression for very small images. (gdevpsdi.c)
  2023. </pre><h3><a name="5.93_Platforms"></a>Platforms</h3><pre>
  2024. Fixes problems:
  2025. - Compiling gp_msio with MSVC's /MD switch caused a compile-time
  2026. error. (gp_msio.c)
  2027. </pre><h3><a name="5.93_PDF_writer"></a>PDF writer</h3><pre>
  2028. Fixes problems:
  2029. - A bookkeeping object was allocated with the wrong allocator,
  2030. possibly causing access errors or garbage output. (gdevpdfu.c)
  2031. - Certain Patterns weren't treated as such, leading to very large
  2032. output files. (gdevpdfi.c)
  2033. - If one of the base 14 fonts had a non-standard FontMatrix, the
  2034. output disregarded this fact. This could cause double obliquing.
  2035. (gdevpdfx.h, gdevpdff.c, gdevpdft.c)
  2036. - Articles never got an object ID assigned. (bug introduced in
  2037. 5.91) (gdevpdfm.c)
  2038. </pre><h3><a name="5.93_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  2039. Changes the PDF interpreter to allow abbreviated filter names like /Fl for
  2040. all streams, not just in-line images. This directly contradicts the
  2041. published PDF specification, but Acrobat Reader allows it.
  2042. (lib/pdf_base.ps)
  2043. </pre><h3><a name="5.93_Interpreter"></a>Interpreter</h3><pre>
  2044. Fixes problems:
  2045. - Compiled fonts were broken by the introduction of i_ctx_p.
  2046. (lib/font2c.ps, ccfont.h, iccfont.c)
  2047. - Allocating a stream state didn't (automatically) clear all its
  2048. internal pointers, possibly causing GC memory access errors. (zfproc.c)
  2049. </pre><h3><a name="5.93_Streams"></a>Streams</h3><pre>
  2050. Fixes problems:
  2051. - Allocating a stream state didn't (automatically) clear all its
  2052. internal pointers, possibly causing GC memory access errors. (scfx.h,
  2053. slzwx.h, spngpx.h, strimpl.h, sbwbs.c, sdctc.c, seexec.c, sfilter1.c,
  2054. siscale.c, szlibc.c)
  2055. - The PNG predictor streams could fail to process some data at the
  2056. end of the input. (spngp.c)
  2057. </pre><h3><a name="5.93_Library"></a>Library</h3><pre>
  2058. Fixes problems:
  2059. - Some obsolete definitions for Turbo C could produce references to
  2060. an undefined procedure (setmem) at link time. (memory_.h, string_.h)
  2061. </pre>
  2062. <hr>
  2063. <h2><a name="Version5.92"></a>Version 5.92 (beta) (9/2/99)</h2>
  2064. <p>
  2065. This is the next candidate for the 6.0 release. All changes other than
  2066. added documentation are bug fixes.
  2067. <h3><a name="5.92_Documentation"></a>Documentation</h3><pre>
  2068. Fixes problems:
  2069. - The News for 5.91 didn't include a summary. (doc/News.htm)
  2070. - The documentation for Microsoft platforms didn't mention that you
  2071. must add the Ghostscript bin and lib directories to the PATH. (doc/Use.htm)
  2072. Adds a file describing Aladdin's process for building, testing, and
  2073. releasing Ghostscript. (doc/Readme.htm, doc/Release.htm)
  2074. </pre><h3><a name="5.92_Procedures"></a>Procedures</h3><pre>
  2075. Fixes problems:
  2076. - Fontmap.GS is now required, but wasn't installed. (unixinst.mak)
  2077. - A couple of documentation files weren't installed. (unixinst.mak)
  2078. </pre><h3><a name="5.92_Utilities"></a>Utilities</h3><pre>
  2079. Fixes problems:
  2080. - The ps2pdf script for MS Windows used the wrong name for the
  2081. executable. (lib/ps2pdf.bat)
  2082. </pre><h3><a name="5.92_Drivers"></a>Drivers</h3><pre>
  2083. Fixes problems:
  2084. - An uninitialized variable annoyed some compilers. (gdevpsdt.c)
  2085. - The PostScript-writing driver used the wrong allocator, causing
  2086. possible memory access errors. (gdevps.c)
  2087. - The PostScript-writing driver didn't clear a pointer, causing
  2088. possible GC errors. (gdevps.c)
  2089. - The PostScript-writing driver didn't have a correct GC descriptor,
  2090. causing pointers to be corrupted. (gdevpsdf.h, gdevps.c, gdevpsdf.c)
  2091. - Embedded Type 1 fonts unnecessarily filled individual Encoding
  2092. slots with /.notdef. (gdevpsd1.c)
  2093. - A large constant produced warnings on some compilers. (gdevpsdt.c)
  2094. </pre><h3><a name="5.92_PDF_writer"></a>PDF writer</h3><pre>
  2095. Fixes problems:
  2096. - Once again, gcc didn't complain about an ANSI-illegal extra
  2097. semicolon in a declaration list. (gdevpdfo.h)
  2098. - Adds a cast to work around the fact that some compilers declare
  2099. the return type of memchr as char * rather than void *. (gdevpdfr.c)
  2100. - The bookkeeping for whether a font had been written and freed was
  2101. inverted, causing some fonts to be written many times and other fonts not to
  2102. be written at all. (gdevpdf.c)
  2103. </pre><h3><a name="5.92_Interpreter"></a>Interpreter</h3><pre>
  2104. Fixes problems:
  2105. - More places needed workarounds for the alignment aliasing gcc bug.
  2106. The bug only occurs if a pointer variable is dereferenced through a cast to
  2107. a stricter alignment and then dereferenced later in its original form, so it
  2108. doesn't affect very many places. (igc.c, igcref.c, isave.c)
  2109. </pre><h3><a name="5.92_Streams"></a>Streams</h3><pre>
  2110. Makes the stream GC descriptor public for subclassing. (stream.h, stream.c)
  2111. </pre>
  2112. <hr>
  2113. <h2><a name="Version5.91"></a>Version 5.91 (beta) (8/30/99)</h2>
  2114. <p>
  2115. This is the next beta for 6.0. It includes a major rewrite of the parts of
  2116. the PDF writer that deal with resources and pdfmarks, as well as the usual
  2117. bug fixes. There are still problems with embedded fonts, both TrueType
  2118. (which sometimes don't show up at all) and Type 1 (which sometimes confuse
  2119. Acrobat Reader 3).
  2120. <h3><a name="5.91_Documentation"></a>Documentation</h3><pre>
  2121. Fixes problems:
  2122. - An HTML tag was misplaced in the News file. (doc/News.htm)
  2123. Notes that the Solaris FONTPATH scanning problem may be fixed.
  2124. (doc/Use.htm)
  2125. </pre><h3><a name="5.91_Utilities"></a>Utilities</h3><pre>
  2126. Fixes problems:
  2127. - Many of the margin and width computations in ps2epsi.ps (not
  2128. written by Aladdin) were wrong -- off by 1. It's only because the bugs
  2129. masked each other or cancelled each other out that the code didn't produce
  2130. errors more of the time. (lib/ps2epsi.ps)
  2131. </pre><h3><a name="5.91_Drivers"></a>Drivers</h3><pre>
  2132. Fixes problems:
  2133. - Font subset glyphs weren't sorted early enough, causing Type 1
  2134. embedded fonts to be written with inconsistent lengths. (gdevpsd1.c)
  2135. Changes the BMP drivers so that they set the resolution in the BMP header
  2136. rather than leaving it at 0. This solves some problems reported by users,
  2137. but may cause others. (gdevbmpc.c)
  2138. </pre><h3><a name="5.91_Platforms"></a>Platforms</h3><pre>
  2139. Fixes problems:
  2140. - A change made in 5.90 was incorrect (we couldn't test it, because
  2141. MS Windows and OS/2 systems can't be used over a network). (gp_msio.c,
  2142. gp_os2.c)
  2143. Adds some conditionalization to work around a bug in some recent versions of
  2144. gcc/egcs. (stdpre.h, interp.c)
  2145. </pre><h3><a name="5.91_Fonts"></a>Fonts</h3><pre>
  2146. Fixes problems:
  2147. - If the extension of a font file name on GS_FONTPATH included any
  2148. upper-case characters, the font would not be found. (lib/gs_fonts.ps)
  2149. Allows fontmaps to contain &lt;string&gt; run or .runlibfile, to get rid of the
  2150. Fontmap -&gt; Fontmap.GS link that VMS can't handle. (lib/gs_fonts.ps)
  2151. </pre><h3><a name="5.91_PDF_writer"></a>PDF writer</h3><pre>
  2152. Fixes problems:
  2153. - Very long arguments for pdfmark caused an ioerror, because the
  2154. buffer used for converting them was fixed-length. (lib/gs_pdfwr.ps)
  2155. - pdfmarks couldn't refer to objects that hadn't been defined yet.
  2156. (gdevpdfx.h, gdevpdfo.c)
  2157. - When a DOCVIEW pdfmark added an OpenAction key to the Catalog,
  2158. it omitted the / before the name. (gdevpdfm.c)
  2159. - Font resources could be written in the middle of a page contents
  2160. stream. (bug introduced in 5.90) (gdevpdff.c, gdevpdfu.c)
  2161. - As usual, there were some signed/unsigned char * mismatches that
  2162. gcc didn't detect. (gdevpdff.c, gdevpdfm.c, gdevpdfo.c)
  2163. - Fonts used on a page but freed before the end of the page were
  2164. omitted from the page's resource dictionary. (gdevpdfx.h, gdevpdf.c,
  2165. gdevpdff.c, gdevpdft.c)
  2166. - /D or /Dest keys in Action pdfmark dictionaries dropped the first
  2167. character of their value. (gdevpdfm.c)
  2168. - If a pdfmark added annotations to a page after the end of that
  2169. page had been reached, those annotations would be lost. (gdevpdf.c)
  2170. - ANN, LNK, DEST, and PS pdfmarks ignored the object name, if any.
  2171. (Only OBJ and BP processed the name.) Unfortunately, fixing this required a
  2172. complete overhaul of the way that resources and PDF objects were represented
  2173. internally. The result is both simpler and more general, but it involved a
  2174. major upheaval in the PDF writer code. (lib/gs_pdfwr.ps, gdevpdfo.h,
  2175. gdevpdfx.h, gdevpdf.c, gdevpdff.c, gdevpdfi.c, gdevpdfm.c, gdevpdfo.c,
  2176. gdevpdfr.c, gdevpdft.c, gdevpdfu.c)
  2177. - EP pdfmarks didn't close any open text context. (gdevpdfm.c)
  2178. Adds debugging code to check the consistency of the embedded Type 1 font
  2179. writer. (gdevpdff.c)
  2180. Makes /A and /F at the top level of an annotation or outline pdfmark
  2181. equivalent to /Action and /File respectively. See the code for more
  2182. information. (gdevpdfm.c)
  2183. </pre><h3><a name="5.91_Library"></a>Library</h3><pre>
  2184. Fixes problems:
  2185. - Degenerate Bezier curves could cause a division by zero.
  2186. (gxpcopy.c)
  2187. - Some macros used in non-FPU configurations were missing some
  2188. needed uses of const, and in one case an additional cast. (gxfarith.h,
  2189. gxfixed.h)
  2190. Changes the discard macro to upper-case. (stdpre.h)
  2191. </pre>
  2192. <hr>
  2193. <h2><a name="Version5.90"></a>Version 5.90 (beta) (8/20/99)</h2>
  2194. <p>
  2195. This is the first real candidate for the 6.0 release. It does not fix all
  2196. known bugs, but it includes all planned functionality. New in this fileset:
  2197. <ul>
  2198. <li> - FunctionType 4 for PDF files.
  2199. <li> - Alternate printer images for PDF files (-dUsePrinterImages
  2200. switch).
  2201. <li> - pdfwrite support for PDF "Cos objects" (without compression for
  2202. streams).
  2203. <li> - pdfwrite support for graphics objects named with BP/EP/SP
  2204. (without compression for the object definition).
  2205. <li> - pdfwrite font subsetting and embedded TrueType fonts.
  2206. </ul>
  2207. <h3><a name="5.90_Incompatible_changes"></a>Incompatible changes</h3><pre>
  2208. (Interpreter)
  2209. - ref_stack_init now takes an additional argument.
  2210. - no_time_slice_proc is removed -- use 0 instead.
  2211. (Library)
  2212. - Notification client procedures and the gs_notify_ procedures
  2213. take different arguments.
  2214. - The common part of a gs_function_t structure has changed.
  2215. - gs_text_enum_init now returns a value that can indicate an error.
  2216. - The font font_info procedure now takes an additional argument.
  2217. - The IODevice open_device procedure is now defined as returning
  2218. 0 or 1 under specific circumstances.
  2219. - gxp1fill.h is renamed gxp1impl.h.
  2220. - Allocators now have an additional procedure they must implement,
  2221. and a state member they must initialize.
  2222. - Most of the gs..basic.. structure definition macros have been
  2223. renamed. The ptrs1_stringsN structure definition macros are removed.
  2224. - Implementations of the text API now must provide a resync
  2225. procedure rather than a restart procedure.
  2226. </pre><h3><a name="5.90_Documentation"></a>Documentation</h3><pre>
  2227. Documents the new -dUsePrinterImages switch, and the expanded meaning of
  2228. -Z~. (doc/Use.htm)
  2229. Updates FSF's address in documentation. (lib/Fontmap.GS, lib/Fontmap.Sol,
  2230. gdevcd8.c)
  2231. Brings the PDF writer (ps2pdf) documentation up to date. (doc/Ps2pdf.htm)
  2232. Updates the current-release documentation. (doc/Current.htm,
  2233. doc/Readme.htm)
  2234. Updates the problem-reporting procedure for contributed drivers, and some
  2235. other new-user information. (doc/New-user.htm)
  2236. </pre><h3><a name="5.90_Procedures"></a>Procedures</h3><pre>
  2237. Fixes bugs:
  2238. - Because of a typo, the file gs_mgl_e.ps wasn't installed (on Unix
  2239. systems) by 'make install'. (unixinst.mak)
  2240. - The .dev files for drivers didn't depend on devs.mak. (devs.mak)
  2241. - The X driver didn't include a needed dependency on the bbox
  2242. device. (devs.mak)
  2243. Incorporates the pdfmin package into the pdf package, since pdfmin was only
  2244. provided for very small-memory environments and is no longer useful.
  2245. (int.mak)
  2246. Adds additional prototype-checking switches, which are important on 64-bit
  2247. platforms and useful on all platforms, to the gcc compilation line.
  2248. (unix-gcc.mak)
  2249. </pre><h3><a name="5.90_Utilities"></a>Utilities</h3><pre>
  2250. Fixes bugs:
  2251. - A backquote was misplaced in the Unix ps2pdf script. (lib/ps2pdf)
  2252. - Some example files didn't have %! headers. (examples/alphabet.ps,
  2253. examples/waterfal.ps)
  2254. - ansi2knr didn't handle preprocessor directives within a function
  2255. header. (ansi2knr.c)
  2256. Cleans up some minor compiler complaints. (genarch.c, genconf.c, echogs.c)
  2257. </pre><h3><a name="5.90_Drivers"></a>Drivers</h3><pre>
  2258. Fixes bugs:
  2259. - The PostScript writer sometimes failed to reset the clip path,
  2260. causing parts of the output to be omitted or to appear incorrectly.
  2261. (gdevvec.c)
  2262. - There was a type mismatch in a conditional. (gdevxini.c)
  2263. - A constant array wasn't declared as static. (gdevpsdt.c)
  2264. - Once again, there were some signed / unsigned char mismatches that
  2265. gcc apparently can't be forced to detect. (gdevpsdt.c)
  2266. - The alternative X drivers didn't have GC descriptors, which could
  2267. lead to memory corruption. (gdevxalt.c)
  2268. - The alternative X drivers didn't handle the closing of the
  2269. underlying X driver correctly, leading to a dangling pointer. (gdevxalt.c)
  2270. - Font subsetting didn't eliminate duplicate glyphs (glyphs
  2271. referenced more than once from the Encoding vector.) (gdevpsd1.c,
  2272. gdevpsdt.c)
  2273. - Type 1 font subsetting didn't ensure the presence of .notdef.
  2274. (gdevpsd1.c)
  2275. - The embedded TrueType font writer wrote all 16-bit values
  2276. incorrectly. This could explain a lot! (gdevpsdt.c)
  2277. Cleans up public functions with no previous prototype. (gdevtfax.h,
  2278. gdevx.h, gdevdfax.c, gdevtfax.c, gdevx.c, gdevxini.c, gdevxxf.c)
  2279. Adds some procedures to support font subsetting. (gdevpsdf.h, gdevpsdf.c)
  2280. Adds an alternate font name for writing TrueType fonts. (gdevpsdt.c)
  2281. Makes the TrueType font writer generate an OS/2 table, a Macintosh cmap, and
  2282. a name table (for the font name), as well as a Windows cmap and post, if
  2283. necessary. (gdevpsdf.h, gdevpsdt.c)
  2284. </pre><h3><a name="5.90_Platforms"></a>Platforms</h3><pre>
  2285. Updates a couple of clients for the change in the IODevice open_device
  2286. procedure, eliminating some undesirable externs. (gp_msio.c, gp_os2.c)
  2287. </pre><h3><a name="5.90_Fonts"></a>Fonts</h3><pre>
  2288. Adds OS/2 and maxp to the list of tables that must be preserved when loading
  2289. TrueType fonts. (lib/gs_ttf.ps)
  2290. Registers the complete lists of glyphs in the Adobe Latin fonts as
  2291. pseudo-encodings. (lib/gs_lgo_e.ps, lib/gs_lgx_e.ps, unixinst.mak)
  2292. </pre><h3><a name="5.90_PDF_writer"></a>PDF writer</h3><pre>
  2293. Fixes bugs:
  2294. - One built-in font was sometimes substituted for another.
  2295. (gdevpdff.c)
  2296. - Use of composite fonts often produced a rangecheck error.
  2297. (gdevpdft.c)
  2298. - The structures for named objects were freed twice. (gdevpdfx.h,
  2299. gdevpdf.c, gdevpdfo.c)
  2300. - The code to avoid writing a blank between a Td command and
  2301. following text was fragile and still incorrect after being "fixed" twice.
  2302. We removed this minor optimization, at a small cost in file size when not
  2303. compressing. (gdevpdft.c)
  2304. - No Names tree was generated for named destinations specified as
  2305. strings. Rather than do this, we now convert string destinations to names.
  2306. This doesn't scale up well, but it is simple and also is compatible with all
  2307. PDF versions from 1.1 on. (gdevpdfm.c)
  2308. - Fonts that define characters incrementally, such as the TrueType
  2309. fonts written by some versions of the AdobePS Windows driver, could omit
  2310. characters if embedded. Fixing this required delaying writing out fonts
  2311. until the font was about to be freed or the writer was closed. (gdevpdfx.h,
  2312. gdevpdff.c, gdevpdft.c)
  2313. Cleans up public functions with no previous prototype. (gdevpdfx.h,
  2314. gdevpdf.c, gdevpdfm.c)
  2315. Updates client code for the change in gs_text_enum_init. (gdevpdft.c)
  2316. Makes some changes towards handling show operations that must be split up
  2317. internally into multiple operations using different fonts. (gdevpdfx.h,
  2318. gdevpdff.c, gdevpdft.c)
  2319. Implements the PUT pdfmark for the built-in objects (Catalog, DocInfo,
  2320. Page<#>, ThisPage, PrevPage, NextPage). This required deferring writing out
  2321. page objects until the end of the document. (lib/gs_pdfwr.ps, gdevpdfx.h,
  2322. gdevpdf.c, gdevpdff.c, gdevpdfm.c, gdevpdfo.c, gdevpdfu.c)
  2323. Adds table entries, but not parsing, checking, or functionality, for the new
  2324. Acrobat 4 pdfmarks related to document logical structure. (gdevpdfm.c)
  2325. Implements stream-type Cos objects. (lib/gs_pdfwr.ps, gdevpdfx.h,
  2326. gdevpdf.c, gdevpdfm.c, gdevpdfo.c, gdevpdfp.c, gdevpdfu.c)
  2327. Implements BP/EP/SP pdfmarks. (gdevpdfx.h, gdevpdf.c, gdevpdfi.c,
  2328. gdevpdfm.c)
  2329. Changes enumeration and #defined names to upper case, and adds _t to type
  2330. names. (gdevpdfx.h, gdevpdf*.c)
  2331. Adds an OS/2 table for embedded fonts if missing. (gdevpdff.c)
  2332. Makes the allocator for the PDF device's internal structures be the stable
  2333. allocator of the device's allocator, not the C heap. This required
  2334. correcting a number of GC descriptors. (gdevpdfx.h, gdevpdf.c, gdevpdfu.c)
  2335. Replaces the text restart procedure with the new resync procedure.
  2336. (gdevpdft.c)
  2337. </pre><h3><a name="5.90_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  2338. Fixes problems:
  2339. - Failure to find a font in the Resources dictionary signalled an
  2340. /undefinedfont error (which does not exist) rather than /invalidfont.
  2341. (lib/pdf_font.ps)
  2342. Implements FunctionType 4 functions. (lib/pdf_draw.ps, zfunc4.c)
  2343. Implements the -dUsePrinterImages switch to use "alternate" printer images
  2344. when rendering. (lib/pdf_draw.ps)
  2345. </pre><h3><a name="5.90_Interpreter"></a>Interpreter</h3><pre>
  2346. Fixes problems:
  2347. - Some pointers were declared as ref * that actually could be
  2348. ref_packed *, potentially confusing compilers that follow the new, stricter
  2349. ANSI C rules about alignment aliasing. (idebug.h, idebug.c, igc.c,
  2350. igcref.c, zmisc.c)
  2351. - cshow didn't restore the root font after executing the procedure,
  2352. producing incorrect results if the procedure did a setfont. (ichar.h,
  2353. zcfont.c, zchar.c)
  2354. - A needed const-breaking cast was omitted. (zmisc.c)
  2355. - The memory validator could cause an unaligned access. (ilocate.c)
  2356. - restore could free parts of the stacks that were still in use. We
  2357. fixed this long-standing problem using the new concept of stable allocators.
  2358. (interp.c)
  2359. Moves the implementation of the abs operator to C, required for FunctionType
  2360. 4 support. (lib/gs_init.ps, zarith.c)
  2361. Makes more operator procedures public, required for FunctionType 4 support.
  2362. (zarith.c, zmath.c, zrelbit.c, ztype.c)
  2363. Adds an additional parameter to ref_stack_init, to allow creating a
  2364. temporary stack without having an allocator. (istkparm.h, istack.h,
  2365. interp.c, istack.c)
  2366. Cleans up public functions with no previous prototype. (files.h, ichar.h,
  2367. icstate.h, ifilter2.h, ifrpred.h, ifwpred.h, igcstr.h, iimage.h, iimage2.h,
  2368. iinit.h, imain.h, interp.h, iscanbin.h, ivmem2.h, oparc.h, opextern.h,
  2369. icontext.c, igc.c, iinit.c, imain.c, inobtokn.c, interp.c, iscan.c,
  2370. iscanbin.c, zchar.c, zcharout.c, zcolor.c, zcolor1.c, zcontrol.c, zdevice.c,
  2371. zdpnext.c, zdps.c, zfdecode.c, zfile.c, zfilter2.c, zfont0.c, zfunc0.c,
  2372. zfunc3.c, zfzlib.c, zgeneric.c, zht1.c, zht2.c, zimage.c, zimage2.c,
  2373. ziodev.c, zmath.c, zpath1.c, zupath.c, zusparam.c, zvmem.c, zvmem2.c)
  2374. Updates client code for the tweak in the definition of the IODevice
  2375. open_device procedure. (ziodev.c)
  2376. Implements stable local and global VM allocators. This required changing
  2377. more places than we would have liked. (ialloc.c, igc.c, ilocate.c, imain.c,
  2378. interp.c, ireclaim.c, isave.c, zcontext.c)
  2379. Removes the global member of gs_ref_memory_t, since it isn't used.
  2380. (gxalloc.h, ialloc.c, zcontext.c)
  2381. Adds more tracing to the relocation phase of the garbage collector.
  2382. (igcref.c)
  2383. </pre><h3><a name="5.90_Streams"></a>Streams</h3><pre>
  2384. Fixes problems:
  2385. - jpeg_open_backing_store no longer had the correct arguments.
  2386. (This had no effect in practice, since the procedure was never called.)
  2387. (sjpegc.c)
  2388. Cleans up public functions with no previous prototype. (scfdgen.c,
  2389. scfetab.c, sjpegc.c, slzwce.c, slzwd.c, stream.c)
  2390. Adds some tracing to the image scaling stream. (siscale.c)
  2391. </pre><h3><a name="5.90_Library"></a>Library</h3><pre>
  2392. Fixes bugs:
  2393. - A null OutputFile name could cause an error. (gxdevice.h,
  2394. gsdevice.c, gsfname.c)
  2395. - Shading with non-monotonic Functions produced incorrect output.
  2396. (gxshade1.c)
  2397. - An #undef didn't match the #define it was supposed to cancel.
  2398. (gxchar.c)
  2399. - The default next_char_glyph procedure didn't handle FROM_CHARS or
  2400. FROM_SINGLE_CHAR data sources. (gstext.c)
  2401. - When finalizing a forwarding device, the target pointer in the
  2402. device wasn't cleared, leading to an incorrect attempt to access it later.
  2403. (gdevnfwd.c)
  2404. - Interpolated images were broken, probably since 5.81.
  2405. (gxiscale.c)
  2406. - Some color space implementation procedures hadn't been updated to
  2407. add 'const' to the color space argument. (gscie.c)
  2408. - A constant had a signed/unsigned ambiguity on systems where
  2409. sizeof(long) > 4. (gsccode.h)
  2410. - The font font_info procedure didn't provide for scaling.
  2411. (gxfont.h)
  2412. Simplifies the notification mechanism to remove the concept of client and
  2413. generating object. Registration now just takes a closure (procedure +
  2414. opaque data); events pass the closure data and event data. (gsnotify.h,
  2415. gsfont.c, gsnotify.c)
  2416. Changes gs_notify_unregister so that it can unregister all registrations of
  2417. a particular client rather than only one. (gsnotify.h, gsnotify.c)
  2418. Adds support for "vanilla" Functions at the library level. (gsfunc.h,
  2419. gsfunc.c)
  2420. Adds some tracing for Functions. (gsfunc3.c)
  2421. Redefines function monotonicity to indicate whether the function is
  2422. increasing or decreasing, and implements monotonicity correctly for all
  2423. FunctionTypes except 4. (gsfunc.h, gxfunc.h, gsfunc0.c, gsfunc3.c)
  2424. Makes Type 0 fonts check that they are being used with a string, not a
  2425. character or (a) glyph(s). (gxtext.h, gschar.c, gschar0.c, gstext.c,
  2426. gxchar.c)
  2427. Cleans up public functions with no previous prototype. (gdevmem.h,
  2428. gpcheck.h, gscie.h, gserror.h, gsmemory.h, gxcie.h, gxcldev.h, gxclpath.h,
  2429. gxcmap.h, gxcspace.h, gxfixed.h, gxfont0.h, gxp1fill.h [deleted],
  2430. gxp1impl.h, math_.h, std.h, gconf.c, gdevdrop.c, gdevm1.c, gdevm2.c,
  2431. gdevm4.c, gdevm8.c, gdevm24.c, gdevmr1.c, gdevmr2n.c, gdevprn.c, gsbittab.c,
  2432. gscdef.c, gscie.c, gsciemap.c, gscspace.c, gscscie.c, gsdevmem.c,
  2433. gsdparam.c, gshtscr.c, gsimpath.c, gsiodev.c, gsmisc.c, gsnorop.c, gspath.c,
  2434. gspcolor.c, gsptype1.c, gsropc.c, gsutil.c, gxacpath.c, gxclist.c,
  2435. gxcpath.c, gxi12bit.c, gxicolor.c, gxifast.c, gximono.c, gxiscale.c,
  2436. gxp1fill.c, gxpath2.c)
  2437. Gets rid of some remaining vestiges of 16-bit ints. (gdevm1.c, gsbitops.c)
  2438. Adds procedures to register clients for notification when a font is freed.
  2439. (gxfont.h, gsfont.c)
  2440. Defines the IODevice open_device procedure as returning 1 if it opened a new
  2441. stream, 0 if it returned an existing stream. This eliminates some awkward
  2442. externs.
  2443. Adds the concept of a stable allocator -- an allocator that allocates from
  2444. the same heap and in the same VM space as another allocator, but is not
  2445. subject to save and restore. (gsmemory.h, gsmemraw.h, gsalloc.c,
  2446. gsmalloc.c, gsmemlok.c, gsmemret.c, gsnogc.c)
  2447. Adds some new macros to make defining new kinds of fixed-format structures
  2448. simpler. (gsstruct.h)
  2449. Replaces the text processing restart procedure with a more general resync
  2450. procedure, which can be used to restart partway through a string. We retain
  2451. gs_text_restart for backward compatibility and general usefulness.
  2452. (gstext.h, gxtext.h, gdevbbox.c, gstext.c, gxchar.c)
  2453. Adds the Adobe Latin glyph sets as pseudo-encodings. (gsccode.h)
  2454. </pre>
  2455. <hr>
  2456. <h2><a name="Version5.88"></a>Version 5.88 (tester) (8/3/99)</h2>
  2457. <p>
  2458. This fileset adds the ability to reference and embed TrueType fonts in PDF
  2459. output. Unfortunately, even though the resulting PDF files work fine with
  2460. Ghostscript itself, Acrobat Reader apparently can't handle embedded TrueType
  2461. fonts with non-standard Encodings. We hope to fix this problem during the
  2462. 6.0 beta test period.
  2463. <p>
  2464. This fileset also adds the ability to buffer X Windows output in a
  2465. client-side bitmap. This is typically more efficient than trying to push
  2466. many small commands through the X client/server knothole, especially if
  2467. bitmap images or RasterOp are involved.
  2468. <p>
  2469. Some reported problems have been deliberately left unfixed: we will need
  2470. every minute of the 13 days before the start of the 6.0 beta test period to
  2471. implement the last few items of functionality scheduled for the 6.0 release,
  2472. and we can fix problems (but not add functionality) during the beta test
  2473. period.
  2474. <h3><a name="5.88_Incompatible_changes"></a>Incompatible changes</h3><pre>
  2475. (Library)
  2476. - The box_device member of the bbox device is replaced by the
  2477. box_data member, with a different meaning.
  2478. - The x_rect structure is removed; all uses are changed to
  2479. gs_int_rect.
  2480. - gdevpstr.h is renamed spprint.h.
  2481. - The parameter printing procedures are moved from gdevpsdf.[hc] to
  2482. spsdf.[hc].
  2483. - Clients must now allocate gs_font* objects using gs_font_alloc or
  2484. gs_font_base_alloc, not directly with gs_alloc_struct.
  2485. - The first (vptr) argument of enum_ptrs procedures is now const *.
  2486. EV_CONST is no longer defined.
  2487. - The pep argument of enum_ptrs procedures is now enum_ptr_t *
  2488. rather than const void **.
  2489. - The font glyph_pieces procedure is replaced with an option for
  2490. glyph_info.
  2491. - The font encode_char procedure now takes an additional glyph_space
  2492. argument.
  2493. - The o_large flag in object headers is renamed o_alone; o_lmark and
  2494. o_lsize no longer exist. The DO_LARGE and DO_SMALL macros for enumerating
  2495. objects in a chunk are also removed.
  2496. </pre><h3><a name="5.88_Documentation"></a>Documentation</h3><pre>
  2497. Fixes problems:
  2498. - News entries since 5.72 had a missing &lt;li&gt; in the table of
  2499. contents entry. (doc/News.htm)
  2500. - gs_text_params_t still referred to REPLACE_X_WIDTHS and
  2501. REPLACE_Y_WIDTHS rather than REPLACE_WIDTHS. (gstext.h)
  2502. Clarifies that the font glyph_outline procedure must append a final moveto
  2503. for the advance width. (gxfont.h)
  2504. Clarifies that the font enumerate_glyph procedure enumerates glyphs in an
  2505. unpredictable order. (gxfont.h)
  2506. Documents that reference counted freeing procedures for structures with
  2507. finalization must free the structure itself first rather than last.
  2508. (gsrefct.h)
  2509. Updates documentation on building Ghostscript on MS-DOS and MS Windows.
  2510. (doc/Make.htm)
  2511. Adds some documentation on how the makefiles are / should be structured.
  2512. (doc/Source.htm)
  2513. Documents the new parameters for the X driver. (doc/Use.htm)
  2514. Updates the language documentation to refer properly to PostScript
  2515. LanguageLevel 3 and PDF 1.3. (doc/Language.htm)
  2516. </pre><h3><a name="5.88_Procedures"></a>Procedures</h3><pre>
  2517. Fixes problems:
  2518. - An omitted space in a makefile caused an incompatibility with the
  2519. VMS build utilities. (lib.mak)
  2520. - The gsindent script was omitted from the fileset. (gsindent)
  2521. - The core library didn't include stream.c, which is now required.
  2522. (lib.mak)
  2523. - The workaround for the peculiarities of the Watcom compiler's
  2524. command line syntax didn't work. (zlib.mak)
  2525. - A DOS command line overflowed in the makefile. We patched this by
  2526. deleting the bmpgray device from the Borland Windows platform.
  2527. (bcwin32.mak)
  2528. Provides a .lnk file required by the revised linking procedures on MS
  2529. Windows. (gsdll32w.lnk)
  2530. Straightens out the Watcom makefiles so that it is possible to build a
  2531. Windows executable and DLL using the Watcom compiler. This required moving
  2532. some parameters around in the other PC makefiles. (bcwin32.mak,
  2533. msvccmd.mak, watc.mak, watcw32.mak, wccommon.mak, winint.mak, winlib.mak)
  2534. </pre><h3><a name="5.88_Drivers"></a>Drivers</h3><pre>
  2535. Fixes problems:
  2536. - The X driver reported the wrong parameter name for errors in the
  2537. value of the WindowID or .IsPageDevice parameter. (gdevxini.c)
  2538. - The X driver calculated the Y window dimension incorrectly when
  2539. resizing the window if X and Y resolutions were different. (Never happens
  2540. in practice.) (gdevxini.c)
  2541. - The bmpasep8 device was defined as gx_device_printer rather than
  2542. gx_device_async. (gdevbmpa.c)
  2543. - Some casts between signed and unsigned char * were missing.
  2544. (gdevpdff.c, gdevpdft.c)
  2545. - The PDF writer didn't handle reencoded characters properly in
  2546. non-embedded fonts. (gdevpdfx.h)
  2547. - The PDF writer allocated new structures while being closed,
  2548. causing memory corruption if the close procedure was called for
  2549. finalization. (gdevpdff.c, gdevpsd1.c)
  2550. - The PDF writer tried to close the resource file twice. (bug
  2551. introduced since 5.50) (gdevpdf.c)
  2552. - The PDF writer failed to work around a bug in Acrobat 3 Reader's
  2553. Print function related to re-encoded fonts. (gdevpdft.c)
  2554. - The PDF writer incorrectly specified ASCII85Encode rather than
  2555. ASCII85Decode for non-binary embedded fonts. (gdevpdff.c)
  2556. - The PDF writer didn't handle embedded fonts with a non-standard
  2557. FontMatrix correctly. (gdevpdft.c)
  2558. - The PDF writer didn't handle reassigned characters correctly.
  2559. (gdevpdft.c)
  2560. - When embedding a Type 1 font, the PDF writer didn't check that the
  2561. font contains only CharStrings (no PostScript procedures), no non-standard
  2562. OtherSubrs, and no CDevProc. (gdevpsd1.c)
  2563. - There was an unused label in the mswinpr2 driver. (gdevwpr2.c)
  2564. - The X driver didn't flush buffered output before reading back
  2565. bits from the display. (gdevx.c)
  2566. - The X driver still didn't set up the color mapping tables
  2567. correctly -- in particular, it didn't initialize cman.color_to_rgb before
  2568. setting up the dither ramp or cube. This is at least the third time we have
  2569. "fixed" this problem. (gdevxcmp.c)
  2570. Removes the remaining uses of gs_malloc, gs_free, and gs_memory_default from
  2571. Aladdin's non-display drivers. (gdevbit.c, gdevbmp.c, gdevbmpa.c,
  2572. gdevcgm.c, gdevclj.c, gdevcljc.c, gdevdjet.c, gdevlj56.c, gdevmiff.c,
  2573. gdevpbm.c, gdevpcx.c, gdevpng.c, gdevpsim.c, gdevtfax.c, gdevtfnx.c,
  2574. gdevxalt.c)
  2575. Adds a MaxBitmap parameter to the X driver: the driver will maintain a
  2576. full-window pixmap in memory if it requires no more space than MaxBitmap.
  2577. The default value of this parameter is 0, meaning never use a client-side
  2578. bitmap. (gdevx.h, gdevx.c, gdevxini.c, gdevxxf.c)
  2579. Moves the X device closing and get/put parameters procedures from gdevx.c to
  2580. gdevxini.c. (gdevx.c, gdevxini.c)
  2581. Removes some remaining uses of gs_malloc and gs_free from the X driver.
  2582. Note that this requires making the X device structure properly
  2583. garbage-collectable. (gdevx.h, gsstruct.h, gdevxini.c)
  2584. Removes the remaining uses of 'register' from the X driver. (gdevx.c,
  2585. gdevxini.c)
  2586. Removes the remaining uses of the obsolete far_data keyword from Aladdin's
  2587. non-PC drivers. (gdevbmp.c, gdevbmpa.c, gdevcgm.c, gdevlj56.c, gdevmiff.c,
  2588. gdevp2up.c)
  2589. Improves the X driver's algorithm for deciding when to update the screen,
  2590. and makes its parameters available for reading and setting. (gdevx.h,
  2591. gdevx.c, gdevxini.c)
  2592. In the X driver's color mapper, improves performance slightly by replacing
  2593. multiplies and divides with shifts and table lookups in the normal case of
  2594. standard color maps. (gdevxcmp.h, gdevxcmp.c)
  2595. Moves some filter-related code from the driver level to the stream level.
  2596. (gdevpsdf.c)
  2597. Moves some utilities for printing values in ASCII form from the driver level
  2598. to the stream level. (devs.mak, gdevpdfx.h, gdevpstr.h [deleted], gdevps.c,
  2599. gdevpsde.c, gdevpsdf.c, gdevpsdp.c, gdevpstr.c [deleted])
  2600. Upgrades the PDF writer to handle TrueType fonts as well as Type 1.
  2601. (gdevpdfx.h, gdevpsdf.h, gdevpdff.c, gdevpdft.c, gdevpsde.c => gdevpsd1.c,
  2602. gdevpsdt.c)
  2603. Starts to implement font subsetting in the PDF writer. (gdevpdfx.h,
  2604. gdevpsdf.h, gdevpdff.c, gdevpsd1.c, gdevpsdt.c)
  2605. Partially implements WMode when writing font descriptors. (gdevpdff.c)
  2606. Changes psdf_binary_writer so that adding the ASCII85 filter in
  2607. psdf_begin_binary doesn't require allocating any memory. (gdevpsdf.h,
  2608. gdevpsdf.c)
  2609. Makes the PDF writer guess the Ascent and StemV values for embedded fonts
  2610. when it can't determine them by examining the font. (gdevpdff.c)
  2611. Makes the PDF writer able to handle xshow and yshow (TEXT_REPLACE_WIDTHS).
  2612. (gdevpdft.c)
  2613. Updates code to reflect the addition of glyph_space to the font encode_char
  2614. and enumerate_glyph procedures. (gdevpsdf.h, gdevpdff.c, gdevpdft.c,
  2615. gdevpsd1.c, gdevpsdf.c, gdevpsdt.c)
  2616. Removes some unnecessary #includes. (gdevxres.c)
  2617. Removes the sample driver-based CRD from the variant X drivers, since this
  2618. created a pointless dependency. (The `bit' drivers still provide this
  2619. feature, for testing.) (gdevxalt.c)
  2620. Changes the default compatibility level of PDF output from 1.2 (Acrobat 3)
  2621. to 1.3 (Acrobat 4). (gdevpdf.c)
  2622. </pre><h3><a name="5.88_Platforms"></a>Platforms</h3><pre>
  2623. Fixes problems:
  2624. - A comment included an extra /*. (gp_mswin.c)
  2625. - The definitions for min and max in a couple of files disagreed
  2626. with the ones typically provided in system header files. (dwimg.cpp,
  2627. dwtext.cpp)
  2628. Removes some unnecessary code related to generating temporary file names.
  2629. (gp_iwatc.c)
  2630. </pre><h3><a name="5.88_Fonts"></a>Fonts</h3><pre>
  2631. Changes the loader for TrueType fonts to keep the 'instructions', which are
  2632. required if the font is going to be written out in a PDF file.
  2633. (lib/gs_ttf.ps)
  2634. Adds some more debugging output to the TrueType font loader.
  2635. (lib/gs_ttf.ps)
  2636. Registers the MacGlyphEncoding so it can be made available to the PDF
  2637. writer. (lib/gs_mgl_e.ps, lib/gs_ttf.ps, unixinst.mak, gsccode.h, ifont.h)
  2638. </pre><h3><a name="5.88_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  2639. Fixes problems:
  2640. - The serif and small-caps flags in the FontDescriptor were ignored
  2641. when doing font substitution. (lib/gs_fonts.ps, lib/pdf_font.ps)
  2642. - The ri operator was undefined. We added a dummy definition.
  2643. (lib/pdf_ops.ps)
  2644. - The redefinitions of restore could cause a recursion loop.
  2645. (lib/gs_fform.ps, lib/gs_lev2.ps)
  2646. - There was an extra gsave executed for each page, causing the
  2647. graphics state stack to grow deeper and deeper, which caused problems when
  2648. wrapping up at the end of execution. (lib/pdf_main.ps)
  2649. Implements the sh operator. (lib/pdf_draw.ps)
  2650. Works around a bug in some PDF files generated by Adobe's PDF library (?),
  2651. which attempt to create a font Encoding array with more than 256 elements.
  2652. (lib/pdf_font.ps)
  2653. </pre><h3><a name="5.88_Interpreter"></a>Interpreter</h3><pre>
  2654. Fixes problems:
  2655. - The GNU readline completion code (which Aladdin did not write) was
  2656. completely wrong. (gp_gnrdl.c)
  2657. - The top-level restore sometimes tried to restore global VM an
  2658. extra time, leading to memory corruption. (bug probably introduced in 5.85)
  2659. (isave.c)
  2660. - The glyph_ref procedure was defined in two different places
  2661. (inconsistently). (ichar.h, zchar.c, zchar1.c)
  2662. Restructures the name table to improve cache coherence and to make it
  2663. possible to store initial name strings in ROM. (iname.h, inamedef.h,
  2664. inames.h, inamestr.h, igc.c, iname.c, isave.c)
  2665. Changes the scanner so it doesn't copy name strings when scanning a compiled
  2666. init string. This reduces RAM requirements by about 20K when using compiled
  2667. initialization. (iscan.c)
  2668. Removes redundant FontBBox correction code, since this is now handled by the
  2669. library. (zfont42.c)
  2670. Updates the Type 1 and Type 42 font code to implement the new font
  2671. procedures. (icharout.h, zcharout.c, zchar1.c, zchar42.c, zfont1.c,
  2672. zfont42.c)
  2673. Simplifies the code that checks whether a grestore needs to do a
  2674. setpagedevice. (zdevice2.c)
  2675. Updates code to reflect the change of the vptr argument of enum_ptrs
  2676. procedures to const *. (igcref.c)
  2677. Updates code to reflect the change in the pep argument of enum_ptrs
  2678. procedures to enum_ptr_t *. (igc.h, iscan.h, istruct.h, igc.c, igcref.c,
  2679. ilocate.c, iscan.c)
  2680. Updates code to reflect the addition of glyph_space to the font encode_char
  2681. and enumerate_glyph procedures. (bfont.h, ifont.h, zbfont.c, zfont1.c,
  2682. zfont32.c, zfont42.c)
  2683. Cleans up some code details. (idebug.h, ifunc.h, iparray.h, istream.h,
  2684. zfunc.c)
  2685. Removes some no longer needed test code. (zfont1.c)
  2686. Updates memory manager code to reflect the change from o_large to o_alone.
  2687. (igc.c, igcref.c, ilocate.c, isave.c)
  2688. Changes the printed font substitution message to be closer to what some
  2689. Adobe products print if SHORTERRORS is defined. (Thanks to Andrew Chilvers
  2690. for the suggestion.) (lib/gs_fonts.ps)
  2691. </pre><h3><a name="5.88_Streams"></a>Streams</h3><pre>
  2692. Fixes problems:
  2693. - The fix in 5.85 for ASCII85Encode EOLs was wrong and caused a word
  2694. of data to be dropped occasionally. (sfilter2.c)
  2695. Moves some filter-related code from the driver level to the stream level.
  2696. (stream.h, stream.c)
  2697. Moves some utilities for printing values in ASCII form from the driver level
  2698. to the stream level. (lib.mak, spprint.h, spsdf.h, spprint.c, spsdf.c)
  2699. Adds some more tracing output for image scaling. (siscale.c)
  2700. </pre><h3><a name="5.88_Library"></a>Library</h3><pre>
  2701. Fixes problems:
  2702. - The bbox device's check for whether a rectangle filled the entire
  2703. page was wrong. (gdevbbox.c)
  2704. - The bbox device didn't correctly handle parallelograms, triangles,
  2705. or thin lines with points specified in other than ascending order.
  2706. (gdevbbox.c)
  2707. - The bbox device smashed the reference count of the text enumerator
  2708. it created, causing a memory leak. (gdevbbox.c)
  2709. - The bbox device didn't copy back all the dynamic information from
  2710. a subsidiary text enumerator, with unpredictable results. (gxtext.h,
  2711. gdevbbox.c, gstext.c)
  2712. - The default implementation of glyph_info for fonts incorrectly
  2713. reported that it returned values for all members, not just the ones it knew
  2714. about. (gsfont.c)
  2715. - The profiling implementation of memset was incorrect, leading to
  2716. memory smashing. (gsmisc.c)
  2717. - The default implementation of glyph_info had a memory leak.
  2718. (gsfont.c)
  2719. - The default implementation of character rendering didn't correctly
  2720. handle the case where the character was in the cache and only the character
  2721. width was requested. (gxchar.c)
  2722. - Text processing didn't correctly handle REPLACE_WIDTHS if the X
  2723. and Y width arrays were different. (The PostScript interpreter never does
  2724. this.) (gstext.h, gstext.c, gxchar.c)
  2725. - Compositing devices weren't initialized properly, leading to
  2726. invalid accesses. This is the last (?) bit of the device reference counting
  2727. bug tail. (gsalphac.c, gsropc.c)
  2728. Changes the bbox device to make the procedures for managing the bounding box
  2729. virtual, so the X device can be a subclass. (gdevbbox.h, gdevbbox.c)
  2730. Changes the bbox device so it always adds the bounding box after doing the
  2731. drawing operation rather than before, for the benefit of the buffering X
  2732. device. (gdevbbox.c)
  2733. Removes some remaining uses of gs_memory_default. (gdevdrop.c)
  2734. Removes all uses of the obsolete far_data keyword from the library.
  2735. (gconf.c, gdevbbox.c)
  2736. Changes the bbox device so it doesn't run drawing algorithms twice if it has
  2737. a target that uses the default implementation. (gdevbbox.c)
  2738. Speeds up the implementation of fill_rectangle for 16-bit memory devices.
  2739. (gdevm16.c)
  2740. Makes TrueType fonts implement the new font procedures. (gxfont42.h,
  2741. gxmatrix.h, gsmatrix.c, gstype42.c)
  2742. Adds a gs_id to gs_font objects, so that fonts with the same name can be
  2743. distinguished reliably without relying on the address. (gxfont.h, gsfont.c)
  2744. Makes the vptr argument of enum_ptrs procedures be const *. This is a
  2745. long-overdue change. (gsstype.h, gxxfont.h, gsalloc.c, gsfont.c,
  2746. gsmemory.c) ****** REDO THE CONST-BREAKING CASTS IN gsfont.c ******
  2747. Changes the pep argument of enum_ptrs from const void ** to enum_ptr_t *, to
  2748. get rid of some hacks in enum_ptrs implementations that had to construct
  2749. temporary gs_strings. (gsstruct.h, gsstype.h, gstext.h, gsalloc.c,
  2750. gscolor2.c, gsfont.c, gsmemory.c, gstext.c)
  2751. Adds a general mechanism that provides for an arbitrary number of clients to
  2752. be notified when an event occurs. For the moment, we only use it to notify
  2753. PDF writers when a font is about to be freed. (gsnotify.h, gsnotify.c)
  2754. Makes fonts use the new notification mechanism to notify clients when the
  2755. font is about to be freed. (gxfont.h, gsfont.c)
  2756. Adds a gs_text_set_cache procedure to parallel restart and retry.
  2757. (gstext.h, gxtext.h, gstext.c)
  2758. Adds a glyph_space argument to the font encode_char and enumerate_glyph
  2759. procedures, so that clients can choose between glyph names and glyph indices
  2760. in environments that use both. (gsccode.h, gxchar.h, gxfont.h, gxfont42.h,
  2761. gsfont.c, gstype42.c, gxchar.c)
  2762. Changes the bbox device so it optionally considers white to be opaque.
  2763. (gdevbbox.h, gdevbbox.c)
  2764. Cleans up some code details. (gshsb.h)
  2765. Adds a hack to suppress warning messages from the Watcom compiler about
  2766. testing constant values. (stdpre.h)
  2767. Replaces the glyph_pieces font procedure with a GLYPH_INFO_PIECES option for
  2768. glyph_info. (gxfont.h, gxfont42.h, gsfont.c, gstype42.c)
  2769. Adds a font_info font procedure, similar to glyph_info but giving
  2770. information about the font as a whole. (gxfont.h)
  2771. In order to fix a bug in resizing large objects, gets rid of the concept of
  2772. large objects entirely, replacing it with the concept of an 'alone' object
  2773. that is guaranteed to be the only object in its chunk. (gxalloc.h, gxobj.h,
  2774. gsalloc.c)
  2775. Adds some more tracing output for interpolated images. (gxiscale.c)
  2776. Adds a _long parameter setting procedure to parallel _bool, _enum, and _int.
  2777. (gsparamx.h, gsparamx.c)
  2778. </pre>
  2779. <hr>
  2780. <h2><a name="Version5.87"></a>Version 5.87 (tester) (6/29/99)</h2>
  2781. <p>
  2782. In this fileset, the pdfwrite device finally handles general Type 1 fonts,
  2783. and can write them in both embedded and non-embedded form. This fileset
  2784. also contains a few more changes to the text API, and some incompatible
  2785. changes to the gs_font procedure vector: more such changes are likely. It
  2786. also fixes a couple of long-standing pdfmark bugs.
  2787. <p>
  2788. NOTE: there are known problems in PDF output with non-embedded fonts (fonts
  2789. represented only by a descriptor): some characters will be missing, and
  2790. because of bugs in Acrobat's Print function, even more characters will be
  2791. missing or wrong when printing from Acrobat. We will fix our problems, and
  2792. work around Acrobat's bugs, in the next couple of filesets.
  2793. <h3><a name="5.87_Incompatible_changes"></a>Incompatible changes</h3><pre>
  2794. (Library)
  2795. - Text enumerators now have a release procedure.
  2796. - gx_device_text_begin no longer stores its arguments into the
  2797. enumerator: the driver text_begin procedure must do this.
  2798. - The argument list for the font encode_char procedure no longer
  2799. includes the enumerator, and the second argument is now a gs_char rather
  2800. than a gs_char *.
  2801. - The font next_char procedure is removed. (It has been obsolete
  2802. for a while.) The next_glyph procedure is renamed next_char_glyph.
  2803. - The first argument of the font init_fstack, build_char, and
  2804. next_glyph procedures is changed from gs_show_enum * to gs_text_enum_t *.
  2805. - gx_font_stack[_item] is renamed gx_font_stack[_item]_t.
  2806. - New font procedures have been added, of which two (enumerate_glyph
  2807. and glyph_outline) are required. The font procedure vector has been
  2808. reorganized.
  2809. - The Type 1 font next_glyph procedure is replaced by the gs_font
  2810. enumerate_glyph procedure.
  2811. - psdf_embed_type1_font is renamed psdf_write_type1_font, and has
  2812. an additional argument.
  2813. - psdf_alloc_param_printer takes slightly different arguments;
  2814. print_binary_ok and print_ASCII85_ok are now upper-case.
  2815. </pre><h3><a name="5.87_Documentation"></a>Documentation</h3><pre>
  2816. Reorganizes the driver API documentation slightly, documents the fact that
  2817. get_alpha_bits and draw_line are obsolete, and documents the driver text
  2818. API. (doc/Drivers.htm)
  2819. Documents an additional Irix configuration where the compiler doesn't work.
  2820. (doc/Make.htm)
  2821. </pre><h3><a name="5.87_Procedures"></a>Procedures</h3><pre>
  2822. Moves the %pipe% IODevice into lib.mak, since it is now included on Windows
  2823. as well as Unix. (lib.mak, unix-aux.mak)
  2824. Adds the bmpgray driver to all platforms that include the other BMP drivers.
  2825. (bcwin32.mak, msvc32.mak, os2.mak, unix-gcc.mak, watc.mak, watcw32.mak)
  2826. </pre><h3><a name="5.87_Drivers"></a>Drivers</h3><pre>
  2827. Fixes problems:
  2828. - The PS and PDF writers didn't maintain the font embedding lists
  2829. correctly. (gdevpsdp.c)
  2830. - The CreationDate in PDF output was always set to the current date,
  2831. and couldn't be set with a pdfmark. We now don't set CreationDate at all,
  2832. since it is supposed to be the creation date of the original document, not
  2833. of the PDF file. (gdevpdfm.c, gdevpdfu.c)
  2834. - The Producer in PDF output couldn't be set with a pdfmark.
  2835. (gdevpdfx.h, gdevpdf.c, gdevpdfm.c, gdevpdfu.c)
  2836. - pdfmarks with /Action /GoTo incorrectly retained the Action key.
  2837. (gdevpdfm.c)
  2838. - pdfmarks didn't substitute /Dest => /D or /File => /F correctly.
  2839. (gdevpdfm.c)
  2840. Updates the PDF writer to use the new text API rather than the show
  2841. pseudo-parameter. (gdevpdfx.h, gdevpdf.c, gdevpdfp.c, gdevpdft.c)
  2842. Changes pdf_open_document so that it opens the document even if some
  2843. resources have been allocated. (gdevpdf.c)
  2844. Splits off pdfwrite utilities from top-level control, since the file was
  2845. getting too big. (gdevpdfx.h, gdevpdf.c, gdevpdfu.c)
  2846. When writing PDF, avoids resetting the word spacing parameter if the string
  2847. doesn't contain any spaces, and the character spacing parameter if the
  2848. string has no more than 1 character. (gdevpdft.c)
  2849. Splits off PDF font handling from text handling, since the file was getting
  2850. too big. (gdevpdfx.h, gdevpdff.c, gdevpdft.c)
  2851. Implement both embedded and non-embedded fonts beyond the base 14 in the PDF
  2852. writer. This code doesn't work very reliably yet. (gdevpdfx.h, gdevpdff.c,
  2853. gdevpdft.c)
  2854. Adds a bmpgray driver that produces 8-bit gray-scale output. (devs.mak,
  2855. gdevbmp.c)
  2856. Updates the PDF writer for changes in the gs_font procedure vector.
  2857. (gdevpdff.c, gdevpdft.c)
  2858. Updates the Type 1 font writer for changes in the gs_font procedure vector,
  2859. and adds some output options. (gdevpsdf.h, gdevpsde.c)
  2860. Changes the printing parameter list implementation to take all of its
  2861. parametric arguments in the params structure, and changes the names of the
  2862. options. (gdevpsdf.h, gdevpsde.c, gdevpsdf.c, gdevpdff.c, gdevpdfi.c,
  2863. gdevpdfu.c)
  2864. </pre><h3><a name="5.87_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  2865. Fixes problems:
  2866. - Indexed color spaces didn't allow the base space to be an indirect
  2867. reference. (lib/pdf_draw.ps)
  2868. - The CS and cs operators didn't accept a literal color space name
  2869. (as opposed to a color space resource name). (lib/pdf_draw.ps)
  2870. - Some PDF 1.2 files had a SM entry in graphics state dictionaries,
  2871. even though this is not documented and requires a LL3 interpreter.
  2872. (lib/pdf_draw.ps)
  2873. - Generated font names included a % character, which could cause
  2874. problems for ps2pdf. (lib/pdf_font.ps)
  2875. </pre><h3><a name="5.87_Interpreter"></a>Interpreter</h3><pre>
  2876. Fixes problems:
  2877. - The calculation of the final index when enumerating the pointers
  2878. in a context state was incorrect. (source bug only, no effect on execution)
  2879. (icontext.c)
  2880. Updates the interpreter's glue code for the changes in the PDF writer.
  2881. (lib/gs_pdfwr.ps)
  2882. Updates a client to use gs_font_alloc. (zbfont.c)
  2883. Updates clients for changes in the gs_font procedure vector. (zbfont.c,
  2884. zchar1.c, zfont0.c, zfont1.c, zfont32.c)
  2885. Updates a client for the change to psdf_write_type1_font. (zfont1.c)
  2886. </pre><h3><a name="5.87_Library"></a>Library</h3><pre>
  2887. Fixes problems:
  2888. - Some code used rc_decrement_only instead of gx_device_retain.
  2889. (Stylistic bug only.) (gschar.c)
  2890. - The finalize procedure for the character cache device could get
  2891. unset and/or the retained flag cleared, leading to a reference count not
  2892. getting decremented. (gxccman.c)
  2893. - Allocating a show enumerator didn't clear the show_gstate member.
  2894. (Probably no effect in practice.) (gschar.c)
  2895. - Cleaning up at the end of text processing was not consistent and
  2896. sometimes didn't get done. The old API used explicit and separate client
  2897. allocation (gs_show_enum_alloc), release (gs_show_enum_release), and freeing
  2898. (gs_free_object); release, but not free, was automatic at the end of
  2899. processing (in show_finish). The new API has allocation in gs_text_begin or
  2900. gx_device_text_begin, no implicit release or free, and a single
  2901. gs_text_release call to handle both release and free. Reconciling these
  2902. required adding an auto_release flag in the gs_show_enum structure to
  2903. indicate which API was used to create it, and a release procedure. (The
  2904. auto_release flag is only needed for backward compatibility with clients
  2905. that use the old API. Ghostscript itself no longer has such clients, but
  2906. the PCL interpreters do.) (gxchar.h, gxtext.h, gdevbbox.c, gschar.c,
  2907. gstext.c, gxchar.c)
  2908. - We were burned once again by gcc's acceptance of private/public
  2909. procedure mismatches. (gxchar.c)
  2910. - A line break was missing between the return type and a procedure
  2911. name. (gsstate.c)
  2912. - Show enumerators had an incorrect GC descriptor. (gxchar.c)
  2913. - Text enumerators didn't terminate their list properly. (gstext.c)
  2914. Adds a debugging procedure that finds all the pointers to an object. This
  2915. uses the GC's pointer enumeration procedures, so it will only work if all
  2916. structures have correct GC descriptors. (Of course, we think this is true
  2917. of all of Ghostscript.) The current implementation doesn't trace refs.
  2918. (gsalloc.c)
  2919. Removes remaining references from gxchar.c to procedures defined in
  2920. gschar.c. The standard Ghostscript build now no longer needs gschar.c,
  2921. although we will keep it for the moment for backward compatibility.
  2922. (gschar.c, gxchar.c)
  2923. Removes an obsolete reference to gs_show_enum. (gstype1.h)
  2924. Adds definitions for the built-in encoding indices. (gsccode.h, gxfont.h,
  2925. gxxfont.h)
  2926. To make text_begin implementations callable, requires them, rather than
  2927. gx_device_text_begin, to save their parameters in the enumerator structure.
  2928. (gxtext.h, gstext.c, gxchar.c)
  2929. Adds a TEXT_DO_CHARWIDTH alternative to the text operation, to just advance
  2930. the current point by the character width (stringwidth rmoveto). (gscpm.h,
  2931. gstext.h, gxchar.c, gxpath.c)
  2932. Adds procedures to allocate and initialize fonts. (gxfont.h, gsfont.c)
  2933. Starts to revise the gs_font procedure vector to create a real "font socket"
  2934. API, adding several new procedures. This is a NON-BACKWARD-COMPATIBLE
  2935. change, and there probably are more to come. (gxchar.h, gxfont.h, gsfont.c,
  2936. gstext.c, gxchar.c)
  2937. Moves the Type 0 font stack from gs_show_enum to gs_text_enum_t, and renames
  2938. its types to gx_font_stack_[item_]t. Also moves cmap_code. (gxchar.h,
  2939. gxtext.h, gschar0.c, gstext.c, gxchar.c)
  2940. Moves the glyph enumeration procedure from Type 1 fonts to general fonts,
  2941. changing its name to enumerate_glyph. (gxfont1.h)
  2942. Changes the debugging code for reference counting to call procedures, to
  2943. allow better breakpointing. (gsrefct.h, gsmemory.c)
  2944. </pre>
  2945. <hr>
  2946. <h2><a name="Version5.86"></a>Version 5.86 (tester) (6/14/99)</h2>
  2947. <p>
  2948. This fileset includes the first batch of changes for the new driver-based
  2949. text API. Unfortunately, a few of them are non-backward-compatible.
  2950. WARNING: This API is UNSTABLE and should not be used yet. This includes the
  2951. APIs and structures in gxtext.h, and to a lesser extent those in gstext.h.
  2952. <h3><a name="5.86_Incompatible_changes"></a>Incompatible changes</h3><pre>
  2953. (Interpreter)
  2954. - The default initialization of fonts now sets next_glyph rather
  2955. than next_char.
  2956. (Library)
  2957. - The font argument of the driver text_begin procedure is no
  2958. longer declared as const.
  2959. - Text enumerators now have a is_width_only and current_width
  2960. procedures; the restart procedure is renamed retry, and there is a new
  2961. restart procedure that does something different.
  2962. - The scale member of gs_text_enum_t is renamed log2_scale.
  2963. - gs_show_restore_font is removed.
  2964. - The current_char, current_glyph, width, and log2_current_scale
  2965. members of gs_show_enum are removed (replaced by members of gs_text_enum_t).
  2966. - The current_width member of gs_text_enum_t is removed.
  2967. - Replaces TEXT_REPLACE_{X,Y}_WIDTHS with a single
  2968. TEXT_REPLACE_WIDTHS.
  2969. </pre><h3><a name="5.86_Documentation"></a>Documentation</h3><pre>
  2970. Fixes a number of outdated URLs. (doc/Devices.htm, doc/Fonts.htm,
  2971. doc/Install.htm, doc/Language.htm, doc/Make.htm, doc/New-user.htm)
  2972. Documents the name change from gs_iso_e.ps to gs_il1_e.ps.
  2973. (doc/Psfiles.htm)
  2974. Documents the fact that a double % may be needed on MS systems.
  2975. (doc/Use.htm)
  2976. Documents that reversepath discards a trailing moveto, for compatibility
  2977. with Adobe implementations. (gxpath2.c)
  2978. </pre><h3><a name="5.86_Procedures"></a>Procedures</h3><pre>
  2979. Fixes problems:
  2980. - Some punctuation was omitted that affects builds on VMS systems.
  2981. (gs.mak)
  2982. - 'make install' didn't install doc/History5.htm. (unixinst.mak)
  2983. - The Borland makefile put some generated files in the top-level
  2984. directory rather than the build directory. (bcwin32.mak)
  2985. Updates the Unix install script for the name change of gs_iso_e.ps.
  2986. (unixinst.mak)
  2987. Moves the GNU-licensed drivers to a separate makefile. (contrib.mak,
  2988. gnu/src/gnudevs.mak)
  2989. Adds pipe.dev to the BC++, MSVC++, and OS/2 (GCC/EMX) platforms.
  2990. (bcwin32.mak, dvx-gcc.mak, msvc32.mak, msvclib.mak)
  2991. </pre><h3><a name="5.86_Utilities"></a>Utilities</h3><pre>
  2992. Fixes problems: - The usage message for pdf2ps was incorrect. (lib/pdf2ps,
  2993. lib/pdf2ps.bat)
  2994. </pre><h3><a name="5.86_Drivers"></a>Drivers</h3><pre>
  2995. Removes all remaining uses of #define'd casts in connection with ENUM_PTRS
  2996. and RELOC_PTRS procedures. (gdevpdf.c, gdevpdfo.c)
  2997. Adds a user-contributed driver for the Oki Data OkiPage 4w+ LED printer.
  2998. This is a GPL'ed driver. (contrib.mak, gnu/src/gdevop4w.c)
  2999. </pre><h3><a name="5.86_Platforms"></a>Platforms</h3><pre>
  3000. Adds a %handle% IODevice (mshandle.dev) to recognize file names of the form
  3001. %handle%NNNNNNNN under MS Windows. GSview uses this feature in place of
  3002. pipes, which are an open industry standard not supported by MS Windows.
  3003. (msvc32.mak, winlib.mak, gp_mshdl.c)
  3004. </pre><h3><a name="5.86_Fonts"></a>Fonts</h3><pre>
  3005. Adds the ISO 8859-2 encoding to the stock of built-in encodings.
  3006. (lib/gs_il2_e.ps, lib/gs_iso_e.ps => lib/gs_il1_e.ps)
  3007. </pre><h3><a name="5.86_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  3008. Fixes problems:
  3009. - Using a colored pattern with an uncolored Pattern color space
  3010. caused an error. (lib/pdf_draw.ps)
  3011. - Embedded CIDFontType 2 fonts didn't work, and embedded TrueType
  3012. fonts did an extra definefont. (lib/gs_ttf.ps, lib/pdf_font.ps,
  3013. lib/pdf_ops.ps) ****** IN PROGRESS ******
  3014. </pre><h3><a name="5.86_Interpreter"></a>Interpreter</h3><pre>
  3015. Fixes problems:
  3016. - Some files hadn't been updated for the removal of the gs_imemory
  3017. static. (int.mak, gp_gnrdl.c, imain.c, ztrap.c)
  3018. - %statementedit could append a spurious character if the last
  3019. character of the statement was not whitespace. (bug probably introduced in
  3020. 5.8x) (ziodev.c)
  3021. - The show operators didn't properly handle the special case of
  3022. executing within a cshow procedure for a non-CID font. (zchar.c)
  3023. - cshow applied to a composite font didn't scale the current font
  3024. correctly (in fact, at all). (zcfont.c)
  3025. - If an error occurred within the procedure called by
  3026. resourceforall, it wasn't reported. (lib/gs_res.ps)
  3027. - flushfile and closefile didn't correctly handle filters that only
  3028. write a fixed amount of data. (zfileio.c)
  3029. - cshow didn't restore the font reliably after executing the
  3030. procedure. (ichar.h, zcfont.c, zchar.c)
  3031. - An execstackoverflow error might temporarily leave the execution
  3032. stack in an invalid state. (interp.c)
  3033. Cleans up some macros. (iname.c, isave.c, iscan.c)
  3034. Removes all remaining uses of #define'd casts in connection with ENUM_PTRS
  3035. and RELOC_PTRS procedures. (icontext.c, iname.c, isave.c, iscan.c,
  3036. istack.c, zcontext.c, zfproc.c)
  3037. Adds a run-time warning message if gp_gnrdl.c is included in a non-GNU
  3038. build. (gp_gnrdl.c)
  3039. Converts clients to use the gs_text procedures that replace the gs_show
  3040. procedures, and to use gs_text_enum_t rather than gs_show_enum as the
  3041. enumerator type. (ichar.h, zbfont.c, zcfont.c, zchar.c, zchar1.c,
  3042. zchar32.c, zchar42.c, zcharout.c, zcharx.c, zfont.c, zfont0.c, zfont1.c,
  3043. zfont32.c, zimage.c, zimage2.c)
  3044. Updates the initialization code for the name change of gs_iso_e.ps.
  3045. (lib/gs_init.ps)
  3046. Splits off the definitions relating to name indices, in anticipation of
  3047. defining some name indices statically. (inamedef.h, inameidx.h, iname.c)
  3048. </pre><h3><a name="5.86_Streams"></a>Streams</h3><pre>
  3049. Fixes problems:
  3050. - The pixel-difference filters didn't initialize the previous sample
  3051. to 0 at the beginning of each row. (spdiff.c)
  3052. - The CCITTFaxDecode filter didn't correctly handle the case where
  3053. the last code of a row occurred less than 7 or 8 bits before the end of the
  3054. input stream. (scf.h, shc.h, scfd.c)
  3055. - Flushing filters didn't work. (stream.c)
  3056. - The DCTEncode filter gave an error if asked to write to a string
  3057. with less than 100 bytes of free space left when the end of the input data
  3058. was reached. (sdct.h, sdcte.c)
  3059. Removes all remaining uses of #define'd casts in connection with ENUM_PTRS
  3060. and RELOC_PTRS procedures. (stream.c)
  3061. Changes the ASCII85Encode stream to reliably insert a newline at least once
  3062. every 80 characters, rather than unreliably after at most 80 characters of
  3063. data. (sfilter2.c)
  3064. Cleans up some formatting. (stream.c)
  3065. </pre><h3><a name="5.86_Library"></a>Library</h3><pre>
  3066. Fixes problems:
  3067. - A client wasn't updated for the change in the declaration of
  3068. gx_dht_proc. (bug introduced in 5.84) (genht.c)
  3069. - When rendering a 12-bit-per-sample color image, the device color
  3070. wasn't initialized, possibly causing a memory access error when comparing
  3071. the current color with the previous one. (gxi12bit.c)
  3072. - arch_floats_are_IEEE was incorrectly defined as
  3073. arch_floats_are_ieee. (bug introduced in 5.83) (std.h)
  3074. - Decoding of IEEE floats on non-IEEE systems was wrong. (ibnum.c)
  3075. - The fast case of masked images in Pattern color spaces didn't
  3076. work. (bug introduced since 5.50) (gxifast.c)
  3077. - cshow gave an error if there was no current point. (gxchar.c)
  3078. Replaces TEXT_REPLACE_{X,Y}_WIDTHS with a single TEXT_REPLACE_WIDTHS.
  3079. (gstext.h, gstext.c)
  3080. Cleans up some macros. (gdevddrw.c, gsfont.c, gsht1.c)
  3081. Removes all remaining uses of #define'd casts in connection with ENUM_PTRS
  3082. and RELOC_PTRS procedures. (gdevddrw.c, gdevplnx.c, gsalloc.c, gschar.c,
  3083. gscolor.c, gscolor2.c, gscrd.c, gscsepr.c, gscspace.c, gsdevice.c, gsdsrc.c,
  3084. gsfcmap.c, gsfont.c, gsfont0.c, gsht1.c, gshtscr.c, gsimage.c, gspcolor.c,
  3085. gsptype1.c, gsstate.c, gstext.c, gxcmap.c, gxht.c, gxipixel.c, gxmclip.c,
  3086. gxtype1.c)
  3087. Adds gs_c_param_list_write_more, to switch a C parameter list back to write
  3088. mode without clearing it. (gsparam.h, gscparam.c)
  3089. Adds gs_grestore_only, to do a grestore without requiring 2 entries on the
  3090. graphics state stack. (gsstate.h, gsstate.c)
  3091. Completes a first bridge between the new driver text_begin procedure and the
  3092. existing text API defined in gschar.h. The changes are backward-compatible
  3093. for both clients of the APIs and (the few) implementors of text_begin,
  3094. except that the font argument of text_begin is no longer const. Note that
  3095. gschar.h is no longer used by any client, and in fact is deprecated.
  3096. (gschar.h, gstext.h, gxfcache.h, gxtext.h, gzstate.h, gdevbbox.c,
  3097. gdevnfwd.c, gschar.c, gsfont.c, gsfont0.c, gstext.c)
  3098. Mostly splits off the existing text procedures from the default
  3099. implementation of the new text facilities. (lib.mak, gxchar.h, gschar.c,
  3100. gxchar.c)
  3101. Makes the structure descriptor for gs_state public, for testing in gxchar.c.
  3102. (gzstate.h, gsstate.c)
  3103. Adds is_width_only and current_width procedures to the text enumerator;
  3104. renames restart as retry, and adds a restart procedure for restarting with
  3105. different parameters. (gstext.h, gxtext.h, gdevbbox.c, gschar.c, gstext.c,
  3106. gxchar.c)
  3107. Makes the masks for the subgroups of text operation parameters public.
  3108. (gstext.h)
  3109. Removes members of gs_show_enum that are superseded by members of
  3110. gs_text_enum_t: current_char, current_glyph, width, and log2_current_scale.
  3111. (gxchar.h, gxchar.c)
  3112. Adds aliases for popen and pclose under WIN32. (pipe_.h)
  3113. Moves gs_incachedevice from gschar.h to gsstate.h. (gschar.h, gsstate.h)
  3114. </pre>
  3115. <hr>
  3116. <h2><a name="Version5.85"></a>Version 5.85 (tester) (5/29/99)</h2>
  3117. <p>
  3118. This fileset removes a few more writable statics, and adds uniform support
  3119. for %filedevice%filename syntax in OutputFile. Unfortunately, removing the
  3120. static that held the interpreter's allocator group was almost as much of an
  3121. upheaval as removing the statics for the interpreter stacks.
  3122. <h3><a name="5.85_Incompatible_changes"></a>Incompatible changes</h3><pre>
  3123. (Interpreter)
  3124. - context_state_alloc now takes an additional parameter, as do
  3125. obj_cvp, make_packed_array, parse_real_file_name, ref_stack_store,
  3126. sread/write_proc, terminate_file_name, and a number of other internal
  3127. interpreter procedures.
  3128. - scan_number now does not mark the result as new.
  3129. - The _param_list_read/write procedures now take an additional
  3130. gs_ref_memory_t * parameter.
  3131. - It is no longer possible to store pointers to the interpreter's
  3132. allocator group (gs_dual_memory_t) in structures or variables across a
  3133. garbage collection.
  3134. - The save_level instance variable is moved from gs_dual_memory_t
  3135. to gs_ref_memory_t.
  3136. - op_show_finish_setup can now fail.
  3137. - fname.h is renamed gsfname.h; the procedure names and parameters
  3138. for %device%name file names are changed.
  3139. - gx_imager_stroke_add now takes an additional argument; a NULL
  3140. value for the device argument of gx_stroke_path_only is no longer valid.
  3141. - gx_make_clip_translate_device now takes a memory parameter, and no
  3142. container parameter; gx_make_clip_device no longer takes a container
  3143. parameter; gx_mask_clip_initialize and tile_clip_initialize now take a
  3144. memory parameter.
  3145. </pre><h3><a name="5.85_Documentation"></a>Documentation</h3><pre>
  3146. Fixes problems:
  3147. - The language documentation still referred to outside clipping.
  3148. (doc/Language.htm)
  3149. Documents the new curve join graphics state parameter. (doc/Language.htm)
  3150. Documents the fact that the OutputFile device parameter now supports the
  3151. %device%file syntax. (gp.h, doc/Use.htm)
  3152. Documents the licensing problems related to GNU readline. (int.mak,
  3153. unix-gcc.mak, gp_gnrdl.c)
  3154. </pre><h3><a name="5.85_Procedures"></a>Procedures</h3><pre>
  3155. Fixes problems:
  3156. - The bmpa devices needed gdevppla. (bug introduced in 5.84)
  3157. (devs.mak)
  3158. - The bmpa devices were accidentally included in the DEVICE_DEVS
  3159. setting in the distributed fileset. (unix-gcc.mak)
  3160. - msvclib.mak was missing some definitions. (msvclib.mak)
  3161. Adds a CC_NO_WARN macro for those few files that produce tons of warnings
  3162. that we can't work around. (bcwin32.mak, dvx-gcc.mak, msvccmd.mak,
  3163. openvms.mak, openvms.mmk, os2.mak, ugcclib.mak, unix-gcc.mak, unixansi.mak,
  3164. unixtrad.mak, watcw32.mak, wccommon.mak, devs.mak, lib.mak, zlib.mak)
  3165. Adds version.mak to msvclib.mak, so library clients can track the version.
  3166. (msvclib.mak)
  3167. </pre><h3><a name="5.85_Utilities"></a>Utilities</h3><pre>
  3168. Fixes problems:
  3169. - -replace didn't work if it was the last item of a module
  3170. description. (genconf.c)
  3171. </pre><h3><a name="5.85_Drivers"></a>Drivers</h3><pre>
  3172. Fixes problems:
  3173. - CCITTFax-compressed bitmaps sometimes used both a Rows value and
  3174. an end-of-block indicator, which some PostScript implementations don't
  3175. handle properly. (gdevpsdf.h, gdevps.c, gdevpsdf.c)
  3176. Removes an unused procedure and macro. (gdevlj56.c)
  3177. </pre><h3><a name="5.85_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  3178. Fixes problems:
  3179. - The interpreter cached objects even if the reference had the wrong
  3180. generation number, causing errors if a correct reference occurred later.
  3181. (lib/pdf_base.ps)
  3182. - Embedded TrueType fonts using the Macintosh encoding sometimes
  3183. caused an error. (lib/gs_ttf.ps)
  3184. </pre><h3><a name="5.85_Interpreter"></a>Interpreter</h3><pre>
  3185. Fixes problems:
  3186. - Multiple contexts were broken (probably since 5.80). Fixing this
  3187. required adding a parameter to context_state_alloc, to provide systemdict.
  3188. (icontext.h, icontext.c, interp.c)
  3189. - setpagedevice didn't accept the 4-element PageSize values that
  3190. appear in the InputAttributes dictionary. (zmedia2.c)
  3191. - BuildChar/BuildGlyph was "short circuited" even in some cases
  3192. where it wasn't safe to do so. (ichar.h, zchar.c, zcharout.c)
  3193. - The show operators didn't properly handle the special case of
  3194. executing within a cshow procedure. (ichar.h, zcfont.c, zchar.c, zcharx.c)
  3195. - The -dDOINTERPOLATE switch had gotten broken somehow.
  3196. (lib/gs_init.ps)
  3197. - The is_identity flag wasn't properly cleared when loading cached
  3198. CIE mapping values, causing incorrect output. (zcie.c)
  3199. Removes the writable static for the context scheduler. (zcontext.c)
  3200. Removes the writable static for the interpreter's group of allocators
  3201. (gs_imemory). This too turned out to be a massive change with many
  3202. NON-BACKWARD-COMPATIBLE changes required in internal procedures. (bfont.h,
  3203. files.h, fname.h, ialloc.h, ifunc.h, imemory.h, interp.h, iparam.h,
  3204. iparray.h, ipcolor.h, isave.h, iscannum.h, istack.h, istream.h, iutil.h,
  3205. store.h, ialloc.c, icontext.c, idebug.c, idict.c, iinit.c, imain.c,
  3206. imainarg.c, interp.c, iparam.c, ireclaim.c, isave.c, iscan.c, iscanbin.c,
  3207. iscannum.c, isstate.h, istack.c, iutil.c, zarray.c, zbfont.c, zcontext.c,
  3208. zdict.c, zfname.c, zdps.c, zdps1.c, zfcmap.c, zdict.c, zfile.c, zfilter.c,
  3209. zfont.c, zfont0.c, zfproc.c, zfreuse.c, zfunc.c, zfunc0.c, zfunc3.c,
  3210. zgeneric.c, zht2.c, ziodev.c, ziodev2.c, zpacked.c, zpcolor.c, zshade.c,
  3211. zupath.c, zvmem.c)
  3212. Adds a gs_memory_t * argument to obj_cvp. This is part of the work for
  3213. removing the gs_imemory static: we note it separately because it affects
  3214. code beyond the interpreter. (iutil.h, gp_gnrdl.c, iutil.c, zfileio.c)
  3215. Updates interpreter code for the addition of new_mask, test_mask, and
  3216. save_level to gs_ref_memory_t, and the removal of save_level from
  3217. gs_dual_memory_t. (ialloc.h, ialloc.c, isave.c)
  3218. Adds a gs_ref_memory_t * argument to all the _param_list_read/write
  3219. procedures. (iparam.h, iparam.c, zcrd.c, zdevice.c, zfdctd.c, zfdcte.c,
  3220. zfdecode.c, zfilter2.c, ziodev2.c, zusparam.c)
  3221. Changes the hack in file_alloc_stream that determines whether a gs_memory_t
  3222. * is actually a gs_ref_memory_t *. The former code tested specifically
  3223. whether the allocator was one of the current interpreter allocators; the new
  3224. code simply tests the procedure vector. We aren't 100% sure that this
  3225. change will work reliably. (zfile.c)
  3226. Factors common code out of isave.h and store.h. (idosave.h, isave.h,
  3227. store.h)
  3228. Removes the reclaim_data member of gs_dual_memory_t, since it is no longer
  3229. useful. (imemory.h, ialloc.c, ireclaim.c)
  3230. Makes the default InputAttributes and OutputAttributes elements of page
  3231. device dictionaries writable and (if possible) allocated in local VM, to
  3232. work around bugs in the output of Word Perfect. (lib/gs_setpd.ps)
  3233. Modifies the interpreter's error printout to indicate whether dictionaries
  3234. on the stack(s) are writable. (lib/gs_init.ps)
  3235. Moves support for %device%name file naming into the library. (fname.h,
  3236. zfile.c, zfname.c [deleted])
  3237. Adds interpreter support for the new curve join graphics state parameter.
  3238. (zgstate.c)
  3239. </pre><h3><a name="5.85_Library"></a>Library</h3><pre>
  3240. Fixes problems:
  3241. - bbox_fill_path device didn't interact with compositors correctly.
  3242. (This problem had no practical effect.) (gdevbbox.c)
  3243. - kshow didn't check for CID fonts. (gschar.c)
  3244. - The bbox and ImageType 3 image enumerators had incorrect GC
  3245. descriptors, possibly causing memory-related crashes. (gsstruct.h,
  3246. gdevbbox.c, gximage3.c)
  3247. - gx_make_clip_[translate_]device took an obsolete container
  3248. parameter. (gxcpath.h, gsshade.c, gxccache.c, gxfill.c, gxstroke.c)
  3249. - Non-transient clipping devices were used for image clipping, but
  3250. the API didn't support creating them. (gxcpath.h, gxclip.c, gximage3.c,
  3251. gxipixel.c)
  3252. - Some devices were created without setting their memory member,
  3253. which caused the GC not to trace pointers to them. (gxmclip.h, gxclip2.h,
  3254. gxclip2.c, gximage3.c, gxmclip.c, gxp1fill.c)
  3255. - The bbox device didn't handle ImageType 3 images correctly.
  3256. (gdevbbox.c)
  3257. - When the bbox device passed a stroke operation to the library, it
  3258. didn't pass the device, causing absolute-length dots to render incorrectly.
  3259. Fixing this required adding a device parameter to the gx_imager_stroke_add
  3260. procedure. (gxpaint.h, gdevbbox.c, gxpaint.c)
  3261. - The counter control OtherSubrs (12 and 13) weren't implemented.
  3262. (This probably had no effect.) (gstype1.c)
  3263. - Type 1 stem hints with negative widths didn't work properly.
  3264. (gxhint2.c)
  3265. - The debugging output for hintmask and cntrmask printed the vstem
  3266. and hstem counts in the wrong order. (gstype2.c)
  3267. - If the value of the OutputFile device parameter was too long,
  3268. the result could be memory corruption rather than a rangecheck error.
  3269. (gsdevice.c)
  3270. - The dash pattern pointer in the saved imager state of a band list
  3271. writer could point inside the writer structure, confusing the garbage
  3272. collector. (gxclist.h, gxclpath.c)
  3273. Adds new_mask, test_mask, and save_level instance variables to
  3274. gs_ref_memory_t. This too is part of the gs_imemory work: we note it
  3275. separately because it is the only piece of this work that affects the
  3276. library. (gxalloc.h, gsalloc.c)
  3277. Makes cntrmask at the beginning of a charstring act like vstemhm + cntrmask,
  3278. as with hintmask. This is not documented, but we see it used this way in
  3279. Type 2 CharStrings. (gstype2.c)
  3280. Cleans up formatting and macros. (gp.h)
  3281. Speeds up the bounding box device by skipping path filling if the entire
  3282. path falls within the already-accumulated bounding box, and by defining the
  3283. device as 8-bit gray to avoid halftone computation. (gdevbbox.c)
  3284. Adds a procedure, gs_show_use_glyph, for implementing the show-in-cshow
  3285. hack. (gschar.h, gschar.c)
  3286. Moves support for %device%file file naming into the library. (lib.mak,
  3287. gsfname.h, gxiodev.h, gdevpipe.c, gsfname.c)
  3288. Makes the OutputFile device parameter recognize %device%file syntax, as well
  3289. as "-" and (on platforms that support pipes) |command. (gp.h, gxdevice.h,
  3290. gdevprn.c, gsdevice.c, gp_unix.c)
  3291. Adds a separate graphics state parameter to indicate how to treat joins
  3292. between segments of a flattened curve, for compatibility with Adobe
  3293. interpreters (which apparently always use bevel joins). (gsline.h,
  3294. gxclpath.h, gxline.h, gsline.c, gsstate.c, gxclpath.c, gxclrast.c,
  3295. gxstroke.c)
  3296. Changes code slightly, introducing an unnecessary assignment, in order to
  3297. suppress a compiler warning. (gxclpath.c)
  3298. Tweaks the CIE_LOAD_CACHE_BODY macro slightly. (gscie.c)
  3299. </pre>
  3300. <hr>
  3301. <h2><a name="Version5.84"></a>Version 5.84 (tester) (5/19/99)</h2>
  3302. <p>
  3303. This fileset completes the implementation of planar rendering, and fixes a
  3304. few more bugs, some of them surprisingly old.
  3305. <h3><a name="5.84_Incompatible_changes"></a>Incompatible changes</h3><pre>
  3306. (Drivers)
  3307. - The dopath vector device implementation procedure was changed to
  3308. take an optional matrix argument.
  3309. (Library)
  3310. - The internal memory__need_ macros are changed to upper case.
  3311. </pre><h3><a name="5.84_Procedures"></a>Procedures</h3><pre>
  3312. Fixes problems:
  3313. - There was a duplicate entry for GENINIT_XE in the Watcom makefile.
  3314. (wctail.mak)
  3315. Adds the duplex-capable LaserJet drivers (ljet3d and ljet4d) to all standard
  3316. configurations. (bcwin32.mak, dvx-gcc.mak, msvc32.mak, openvms.mak,
  3317. openvms.mmk, os2.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak, watc.mak,
  3318. watcw32.mak)
  3319. Adds a PROFILE compilation switch, similar to DEBUG, to work around the fact
  3320. that gprof under Linux doesn't count time in memset, memcpy, or other C
  3321. library procedures. PROFILE will substitute our own versions of memset,
  3322. memcpy, and memmove. Currently, this switch is supported only on Unix.
  3323. (unix-end.mak)
  3324. Defines a new makefile macro, SYNC, that gives the module name for thread /
  3325. synchronization facilities; makes async.dev include this module. This is
  3326. posync on Unix and VMS platforms, winsync on MS Windows and OS/2 platforms.
  3327. (bcwin32.mak, dvx-gcc.mak, lib.mak, msvc32.mak, msvclib.mak, openvms.mak,
  3328. openvms.mmk, os2.mak, ugcclib.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak,
  3329. watc.mak, watclib.mak, watcw32.mak)
  3330. Splits off the rules common to the 3 Windows makefiles (watc, watclib,
  3331. winlib) into a separate file, defining new modules winplat.dev and
  3332. winsync.dev. (watc.mak, watclib.mak, winlib.mak, winplat.mak)
  3333. Removes -Wcast-align from the gcc switches, since this produces huge numbers
  3334. of warnings that we will certainly never get rid of. (unix-gcc.mak)
  3335. </pre><h3><a name="5.84_Utilities"></a>Utilities</h3><pre>
  3336. Enhances the ps2pdf script with a patch contributed by Jim Avera
  3337. (avera@fjst.com) so that it can be used as a pipe by specifying "-" for the
  3338. input and/or output file. (lib/ps2pdf)
  3339. Modifies ps2ascii to handle landscape pages better. (lib/ps2ascii.ps)
  3340. </pre><h3><a name="5.84_Drivers"></a>Drivers</h3><pre>
  3341. Fixes problems:
  3342. - PDF output that used Pattern colors on more than one page failed
  3343. to include the color space resource in the resource dictionaries of pages
  3344. other than the first. (gdevpdf.c)
  3345. - The PDF writer emitted bitmap patterns inverted in Y.
  3346. (gdevpdfi.c)
  3347. - The PCL XL driver's GC descriptor had become incorrect, causing
  3348. crashes. (gdevpx.c)
  3349. - The pdfwrite driver could still emit coordinates too large for
  3350. Acrobat Reader to handle, for stroked lines with an unusual CTM.
  3351. (gdevpdfd.c)
  3352. - The pxl drivers emitted invalid output for dashed lines.
  3353. (gdevpx.c)
  3354. - The [e]pswrite and pxl drivers scaled line widths and dash
  3355. patterns incorrectly. Fixing this properly involved refactoring the
  3356. handling of scaling for paths, and removing gdev_vector_stroke_path.
  3357. (gdevpsdf.h, gdevvec.h, gdevpdfd.c, gdevps.c, gdevpsdf.c, gdevpx.c,
  3358. gdevvec.c)
  3359. - The lj5 drivers didn't pad images to a multiple of 4 bytes per
  3360. scan line, producing invalid PCL XL output. (We don't see how they could
  3361. ever have worked, in fact.) (gdevpcl.h, gdevlj56.c, gdevpcl.c)
  3362. Adds a user-contributed driver for the DEClaser 2100. This is a GPL'ed
  3363. driver. (contrib.mak, gnu/src/gdevln03.c)
  3364. Makes the UsePlanarBuffer parameter, and planar buffering capability, from
  3365. the PPM devices available to general printer devices, but in a separate
  3366. module to avoid making all printer devices require gdevmpla.c. (gdevppla.h,
  3367. gdevpbm.c, gdevppla.c)
  3368. Adds a UsePlanarBuffer parameter to the async BMP drivers, for testing.
  3369. (gdevbmpa.c)
  3370. Removes the comment about the instability of the "vector" driver interface.
  3371. (gdevvec.h, gdevvec.c)
  3372. </pre><h3><a name="5.84_Platforms"></a>Platforms</h3><pre>
  3373. Splits off the Windows thread and synchronization primitives into a new file
  3374. and a new module, winsync.dev. (watc.mak, watclib.mak, winlib.mak,
  3375. gp_win32.c, gp_wsync.c)
  3376. </pre><h3><a name="5.84_Interpreter"></a>Interpreter</h3><pre>
  3377. Fixes problems:
  3378. - As usual, gcc failed to flag some signed/unsigned char mismatches.
  3379. (gp_gnrdl.c, iutil.c)
  3380. Moves the indexed color space cache lookup procedure from the interpreter to
  3381. the library. (zcsindex.c)
  3382. </pre><h3><a name="5.84_Streams"></a>Streams</h3><pre>
  3383. Fixes problems:
  3384. - If a 2-D CCITTFax stream ended with 1 or 2 "vertical 0" codes,
  3385. those codes would be ignored. (scfd.c)
  3386. </pre><h3><a name="5.84_Library"></a>Library</h3><pre>
  3387. Fixes problems:
  3388. - gsnogc.h contained an extern for gs_gc_reclaim rather than for
  3389. gs_nogc_reclaim. (gsnogc.h)
  3390. - Banded images in Indexed color spaces rendered incorrectly.
  3391. (gximage.c)
  3392. - A function declared some arguments as float rather than floatp.
  3393. (gshtx.h, gshtx.c)
  3394. - As usual, gcc failed to flag some public/private mismatches.
  3395. (gdevmrun.c)
  3396. - The tracing output for monobit images printed 8 bits per pixel
  3397. rather than 1 bit per pixel. (gxidata.c)
  3398. - A Pn macro was used in a header file that didn't include stdpre.h.
  3399. (gscdefs.h, gconf.c, genht.c, gxhtbit.c, gxclrast.c)
  3400. - get_bits_rectangle for the planar memory device didn't flush the
  3401. last byte of each row. (gdevmpla.c)
  3402. - When banding, Indexed color spaces using a procedure rather than a
  3403. lookup table caused a crash. (gxcolor2.h, gscolor2.c, gxclrast.c)
  3404. - When filling a region with a Pattern with a rotated matrix, some
  3405. parts of the region could be missed. (bug introduced by a fix in 5.38)
  3406. (gxp1fill.c)
  3407. When compiling with gcc, replaces inline with __inline__ to get rid of a
  3408. potential warning. (stdpre.h)
  3409. Adds our own implementations of memset, memcpy, and memmove, to work around
  3410. the fact that gprof under Linux doesn't count time in C library procedures.
  3411. (memory_.h, string_.h, gsmisc.c)
  3412. Finishes implementing planar rendering for printer / banded devices.
  3413. (gdevprn.h, gxclist.h, gxdevbuf.h, gdevprn.c, gxclread.c)
  3414. </pre>
  3415. <hr>
  3416. <h2><a name="Version5.83"></a>Version 5.83 (tester) (5/13/99)</h2>
  3417. <p>
  3418. This fileset was driven mostly by commercial licensee demands; it doesn't
  3419. fix most of the problems reported in 5.82. It features smaller threshold
  3420. halftones, the ability to store halftones in ROM, and a nearly complete
  3421. implementation of a planar memory device.
  3422. <p>
  3423. Items pushed off to the next fileset:
  3424. <ul>
  3425. <li> - Finish multi-planar band buffers (requires changing
  3426. gdev_prn_render_lines to be based on memory devices rather than buffer
  3427. pointers).
  3428. <li> - For Adobe compatibility, change stroking so that it always
  3429. uses
  3430. bevel joins between the segments of a curve (this directly contradicts the
  3431. Red Book, but it's what Adobe interpreters do).
  3432. <li> - Implement an IdiomSet for Corel Draw fountain fills?
  3433. (idioms.ps)
  3434. <li> - Change shading so it doesn't install a clip device (make this
  3435. a
  3436. driver procedure instead), because that prevents clist_fill_path from being
  3437. called.
  3438. </ul>
  3439. <h3><a name="5.83_Incompatible_changes"></a>Incompatible changes</h3><pre>
  3440. (Interpreter)
  3441. - The spaces.indexed member of a vm_spaces structure has been
  3442. renamed spaces_indexed (a macro).
  3443. - The gs_reclaim procedure is changed to a macro, GS_RECLAIM.
  3444. (Library)
  3445. - The bits member of a halftone order is now called bit_data, and is
  3446. opaque; halftone orders are now "objects"; gx_ht_alloc_[ht_]order now take
  3447. an additional argument.
  3448. - The architectural values in arch.h are now all upper-case.
  3449. (std.h defines lower-case synonyms for backward compatibility.)
  3450. - The buffer device procedures for printer devices are now collected
  3451. in a structure; this also changes the parameters of clist_init_params.
  3452. - The parameters of the buffered device setup_buf_device procedure
  3453. are changed.
  3454. - gx_path_copy_reducing now takes an additional argument, an imager
  3455. state, for flattening stroked paths.
  3456. - Memory devices now must be created by copying a prototype device,
  3457. rather than by initializing individual members, even if they are only being
  3458. used for limited purposes.
  3459. </pre><h3><a name="5.83_Documentation"></a>Documentation</h3><pre>
  3460. Documents the new facility for compiled halftones, and the old one for
  3461. compiling initialization files. (doc/Make.htm)
  3462. </pre><h3><a name="5.83_Utilities"></a>Utilities</h3><pre>
  3463. Adds a utility for compiling halftones into the executable. Also defines
  3464. the dependency lists for the auxiliary programs in lib.mak and int.mak,
  3465. rather than replicating them for every platform. (bcwin32.mak,
  3466. dvx-tail.mak, gs.mak, int.mak, lib.mak, msvctail.mak, openvms.mak,
  3467. openvms.mmk, os2.mak, unix-aux.mak, wctail.mak, genht.c)
  3468. Adds support for halftone "resources" in the makefile. (genconf.c)
  3469. Adds code to determine the primary and secondary CPU cache sizes
  3470. empirically. (genarch.c)
  3471. Changes the architecture definition macros from lower to upper case, with
  3472. lower-case synonyms in std.h for backward compatibility. (gsjconf.h, std.h,
  3473. genarch.c)
  3474. Changes the ps2ai utility so that jtxt3 can be set from the command line, to
  3475. allow pstoedit to generate AI3-compatible output. (lib/ps2ai.ps)
  3476. </pre><h3><a name="5.83_Procedures"></a>Procedures</h3><pre>
  3477. Adds some optional library modules to the base library compilation list, so
  3478. that compilation errors won't slip through. (lib.mak)
  3479. </pre><h3><a name="5.83_Interpreter"></a>Interpreter</h3><pre>
  3480. Fixes problems:
  3481. - A change from char to byte needed to be undone (gcc didn't catch
  3482. this). (iutil.c)
  3483. Adds a 167x167 stochastic halftone that CalComp put in the public domain.
  3484. (lib/ht_ccbnm.ps, int.mak, unixinst.mak)
  3485. Updates the interpreter for the change to per-VM-spaces garbage collection.
  3486. (igc.h, ialloc.c, icontext.c, igc.c, ilocate.c, imain.c, interp.c,
  3487. ireclaim.c, isave.c, zfile.c, zht.c, zht1.c, zht2.c)
  3488. Updates places that only use gsstruct.h for extern_st to use gsstype.h
  3489. instead. (icontext.h, ifont.h)
  3490. </pre><h3><a name="5.83_Library"></a>Library</h3><pre>
  3491. Fixes problems:
  3492. - Some types needed updating to reflect the change in the string
  3493. freelists. (gsalloc.c, gsnogc.c)
  3494. - clip_copy_color didn't initialize some variables in the fastest
  3495. case. (bug probably introduced in 5.83) (gxclip.c)
  3496. - The fit_fill_ and fit_copy_ macros didn't always parenthesize
  3497. their dev argument. (gxdevice.h)
  3498. - The sample_load macros returned the wrong results for depth 1 and
  3499. 2. Amazingly enough, it appears that this case had never been used.
  3500. (gsbitops.h)
  3501. - The standard allocator would free chunks even if is_controlled was
  3502. true. (gsalloc.c)
  3503. - Stroking drew semicircles rather than full circles for round
  3504. joins. (gxstroke.c)
  3505. - The calculation of how finely to sample a curve to achieve a
  3506. particular flatness didn't take line width into account when stroking (the
  3507. flatness has to apply to the outside of the stroked curve). (gxpath.h,
  3508. gxpcopy.c, gxstroke.c)
  3509. Speeds up the bbox device a little. (gdevbbox.c)
  3510. Speeds up the most common cases of clipping a little. (gxclip.h,
  3511. gxacpath.c, gxclip.c)
  3512. Makes halftone orders more "object-oriented", so we can use an alternate
  3513. representation that trades time for space. This requires a
  3514. NON-BACKWARD-COMPATIBLE CHANGE in the gx_ht_order structure and the
  3515. arguments of gx_ht_alloc_[ht_]order. (gxcldev.h, gxdht.h, gzht.h, gsht.c,
  3516. gsht1.c, gshtscr.c, gshtx.c, gsistate.c, gxcht.c, gxclimag.c, gxclrast.c,
  3517. gxht.c, gxhtbit.c)
  3518. Makes it possible to compile-in halftone threshold arrays and orders (e.g.,
  3519. in ROM) so they don't take up RAM at execution time. (gscdefs.h, gxdht.h,
  3520. gxdhtres.h, gzht.h, gconf.c, gsht.c, gsht1.c, gxclrast.c, gxhtbit.c)
  3521. Adds some statistics to the 24-bit memory device (in DEBUG mode only, as
  3522. usual). (gdevm24.c)
  3523. Makes the 24-bit memory device optionally use memcpy for wide rectangle
  3524. fills. We thought this got us a factor of 3 speedup on a Pentium with gcc's
  3525. library, but it turned out to be a profiler artifact. (gdevm24.c)
  3526. Cleans up some formatting. (gxclip.h)
  3527. Dusts off the run-length-encoded memory device, changing it so it reverts to
  3528. the unencoded representation when necessary. This code hasn't been tested,
  3529. and is not currently used. (gdevmrun.h, gdevrun.c [deleted], gdevmrun.c)
  3530. Adds more statistics to the clipping device. (gxclip.c)
  3531. Adds an implementation of the MD5 Algorithm defined in RFC 1321, derived
  3532. directly from the text of the RFC and not from the reference implementation.
  3533. This code uses the zlib license, which is more liberal than the Aladdin or
  3534. GNU licenses. (md5.h, md5.c)
  3535. Finishes implementing the planar memory device, including generalizing it to
  3536. store varying numbers of bits per plane rather than 1 bit per plane.
  3537. (gdevmem.h, gdevmpla.h, gxdevmem.h, gdevmem.c, gdevmpla.c)
  3538. Updates clients to initialize memory devices more fully, now required to
  3539. distinguish chunky from planar devices. (gxpcmap.c)
  3540. Mostly implements enhancing printer / banded devices so they can use a
  3541. planar memory device for rendering and/or band buffering. The code
  3542. currently works only in the non-banded case. (gdevprn.h, gxclist.h,
  3543. gxdevbuf.h, gxdevcli.h, gdevprn.c, gxclist.c, gxclread.c)
  3544. For testing, adds a -dUsePlanarBuffer=&lt;boolean&gt; parameter to the PPM devices
  3545. to make them use a planar memory device. (gdevpbm.c)
  3546. Cleans up some code formatting. (gdevmem.c)
  3547. Makes the garbage collection procedure separately settable for each group of
  3548. VM spaces. (In an environment with "async" rendering, the renderer has its
  3549. owm VM space group.) Unfortunately, this involved a NON-BACKWARD-COMPATIBLE
  3550. change in the vm_spaces structure. (gsgc.h, gsnogc.h, gsnogc.c)
  3551. Updates a client for the change in gs_reclaim; also makes the renderer
  3552. thread use the non-tracing garbage collector. (gdevprna.c)
  3553. Updates the non-tracing GC to reflect its role as a garbage collection
  3554. procedure in a vm_spaces. (gsnogc.c)
  3555. Enhances the non-tracing GC so that if a chunk ever contains no strings, the
  3556. string marking area reserved for the tracing GC is added to free space.
  3557. (gxalloc.h, gsalloc.c, gsnogc.c)
  3558. Changes the font cache allocator to use a different structure descriptor for
  3559. its data so that memory dumps will show "font cache bytes" rather than just
  3560. "bytes". (gxccman.c)
  3561. Splits gsstruct.h into gsstype.h, which contains enough of the definition of
  3562. structure type descriptors to support extern_st, and gsstruct.h, which is
  3563. needed to actually define structure types. (gsstruct.h, gsstype.h,
  3564. gxfmap.h)
  3565. Updates places that only use gsstruct.h for extern_st to use gsstype.h
  3566. instead. (gsbitmap.h, gsccolor.h, gscie.h, gxfont.h, gzpath.h, scommon.h,
  3567. gscdevn.c, gscrd.c, gscrdp.c, gsshade.c, gxpath2.c)
  3568. </pre>
  3569. <hr>
  3570. <h2><a name="Version5.82"></a>Version 5.82 (tester) (4/24/99)</h2>
  3571. <p>
  3572. This fileset fixes a few odds and ends, removes a couple more writable
  3573. statics, and improves performance in a couple of areas.
  3574. <h3><a name="5.82_Incompatible_changes"></a>Incompatible changes</h3><pre>
  3575. (Interpreter)
  3576. - dict_uid_param now takes an additional argument, the interpreter
  3577. context pointer.
  3578. - obj_cvp now takes a stream rather than a string.
  3579. </pre><h3><a name="5.82_Documentation"></a>Documentation</h3><pre>
  3580. Documents the -dGraphicsAlphaBits and -dTextAlphaBits switches; reorganizes
  3581. the documentation of the -d/-s switches by function. (doc/Use.htm)
  3582. </pre><h3><a name="5.82_Procedures"></a>Procedures</h3><pre>
  3583. Fixes problems:
  3584. - Building with MSVC didn't work if COMPILE_INITS was selected.
  3585. (msvctail.mak)
  3586. - The cp script didn't work on all MS-DOS systems, since the systems
  3587. are incompatible with each other in undocumented ways. (cp.bat)
  3588. - Using ^ in a command line failed on Windows 98. (wccommon.mak)
  3589. - Watcom compilation under Windows NT didn't include some needed
  3590. headers. (wccommon.mak)
  3591. - The Watcom compiler's quoting requirements were inconsistent.
  3592. (gs.mak)
  3593. - GLCCWIN was used without being defined. The MS DOS/Windows
  3594. makefiles really are a tangled mess.... (watc.mak)
  3595. - The build directories didn't get created automatically when
  3596. compiling with the Watcom compiler. (watc.mak)
  3597. Adds more optimization switches for Watcom compilation. (wccommon.mak)
  3598. </pre><h3><a name="5.82_Utilities"></a>Utilities</h3><pre>
  3599. Adds a pfbtopfa script. (unixinst.mak, lib/pfbtopfa, lib/pfbtopfa.bat,
  3600. lib/pfbtopfa.ps)
  3601. </pre><h3><a name="5.82_Drivers"></a>Drivers</h3><pre>
  3602. Fixes problems:
  3603. - "Vector" drivers (currently only the PCL XL driver) filled
  3604. polygons incorrectly. (gdevvec.c)
  3605. - The PCL XL drivers produced incorrect output for images. (We
  3606. can't understand how they ever could have worked.) (gdevpx.c)
  3607. - The PCL XL drivers skipped blank pages. (gdevpx.c)
  3608. - The page origin for the clj driver was set incorrectly. (fix from
  3609. Artifex) (gdevclj.c)
  3610. - The map_color_rgb procedure for the 32-bit CMYK bmp device was
  3611. wrong, causing RasterOps to produce incorrect output. (fix from Artifex)
  3612. (gdevbmp.c)
  3613. Works around a bug in Acrobat Reader's Print command, by changing the
  3614. scaling for bitmap patterns. (gdevpdfi.c)
  3615. Cleans up some formatting and macros. (gdevpx.c)
  3616. Factors out some common parameter-putting utilities. (gdevpsdf.h,
  3617. gdevpdfp.c, gdevpsdp.c)
  3618. </pre><h3><a name="5.82_Platforms"></a>Platforms</h3><pre>
  3619. Fixes problems:
  3620. - The DLL code "knew" it could only be compiled on Windows and OS/2
  3621. platforms. (gsdll.c)
  3622. Removes a Mac-specific file that is now moved to the Mac-specific archive.
  3623. (gsdllmac.h [deleted])
  3624. </pre><h3><a name="5.82_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  3625. Fixes problems:
  3626. - An invalidaccess could occur when repositioning the file after
  3627. executing an image XObject. (lib/pdf_draw.ps)
  3628. - Indexed color spaces gave an error if the underlying space was
  3629. represented as a name rather than an array. (bug introduced in 5.80)
  3630. (lib/pdf_draw.ps)
  3631. </pre><h3><a name="5.82_Interpreter"></a>Interpreter</h3><pre>
  3632. Fixes problems:
  3633. - The interpreter reentrancy changes broke the GNU readline
  3634. interface. (gp_gnrdl.c, ziodev.c)
  3635. - The TrappingType resource category wasn't defined.
  3636. (lib/gs_res.ps, lib/gs_trap.ps)
  3637. - CIE color spaces in shading patterns didn't work. (lib/gs_ll3.ps)
  3638. - Printing a string of more than 200 characters with == was broken.
  3639. Fixing this required a NON-BACKWARD-COMPATIBLE change in the argument list
  3640. of obj_cvp. (bug introduced in 5.80) (iutil.h, gp_gnrdl.c, idebug.c,
  3641. iutil.c, zfileio.c)
  3642. Changes the interpreter trace output to be somewhat more readable.
  3643. (interp.c)
  3644. Makes the linking of the binary token scanning procedure static rather than
  3645. dynamic. (int.mak, inobtokn.c, iscan.c, zbseq.c)
  3646. Makes the language level a property of the context, eliminating a writable
  3647. static. (icstate.h, idparam.h, ilevel.h, icontext.c, idparam.c, iinit.c,
  3648. interp.c, zcontext.c, zmisc2.c)
  3649. Updates clients for the change in dict_uid_param. (zbfont.c, zfcmap.c,
  3650. zpcolor.c, zshade.c)
  3651. </pre><h3><a name="5.82_Library"></a>Library</h3><pre>
  3652. Fixes problems:
  3653. - There was a signed/unsigned char * mismatch. (sfxfd.c)
  3654. - Some very picky compilers complained inappropriately about a
  3655. const/non-const mismatch. (gxcht.c)
  3656. - The format of the string freelists didn't allow chunks with more
  3657. than 64K bytes of string area. (gxalloc.h, gsnogc.c)
  3658. Moves the interface definitions for the memory dump debugging code into a
  3659. header file. (gxalloc.h, gsalloc.c)
  3660. Makes the standard memory manager recognize more effectively when it can
  3661. reset the high-water mark for occupied space in the current chunk. This
  3662. turns out to make a big difference in preventing sandbars. (gxalloc.h,
  3663. gsalloc.c)
  3664. Makes clipping lists keep track of their minimum and maximum X values, so
  3665. that they can return accurate outer clipping boxes, which in turn allows
  3666. more effective pre-clipping of filled regions. (gxcpath.h, gxacpath.c,
  3667. gxclip.c, gxcpath.c)
  3668. Makes clipping devices cache their clipping box, so they can return it
  3669. quickly. (gxcpath.h, gxclip.c)
  3670. Makes the colored halftone logic check bounding boxes before running the
  3671. expensive algorithms. This improves performance dramatically for some files
  3672. without costing much for the rest. (gxcht.c)
  3673. Adds some more debugging printout for clipping lists. (gxcpath.c)
  3674. Cleans up formatting and macros. (gdevdflt.c, gdevhit.c, gdevnfwd.c)
  3675. Factors out some common parameter-putting utilities. (gsparamx.h,
  3676. gsparamx.c, gstrap.c)
  3677. Adds some more tracing output for images. (gxidata.c)
  3678. </pre>
  3679. <hr>
  3680. <h2><a name="Version5.81"></a>Version 5.81 (tester) (4/14/99)</h2>
  3681. <p>
  3682. This fileset cleans up most of the bug tail from 5.80, but it doesn't fix
  3683. all the reported problems. It also factors out the platform-specific DLL
  3684. calls, and extends the DLL API to the Mac.
  3685. <h3><a name="5.81_Incompatible_changes"></a>Incompatible changes</h3><pre>
  3686. (Platforms)
  3687. - gsdll_get_bitmap is now defined in gsdllos2.h; gsdll_copy_dib,
  3688. _copy_palette, _draw, and _get_bitmap_row are now defined in gsdllwin.h.
  3689. (Interpreter)
  3690. - zcolor_remap_one may return 0 rather than o_push_estack. (This
  3691. change actually occurred in 5.80, but was not documented.)
  3692. (Library)
  3693. - The initialized parameters of an image scaling filter are now
  3694. stored in a subsidiary structure.
  3695. - The names max_support and log2_max_support are changed to
  3696. MAX_ISCALE_SUPPORT and LOG2_MAX_ISCALE_SUPPORT.
  3697. - The structure definition for the smoothed image scaling filter is
  3698. now private, although its descriptor remains public.
  3699. - The criteria for when to use Interpolate are now more stringent.
  3700. </pre><h3><a name="5.81_Procedures"></a>Procedures</h3><pre>
  3701. Fixes problems:
  3702. - gs_trap.ps wasn't installed by `make install'. (unixinst.mak)
  3703. - A semicolon was missing in one definition of GS_LIB_DEFAULT.
  3704. (watc.mak)
  3705. - ll.tr and _temp_.tr weren't created in the obj directory.
  3706. (watc.mak, wctail.mak)
  3707. - RM_ was defined incorrectly on one platform. (wccommon.mak)
  3708. </pre><h3><a name="5.81_Utilities"></a>Utilities</h3><pre>
  3709. Makes some minor edits in ansi2knr, contributed by a user, to remove gcc
  3710. warnings. (ansi2knr.c)
  3711. </pre><h3><a name="5.81_Drivers"></a>Drivers</h3><pre>
  3712. Fixes problems:
  3713. - There was an int/uint mismatch. (gdevbmpa.c)
  3714. - There was a const/non-const mismatch. (gdevbmpa.c)
  3715. Changes the p*m drivers so that they use the default color mapper when
  3716. possible, speeding up execution. (gdevpbm.c)
  3717. </pre><h3><a name="5.81_Fonts"></a>Fonts</h3><pre>
  3718. Adds Black as indicating that a bold font should be substituted if
  3719. necessary. (lib/gs_fonts.ps)
  3720. </pre><h3><a name="5.81_Platforms"></a>Platforms</h3><pre>
  3721. Fixes problems:
  3722. - The Watcom NT compiler implements setmode and fileno but not
  3723. _setmode and _fileno. (gp_ntfs.c)
  3724. - The procedure parameter passed to the Windows _beginthread
  3725. procedure had the wrong prototype. (gp_win32.c)
  3726. - Watcom's _beginthread procedure takes an extra argument.
  3727. (windows_.h, gp_win32.c)
  3728. Extends the DLL API to work on the Mac. This required some restructuring of
  3729. the code, and some NON-BACKWARD-COMPATIBLE changes to move
  3730. environment-specific calls into environment-specific header files.
  3731. (pcwin.mak, os2.mak, winint.mak, dwdll.h, gsdll.h, gsdllmac.h, gsdllos2.h,
  3732. gsdllwin.h, dpmainc.c, dwdll.cpp, dwnodll.cpp, gdevmswn.c, gdevpm.c,
  3733. gdevwdib.c, gsdll.c)
  3734. </pre><h3><a name="5.81_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  3735. Changes the interpreter to handle two more specification-violating
  3736. conditions that Adobe Acrobat accepts: truncation of %%EOF to %%EO, and use
  3737. of Dest links with no Dests dictionary. (lib/pdf_main.ps)
  3738. </pre><h3><a name="5.81_Interpreter"></a>Interpreter</h3><pre>
  3739. Fixes problems:
  3740. - gcc failed to flag initialization of an automatic aggregate, which
  3741. is allowed in neither ANSI nor traditional C. (iutil.c)
  3742. - The system name table lacked the last 3 entries.
  3743. (lib/gs_btokn.ps)
  3744. - Interpolated images always wound up at (0, 0). (bug introduced in
  3745. 5.80) (gxipixel.c)
  3746. - The Watcom compiler didn't consider "const uint" and "const
  3747. unsigned" to be compatible. (ifunc.h)
  3748. - The code to detect identity transfer functions could cause
  3749. transfer functions not to be processed at all. (icolor.h, zcolor.c,
  3750. zcolor1.c, zht2.c)
  3751. - The Level 2 redefinition of restore could do an extra grestore,
  3752. possibly creating a temporary reference to a freed object. (zdevice2.c)
  3753. Adds more tracing for undo-saves, and changes a macro to a procedure.
  3754. (isave.c)
  3755. Removes some #define'd casts. (isave.c)
  3756. </pre><h3><a name="5.81_Library"></a>Library</h3><pre>
  3757. Fixes problems:
  3758. - When banding, the color space wasn't reinitialized for each page.
  3759. (gxclist.c)
  3760. - The criterion for allowing image interpolation still produced
  3761. "mush" for some important classes of image. (gxiscale.c)
  3762. - The Watcom compiler didn't consider "const uint" and "const
  3763. unsigned" to be compatible. (gscdefs.h, gconf.c)
  3764. - Identity black generation and undercolor removal functions weren't
  3765. passed through the band list correctly. (gxcldev.h, gxclbits.c, gxclrast.c)
  3766. - Once again, gcc failed to give a warning for extern followed by
  3767. private. (gxcdevn.h)
  3768. - glyphshow set up the text operation in a way that created a
  3769. garbage collector error. (gschar.c)
  3770. Makes gs_opendevice complete the device procedure vector if the device
  3771. wasn't already open. (gsdevice.c)
  3772. Factors out the image scaling filter so that we can use either Adobe's
  3773. algorithm or the Mitchell filter. This involves a NON-BACKWARD-COMPATIBLE
  3774. CHANGE in the way the filter parameters are defined. (gximage.h, siscale.h,
  3775. sisparam.h, gxclimag.c, gxidata.c, gxiscale.c, siscale.c)
  3776. Makes the criteria for when to use interpolation stricter, since we are
  3777. still using the Mitchell filter. (gxiscale.c)
  3778. Starts to implement Adobe's image interpolation algorithm. (siinterp.h,
  3779. siinterp.c, gxiscale.c)
  3780. Speeds up RGB interpolated images by detecting runs of output color.
  3781. (gxiscale.c)
  3782. Makes the default RGB color mapper a "known" mapper that can be propagated
  3783. through device pipelines. (gxdevice.h, gsdevice.c)
  3784. </pre>
  3785. <hr>
  3786. <h2><a name="Version5.80"></a>Version 5.80 (tester) (4/6/99)</h2>
  3787. <p>
  3788. This version contains the first, and, we hope, largest wave of changes in
  3789. the interpreter required to make the interpreter fully reentrant.
  3790. Unfortunately, many externally visible APIs, including the argument list for
  3791. operator procedures, required changes.
  3792. <p>
  3793. Because of the magnitude of the change, we incremented the version number to
  3794. 5.80.
  3795. <p>
  3796. The non-backward-compatible API changes were confined to the interpreter:
  3797. the (very minor) changes to the library required to support interpreter
  3798. reentrancy are fully backward-compatible.
  3799. <p>
  3800. This fileset also implements DeviceN color spaces (always using the
  3801. alternate space), including Indexed spaces over DeviceN spaces, for all uses
  3802. except smooth shading.
  3803. <h3><a name="5.80_Incompatible_changes"></a>Incompatible changes</h3><pre>
  3804. (Interpreter)
  3805. - names_init now takes a gs_ref_memory_t * rather than a gs_memory_t
  3806. *.
  3807. - type_print_strings, type_name_strings, and
  3808. ref_type_properties_data are now REF_TYPE_DEBUG_PRINT_STRINGS,
  3809. REF_TYPE_NAME_STRINGS, and REF_TYPE_PROPERTIES_DATA.
  3810. - The undocumented .writecvp operator, and obj_cvp, now take an
  3811. integer instead of a Boolean to define the type of output desired.
  3812. - The argument list for operators is changed from os_ptr to
  3813. i_ctx_t *. Many internal interpreter APIs have changed.
  3814. - The typedef name for operator procedures is changed from op_proc_p
  3815. to op_proc_t.
  3816. - gs_interpret now takes an additional context (i_ctx_t **)
  3817. argument.
  3818. - The interpreter's rescheduling and time-slicing procedures,
  3819. gs_interp_reschedule_proc and gs_interp_time_slice_proc, now take a context
  3820. (i_ctx_t **) argument.
  3821. - The Type 1 interpreter push_value callback is renamed push_values;
  3822. the first argument of push_values and pop_value has changed from
  3823. gs_font_type1 * to void *.
  3824. - dict_put*, dict_copy*, dict_undef, dict_resize, dict_grow, and
  3825. dict_unpack now take an additional argument, a dictionary stack where the
  3826. dictionary may be present.
  3827. </pre><h3><a name="5.80_Procedures"></a>Procedures</h3><pre>
  3828. Fixes problems:
  3829. - The dependency list for the (dummy) trapping feature was wrong.
  3830. (int.mak)
  3831. - The directory for jerror_.h was incorrect. (jpeg.mak)
  3832. Removes the never-used -header switch from genconf. (genconf.c)
  3833. Adds priority-sorted resources to genconf, currently used only for image
  3834. classes. (genconf.c)
  3835. Adds an imageclass resource to genconf, for what used to be called image
  3836. strategies. (genconf.c)
  3837. </pre><h3><a name="5.80_Utilities"></a>Utilities</h3><pre>
  3838. Fixes problems:
  3839. - ansi2knr didn't recognize id1(id2, xxxxx) as not being a function.
  3840. (ansi2knr.c)
  3841. - viewpcx still referred to the deleted PCXDecode filter.
  3842. (lib/viewpcx.ps)
  3843. - strlen was called without being declared. (genarch.c)
  3844. </pre><h3><a name="5.80_Drivers"></a>Drivers</h3><pre>
  3845. Fixes problems:
  3846. - Some drivers that called gdev_prn_open_printer didn't check the
  3847. return code for errors. (gdevdjet.c, gdevhl7x.c)
  3848. - The cljet5 driver didn't handle long-edge feed properly. (from
  3849. Artifex) (gdevclj.c)
  3850. - The [e]pswrite driver could produce incorrect output if the input
  3851. file had zero-length lines. (gdevps.c)
  3852. - The X driver didn't handle byte-swapped 16-bit displays.
  3853. (gdevx.c)
  3854. - There was an int/uint mismatch. (gdevbmp.c)
  3855. - Some needed headers weren't included. (gdevdcrd.c, gdevpdfo.c)
  3856. - The updated mswinpr2 driver wouldn't compile with older Windows
  3857. header files. (gdevwpr2.c)
  3858. Removes some unnecessary #includes. (gdevps.c)
  3859. Adds user-contributed drivers for the CoStar LabelWriter II Plus and XL
  3860. label printers. (gdevcslw.c)
  3861. Speeds up color mapping for the bitrgb driver a little, by using the default
  3862. procedure. (gdevbit.c)
  3863. </pre><h3><a name="5.80_Fonts"></a>Fonts</h3><pre>
  3864. Fixes problems:
  3865. - TrueType fonts with odd-length glyf definitions caused an
  3866. invalidfont error. (lib/gs_ttf.ps)
  3867. Changes the font substitution mechanism slightly to be more useful to the
  3868. PDF interpreter. (lib/gs_fonts.ps)
  3869. </pre><h3><a name="5.80_Platforms"></a>Platforms</h3><pre>
  3870. Fixes problems:
  3871. - Some needed headers weren't included. (watc.mak, watclib.mak,
  3872. winlib.mak, gp_win32.c)
  3873. </pre><h3><a name="5.80_Interpreter"></a>Interpreter</h3><pre>
  3874. Fixes problems:
  3875. - There were many signed/unsigned char type errors that gcc didn't
  3876. catch. (gp_gnrdl.c)
  3877. - The operator definition list for zdouble was too long. (int.mak,
  3878. zdouble.c)
  3879. Removes some unnecessary #includes. (zchar.c)
  3880. Speeds up names_string_ref. (inamedef.h, inames.h, imain.c, iname.c)
  3881. Speeds up reading string/name array parameters. (iparam.c)
  3882. Refactors the implementation of ==, so that all types other than arrays and
  3883. dictionaries are handled in C code. (lib/gs_init.ps, iutil.h, iref.h,
  3884. gp_gnrdl.c, idebug.c, iutil.c, zfileio.c, ztype.c)
  3885. Changes the type name for operator procedures from op_proc_p to op_proc_t,
  3886. for consistency and also to help detect places that need the argument list
  3887. changed. (ichar.h, interp.h, iref.h, opdef.h, interp.c, iutil.c, zchar.c,
  3888. zcharx.c, zcontrol.c, zupath.c)
  3889. Changes the argument type for operators from os_ptr to i_ctx_t *. (i_ctx_t
  3890. is an alias for gs_context_state_t.) This also requires adding a context
  3891. pointer to many internal procedures, or changing an os_ptr argument to
  3892. i_ctx_t *. This is a MASSIVE NON-BACKWARD-COMPATIBLE change which we simply
  3893. saw no way to avoid if the interpreter was to be made fully re-entrant. See
  3894. "Incompatible changes" above for externally visible changes.
  3895. (lib/gs_init.ps, bfont.h, btoken.h, dstack.h, estack.h, files.h, ichar.h,
  3896. ichar1.h, icharout.h, icie.h, icolor.h, icontext.h, icsmap.h, ifilter.h,
  3897. ifont1.h, igstate.h, iht.h, iimage.h, iimage2.h, imain.h, imemory.h,
  3898. interp.h, ipacked.h, iref.h, iscan.h, istream.h, opdef.h, oper.h,
  3899. opextern.h, ostack.h, ialloc.c, icontext.c, iinit.c, imain.c, inouparm.c,
  3900. interp.c, ireclaim.c, iscan.c, iscanbin.c, zarith.c, zarray.c, zbfont.c,
  3901. zbseq.c, zcfont.c, zchar.c, zchar1.c, zchar2.c, zchar32.c, zchar42.c,
  3902. zcharout.c, zcharx.c, zcid.c, zcie.c, zcolor.c, zcolor1.c, zcolor2.c,
  3903. zcontext.c, zcontrol.c, zcrd.c, zcsdevn.c, zcsindex.c, zcspixel.c,
  3904. zcssepr.c, zdevice.c, zdevice2.c, zdict.c, zdosio.c, zdouble.c, zdpnext.c,
  3905. zdps.c, zdps1.c, zfbcp.c, zfcmap.c, zfdctd.c, zfdcte.c, zfdecode.c, zfile.c,
  3906. zfileio.c, zfilter.c, zfilter2.c, zfilterx.c, zfont.c, zfont0.c, zfont1.c,
  3907. zfont2.c, zfont32.c, zfont42.c, zfproc.c, zfreuse.c, zfunc.c, zfzlib.c,
  3908. zgeneric.c, zgstate.c, zhsb.c, zht.c, zht1.c, zht2.c, zimage.c, zimage2.c,
  3909. zimage3.c, ziodev.c, ziodev2.c, zmath.c, zmatrix.c, zmedia2.c, zmisc.c,
  3910. zmisc1.c, zmisc2.c, zmisc3.c, zpacked.c, zpaint.c, zpath.c, zpath1.c,
  3911. zpcolor.c, zrelbit.c, zrop.c, zshade.c, zstack.c, zstring.c, zsysvm.c,
  3912. ztoken.c, ztrap.c, ztype.c, zupath.c, zusparam.c, zvmem.c, zvmem2.c)
  3913. Changes caching for the interpreter's CIE color spaces so that instead of
  3914. changing the color space installation procedure to one that schedules the
  3915. sampling of the procedures though a back door, it leaves the installation
  3916. procedure alone and schedules the sampling in the color-space-specific
  3917. setcolorspace operator. This is needed for interpreter reentrancy.
  3918. (icie.h, zcie.c, zcrd.c)
  3919. Makes the linkage from the dictionary machinery to the cached values in the
  3920. dictionary stack and the name table explicit, by adding a dstack pointer to
  3921. all the relevant dict_* procedures. This is needed for interpreter
  3922. reentrancy. (iddstack.h, idict.h, idstack.h, idict.c)
  3923. Updates clients for the change in the dictionary API. For each changed
  3924. dict_ procedure, we add an idict_ procedure that uses i_ctx_p-&gt;dict_stack as
  3925. the additional argument. (iddict.h, icontext.c, iinit.c, interp.c,
  3926. iparam.c, iscanbin.c, zdps.c, zfcmap.c, zdict.c, zfont.c, zfont0.c,
  3927. zgeneric.c, zht2.c, zmisc2.c)
  3928. Changes Pattern color remapping so that it saves information in the
  3929. interpreter's part of the graphics state, rather than manipulating the
  3930. e-stack directly. This is needed for interpreter reentrancy. (errors.h,
  3931. icremap.h, igstate.h, interp.c, zgstate.c, zpcolor.c)
  3932. Adds to the "main instance" structure a pointer to the currently executing
  3933. context. This is needed for interpreter reentrancy. (imain.h, iminst.h,
  3934. main.h, imain.c, imainarg.c)
  3935. Changes the argument list for operator initialization procedures from void
  3936. to i_ctx_t *. (opdef.h, ireclaim.c, zbfont.c, zbseq.c, zcontext.c, zfile.c,
  3937. zfont.c, zpcolor.c)
  3938. Changes the initialization of the interpreter's allocators so it doesn't
  3939. presume the allocator structure is global. (ialloc.h, ialloc.c, imain.c)
  3940. Factors out the structure definition of the stacks, which is needed for
  3941. defining the state of a context, from the API, which is only needed by
  3942. actual clients. (icstate.h, idsdata.h, idstack.h, iesdata.h, iestack.h,
  3943. iosdata.h, iostack.h, isdata.h, istack.h)
  3944. Changes filter error reporting so that the report_error procedure doesn't
  3945. need access to the interpreter. (interp.h, interp.c, zfile.c, zfileio.c)
  3946. Completes the implementation of DeviceN color spaces at the interpreter
  3947. level. (lib/gs_res.ps, lib/gs_lev2.ps, lib/gs_ll3.ps, icsmap.h, zcsdevn.c,
  3948. zcsindex.c, zcssepr.c, zimage.c)
  3949. Speeds up color mapping for identity transfer, BG, or UCR functions.
  3950. (zcolor.c)
  3951. </pre><h3><a name="5.80_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  3952. Fixes problems:
  3953. - The L range for Lab color spaces was wrong. (lib/pdf_draw.ps)
  3954. - Images in Lab color spaces came out all black. (lib/pdf_draw.ps)
  3955. Improves the font substitution mechanism slightly. (lib/pdf_font.ps)
  3956. </pre><h3><a name="5.80_Streams"></a>Streams</h3><pre>
  3957. Adds an error string to the stream state structure, which stream
  3958. implementations can set when returning an error. The motivation is to allow
  3959. the PostScript interpreter to put this into $error.errorinfo. (scommon.h,
  3960. stream.c)
  3961. </pre><h3><a name="5.80_Library"></a>Library</h3><pre>
  3962. Fixes problems:
  3963. - The S_ISCHR fix in 5.73 had a typo. (stat_.h)
  3964. - The garbage collector traced dash pattern pointers even if the
  3965. pattern had no elements. (gzline.h, gsistate.c)
  3966. - Always tracing the clip_path element of gx_device_clist for
  3967. garbage collection could cause crashes, because this pointer could be stale.
  3968. However, we have to trace this pointer if an image is being processed.
  3969. (gxclist.c)
  3970. - A close-brace was positioned incorrectly. (No effect on the
  3971. working of the code.) (gximage3.c)
  3972. - Some macros caused some compilers to complain about functions that
  3973. didn't return values. (gsmemlok.c)
  3974. - A procedure vector wasn't declared const. (gsmemlok.c)
  3975. - Some needed headers weren't included. (gscrdp.c)
  3976. - A const pointer was being treated as non-const. (gxcpath.c)
  3977. - The algorithm for choosing halftone cell dimensions required an
  3978. unreasonably close angle tolerance (0.01 degrees, rather than 1% of a
  3979. 90-degree possible difference). (gshtscr.c)
  3980. Speeds up arcs a little more. (gspath1.c)
  3981. Removes some unnecessary #includes. (gxclpath.h, gxcpath.h, gzcpath.h,
  3982. gxccman.c, gxclip.c, gxcpath.c, gxi12bit.c, gxicolor.c, gxifast.c,
  3983. gximono.c, gxiscale.c, gxpcmap.c)
  3984. Cleans up some formatting. (gxpath.c)
  3985. Re-enables image interpolation for images that have at least 8 bits of input
  3986. data per pixel. This is still a compromise.... (gxiscale.c)
  3987. Enhances the default implementation of parameter lists so that a C parameter
  3988. list can forward unrecognized param_read calls to another parameter list.
  3989. This allows constructing incrementally modified parameter lists for internal
  3990. purposes. (gsparam.h, gscparam.c)
  3991. Changes the first argument of the Type 1 charstring interpreter push_value
  3992. (which is renamed push_values) and pop_value callbacks from the font pointer
  3993. to an arbitrary pointer passed in to the interpreter. This is needed for
  3994. PostScript interpreter reentrancy. (gstype1.h, gxfont1.h, gxtype1.h,
  3995. gstype1.c, gxtype1.c)
  3996. Adds an allocator wrapper that calls a closure to attempt to free up memory
  3997. if an allocation fails. This is used for asynchronous operation (waiting
  3998. for the page queue to empty) and operation with an optional disk for the
  3999. band list. (gsmemret.h, gsmemret.c)
  4000. Adds the retrying wrapper to the malloc allocator. (gsmalloc.c)
  4001. Makes "async" printer devices use the retrying wrapper. (gdevprna.c)
  4002. Makes clist_fill_parallelogram recognize rectangles. This makes a big
  4003. difference for images rotated 90 degrees. (gsrect.h, gdevddrw.c,
  4004. gxclpath.c)
  4005. Arranges to construct the list of image classes (formerly called strategies)
  4006. statically rather than dynamically. (lib.mak, gscdefs.h, gxiclass.h,
  4007. gximage.h, gconf.c, gxi12bit.c, gxicolor.c, gxifast.c, gximono.c,
  4008. gxipixel.c, gxiscale.c)
  4009. Implements Indexed color spaces for high-level image banding. (gxclist.h,
  4010. gxclpath.h, gxclimag.c, gxclrast.c)
  4011. Arranges to construct the blank bitmap for colored patterns statically
  4012. rather than dynamically. (gsbitmap.h, gxbitmap.h, gxcht.c)
  4013. Changes FORCE_STRIP_HALFTONES from a #define to a static Boolean.
  4014. (gshtscr.c)
  4015. Implements alternate-space DeviceN color spaces. (gscspace.h, gxcdevn.h,
  4016. gscdevn.c)
  4017. Implements DeviceN color spaces for images. (gximage.h, gsimage.c,
  4018. gxi12bit.c, gxicolor.c, gxidata.c, gximage3.c, gximono.c, gxipixel.c)
  4019. Speeds up color mapping a bit. (gxfmap.h, gsdevice.c, gsstate.c,
  4020. gxclbits.c, gxclrast.c, gxcmap.c)
  4021. </pre>
  4022. <hr>
  4023. <h2><a name="Version5.73"></a>Version 5.73 (tester) (3/19/99)</h2>
  4024. <p>
  4025. This fileset fixes a few bugs and adds a couple of minor performance
  4026. improvements. Its purpose is to fix a fairly serious memory management bug
  4027. and a Microsoft-platform compilation problem, both introduced in 5.72.
  4028. <h3><a name="5.73_Incompatible_changes"></a>Incompatible changes</h3><pre>
  4029. (Library)
  4030. - Removes the restriction on device registration that was introduced
  4031. in 5.72.
  4032. - gx_[c]path_scale_exp2 are replaced by gx_[c]path_scale_exp2_shared.
  4033. </pre><h3><a name="5.73_Documentation"></a>Documentation</h3><pre>
  4034. Identifies GNU readline support as user-contributed, and adds the author's
  4035. name. (int.mak, unix-gcc.mak, gp_gnrdl.c)
  4036. Notes that an edit is required for GNU readline for AIX. (doc/Make.htm)
  4037. Changes the bug reporting e-mail address to bug-gs@aladdin.com.
  4038. (doc/Bug-form.htm, doc/New-user.htm, doc/Use.htm, imainarg.c)
  4039. </pre><h3><a name="5.73_Procedures"></a>Procedures</h3><pre>
  4040. Adds FEATURE_DEVS_EXTRA and DEVICE_DEVS_EXTRA, reserved for setting from the
  4041. command line. (gs.mak)
  4042. </pre><h3><a name="5.73_Drivers"></a>Drivers</h3><pre>
  4043. Fixes problems:
  4044. - A needed cast was missing. (gdevx.c)
  4045. </pre><h3><a name="5.73_Interpreter"></a>Interpreter</h3><pre>
  4046. Fixes problems:
  4047. - A needed cast was missing. (zfname.c)
  4048. - The CFF loader didn't handle empty subsections correctly.
  4049. (lib/gs_cff.ps)
  4050. - GNU readline gave an error, rather than expanding the input
  4051. buffer, when called in response to %lineedit. (files.h, zfileio.c,
  4052. ziodev.c)
  4053. - GNU readline wasn't always initialized, causing a crash when an
  4054. attempt was made to shut it down. (iminst.h, imain.c)
  4055. Adds more tracing to the CFF loader. (lib/gs_cff.ps)
  4056. Adds some deconstifying casts to compensate for broken headers in the GNU
  4057. readline package. (gp_gnrdl.c)
  4058. </pre><h3><a name="5.73_Library"></a>Library</h3><pre>
  4059. Fixes problems:
  4060. - The bounding box device didn't ignore filling paths consisting
  4061. only of a moveto. (gdevbbox.c)
  4062. - Some systems have S_IFCHR but not S_ISCHR. (stat_.h)
  4063. - The clipping list accumulator didn't merge single rectangles
  4064. correctly. (gxacpath.c)
  4065. - The clipping list accumulator wasn't aggressive enough about
  4066. merging rectangles. (Performance effect only.) (gxacpath.c)
  4067. - The page wasn't cleared when installing a new device. (bug
  4068. introduced in 5.72) (gsdevice.c)
  4069. - With graphics anti-aliasing enabled, executing clip or eoclip
  4070. followed by fill or stroke produced incorrect output. (bug introduced
  4071. between 5.10 and 5.50) (gxpath.h, gspaint.c, gxcpath.c, gxpath2.c)
  4072. - The garbage collector could crash if any banded devices were
  4073. active. (bug introduced in 5.72) (gdevprn.c)
  4074. Changes memory management for device instances to allocate the structure
  4075. type objects dynamically. This gets rid of a static, and also gets rid of
  4076. the requirement that device prototypes be registered, at the expense of an
  4077. extra copy of the (small) structure type object per instance of certain
  4078. devices. (gscdefs.h, gxdevcli.h, gxdevice.h, gconf.c, gsdevice.c)
  4079. Disables image interpolation for all high-resolution images, not just
  4080. black-and-white, since this produces better-looking output. (gxiscale.c)
  4081. Speeds up path bounding box computation a little. (gxpath2.c)
  4082. Speeds up clipping a little. (gxclip.c)
  4083. Cleans up formatting a bit. (gxacpath.c)
  4084. Adds support for libpng version 1.0.3, but (for now) updates only the
  4085. OpenVMS and Unix makefiles to use it. (libpng.mak, openvms.mak,
  4086. openvms.mmk, ugcclib.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak)
  4087. Attempts to work around picky compilers that don't allow assigning T[M][N]
  4088. to const T[M][N]. (gxcht.c)
  4089. </pre>
  4090. <hr>
  4091. <h2><a name="Version5.72"></a>Version 5.72 (tester) (3/17/99)</h2>
  4092. <p>
  4093. This fileset finally gets rid of the need to have jpeg, libpng, or zlib
  4094. source code on Unix systems that already have these libraries available. It
  4095. also starts to add support for general DeviceN color spaces.
  4096. <p>
  4097. Works in progress:
  4098. <ul>
  4099. <li> - Fix Fontmap -&gt; Fontmap.GS link, which VMS can't handle.
  4100. <li> - Make x11alpha do real alpha blending.
  4101. <li> - spdiff.c is unfinished, partly wrong.
  4102. <li> - DeviceN support is in progress. In gxcht.c,
  4103. set_ht_colors_le_4
  4104. and set_color_ht_gt_4 don't have any way to color-map >4 planes.
  4105. </ul>
  4106. <h3><a name="5.72_Incompatible_changes"></a>Incompatible changes</h3><pre>
  4107. (Interpreter)
  4108. - The str argument of arg_push_memory_string is no longer const.
  4109. - The last argument of print_reloc is now const.
  4110. (Library)
  4111. - Clients should never call the device open_device or close_device
  4112. procedure directly: they should call gs_opendevice or gs_closedevice.
  4113. - The fn_free_functions procedure has been made private.
  4114. - The first argument of gs_currentpoint is no longer const.
  4115. - References to header files in the third-party libraries must now
  4116. include a trailing _, i.e.: jerror_.h jmorecf_.h jpeglib_.h png_.h zconf_.h
  4117. - IJG JPEG library versions before v5a are no longer supported.
  4118. - ilog2 replaces small_exact_log2.
  4119. - Support for "outside" clipping has been removed.
  4120. - Clients that define their own devices now must either register
  4121. them in the makefile (using the SET[P]DEV[2] macros) or set the stype
  4122. pointer in the static prototype to the correct structure type (or at least a
  4123. structure type with the correct procedures).
  4124. </pre><h3><a name="5.72_Documentation"></a>Documentation</h3><pre>
  4125. Clarifies the fact that clients should never call the device open_device or
  4126. close_device procedure directly. (doc/Drivers.htm)
  4127. Updates contact information for Artifex Software. (doc/Commprod.htm,
  4128. doc/New-user.htm)
  4129. Clarifies the fact that Aladdin did not write gdevcdj.c. (gdevcdj.c)
  4130. Documents the new -TTYPAUSE switch. (doc/Use.htm)
  4131. Adds SCO OpenServer 5.0.5 to the list of systems where Ghostscript is known
  4132. to build. (doc/Make.htm)
  4133. Notes that the MIPSpro 7.2.1.3m compiler produces incorrect output.
  4134. (doc/Make.htm)
  4135. </pre><h3><a name="5.72_Procedures"></a>Procedures</h3><pre>
  4136. Fixes problems:
  4137. - The Unix install directory ($(gsdatadir)) and the Unix default
  4138. search path ($(gsdatadir)/lib) weren't compatible. (bug introduced since
  4139. 5.50) (unixinst.mak)
  4140. - The compilation rule for echogs omitted a dependency and also
  4141. failed to specify a directory for header files. (unix-aux.mak)
  4142. - Third-party library source code was required even if the
  4143. corresponding SHARE_xxx option was set to 1. (devs.mak, gs.mak, int.mak,
  4144. lib.mak, jpeg.mak)
  4145. Adds a -dTTYPAUSE switch to cause .confirm to read from /dev/tty instead of
  4146. stdin, useful when the data input is a pipe. (lib/gs_init.ps)
  4147. </pre><h3><a name="5.72_Utilities"></a>Utilities</h3><pre>
  4148. Fixes problems:
  4149. - Some preprocessor macros were defined twice on VMS. (echogs.c)
  4150. - traceop.ps didn't build operator-tracing procedures in global VM.
  4151. (This didn't matter before we introduced local pseudo-operators.)
  4152. (lib/traceop.ps)
  4153. - geninit produced invalid output or hung if the input files didn't
  4154. have the correct EOL representation for the platform. (geninit.c)
  4155. Updates a (probably otherwise obsolete) file for the deletion of the private
  4156. JPEG library error message table. (bughunt.sh)
  4157. </pre><h3><a name="5.72_Drivers"></a>Drivers</h3><pre>
  4158. Fixes problems:
  4159. - A procedure returning void tried to return a value. (gdevtfax.c)
  4160. - For 24-bit displays, XGetImage can return an image in which
  4161. bits_per_pixel is 32 rather than 24, which is not at all obvious from the
  4162. documentation; also, the bit and byte ordering may not be MSBFirst.
  4163. (gdevx.c)
  4164. - XFree takes a char *, not a void *. (gdevx.c)
  4165. - The fix in 5.71 to adjust the width of TIFF images introduced
  4166. another bug. (gdevtfax.c)
  4167. - If the X driver used a standard colormap, pixel values 255 and
  4168. less didn't map back to RGB properly. (bug introduced in 5.71) (gdevxcmp.c)
  4169. - The ForceMono addition to gdevbit.c (in 5.71) was incorrect.
  4170. (gdevbit.c)
  4171. - There was a const mismatch in an extern. (gdevxalt.c)
  4172. - Third-party library source code was required even if the
  4173. corresponding SHARE_xxx option was set to 1. Fixing this required
  4174. referencing all third-party library header files through *_.h files.
  4175. (gdevjpeg.c, gdevpdfi.c, gdevpng.c, gdevpsdi.c, gdevpsdp.c)
  4176. - There was no way to cause the bounding box device to give up its
  4177. reference to the target. (gdevbbox.h, gdevbbox.c)
  4178. - pdfwrite crashed if given a 12-bit-per-sample CMYK image when
  4179. ConvertCMYKImagesToRGB was true, and produced invalid output for other
  4180. 12-bit-per-sample images (PDF limits bits-per-sample to 8). (gdevpsdi.c)
  4181. - pdfwrite mangled planar images if bits-per-sample was other than
  4182. 8. (bug introduced since 5.50) (gdevpdfi.c)
  4183. Changes some code to reduce compiler warnings about casts discarding const.
  4184. (gdevxalt.c)
  4185. Removes a test that allowed referencing the statically allocated instance of
  4186. the alternative X drivers. (gdevxalt.c)
  4187. Changes a reference to small_exact_log2. (gdevsvga.c)
  4188. Greatly improves the PDF writer's handling of simple pattern fills, by
  4189. retaining them as pattern fills. (gdevpdfx.h, gdevpdf.c, gdevpdfi.c)
  4190. </pre><h3><a name="5.72_Fonts"></a>Fonts</h3><pre>
  4191. Fixes problems:
  4192. - Cn in a font name wasn't recognized as indicating a condensed
  4193. font. (lib/gs_fonts.ps)
  4194. </pre><h3><a name="5.72_Interpreter"></a>Interpreter</h3><pre>
  4195. Fixes problems:
  4196. - Third-party library source code was required even if the
  4197. corresponding SHARE_xxx option was set to 1. Fixing this required
  4198. referencing all third-party library header files through *_.h files.
  4199. (zfdctd.c, zfdcte.c)
  4200. - An /undefined error occurred on floating point numbers whose
  4201. integer part exceeded the size of a long (normally 31 bits) and that also
  4202. included a fraction. (iscannum.c)
  4203. - ialloc.c included gxarith.h unnecessarily. (ialloc.c)
  4204. When opening a terminal for reading, always sets the buffer size to 1. This
  4205. does not apply to %stdin, %lineedit, or %statementedit. (zfile.c)
  4206. Changes code to use the new deconstifying freeing procedures, to remove
  4207. deconstifying casts. (gsargs.h, ialloc.h, gsargs.c, zfname.c, zfunc.c)
  4208. Adds a writable packed ref pointer variant to ref.value, to remove compiler
  4209. warnings about casts discarding const. (igc.h, iref.h, idict.c, igc.c,
  4210. igcref.c)
  4211. Changes the help printouts to use the new printf_program_ident procedure.
  4212. (imainarg.c)
  4213. Generalizes clients to handle color spaces that may have more than 4
  4214. components. (zcsdevn.c, zcsindex.c, zcssepr.c, zdpnext.c, zfdecode.c)
  4215. Removes support for outside clipping, which we implemented only because we
  4216. misinterpreted a requirement. (zpath.c)
  4217. </pre><h3><a name="5.72_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  4218. Fixes problems:
  4219. - Selecting a colored Pattern color space caused an error.
  4220. (lib/pdf_draw.ps, lib/pdf_ops.ps)
  4221. - Reading data from a subfile with no filter caused an error.
  4222. (lib/pdf_base.ps)
  4223. Allows mask images to omit BitsPerComponent: Acrobat Reader accepts this
  4224. even though the PDF specification requires it to be present (with value =
  4225. 1). (lib/pdf_draw.ps)
  4226. </pre><h3><a name="5.72_Streams"></a>Streams</h3><pre>
  4227. Fixes problems:
  4228. - The PixelDifference filters didn't propagate leftover bits in the
  4229. last byte of a row. (bug probably introduced in 5.60) (spdiff.c)
  4230. - The 1- and 2-bit-per-pixel PixelDifferenceEncode filters were
  4231. broken. (spdiff.c)
  4232. Changes code slightly to remove a warning about an uninitialized variable.
  4233. (spdiff.c)
  4234. Extends the PixelDifference filters to handle more than 4 Colors.
  4235. s_PDiff_max_Colors is the maximum value. (spdiffx.h, spdiff.c)
  4236. Adds a stream for converting 12-bit samples to 8-bit. (gdevpsds.h,
  4237. gdevpsds.c)
  4238. Gets rid of the no longer needed private copy of the JPEG error message
  4239. table. (sdcte.c, sdeparam.c, sjpegerr.c [deleted], sjpegc.c)
  4240. </pre><h3><a name="5.72_Library"></a>Library</h3><pre>
  4241. Fixes problems:
  4242. - If a 1-bit-per-pixel image terminated early, the last few scan
  4243. lines might not be written out. (gxidata.c)
  4244. - The bbox device could leave its target in a half-open state,
  4245. because it called the open/close_device procedures directly rather than
  4246. going through gs_open/closedevice. We "fixed" this by making this device
  4247. forward open and close, but conditionally, so that clients can choose.
  4248. (gdevbbox.c)
  4249. - Third-party library source code was required even if the
  4250. corresponding SHARE_xxx option was set to 1. Fixing this required
  4251. referencing all third-party library header files through *_.h files.
  4252. (sdcparam.c, sdctc.c, sdctd.c, sddparam.c, sjpegc.c, sjpegd.c, sjpege.c,
  4253. sjpegerr.c)
  4254. - Low-memory recovery in the band list writer sometimes didn't work,
  4255. because a test was backwards. (gxcldev.h, gxclist.c)
  4256. - Executing a put_params during band rasterizing didn't update
  4257. cached values in the imager state. This was probably not a problem in
  4258. practice, since the only parameters that affect cached values (device color
  4259. space, depth, and color mapping) were very rarely set. (gxclrast.c)
  4260. - Converting 12-bit planar images to chunky format could store
  4261. beyond the end of the output area and corrupt memory. (gsflip.h, gsflip.c)
  4262. - The algorithms for converting 4-plane, 1- and 2-bit planar images
  4263. to chunky format were wrong. (gsflip.c)
  4264. - Images that lay entirely outside the page could cause a memory
  4265. access error. (gxclimag.c)
  4266. - The bbox device could return excessively conservative values for
  4267. stroked paths. (gxpaint.h, gdevbbox.c, gxpaint.c, gxstroke.c)
  4268. - Banding devices now include some pointers that the garbage
  4269. collector must trace. (gdevprn.h, gxclist.h, gxdevice.h, gdevprn.c,
  4270. gsdevice.c, gxclist.c)
  4271. Adds a gs_opendevice procedure to mirror gs_closedevice. (gsdevice.h,
  4272. gsdevice.c)
  4273. Adds deconstifying freeing procedures to the memory manager. This allows us
  4274. to have pointers as structure members that should be const * for all
  4275. ordinary clients, and still be able to free the referenced objects without a
  4276. compiler warning. (gsmemory.h, gsmemory.c)
  4277. Changes code, often to use the new deconstifying freeing procedures, to
  4278. remove deconstifying casts. (gspath.h, gxfunc.h, gsfunc.c, gsfunc0.c,
  4279. gsfunc3.c, gspath.c, gsptype1.c)
  4280. Changes the eprintf macros so they print the version as well as the program
  4281. name. (std.h, gscdef.c, gsmisc.c)
  4282. Adds procedures that update cached values in graphics or imager states after
  4283. setting device parameters. Clients should use these when setting parameters
  4284. of devices that may be current in graphics or imager states. Note that this
  4285. is only a partial solution for a much deeper problem, and may even have to
  4286. be replaced at some point. (gsdevice.h, gsdevice.c)
  4287. Defines GS_CLIENT_COLOR_MAX_COMPONENTS (in gsccolor.h),
  4288. GX_DEVICE_COLOR_MAX_COMPONENTS (in gxcindex.h), and GS_IMAGE_MAX_COMPONENTS,
  4289. and starts to use them where needed, in anticipation of implementing DeviceN
  4290. color spaces. (gsccolor.h, gsdcolor.h, gsiparam.h, gsiparm4.h, gxcindex.h,
  4291. gxctable.h, gximage.h, gxshade.h, gdevplnx.c, gscdevn.c, gscolor2.c,
  4292. gxcht.c, gxclimag.c, gxcmap.c, gxicolor.c, gxctable.c, gxi12bit.c)
  4293. Replaces small_exact_log2 by a procedure ilog2 that computes floor(log2(n)).
  4294. (gxarith.h, gsmisc.c, gspaint.c, gxccman.c, gxclimag.c, gxclrect.c)
  4295. Upgrades gsflip.c to handle >4 planes. (gsbitops.h, gsflip.h, gsflip.c)
  4296. Speeds up getting and testing memory device prototypes a little. (gdevmem.c)
  4297. Speeds up adding arcs to a path a little. (gspath1.c)
  4298. Increases the precision of a precomputed constant from float to double.
  4299. (gxpath.h)
  4300. Adds a new band list operation to make circles smaller and faster.
  4301. (gxclpath.h, gxclpath.c, gxclrast.c)
  4302. Adds an accessor procedure for the start point of the current subpath.
  4303. (gxpath.h, gxpath2.c)
  4304. Removes support for outside clipping, which we implemented only because we
  4305. misinterpreted a requirement. (gspath.h, gxcldev.h, gxcpath.h, gxpath.h,
  4306. gspath.c, gxacpath.c, gxclip.c, gxclpath.c, gxclrast.c, gxcpath.c)
  4307. Changes gs_copydevice to require that static prototypes either be registered
  4308. in gx_device_list or have a correct stype pointer. (This is already the
  4309. case for all devices in code we distribute.) (gsdevice.c)
  4310. Adds ENUM_PTRS_PROC and RELOC_PTRS_PROC macros for giving a name to the
  4311. typed pointer to the object being processed. (gsstruct.h)
  4312. </pre>
  4313. <hr>
  4314. <h2><a name="Version5.71"></a>Version 5.71 (tester) (3/3/99)</h2>
  4315. <p>
  4316. This fileset reinstates support for TrueColor X displays, and adds optional
  4317. support for GNU readline. It also includes a little more work on the new
  4318. driver text API.
  4319. <h3><a name="5.71_Incompatible_changes"></a>Incompatible changes</h3><pre>
  4320. (Library)
  4321. - The *line_accum* macros are now capitalized; declare_line_accum is
  4322. renamed DECLARE_LINE_ACCUM_COPY, and DECLARE_LINE_ACCUM is new.
  4323. </pre><h3><a name="5.71_Documentation"></a>Documentation</h3><pre>
  4324. Documents the CIE joint cache invariant more accurately. (gscie.h)
  4325. Adds a request for xdpyinfo/xwininfo output to the problem reporting form.
  4326. (doc/Bug-form.htm)
  4327. </pre><h3><a name="5.71_Procedures"></a>Procedures</h3><pre>
  4328. Fixes problems:
  4329. - The default search path was missing the lib subdirectory on many
  4330. platforms. (dvx-gcc.mak, os2.mak, ugcclib.mak, unix-gcc.mak, unixansi.mak,
  4331. unixtrad.mak, watc.mak, watclib.mak, watcw32.mak)
  4332. - The dependency list for the X Windows drivers was incorrect,
  4333. sometimes causing needed recompilation to be omitted. (devs.mak)
  4334. </pre><h3><a name="5.71_Utilities"></a>Utilities</h3><pre>
  4335. Fixes problems:
  4336. - The representation of maximum unsigned values produced warnings on
  4337. some compilers (specifically, gcc with -Wtraditional). (genarch.c)
  4338. - Some string variables weren't declared const. (echogs.c,
  4339. genarch.c)
  4340. - The viewpbm utility was broken for pgm and ppm (but not pbm).
  4341. (bug introduced in 5.66) (lib/viewpbm.ps)
  4342. </pre><h3><a name="5.71_Drivers"></a>Drivers</h3><pre>
  4343. Fixes problems:
  4344. - The X driver didn't handle TrueColor displays properly.
  4345. (gdevxcmp.h, gdevxcmp.c)
  4346. - The alternative X drivers didn't implement get_bits properly.
  4347. (gdevxalt.c)
  4348. - The X driver specified the byte order incorrectly for displays
  4349. with more than 8 bits per pixel. (gdevx.c)
  4350. - The X driver used the wrong number of bits for comparing colors on
  4351. visuals with fixed color maps. (gdevxcmp.h, gdevxcmp.c)
  4352. - Some symbols were multiply defined with -DNOPRIVATE. (gdevbit.c)
  4353. - If a file specified a paper size, rather than using the default,
  4354. the G3/G4 fax output drivers didn't adjust the width to a legal one for fax
  4355. systems. (gdevtfax.c)
  4356. Segregates the resource lists, for which warnings about casting of const to
  4357. non-const string types should be suppressed, into a separate file.
  4358. (devs.mak, gdevx.h, gdevxini.c, gdevxres.c)
  4359. Splits off the code related to color mapping for X Windows, for greater
  4360. understandability. (devs.mak, gdevx.h, gdevxcmp.h, gdevx.c, gdevxcmp.c,
  4361. gdevxini.c)
  4362. Changes code slightly to remove warnings about signed/unsigned integer
  4363. constants. (gdevxalt.c)
  4364. Changes code to remove unused variables. (gdevx.c, gdevxalt.c)
  4365. Adds a user-contributed driver for the H-P LaserJet 4D. (devs.mak,
  4366. gdevdjet.c)
  4367. Makes the bitcmyk driver reset its map_cmyk_color procedure dynamically
  4368. according to the depth, allowing more efficient execution in the 1- and
  4369. 8-bit cases. (gdevbit.c)
  4370. Adds a settable option, AdjustWidth, to control whether the fax-format
  4371. drivers (faxg*, tiffcrle, tiffg*) adjust the page width to legal fax values.
  4372. Its default value is 1 (do adjust). (devs.mak, gdevtfax.c)
  4373. Adds a ForceMono parameter to the bitcmyk/bitrgb devices to implement a
  4374. special monochrome-in-CMYK mode requested by a customer. (gdevbit.c)
  4375. Removes the TRIM_ and EXPAND_BITS_TO_BYTES options from the bit devices,
  4376. since they are no longer needed. (gdevbit.c)
  4377. </pre><h3><a name="5.71_Fonts"></a>Fonts</h3><pre>
  4378. Changes the substitution mechanism for condensed / narrow fonts, so that the
  4379. PDF interpreter can use it. (lib/gs_fonts.ps)
  4380. </pre><h3><a name="5.71_Interpreter"></a>Interpreter</h3><pre>
  4381. Fixes problems:
  4382. - The bind operator generated unaligned accesses and might not
  4383. operate reliably. (bug introduced in 5.70) (zmisc.c)
  4384. - If the BuildChar procedure of a font included an image or
  4385. imagemask operator, charpath would (incorrectly) display the character.
  4386. (zimage.c)
  4387. Adds a bogus return statement to suppress a compiler warning. (gs.c)
  4388. Changes code slightly to remove warnings about signed/unsigned integer
  4389. constants. (store.h, ibnum.c)
  4390. Changes the build date format to %d-%02d-%02d. (lib/gs_init.ps, imainarg.c)
  4391. Rearranges some code to add readline support. (files.h, imain.c, zfileio.c,
  4392. ziodev.c)
  4393. Adds support for GNU readline, with several completion keys, contributed by
  4394. a user. (int.mak, gs_rdlin.ps, gp_gnrdl.c)
  4395. Changes the font substitution machinery slightly so the PDF interpreter can
  4396. use it. (lib/gs_fonts.ps)
  4397. </pre><h3><a name="5.71_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  4398. Fixes problems:
  4399. - In-line images caused a syntaxerror or stackunderflow.
  4400. (lib/pdf_draw.ps)
  4401. - The font substitution mechanism didn't detect Condensed fonts.
  4402. (lib/pdf_font.ps)
  4403. - The font substitution mechanism didn't use the intelligent
  4404. algorithm used for PostScript files. (lib/pdf_font.ps)
  4405. Prints a message when substituting for a font on the basis of its
  4406. descriptor. (lib/pdf_font.ps)
  4407. </pre><h3><a name="5.71_Streams"></a>Streams</h3><pre>
  4408. Adds an interface and default implementation for readline. (srdline.h,
  4409. stream.h, stream.c)
  4410. </pre><h3><a name="5.71_Library"></a>Library</h3><pre>
  4411. Fixes problems:
  4412. - A void procedure attempted to return a value. (stream.c)
  4413. - A pointer was declared with an extra *. (gsmemory.c)
  4414. - An argument would be stringified with traditional C. (gdevdbit.c)
  4415. - The check for validity of the CIE joint caches was wrong, leading
  4416. to incorrect output in some obscure cases. (gsciemap.c)
  4417. - A tiny rounding inaccuracy could cause an occasional blank line
  4418. when rendering adjacent images. (gxipixel.c)
  4419. - Some symbols were multiply defined with -DNOPRIVATE. (gsptype2.h)
  4420. - If a character was too large to be cached, it didn't use
  4421. anti-aliasing, even if TextAlphaBits was >1. (gspaint.c)
  4422. Changes code slightly to remove warnings about signed/unsigned integer
  4423. constants. (gsccode.h, gsmisc.c, gxcht.c)
  4424. Changes code to remove a warning about an unhandled case in a switch.
  4425. (gsstruct.h, gsmemory.c)
  4426. Changes code to remove unused variables. (gxcindex.h, gdevdbit.c,
  4427. gdevprn.c, gxiscale.c)
  4428. Restructures the header files for the new text API, adding the SINGLE
  4429. options in text_params, enough new elements in text_enum to store all the
  4430. arguments of text_begin, and new elements in text_enum to hold results
  4431. returned by text_process. This code is no longer "subject to [arbitrary]
  4432. change without notice", although it is still not very stable. (gstext.h,
  4433. gxtext.h, gstext.c)
  4434. Changes code to remove warnings about uninitialized variables. (gxipixel.c)
  4435. Changes the syntactic form of some constants yet again to suppress a
  4436. different set of compiler warnings. (gxsample.c)
  4437. Adds a procedure to fix the charpath-in-BuildChar problem. (gsimage.h,
  4438. gsimage.c, gsptype1.c)
  4439. Speeds up the handling of certain RasterOp cases for CMYK devices.
  4440. (gxdevice.h, gxdevmem.h, gdevdrop.c, gdevmem.c, gdevmr8n.c, gdevrops.c)
  4441. Adds a platform-specific interface for reading lines from stdin. This is
  4442. intended primarily to support GNU readline. (lib.mak, gp.h, gp_strdl.c)
  4443. </pre>
  4444. <hr>
  4445. <h2><a name="Version5.70"></a>Version 5.70 (internal) (2/20/99)</h2>
  4446. <p>
  4447. This fileset includes substantial changes to the interpreter in support of
  4448. making it fully reentrant (eliminating writable globals).
  4449. <h3><a name="5.70_Incompatible_changes"></a>Incompatible changes</h3><pre>
  4450. (Interpreter)
  4451. - The ref_stack structure has been renamed ref_stack_t, and has been
  4452. changed substantially. Clients should now access all of its members, other
  4453. than the pointers to the current block, through the macros or procedures
  4454. defined in istack.h. The STACK_LOOP_{BEGIN,END} macros have been removed.
  4455. - The argument of context_state_load is no longer const.
  4456. - Each file's table of operator definitions is now limited to 16
  4457. entries. op_def_table[] no longer exists: use op_index_def() instead.
  4458. - invalid_file_entry now has an associated VM space,
  4459. avm_invalid_file_entry, that must be used in constructing invalid file refs.
  4460. - restore will now undo binding of pseudo-operators. Attempting to
  4461. bind a local pseudo-operator into a global procedure will cause an
  4462. invalidaccess error.
  4463. </pre><h3><a name="5.70_Documentation"></a>Documentation</h3><pre>
  4464. Updates the driver documentation a bit. It probably still includes a lot of
  4465. out-of-date text. (doc/Drivers.htm)
  4466. Improves the problem reporting form to make it absolutely clear that test
  4467. data are required, and that the problem must be reproducible without using a
  4468. viewer. (doc/Bug-form.htm)
  4469. Documents the -dDOINTERPOLATE switch. (doc/Use.htm)
  4470. Documents the difference between public and tester releases, in connection
  4471. with making tester releases available to everyone. (doc/New-user.htm)
  4472. Updates the list of history files. (doc/Readme.htm)
  4473. Adds a questionnaire for people who want to be notified of new test
  4474. releases. (doc/Readme.htm, doc/Tester.htm)
  4475. </pre><h3><a name="5.70_Procedures"></a>Procedures</h3><pre>
  4476. Fixes problems:
  4477. - A ! was missing before an include. (bcwin32.mak, msvc32.mak)
  4478. - A trailing \ in some macro definitions was quoted incorrectly.
  4479. (bcwin32.mak, msvc32.mak)
  4480. - An editing error prevented a makefile from working. (bcwin32.mak)
  4481. - The 16-bit spooler executable didn't reference its icon correctly.
  4482. (gs16spl.rc)
  4483. - The Watcom makefiles had gotten badly out of date. (watc.mak,
  4484. watclib.mak, wccommon.mak)
  4485. - Some DEVICE_DEVS lines were too long for the shell to handle.
  4486. (openvms.mmk)
  4487. - A space was missing before a colon. (openvms.mmk)
  4488. Updates MSVC support to handle version 6. (msvc32.mak)
  4489. Extends genconf to handle function types as well as image types, and changes
  4490. the output for image types. (genconf.c)
  4491. Desupports the use of CONFIG for selecting between multiple configurations,
  4492. since parameterized output directories do this better. (bcwin32.mak,
  4493. dvx-gcc.mak, gs.mak, int.mak, lib.mak, msvc32.mak, msvclib.mak, openvms.mak,
  4494. openvms.mmk, os2.mak, ugcclib.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak,
  4495. watc.mak, watclib.mak, watcw32.mak)
  4496. Adds a -dDOINTERPOLATE switch to force Interpolate in all images.
  4497. (lib/gs_init.ps)
  4498. </pre><h3><a name="5.70_Utilities"></a>Utilities</h3><pre>
  4499. Rewrites viewpcx to eliminate dependence on a special filter.
  4500. (lib/viewpcx.ps)
  4501. </pre><h3><a name="5.70_Drivers"></a>Drivers</h3><pre>
  4502. Fixes problems:
  4503. - The [e]pswrite and pdfwrite drivers wrote out clipping paths using
  4504. the winding number rule even if the path had been set with eoclip.
  4505. (gdevpdfd.c, gdevvec.c)
  4506. - Some occurrences of ushort should have been gx_color_value.
  4507. (gdevpbm.c)
  4508. - A comment was accidentally left outside comment quotes.
  4509. (gdev3852.c)
  4510. - There was a char/byte mismatch not covered by a cast.
  4511. (gdevdcrd.c)
  4512. - There were still some references to the 'huge' keyword, which has
  4513. been superseded by FAR. (gdevwdib.c)
  4514. - Some obsolete references to which_colors hadn't been removed.
  4515. (gdevwdib.c)
  4516. - The [e]pswrite driver produced incorrect output for a curveto or
  4517. closepath followed by a lineto and then a moveto. (gdevps.c)
  4518. - The [e]pswrite driver could produce incorrect output for paths
  4519. ending with a lineto. (gdevps.c)
  4520. - The name paper_sizes was used both by a driver and by other code,
  4521. causing a problem when building with -dNOPRIVATE. (gdevclj.c)
  4522. Consolidates the X error handling statics into a structure. (gdevxini.c)
  4523. Updates the pdfwrite driver to reflect the addition of state to the
  4524. ASCII85Encode filter. (gdevpsdf.c)
  4525. Adds a user-contributed driver for the Lexmark 5700 printer (black-and-white
  4526. only). (contrib.mak, gdevlxm.c)
  4527. Updates the mswinpr2 driver with a new, user-contributed one that includes
  4528. interaction with the user. (gdevwpr2.c)
  4529. </pre><h3><a name="5.70_Fonts"></a>Fonts</h3><pre>
  4530. Fixes problems:
  4531. - When TrueType support was present, the FONTPATH scanner didn't
  4532. recognize TrueType fonts whose 'type' was "true" rather than the documented
  4533. <00 01 00 00>. (lib/gs_ttf.ps)
  4534. - When DEBUG was set, loading a TrueType font could cause an
  4535. /undefined error. (lib/gs_ttf.ps)
  4536. </pre><h3><a name="5.70_Interpreter"></a>Interpreter</h3><pre>
  4537. Fixes problems:
  4538. - Local (pseudo-)operators could get bound into global procedures
  4539. with 'bind', causing dangling references. Attempting this now causes an
  4540. invalidaccess error. Fixing this also required making restore undo binding
  4541. of pseudo-operators. (zmisc.c)
  4542. - A harmless dictfull error occurring during language level
  4543. switching caused an error. (zmisc2.c)
  4544. - If given a closed input file, flushfile caused an error, rather
  4545. than doing nothing. (zfileio.c)
  4546. Renames the ref_stack structure as ref_stack_t, and factors it so that the
  4547. parts set only at initialization are separated from the dynamic parts, in
  4548. support of moving the stacks from static to dynamic storage. (icstate.h,
  4549. idebug.h, idstack.h, iestack.h, iostack.h, iparam.h, iparray.h, istack.h,
  4550. idebug.c, interp.c, iparam.c, istack.c, zcontext.c, zpacked.c, zvmem.c)
  4551. Moves the dynamic part of the stacks in-line in the context structure; gets
  4552. rid of the statically allocated stacks. (dstack.h, estack.h, icontext.h,
  4553. icstate.h, idstack.h, iestack.h, interp.h, iostack.h, ostack.h, icontext.c,
  4554. iinit.c, interp.c, zcontext.c)
  4555. Packages the dictionary lookup statistics in a structure, like the other
  4556. statistics. (idict.c)
  4557. Changes from dynamic to static initialization of the function type table.
  4558. (int.mak, ifunc.h, iconf.c, zfunc.c, zfunc0.c, zfunc3.c)
  4559. Removes the PCXDecode filter. (zfilterx.c)
  4560. Removes more writable statics. (int.mak, btoken.h, files.h, icstate.h,
  4561. igstate.h, ipacked.h, iscan.h, icontext.c, imain.c, iscan.c, iscanbin.c,
  4562. zbseq.c, zcolor2.c, zcontext.c, zgstate.c, ziodev.c, zmath.c, zpcolor.c,
  4563. zpacked.c)
  4564. Changes the representation of the operator table to avoid allocating a
  4565. dynamic copy. This introduces a limit of 16 entries per definition set.
  4566. (int.mak, opdef.h, iconf.c, idebug.c, iinit.c, interp.c, iutil.c,
  4567. zcontext.c, zcontrol.c, zdict.c, zfileio.c, zgstate.c, ztype.c)
  4568. Includes the ASCII85Decode filter in all configurations, for simplicity.
  4569. (iscan.c, zfdecode.c)
  4570. Makes the invalid file reference point to a static object. (files.h,
  4571. icontext.c, zfile.c, ziodev.c)
  4572. Changes all dictfull error returns from the dictionary code to use
  4573. return_error. This should have been done a long time ago! (idict.c)
  4574. Increases the predefined size of systemdict a little more because .upp files
  4575. may define a lot of new entries. (iinit.c)
  4576. Adds a few more interpreter statistics. (interp.c)
  4577. </pre><h3><a name="5.70_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  4578. Fixes problems:
  4579. - Images never closed the data stream, placing a heavy load on the
  4580. garbage collector to clean up streams and stream states. (lib/pdf_draw.ps)
  4581. - Streams stored on external files didn't work. (lib/pdf_base.ps)
  4582. Reorganizes code slightly to allocate less memory for in-line images.
  4583. (lib/pdf_draw.ps)
  4584. Speeds up some common operations a little. (lib/pdf_base.ps)
  4585. </pre><h3><a name="5.70_Streams"></a>Streams</h3><pre>
  4586. Removes the PCXDecode filter. (spcxx.h [deleted], spcxd.c [deleted])
  4587. Changes the name of a variable for greater clarity. (stream.c)
  4588. Splits off the ASCII85Decode filter into a separate file, since it turns out
  4589. to be convenient to include it in all configurations. (sa85d.h, sa85x.h,
  4590. sa85d.c, sfilter2.c)
  4591. Makes an initialization entry point available for non-heap-allocated
  4592. streams. (stream.h, stream.c)
  4593. Changes the ASCII85Encode filter so it always produces lines of at most 80
  4594. characters, not counting the EOD marker. THIS IS A NON-BACKWARD-COMPATIBLE
  4595. CHANGE, because this filter now needs a state structure, which it didn't
  4596. before. (sa85x.h, sfilter2.c)
  4597. </pre><h3><a name="5.70_Library"></a>Library</h3><pre>
  4598. Fixes problems:
  4599. - Reference counting of graphics state elements was wrong when
  4600. creating multiple contexts, causing memory corruption. (bug probably
  4601. introduced in 5.68) (gsstate.c)
  4602. - If CIE joint caches were created because the reference count of
  4603. the existing caches was >1, the new caches weren't initialized correctly.
  4604. (bug introduced in 5.60, found by Ray Johnston.) (gscie.c)
  4605. - If Margins are set so that part of the default clipping region
  4606. lies outside the ((0,0),(width,height)) device coordinate space, the fast
  4607. case of images could cause a memory access error. (gxifast.c)
  4608. - In the case of a halftone with more bits than levels,
  4609. gx_check_tile_cache could incorrectly return false, causing images to render
  4610. more slowly than they should. (gzht.h, gxht.c)
  4611. - There was a const mismatch between an argument and the formal
  4612. parameter. (gdevprn.h, gdevprn.c, gxclread.c)
  4613. - An error in the definition of st_imager_state_num_ptrs caused the
  4614. garbage collector to omit marking one pointer in imager states, possibly
  4615. causing memory corruption. (gxistate.h)
  4616. - The bbox device, used with no target, didn't properly handle
  4617. images where more data was provided than needed. (gdevbbox.c)
  4618. Removes any pretense of supporting multiple threads in a single-threaded
  4619. environment. Dummy synchronization primitives, however, are still provided.
  4620. (gp_nsync.c)
  4621. Removes more writable statics. (gximage.h, gxi12bit.c, gxino12b.c,
  4622. gxipixel.c)
  4623. Changes the handling of image types, and adds similar handling for function
  4624. types. (gscdefs.h, gconf.c)
  4625. Consolidates the gs_std* files into a structure. (gsio.h, gsmisc.c)
  4626. Speeds up the fastest (common) case of clipping fill_rectangle and copy_mono
  4627. operations. We could do the same for the other operations if we wanted.
  4628. (gxclip.c)
  4629. Identifies this fileset as a tester release. (gscdef.c)
  4630. </pre>
  4631. <hr>
  4632. <h2><a name="Version5.69"></a>Version 5.69 (internal) (2/4/99)</h2>
  4633. <p>
  4634. This incremental fileset fixes minor compilation problems, as well as many
  4635. problems with driver-based CRDs (not used by PostScript or PDF).
  4636. <h3><a name="5.69_Procedures"></a>Procedures</h3><pre>
  4637. Fixes problems:
  4638. - The OpenVMS makefile had not been updated properly to reflect the
  4639. division of files into subdirectories. (openvms.mak)
  4640. - A space was missing before a :. (devs.mak)
  4641. - The MMK makefile had not been updated to reflect the renaming of
  4642. the psm[raw] devices to pksm[raw]. (openvms.mmk)
  4643. Changes the default name of the build directory for the library test program
  4644. from debugobj to libobj, so that one can work with both library and
  4645. interpreter builds without interference. (ugcclib.mak)
  4646. Adds -fno-builtin to the gcc switches, to detect failure to declare
  4647. functions like memcpy, at a small cost in performance. (ugcclib.mak,
  4648. unix-gcc.mak)
  4649. </pre><h3><a name="5.69_Utilities"></a>Utilities</h3><pre>
  4650. Makes a couple of minor fixes to ansi2knr, suggested by users. (ansi2knr.c)
  4651. Updates ps2ai.ps with an improved version from its author. (lib/ps2ai.ps)
  4652. </pre><h3><a name="5.69_Drivers"></a>Drivers</h3><pre>
  4653. Fixes problems:
  4654. - The 32-bit CMYK "async" BMP driver was declared incorrectly as a
  4655. non-async device. (gdevbmpa.c)
  4656. - Some #includes were missing, because gcc didn't warn about
  4657. failures to declare certain standard functions. (x_.h, gdevdcrd.c, gdevx.c)
  4658. - The PC frame buffer device still referred to _ss and near.
  4659. (gdevpcfb.c)
  4660. - The [e]pswrite driver didn't handle bitmaps with a non-zero X bit
  4661. offset correctly. (gdevps.c)
  4662. - The pdfwrite driver wrote all clipping paths with the winding
  4663. number rule, even if they were established by eoclip. (gdevpdfd.c)
  4664. - "Vector" drivers wrote all clipping paths with the winding number
  4665. rule, even if they were established by eoclip. (gdevvec.c)
  4666. Adds the CRDName parameter to the sample driver-based CRD. (gdevdcrd.c)
  4667. Tweaks the sample driver-based CRD to make it a more realistic (closer to
  4668. the PostScript default). (gdevdcrd.c)
  4669. Adds the sample driver-based CRD to the modified X drivers. (devs.mak,
  4670. gdevxalt.c)
  4671. </pre><h3><a name="5.69_Interpreter"></a>Interpreter</h3><pre>
  4672. Fixes problems:
  4673. - Some #includes were missing, because gcc didn't warn about
  4674. failures to declare certain standard functions. (zchar1.c)
  4675. - Driver CRDs were not supported properly. (zcrd.c, lib/gs_lev2.ps)
  4676. Changes some code because non-int switch expressions are not handled
  4677. correctly in pre-ANSI C. (igcref.c, zdevice.c)
  4678. Adds the ability to set the orientation of zero-length "dots". (zgstate.c)
  4679. Adds comments on an alternative shallow-binding design. (dstack.h)
  4680. Changes the threshold for repeatedly rescanning change lists so that it is
  4681. based on the cumulative amount of rescanning and not the amount in a single
  4682. pass. (isave.c)
  4683. </pre><h3><a name="5.69_Streams"></a>Streams</h3><pre>
  4684. Changes some code because non-int switch expressions are not handled
  4685. correctly in pre-ANSI C. (sfilter1.c)
  4686. </pre><h3><a name="5.69_Library"></a>Library</h3><pre>
  4687. Fixes problems:
  4688. - Some casts to (gx_device *) were missing. (gschar.c)
  4689. - Some #includes were missing, because gcc doesn't warn about
  4690. failures to declare certain standard functions. (gdevdgbr.c, gscie.c,
  4691. gsmatrix.c, gxshade1.c)
  4692. - gxclread.c now needs gdevprn.h to declare certain procedures. We
  4693. tried very hard to make the command list machinery not depend on anything
  4694. related to printer devices, but at this point we have not succeeded.
  4695. (gxclread.c)
  4696. - For CRDs set by library clients, the is_identity flags in the
  4697. caches were set incorrectly, producing incorrect output. (gscie.h, gscie.c,
  4698. gscrd.c, gscrdp.c)
  4699. - For CRDs set by library clients, the EncodeABC and RenderTable T
  4700. procedures were sampled incorrectly. (gsciemap.c, gscrd.c)
  4701. - The interpreter tried to sample the TransformPQR functions in the
  4702. PostScript CRD even for driver CRDs. (gscie.h, gscie.c)
  4703. - Library assistance was needed for the interpreter to support
  4704. driver CRDs properly. (gscrdp.h, gscrdp.c)
  4705. - The procedures that accessed cached CIE values didn't round the
  4706. index, so accessing already-cached values could wipe out the cache.
  4707. (gscie.c)
  4708. - The procedure that accessed cached RenderTable.T values simply
  4709. wasn't implemented. (gscrd.c)
  4710. Adds an "if (1)" to a macro to suppress "statement not reached" warnings
  4711. from stupid compilers. (gsmemlok.c)
  4712. Changes the syntactic form of some constant tables to suppress
  4713. signed/unsigned warning messages. (gsbitops.c, gxsample.c)
  4714. Changes some switch statements to if/else because non-int switch expressions
  4715. are not handled correctly in pre-ANSI C. (gdevmr8n.c, gxdcolor.c)
  4716. Adds the ability to set the orientation of zero-length "dots". (gsline.h,
  4717. gxline.h, gsline.c, gsstate.c, gxstroke.c)
  4718. Adds an allocator state variable to support the change in the rescanning
  4719. algorithm. (gxalloc.h)
  4720. </pre>
  4721. <hr>
  4722. <h2><a name="Version5.68"></a>Version 5.68 (internal) (1/29/99)</h2>
  4723. <p>
  4724. This fileset implements PatternType 2 (gradient fill) Patterns. All
  4725. significant PostScript LanguageLevel 3 features are now implemented, except
  4726. for DeviceN color spaces. We have also verified that the MMK script for
  4727. OpenVMS also works with MMS.
  4728. <p>
  4729. Note that there are significant non-backward compatible changes to memory
  4730. management for device instances: we are sorry about this, but just as with
  4731. paths in 5.22, we had to fix this design problem at some point.
  4732. <h3><a name="5.68_Incompatible_changes"></a>Incompatible changes</h3><pre>
  4733. (Procedures)
  4734. - A new makefile, unix-aux.mak, must be included in all Unix
  4735. top-level makefiles. (It is included in the ones we distribute.)
  4736. unixtail.mak is renamed unixlink.mak.
  4737. (Library)
  4738. - The names of the anti-aliasing parameters in the device color_info
  4739. structure have been changed.
  4740. - Dummy definitions for PC-specific C keywords (_cs, _ds, _ss, near,
  4741. far, huge) are no longer provided: these keywords should be removed from
  4742. non-PC-specific code.
  4743. - The names of the alignment_mod, ptr_le, ptr_lt, ptr_ge, ptr_gt,
  4744. and ptr_between macros have been changed to upper case (ALIGNMENT_MOD etc.)
  4745. - gs_make_null_device now takes an additional argument.
  4746. - The ccolor member of a gx_device_color is no longer inside a
  4747. substructure.
  4748. - Clients now must initialize Pattern templates with
  4749. gs_patternN_init, where N is the PatternType (normally 1), before filling in
  4750. the members.
  4751. - gs_pattern_instance_common_t is renamed gs_pattern_instance_t;
  4752. gs_pattern_instance is renamed gs_pattern1_instance.
  4753. - To set the target of a forwarding device, you must now use
  4754. gx_device_set_target rather than setting the target member directly.
  4755. - Memory management for devices has changed substantially, and in a
  4756. subtle way. If you have code that calls the library, please read the
  4757. documentation in gxdevcli.h.
  4758. - Callers of the driver create_buf_device procedure must always call
  4759. it through gdev_create_buf_device, never directly.
  4760. - For composite and CID-keyed fonts, the character code returned by
  4761. gs_show_current_char and gs_kshow_previous_char is now the full multi-byte
  4762. character code rather than just the last byte of the code.
  4763. - gdev_cmap_set_method has been replaced by a device parameter,
  4764. ColorMappingMethod.
  4765. - The CRD pointer parameter for param_write_cie_render1 and
  4766. param_put_cie_render1 is no longer const.
  4767. </pre><h3><a name="5.68_Documentation"></a>Documentation</h3><pre>
  4768. Fixes problems:
  4769. - The documentation for resize_object and resize_string didn't allow
  4770. the new size to be the same as the old size, didn't describe what data was
  4771. preserved, and didn't guarantee to return the same object if the new size
  4772. was the same as the old size. (gsmemraw.h, gsmemory.h)
  4773. - The documentation for the value returned by the internal
  4774. .getmetrics32 operator was incorrect. (zchar32.c)
  4775. - The documentation for the special color mapping device didn't say
  4776. that the caller had to call gs_setdevice_no_init to update graphics states.
  4777. (gdevcmap.h)
  4778. Notes that OPENVMS.MMK works with both MMK and MMS. (doc/Make.htm)
  4779. Adds a note to the C style guide about nested vs. multi-branch 'if'
  4780. statements. (doc/C-style.htm)
  4781. Notes that the multi-threaded ("async") drivers require libc version 6 or
  4782. higher under Linux. (doc/Make.htm)
  4783. Notes additional Irix/MIPSpro combinations that compile idict.c incorrectly,
  4784. and gives a workaround. (doc/Make.htm)
  4785. Adds a couple more acknowledgements. (doc/Helpers.htm)
  4786. Documents the new -Z^ switch. (doc/Use.htm)
  4787. Documents the new rules about memory management for device instances
  4788. (gxdevcli.h, gxdevice.h)
  4789. </pre><h3><a name="5.68_Procedures"></a>Procedures</h3><pre>
  4790. Fixes problems:
  4791. - The "async" BMP devices were accidentally included in the default
  4792. list for Unix, leading to a requirement for the POSIX thread package, which
  4793. is not available on all systems. (unix-gcc.mak)
  4794. - There was a minor typo in the new MMK script. (openvms.mmk)
  4795. - The MMK script redefines macros, which MMS does not allow.
  4796. (openvms.mmk)
  4797. - The gcc version test used gcc rather than $(CC) for the compiler
  4798. name. (unix-gcc.mak)
  4799. - There was a minor typo in the pcx2up device makefile entry.
  4800. (devs.mak)
  4801. - Some commands in the Unix install rules referenced sh rather than
  4802. $(SHELL). (unixinst.mak)
  4803. Makes (dummy) in-RIP trapping an optional feature, and removes it from the
  4804. default configuration. (int.mak, lib.mak)
  4805. Splits off the build rules for the Unix auxiliary programs, so they can be
  4806. shared between interpreter and library configurations. (ugcclib.mak,
  4807. unix-aux.mak, unix-gcc.mak, unixansi.mak, unixtail.mak [deleted],
  4808. unixlink.mak, unixtrad.mak)
  4809. Adds the bitcmyk device to the list of devices for the library test program.
  4810. (ugcclib.mak)
  4811. </pre><h3><a name="5.68_Utilities"></a>Utilities</h3><pre>
  4812. Fixes problems:
  4813. - ansi2knr didn't handle occurrences of '/' or quoted strings inside
  4814. an argument list correctly. (ansi2knr.c)
  4815. At the suggestion of a GNU person, makes ansi2knr check for output errors.
  4816. (ansi2knr.c)
  4817. </pre><h3><a name="5.68_Drivers"></a>Drivers</h3><pre>
  4818. Fixes problems:
  4819. - Setting the resolution on the SPARCprinter didn't work.
  4820. (gdevsppr.c)
  4821. - Even in PDF 1.1 compatibility mode, the PDF writer used a
  4822. predictor to compress images. (gdevpsdi.c)
  4823. - Reference counting for devices was not implemented consistently.
  4824. (gdevxalt.c)
  4825. - gcc (again) missed some static / non-static inconsistencies.
  4826. (gdevbmpa.c, gdevifno.c)
  4827. Removes all remaining uses of segment identifiers (_cs, _ds, _ss) from
  4828. non-PC-specific code. (gdev3852.c, gdevcdj.c, gdevhl7x.c, gdevl256.c,
  4829. gdevmgr.c, gdevsgi.c, gdevsppr.c, gdevvglb.c)
  4830. Removes all remaining uses of the 'near' keyword from non-PC-specific code.
  4831. (gdevcd8.c, gdevcdj.c, gdevcgm.c)
  4832. Changes uses of round_up to ROUND_UP. (gdevmsxf.c, gdevpcx.c, gdevpx.c,
  4833. gdevxxf.c)
  4834. Adds user-contributed support for 16-bit displays to the MS Windows driver.
  4835. (gdevmswn.c, gdevwdib.c)
  4836. Adds a user-contributed driver (sunhmono) for the Harlequin variant of 1-bit
  4837. Sun raster files. We expect to add other varieties of Sun Raster file
  4838. eventually as well. (contrib.mak, gdevsunr.c)
  4839. Adds a user-contributed driver (fs600) for the Kyocera FS-600 laser printer.
  4840. (devs.mak, gdevdjet.c)
  4841. Replaces the sample device CRD with a slightly hacked version of the default
  4842. PostScript CRD, and moves it to a separate file for greater flexibility in
  4843. testing. (gdevdcrd.h, gdevbit.c, gdevdcrd.c)
  4844. Adds standard and "async" 32-bit CMYK BMP drivers (even though this is
  4845. outside the published BMP format). (gdevbmp.c, gdevbmpa.c)
  4846. Changes the names of the separated-CMYK PBM drivers from psm to pksm, to be
  4847. more descriptive. (devs.mak, openvms.mak, unix-gcc.mak, gdevpbm.c)
  4848. </pre><h3><a name="5.68_Platforms"></a>Platforms</h3><pre>
  4849. Fixes problems:
  4850. - On MS Windows and OS/2, "(%stdin) (r) file bytesavailable" caused
  4851. a crash. (gp_msio.c, gp_os2.c)
  4852. </pre><h3><a name="5.68_Fonts"></a>Fonts</h3><pre>
  4853. Fixes problems:
  4854. - TrueType fonts with fewer glyph names in post than entries in loca
  4855. caused an error. (gs_ttf.ps)
  4856. Adds additional tracing to the TrueType font loader. (lib/gs_ttf.ps)
  4857. Per Adobe, adds the Euro symbol under the name /Euro (capitalized) to
  4858. various built-in Encodings. (lib/gs_mro_e.ps, lib/gs_pdf_e.ps,
  4859. lib/gs_sym_e.ps, lib/gs_wan_e.ps)
  4860. </pre><h3><a name="5.68_Interpreter"></a>Interpreter</h3><pre>
  4861. Fixes problems:
  4862. - An extraneous file got left in the fileset. (lib/pdf_main.ps.sav
  4863. [deleted])
  4864. - The number of required arguments for .pathbbox was incorrectly
  4865. specified as 0 rather than 1. (zpath1.c)
  4866. - Opening a ReusableStreamDecode filter with a string source and no
  4867. decoding filters left an extra value on the stack. (lib/gs_ll3.ps)
  4868. - Type 32 fonts sometimes didn't display the characters, or
  4869. displayed them offset. (lib/gs_typ32.ps)
  4870. - In LanguageLevel 3, copypage still called EndPage with 1 rather
  4871. than 0. (lib/gs_init.ps)
  4872. - The HalftoneName parameter was missing from the trapping parameter
  4873. set. (lib/gs_ll3.ps)
  4874. - CMap character entries were processed in the wrong order.
  4875. (lib/gs_cmap.ps)
  4876. - CMap'ed non-CID fonts didn't work properly, because they called
  4877. BuildChar with the original character code rather than BuildGlyph with the
  4878. mapped glyph. (zchar.c)
  4879. - Using an out-of-range CID value with a CIDFont caused an error
  4880. rather than substituting a notdef. (lib/gs_cidfn.ps)
  4881. - CIDFontType 0 fonts with a GlyphDirectory didn't fall back to the
  4882. indexed character data if the CID wasn't in the GlyphDirectory.
  4883. (lib/gs_cidfn.ps)
  4884. - CIDFontType 0 fonts didn't substitute a notdef at all.
  4885. (lib/gs_cidfn.ps)
  4886. Changes uses of round_up to ROUND_UP. (igcstr.c)
  4887. Updates clients for the object-oriented changes to Patterns. (zcolor2.c,
  4888. zpcolor.c)
  4889. Implements the rest of PatternType 2. (ipcolor.h, zpcolor.c, zshade.c)
  4890. Makes in-RIP trapping an optional feature. (lib/gs_ll3.ps, lib/gs_trap.ps)
  4891. Updates clients for the change in gs_show_current_char. (zcfont.c, zchar.c)
  4892. Changes the dict_*_param macros to procedures, for easier tracing. This
  4893. includes a change in the return value of dict_matrix3_param. (icie.h,
  4894. zcie.c, zcrd.c)
  4895. </pre><h3><a name="5.68_Streams"></a>Streams</h3><pre>
  4896. Changes uses of round_up to ROUND_UP. (scfd.c, scfe.c)
  4897. </pre><h3><a name="5.68_Library"></a>Library</h3><pre>
  4898. Fixes problems:
  4899. - Once again, gcc failed to flag a static procedure declaration
  4900. followed by a non-static definition. (gdevprna.c, gximage3.c)
  4901. - Anti-aliasing no longer worked for the x11alpha device. To fix
  4902. this, we factored out the anti-aliasing information in the
  4903. gx_device_color_info structure. (bug introduced in 5.65) (gxdevcli.h,
  4904. gdevabuf.c, gdevdflt.c, gdevxalt.c, gsdparam.c)
  4905. - An empty declaration generated an extraneous semicolon.
  4906. (gxclip2.h)
  4907. - Some macros that generated an if-else construct didn't enclose it
  4908. in BEGIN/END, possibly leading to incorrect parsing. (gxobj.h)
  4909. - A comment was missing a closing */. (gxpageq.h)
  4910. - The handling of the phase in Pattern filling was broken again. We
  4911. probably broke it with the "fix" introduced in 5.24. (gxp1fill.c)
  4912. - Looking up an undefined IODevice name caused a memory access
  4913. error. (bug claimed to be fixed in 5.24) (gsiodev.c)
  4914. - The null device installed for stringwidth didn't copy the color
  4915. mapping information from its target, causing confusion if the current device
  4916. was a pattern accumulator. (gxdevcli.h, gxdevice.h, gschar.c, gsdevice.c,
  4917. gxpcmap.c)
  4918. - mem_mapped2_copy_mono produced incorrect results for byte-aligned
  4919. rectangles exactly 1 byte wide (fix from John D.), and could also access
  4920. data 1 byte beyond the end of each source row. (gdevm2.c)
  4921. - In the case of a masked image or a RasterOp involving a Pattern,
  4922. the garbage collector could fail to follow a pointer, possibly causing
  4923. memory corruption. (gsdcolor.h)
  4924. - Assigning a double value to a float variable caused an infinite
  4925. recursion. (gxshade1.c)
  4926. - Failure to detect when the region being filled had become very
  4927. small caused excessive recursion. (gxshade4.c)
  4928. - The default implementations of resize_object didn't always return
  4929. the old object if the old and new sizes were the same. (gsalloc.c,
  4930. gsmalloc.c)
  4931. - The left side bearing of TrueType characters was sometimes
  4932. calculated incorrectly. (gstype42.c)
  4933. - The TrueType renderer disregarded the left side bearing values.
  4934. We aren't sure that the change we made is right, but it seems to produce
  4935. better output. (gstype42.c)
  4936. - Shadings used the first Decode entry for both X and Y values.
  4937. (gxshade.c)
  4938. - Function-based Shadings sometimes omitted part of their output.
  4939. (gxshade1.c)
  4940. - Function-based Shadings didn't access 4-bit-per-sample data
  4941. correctly. (gsfunc0.c)
  4942. - The malloc/free-based allocator didn't finalize objects when
  4943. freeing them. (gsmalloc.c)
  4944. - Reference counting for device instances was not implemented even
  4945. close to consistently. THIS IS THE BUG TAIL WE WORRIED ABOUT IN 5.24.
  4946. (gxdevcli.h, gxdevice.h, gdevbbox.c, gdevcmap.c, gdevmem.c, gdevnfwd.c,
  4947. gdevplnx.c, gdevprn.c, gdevrops.c, gsalphac.c, gschar.c, gsdevice.c,
  4948. gsropc.c, gxidata.c, gxmclip.c, gxipixel.c, gxpcmap.c)
  4949. - Some device structure definitions failed to include finalization.
  4950. (gdevmrop.h, gsstruct.h, gxclip2.h, gxcpath.h, gxdevmem.h, gxmclip.h)
  4951. - Reference counting for the device halftone wasn't correct in the
  4952. band rasterizer. This must be a recently introduced bug, because otherwise
  4953. banding couldn't have worked. (gxclrast.c)
  4954. - When banding, high-level images that extended off the page in the
  4955. Y direction caused memory access errors. (gxclimag.c)
  4956. - [a]widthshow didn't use the correct value for comparison for
  4957. composite fonts with FMapType 9 (CMap). (gxchar.h, gschar.c, gschar0.c,
  4958. gsfcmap.c)
  4959. - The special color mapping device only worked for
  4960. device_cmap_monochrome. (gdevcmap.h, gdevcmap.c)
  4961. - The definition of gs_memory_locked_release was wrong.
  4962. (gsmemlok.h, gsmemlok.c)
  4963. - An opaque structure definition (for gx_device) was missing,
  4964. creating a need for an otherwise unnecessary #include. (gscrdp.h)
  4965. - Certain cached values weren't computed when needed. Fixing this
  4966. required removing 'const' from a parameter type. (gscrdp.h, gscrdp.c)
  4967. - gxclmem.c #included "gsmalloc.h", which is no longer needed.
  4968. (gxclmem.c)
  4969. - Memory management for device halftones was incorrect, leading to
  4970. objects being freed twice or other memory corruption during band rendering.
  4971. (gzht.h, gsht.c, gsstate.c, gxclrast.c, gxistate.c)
  4972. - Setting a driver-originated CRD didn't invalidate cached
  4973. information, leading to incorrect output. (gscrdp.c)
  4974. - A consistency check on driver-originated CRDs was incorrect,
  4975. causing valid CRDs to be rejected. (gscrdp.c)
  4976. Removes dummy definitions for old PC-specific language extensions.
  4977. (stdpre.h)
  4978. Removes uses of the PC-specific 'huge' keyword. (gdevmem.c)
  4979. Removes uses of the PC-specific 'near' keyword. (gdevabuf.c, gdevbbox.c)
  4980. Changes the pointer comparison macros to upper-case names. (gxalloc.h,
  4981. stdpre.h, gsalloc.c, gsmisc.c)
  4982. Changes the alignment_mod macro to upper case. (stdpre.h, gdevdbit.c,
  4983. gdevdgbr.c, gsparams.c, gxifast.c)
  4984. Changes the round_up and round_down macros to upper case. We retain the
  4985. lower-case definitions for the sake of the PCL code. (gxfcache.h, gxobj.h,
  4986. stdpre.h, gdevalph.c, gdevmem.c, gsalloc.c, gspath1.c, gxccman.c,
  4987. gxclimag.c, gxifast.c)
  4988. Makes Pattern colors more object-oriented, to support PatternType 2,
  4989. splitting gsptype1.c off from gspcolor.c in the process. (gsccolor.h,
  4990. gsdcolor.h, gspcolor.h, gsptype1.h, gsptype2.h, gxcolor2.h, gxpcolor.h,
  4991. gspcolor.c, gsptype1.c, gxpcmap.c)
  4992. Implements PatternType 2. (gspcolor.h, gsptype1.h, gsptype2.h, gxcolor2.h,
  4993. gxpcolor.h, gxshade.h, gspcolor.c, gsptype2.c)
  4994. Changes the interface to shaded filling to make filling rectangles more
  4995. efficient. (gsshade.h, gscolor3.c, gsshade.c)
  4996. Improves some macros that didn't handle expressions as arguments.
  4997. (gsrect.h)
  4998. Improves tracing of loading the CIE caches. (gscie.c)
  4999. Cleans up some formatting, and replaces some floating point divides with
  5000. multiplies. (gstype42.c)
  5001. Adds default values for the MaxSeparations (1), Separations (false), and
  5002. SeparationColorNames (empty array) device parameters. (gsdparam.c)
  5003. Adds -Z^ to trace reference counting. (gsrefct.h, gsmemory.c)
  5004. Changes the definition of finalization so that finalization procedures *can*
  5005. assume that objects they reference still exist. This is necessary so that
  5006. forwarding devices can decrement the reference counts of their targets.
  5007. Fortunately, all invocations of finalization (in 'restore', the garbage
  5008. collector, and freeing) already have this property. (gsstruct.h)
  5009. Extends CRD initialization so that cached values may be copied from an
  5010. existing CRD. (gscrd.h, gscrd.c)
  5011. Adds a wrapper to the driver create_buf_device procedure to increment the
  5012. reference count, so that buffer devices can be freely used in graphics
  5013. states and as a target. (gxdevcli.h, gdevprn.c, gxclread.c)
  5014. Removes recursion from the shading rendering code, in preparation for making
  5015. it interruptible (required for DeviceN color mapping callouts).
  5016. (gxshade4.h, gxshade1.c, gxshade4.c, gxshade6.c)
  5017. Monitor-locks the default allocator based on the C heap, if multi-threading
  5018. is being supported at all. (lib.mak, gsmalloc.h, gsmalloc.c)
  5019. Speeds up the implementation of mem_true32_copy_mono for the common case.
  5020. (gdevm32.c)
  5021. Adds a (disabled) option for defining gx_color_index as a pointer or a
  5022. structure, for testing. (gxcindex.h)
  5023. Makes the library test program test the special color mapper more
  5024. thoroughly. (gslib.c)
  5025. </pre>
  5026. <hr>
  5027. <h2><a name="Version5.67"></a>Version 5.67 (internal) (1/8/99)</h2>
  5028. <p>
  5029. This fileset adds more PostScript LanguageLevel 3 capability:
  5030. <ul>
  5031. <li> - Complete implementation of shfill.
  5032. <li> - Most of the expanded CMap capabilities.
  5033. <li> - ReusableStreamDecode filter.
  5034. <li> - FontType 2 for CFFs (formerly done in an incompatible way).
  5035. <li> - HalftoneMode user parameter.
  5036. <li> - HalftoneTypes 6, 10, and 16.
  5037. <li> - ImageType 3 images.
  5038. <li> - UseCIEColor device parameter.
  5039. </ul>
  5040. <p>
  5041. It also adds a build script for MMK (which may also work with MMS) under
  5042. OpenVMS, and Uli Wortmann's drivers for the H-P color inkjet printers.
  5043. Among other bug fixes, it eliminates about half the "possibly uninitialized
  5044. variable" compiler warnings.
  5045. <h3><a name="5.67_Incompatible_changes"></a>Incompatible changes</h3><pre>
  5046. (Library)
  5047. - The default UCR and BG functions are now f(k) = k rather than f(k)
  5048. = 0.
  5049. - The set_[d]fmul2fixed_vars macros have been removed from
  5050. gxfixed.h. Clients must use the new CHECK/FINISH_[D]FMUL2FIXED_VARS macros.
  5051. (We don't think there are any such clients outside Ghostscript itself.)
  5052. - The internal procedure gx_cpath_intersect_slow is replaced with
  5053. gx_cpath_intersect_path_slow, with different arguments.
  5054. - gs_color_space_type_Device{Gray,RGB,CMYK} are now private.
  5055. Clients should use the gs_cspace_Device{Gray,RGB,CMYK} access procedures in
  5056. gscspace.h to obtain device color space objects.
  5057. - FontType 2 was renamed from ft_CFF to ft_encrypted2.
  5058. - FontType 2 fonts now have FontType = ft_encrypted2, rather than
  5059. ft_encrypted with CharstringType = 2. CharstringType no longer exists.
  5060. - Type 1 / Type 2 fonts now have an additional member, interpret,
  5061. that must be initialized.
  5062. - gdev_prn_render_lines and gdev_prn_get_band_buffer replace
  5063. gdev_prn_locate_overlay_buffer and gdev_prn_get_overlay_bits. "Async"
  5064. drivers must now use the new procedures to implement partial-page rendering
  5065. recovery.
  5066. - Clients that pass ImageType 3 images where the mask and the image
  5067. are not scaled identically, or that call image_plane_data without knowing
  5068. the image type, must now call gs_image_planes_wanted or
  5069. gx_image_planes_wanted in order to find out which subset of the data planes
  5070. to pass to the next call of image_plane_data.
  5071. - gx_image_enum_common_init now takes slightly different arguments.
  5072. - gs_imager_state_initialize now initializes the entire imager
  5073. state, including halftone, dev_ht, and ht_cache.
  5074. - The argument lists for the plane_data and end_image procedures in
  5075. image enumerators have changed.
  5076. </pre><h3><a name="5.67_Documentation"></a>Documentation</h3><pre>
  5077. Fixes problems:
  5078. - The 5.66 News mentioned the non-existent WAITFILE macro, and had
  5079. another minor typo. (doc/News.htm)
  5080. - The URL for the user-contributed H-P 850c driver was incorrect.
  5081. (doc/Devices.htm, contrib.mak)
  5082. - The documentation for the driver image API had gotten out of date.
  5083. (doc/Drivers.htm)
  5084. Greatly improves documentation for the page queue. (from Artifex 5.50c)
  5085. (gxpageq.h)
  5086. Documents the fact that Solaris builds now need -lposix4 for &lt;semaphore.h&gt;.
  5087. (doc/Make.htm)
  5088. Adds a stack status comment in .pdfshow. (lib/gs_pdfwr.ps)
  5089. Documents the new -Z` debugging switch. (doc/Use.htm)
  5090. Touches up some formatting in the C style guide, and adds a mention of the
  5091. space-before-: rule for makefiles. (doc/C-style.htm)
  5092. Adds documentation for the new H-P 8xx drivers. (doc/Devices.htm)
  5093. Splits off news for versions 5.0 - 5.50 into a separate file.
  5094. (doc/History5.htm)
  5095. </pre><h3><a name="5.67_Procedures"></a>Procedures</h3><pre>
  5096. Fixes problems:
  5097. - On MS Windows platforms, the DLL object file wasn't created in the
  5098. proper directory. (from Artifex 5.55) (msvc32.mak)
  5099. - cfonts.mak didn't have no-op commands for rules that didn't
  5100. contain any commands. (cfonts.mak)
  5101. - The version number for libpng was different from libpng's own
  5102. version numbering system. (libpng.mak)
  5103. - Solaris builds now need -lposix4 for &lt;semaphore.h&gt;.
  5104. (unix-gcc.mak, unixansi.mak, unixtrad.mak)
  5105. - The makefiles redefined a number of macros, which MMS doesn't
  5106. allow. (bcwin32.mak, gs.mak, int.mak, lib.mak, libpng.mak, msvc32.mak,
  5107. openvms.mak, openvms.mmk, unix-gcc.mak, unixansi.mak, unixtrad.mak,
  5108. version.mak)
  5109. Changes cp.bat and rm.bat to eliminate "File not found" messages. (from
  5110. Artifex 5.55) (cp.bat, rm.bat)
  5111. Changes all platform-independent makefiles to add a space before the : that
  5112. separates the targets from the dependencies, to allow the makefiles to be
  5113. used with MMS/MMK. (cfonts.mak, contrib.mak, devs.mak, gs.mak, int.mak,
  5114. jpeg.mak, lib.mak, libpng.mak, zlib.mak)
  5115. Adds a script for compiling Ghostscript on OpenVMS systems with MMK. This
  5116. has not been tested extensively. (doc/Make.htm, openvms.mmk)
  5117. Changes the set of optimization switches for MSVC++. We believe the new
  5118. switches produce working executables, which /O2 didn't. (msvc32.mak,
  5119. msvccmd.mak)
  5120. Updates the default expected libpng version to 1.0.2. (bcwin32.mak,
  5121. dvx-gcc.mak, msvc32.mak, msvclib.mak, openvms.mak, os2.mak, ugcclib.mak,
  5122. unix-gcc.mak, unixansi.mak, unixtrad.mak, watc.mak, watclib.mak,
  5123. watcw32.mak)
  5124. </pre><h3><a name="5.67_Utilities"></a>Utilities</h3><pre>
  5125. Fixes problems:
  5126. - Default scaling in viewcmyk.ps was broken. (lib/viewcmyk.ps)
  5127. Updates pdf2dsc.ps with a newer (user-contributed) version that generates
  5128. DocumentMedia and PageMedia comments. (lib/pdf2dsc.ps)
  5129. </pre><h3><a name="5.67_Drivers"></a>Drivers</h3><pre>
  5130. Fixes problems:
  5131. - An int * was provided where a uint * was required. (gdevpbm.c)
  5132. - ps2ps -dLanguageLevel=1 generated invalid output. (gdevps.c)
  5133. - The X drivers crashed on gray-scale displays. (bug probably
  5134. introduced in 5.61) (gdevx.c)
  5135. - The width and height of the cljet5 device were interchanged.
  5136. (from Artifex) (gdevclj.c)
  5137. - The PDF writer didn't clip cached characters properly. (bug
  5138. introduced somewhere between 3.51 and 5.10) (gdevpdfi.c)
  5139. - For stroked paths with a non-uniform CTM, the PDF writer could
  5140. emit coordinates larger than 32K, which Acrobat handles incorrectly.
  5141. (gdevpdfd.c)
  5142. Restructures some code to suppress bogus "possibly uninitialized variable"
  5143. warnings. (gdevpdfm.c, gdevps.c)
  5144. Adds some unnecessary initializations to suppress bogus "possibly
  5145. uninitialized variable" warnings. (gdevpbm.c, gdevpdfd.c, gdevvec.c,
  5146. gdevxalt.c)
  5147. Rewrites the (contributed) X11 xfont code to remove code duplication.
  5148. (gdevx.h, gdevx.c, gdevxini.c, gdevxxf.c)
  5149. Adds a user-contributed driver for the H-P LaserJet 3100 with H-P software.
  5150. (gdevmeds.h, gdevl31s.c, gdevmeds.c)
  5151. Adds a user-contributed option for 600 dpi output on H-P DesignJet
  5152. 650C-compatible printers. (gdevcdj.c)
  5153. Removes unnecessary references to device color spaces. (gdevpdfi.c)
  5154. Changes the [e]pswrite and pdfwrite drivers to use EndOfBlock rather than
  5155. Rows for CCITTFax image encoding, producing slightly smaller output.
  5156. (gdevpsdf.c)
  5157. Changes the sample async driver to use gdev_prn_render_lines and
  5158. gdev_prn_get_band_buffer instead of locate_overlay_buffer and
  5159. get_overlay_bits. Unfortunately, because "async" memory management is
  5160. broken, we have no way to test the code. (gdevbmpa.c)
  5161. Updates clients for the change in gx_image_enum_common_init. (gdevpdfi.c,
  5162. gdevvec.c)
  5163. Adds Uli Wortmann's drivers for the H-P color inkjet printers.
  5164. (contrib.mak, gdevcd8.c)
  5165. Adds mode 9 compression to the PCL printer utilities. (gdevpcl.h,
  5166. gdevcdj.c, gdevpcl.c)
  5167. Updates implementors for the change in the plane_data and image_end image
  5168. processing procedures. (gdevpdfi.c, gdevps.c, gdevpx.c)
  5169. </pre><h3><a name="5.67_Fonts"></a>Fonts</h3><pre>
  5170. Fixes problems:
  5171. - The PFM files for URW Grotesk and Antiqua had some extraneous ^M
  5172. characters inserted before ^J characters. (fonts/u003043t.pfm,
  5173. fonts/u004006t.pfm)
  5174. - CID-keyed fonts didn't handle GlyphDirectory correctly.
  5175. (lib/gs_cidfn.ps)
  5176. - CIDFontType 0 fonts with 0-length Subrs caused an error.
  5177. (lib/gs_cidfn.ps)
  5178. - Malformed TrueType fonts with overlapping tables (which are
  5179. nevertheless apparently acceptable to Windows) caused an error.
  5180. (lib/gs_ttf.ps)
  5181. - The Hershey font repairs documented in fileset 5.24 apparently
  5182. never happened: the makeher.ps program was fixed, but the derived fonts were
  5183. still broken. (fonts/h*.ps)
  5184. - In some Fontmaps, the /Charter-* font names were linked directly
  5185. to the Bitstream fonts, rather than being aliases for /CharterBT-*.
  5186. (lib/Fontmap.GS, lib/Fontmap.Sol, lib/Fontmap.Ult)
  5187. Makes undefined fonts execute the SubstituteFont procedure in $error, per a
  5188. posting by Stephen Zisk of Adobe on pdf-prepress-l on 10/8/97.
  5189. (lib/gs_fonts.ps)
  5190. Changes the interpreter-level CIE color space install procedures to reflect
  5191. the addition of const to the color space argument. (zcie.c)
  5192. </pre><h3><a name="5.67_Interpreter"></a>Interpreter</h3><pre>
  5193. Fixes problems:
  5194. - The interpreter appeared to be a distiller even when the current
  5195. device was not pdfwrite. We fixed this by patching 'where' to make the
  5196. distiller operators visible iff the current device is pdfwrite. We also
  5197. moved the setcolor hack in 'where' into PostScript code. (lib/gs_init.ps,
  5198. lib/gs_lev2.ps, lib/gs_pdfwr.ps, zmisc2.c)
  5199. - The current color space for shfill wasn't identically the same
  5200. color space as the one in the shading. (gs_ll3.ps)
  5201. Changes the default UCR and BG functions from f(k) = 0 to f(k) = k.
  5202. (lib/gs_init.ps)
  5203. Adds some unnecessary initializations to suppress bogus "possibly
  5204. uninitialized variable" warnings. (igc.c, zcie.c)
  5205. Restructures some code slightly to suppress a bogus "possibly uninitialized
  5206. variable" warning. (zdevice.c)
  5207. Brings the CMap machinery up to LL3, by allowing a single CMap to reference
  5208. multiple fonts (usefont, usematrix, and array CIDSystemInfo).
  5209. (lib/gs_cmap.ps, zfcmap.c)
  5210. Finishes implementing ReusableStreamDecode. The implementation is very
  5211. inefficient -- it reads the entire contents into a string -- but it passes
  5212. the Genoa FTS. (lib/gs_ll3.ps, lib/gs_res.ps, zfreuse.c)
  5213. Changes CFFs with CharstringType = 2 to generate FontType 2 fonts, rather
  5214. than FontType 1 with CharstringType = 2, for compatibility with Adobe's LL3
  5215. implementations. (lib/gs_cff.ps, lib/gs_type1.ps, lib/type1ops.ps, bfont.h,
  5216. ichar1.h, ifont.h, ifont1.h, zbfont.c, zchar1.c, zchar2.c, zcharx.c,
  5217. zfont.c, zfont1.c, zfont2.c)
  5218. Adds the ability to create (with .bytestring) and do a few operations
  5219. (currently only length, put, putinterval) on byte arrays. This is needed
  5220. for implementing ReusableStringDecode filters with >64K bytes of data, and
  5221. for the LL3 halftone types. (zgeneric.c, zstring.c)
  5222. Implements HalftoneMode, and HalftoneTypes 6, 10, and 16. To do this, we
  5223. introduce an internal HalftoneType 7. (lib/gs_dps2.ps, lib/gs_init.ps,
  5224. lib/gs_ll3.ps, lib/gs_res.ps, zht2.c)
  5225. Finishes implementing ImageType 3 images. (zimage.c, zimage3.c)
  5226. Adds the hooks in ColorSpace defineresource and undefineresource for
  5227. detecting definitions that interact with UseCIEColor. (gs_res.ps)
  5228. Implements UseCIEColor at the interpreter level. (lib/gs_dps1.ps,
  5229. lib/gs_ll3.ps, zcolor1.c, zcolor2.c, zimage.c, zmisc3.c)
  5230. Touches up some formatting. (igstate.h)
  5231. </pre><h3><a name="5.67_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  5232. Fixes problems:
  5233. - A MediaBox with a non-zero llx or lly would produce incorrect
  5234. output. The way we fixed this doesn't exactly match Acrobat, but it
  5235. produces reasonable output. (based on a change from Artifex 5.55)
  5236. (lib/pdf_main.ps)
  5237. - Colored patterns didn't work properly. (lib/pdf_draw.ps)
  5238. - The resources in a Pattern dictionary weren't made available
  5239. during the execution of the PaintProc. (fix from Artifex) (lib/pdf_draw.ps)
  5240. </pre><h3><a name="5.67_Streams"></a>Streams</h3><pre>
  5241. Adds a flag to the ASCIIHexEncode filter to indicate whether or not to write
  5242. an EOD, required for Level 1 output from the pswrite device. (sstring.h,
  5243. sstring.c)
  5244. Adds a close_at_eod flag to the stream state, for implementing reusable
  5245. streams; also cleans up some formatting. (stream.h, stream.c)
  5246. </pre><h3><a name="5.67_Library"></a>Library</h3><pre>
  5247. Fixes problems:
  5248. - Black-and-white images with Interpolate = true produced
  5249. undesirable artifacts if the image resolution was close to that of the
  5250. device. We now disable Interpolate in this case. (gxiscale.c)
  5251. - In "async" mode, get_hardware_params did an unnecessary flush and
  5252. reopen. (from Artifex 5.50c) (gdevprna.c)
  5253. - The computation of the minimum band height for the "async" reader
  5254. was incorrect. (from Artifex 5.50c) (gdevbmpa.c)
  5255. - The "fix" for reallocating async buffer memory in 5.50 was
  5256. incorrect. (from Artifex 5.55) (gdevprn.c)
  5257. - The "async" reader called clist_finish_page, which it shouldn't.
  5258. (from Artifex 5.50c) (gdevprn.c)
  5259. - The image enumeration procedures for ImageType 4 were unnecessary,
  5260. since the ImageType 1 code now handles ImageType 4 as well. (gximage4.c)
  5261. - The structure descriptor for tile clipping devices was
  5262. unnecessary, since these are the same as mask clipping devices. (gxclip2.h)
  5263. - There was a trailing comma in an enumeration list. (gsbitops.c)
  5264. - Some compilers didn't like initializing a uint with ~0.
  5265. (gdevm1.c)
  5266. - shfill unnecessarily saved, reset, and restored the graphics
  5267. state. (gscolor3.c)
  5268. - Radial shadings always extended the shading to radius = 0.
  5269. (gxshade1.c)
  5270. - An identifier exceeded VMS's limit of 31 characters. (gdevprn.h,
  5271. gdevprn.c)
  5272. - A header file didn't #include enough of its prerequisites.
  5273. (gxpcolor.h)
  5274. - Images with non-default ImageMatrix weren't written correctly in
  5275. the band list. (bug introduced in 5.60) (gximage1.c)
  5276. - Banded images that had to use the default implementation incurred
  5277. an extra level of procedure call for each block of data. (gxclimag.c)
  5278. - Images rotated by other than a multiple of 90 degrees produced
  5279. incorrect output, because pie-&gt;rect.p.y was updated after each block of
  5280. data, causing image_band_box to produce inconsistent results. (bug
  5281. introduced by async changes in 5.50) (gxclimag.c)
  5282. - The client_data pointer in client_order halftones wasn't traced
  5283. correctly, possibly causing memory corruption if this type of halftone was
  5284. used. (These are not currently used by the PostScript interpreter.)
  5285. (gsht.c, gsht1.c)
  5286. - ImageType 3 images didn't handle subrectangles. (Not a problem
  5287. for PostScript, which doesn't generate subrectangles, or for PCL, which
  5288. doesn't use them.) (gximage3.c)
  5289. - If a VMerror occurred when setting up an ImageType 3 image. an
  5290. attempt could be made to free an uninitialized pointer. (gximage3.c)
  5291. - ImageType 4 images with 1 to 8 bits per sample and Decode = [1 0]
  5292. didn't test transparency correctly. (bug introduced in 5.60) (gximage.h,
  5293. gxicolor.c, gximono.c, gxipixel.c)
  5294. - setgray, setrgbcolor, sethsbcolor, and setcmykcolor didn't use
  5295. gs_cspace_assign, causing code duplication. After this fix, we made the
  5296. device color space types private, since there are no longer any references
  5297. to them outside gscspace.c. (gxcspace.h, gscolor.c, gscolor1.c, gscspace.c)
  5298. - gs_cspace_assign was misspelled cs_cspace_assign. (gscspace.h)
  5299. - setgray didn't set the pattern pointer of the current color to 0,
  5300. possibly causing the GC to retain patterns it shouldn't. (gscolor.c)
  5301. - The dev_ht member of an imager (or graphics) state wasn't included
  5302. in the macro that enumerates reference-counted pointers. This probably had
  5303. no effect, since the macro isn't used. (gxistate.h)
  5304. - When the band rasterizer freed its imager state, the halftone and
  5305. device halftone structures weren't freed, possibly causing memory leakage.
  5306. (gsistate.c)
  5307. Changes the default UCR and BG functions from f(k) = 0 to f(k) = k, per a
  5308. user's suggestion. We aren't sure which matches the Adobe implementations
  5309. on color devices. (gxdcconv.c)
  5310. Conditionally removes some variables that are not needed on big-endian
  5311. systems. (gdevm1.c)
  5312. Restructures some code to suppress bogus "possibly uninitialized variable"
  5313. warnings. (gxfixed.h, gdevddrw.c, gsmatrix.c, gsmisc.c, gxclimag.c)
  5314. Adds a couple of unnecessary initializations to suppress bogus "possibly
  5315. uninitialized variable" warnings. (gsbitops.c)
  5316. Implements BBox, Background, and Extend for shadings. (Background isn't
  5317. tested yet, because it only takes effect for pattern shading, which isn't
  5318. implemented yet.) (gsshade.h, gxacpath.h, gxistate.h, gxpath.h, gscolor3.c,
  5319. gsshade.c, gxacpath.c, gxacpath.c, gxcpath.c)
  5320. Brings the CMap machinery up to LL3, by allowing a single CMap to reference
  5321. multiple fonts (usefont, usematrix, and array CIDSystemInfo). (gsfcmap.h,
  5322. gxfcmap.h, gsfcmap.c)
  5323. Adds more tracing output to the band list reader. (gxclrast.c)
  5324. Cleans up some formatting. (gstext.h, gxtext.h)
  5325. Replaces FontType = 1, CharstringType = 2 with FontType = 2, to match the
  5326. Adobe implementations. (gxfont1.h, gxftype.h, gxtype1.h, gstype1.c,
  5327. gstype2.c, gxtype1.c)
  5328. Adds new gs_bytestring and gs_const_bytestring structures that may reference
  5329. either string or (byte) object storage. (gsstruct.h, gstypes.h, gsmemory.c)
  5330. Implements an additional halftone type (ht_type_threshold2) needed for
  5331. HalftoneTypes 6, 10, and 16. We don't extend gshtx.[hc] to deal with this
  5332. at this time, since the new type is only needed for the PostScript
  5333. interpreter. (gxht.h, gxhttype.h, gzht.h, gsht.c, gsht1.c, gshtscr.c)
  5334. Adds a procedure for division mod M, possibly needed for halftones.
  5335. (gxarith.h, gsmisc.c)
  5336. Adds a -Z` debugging switch to turn off high-level images in the band list.
  5337. (gxclimag.c)
  5338. Implements gdev_prn_render_lines, as the lowest-level external API for
  5339. rendering lines in a banded device. This call replaces the "overlay" calls
  5340. for async rendering. (gdevprn.h, gdevprna.h, gxclist.h, gdevprn.c,
  5341. gxclread.c)
  5342. Extends the image enumeration API so that the enumerator can indicate what
  5343. subset of the input planes it wants delivered on the next call to
  5344. image_plane_data. Currently this is only needed for ImageType 3.
  5345. (gsimage.h, gxdevcli.h, gxiparam.h, gdevddrw.c, gsimage.c, gximage.c,
  5346. gximage3.c)
  5347. Extends the image enumeration structures to handle images that require a
  5348. different amount of data for plane N than Width * plane_depths[N]. This
  5349. requires a NON-BACKWARD-COMPATIBLE change to the argument list of the
  5350. gx_image_enum_common_init procedure. (gxiparam.h, gdevbbox.c, gsimage.c,
  5351. gxclimag.c, gximage.c, gximage2.c, gximage3.c, gxipixel.c)
  5352. Updates the copyright date to 1999. (gscdef.c)
  5353. Cleans up formatting, capitalizes macro names, etc. (gximage.h, gxsample.h,
  5354. gxipixel.c)
  5355. Adds the UseCIEColor device parameter. (gxdevcli.h, gxdevice.h, gsdparam.c)
  5356. Implements color space substitution (UseCIEColor). (gscolor2.h, gscspace.h,
  5357. gscssub.h, gxistate.h, gzstate.h, gscolor.c, gscolor1.c, gscolor2.c,
  5358. gscolor3.c, gscssub.c, gslib.c, gspcolor.c, gsstate.c)
  5359. Changes the color space install procedure so that its color space argument
  5360. is const. Now all color space implementation procedures take a const
  5361. argument. (gscie.h, gxcspace.h, gscdevn.c, gscolor2.c, gscscie.c,
  5362. gscspace.c, gscsepr.c, gspcolor.c)
  5363. Changes gs_setcolorspace so its color space argument is const. (gscolor2.h,
  5364. gscolor2.c)
  5365. Splits imager state procedures out of gsstate.c, which was getting too
  5366. large. (gxistate.h, gsstate.c, gsistate.c)
  5367. Changes gs_imager_state_initialize so it really initializes the whole imager
  5368. state. (gsistate.c, gxclrast.c)
  5369. Removes the now-redundant first (device) argument from the plane_data and
  5370. end_image procedures in image enumerators. Implementors of these procedures
  5371. must now get the device from the enumerator structure. This is a
  5372. NON-BACKWARD-COMPATIBLE design cleanup that we have been putting off for
  5373. most of a year. Also adds an argument to plane_data so it can tell its
  5374. client how many rows of data was used: this is needed for the implementation
  5375. of ImageType 3. (gxdevcli.h, gxiparam.h, gdevbbox.c, gdevplnx.c, gsimage.c,
  5376. gxclimag.c, gxidata.c, gximage.c, gximage3.c)
  5377. Changes CFFs with CharstringType = 2 to FontType 2 fonts, rather than
  5378. FontType 1 with CharstringType = 2, for compatibility with Adobe's LL3
  5379. implementations. (gstype1.h)
  5380. </pre>
  5381. <hr>
  5382. <h2><a name="Version5.66"></a>Version 5.66 (internal) (11/25/98)</h2>
  5383. <p>
  5384. This fileset includes the ability to efficiently and conveniently obtain
  5385. planar rather than chunky raster output. It also fixes a large number of
  5386. minor compilation problems on non-ANSI compilers, and a small number of real
  5387. problems. It also implements the PostScript LanguageLevel 3 clipsave and
  5388. cliprestore operators. Unfortunately, because of fragility in third-party
  5389. code changes that we were forced to include in the base graphics library,
  5390. overlapped rasterizing ("async mode") fails:
  5391. <ul>
  5392. <li> - At 300 dpi, for 4-bit planar devices in the low-memory
  5393. ("partial
  5394. page") condition, and always for 32-bit planar devices.
  5395. <li> - At 600 dpi, for all devices other than monochrome.
  5396. </ul>
  5397. <h3><a name="5.66_Incompatible_changes"></a>Incompatible changes</h3><pre>
  5398. (Procedures)
  5399. - Every platform-specific makefile must now define _D_, the internal
  5400. separator for defining preprocessor macros.
  5401. - Every platform-specific makefile must now define PSLIBDIR, the
  5402. directory holding the PS initialization files at build time. (This need not
  5403. be the same as where these files are stored at run time.)
  5404. (Library)
  5405. - New elements arch_float_mantissa_bits and
  5406. arch_double_mantissa_bits have been added to arch.h. Cross-build
  5407. environments that supply arch.h rather than generating it at build time must
  5408. add these elements.
  5409. - A new GB_SELECT_PLANES option has been added to the options mask
  5410. for the get_bits_rectangle driver procedure. Implementations of this
  5411. procedure must take this option into account (although they do not have to
  5412. implement it).
  5413. - The make_buffer_device printer device procedure has been replaced
  5414. with create_buf_device, setup_buf_device, and destroy_buf_device. All
  5415. clients and implementors of make_buffer_device must be changed, including
  5416. users of the clist_init_params macro.
  5417. - The gx_device_cmap_procs procedure has been replaced with
  5418. gx_get_cmap_procs, which also take an imager state as an argument. Callers
  5419. of gx_device_cmap_procs must be changed.
  5420. </pre><h3><a name="5.66_Documentation"></a>Documentation</h3><pre>
  5421. Updates Make.htm to clarify the standard directory structure.
  5422. (doc/Make.htm)
  5423. Adds a note about DEC C vs. VAX C for remapping of exit codes.
  5424. (doc/Make.htm)
  5425. Clarifies that the end_image procedure frees the enumerator. (gxiparam.h)
  5426. </pre><h3><a name="5.66_Procedures"></a>Procedures</h3><pre>
  5427. Fixes problems:
  5428. - The genxxx utilities didn't compile properly on systems where the
  5429. C compiler doesn't automatically search for .h files in the directory of the
  5430. .c file. (unixtail.mak)
  5431. - Preprocessor definitions require special quoting with Watcom C.
  5432. Fixing this required adding a _D_ macro similar to II. This is a
  5433. NON-BACKWARD-COMPATIBLE change, since this definition is now required in
  5434. each platform-specific makefile. (dvx-head.mak, openvms.mak, os2.mak,
  5435. unixhead.mak, wccommon.mak, winlib.mak, zlib.mak)
  5436. - The VMS subdirectories didn't include the "." to make the
  5437. directory name relative. (openvms.mak)
  5438. - Some of the OpenVMS command files were omitted from the
  5439. distribution. (copy_one.com, rm_one.com, rm_all.com)
  5440. - MMK interprets a final - on a command line as a continuation
  5441. marker. (gs.mak)
  5442. - gsiparm4_h was used before being defined. (lib.mak)
  5443. - Compiled initialization code (COMPILE_INITS=1) was broken because
  5444. of the introduction of subdirectories. (bcwin32.mak, dvx-gcc.mak,
  5445. msvc32.mak, openvms.mak, os2.mak, unix-gcc.mak, unixansi.mak, unixtrad.mak,
  5446. watc.mak, watcw32.mak, int.mak, geninit.c)
  5447. - Level 1 configurations would no longer build with the standard set
  5448. of drivers. (devs.mak)
  5449. - wmake interpreted "&amp;" in a rule command line as calling for
  5450. background execution. (wccommon.mak)
  5451. Makes the standard set of features the same on all platforms, namely, psl3
  5452. (PostScript LanguageLevel 3) + pdf (PDF 1.2/1.3) + dpsnext (DPS with NeXT
  5453. extensions) + ttfont (ability to load TrueType fonts directly). Unix
  5454. platforms add pipe (recognition of %pipe% file names). (bcwin32.mak,
  5455. dvx-gcc.mak, msvc32.mak, openvms.mak, os2.mak, unix-gcc.mak, unixansi.mak,
  5456. unixtrad.mak, watc.mak, watcw32.mak)
  5457. Adds minimal support for Windows 95/NT compiler versions. (wccommon.mak)
  5458. Notes a set of switches that may work around the optimizer bug in MSVC++
  5459. 5.0. (msvccmd.mak)
  5460. </pre><h3><a name="5.66_Utilities"></a>Utilities</h3><pre>
  5461. Adds a switch to genconf to set the escape character, since wmake interprets
  5462. "&amp;" in a rule command line as calling for background execution. (genconf.c)
  5463. Makes echogs recognize -+ alone as equivalent to - alone, for the sake of
  5464. VMS systems, which interpret a final - as a line continuation marker.
  5465. (echogs.c)
  5466. Adds a viewpsm procedure to viewpbm.ps, for reassembling plane-separated
  5467. files. (lib/viewpbm.ps)
  5468. </pre><h3><a name="5.66_Drivers"></a>Drivers</h3><pre>
  5469. Fixes problems:
  5470. - There were places where the code assumed that void * could be
  5471. coerced to byte *, which not all C compilers support. (gdevpdfx.h,
  5472. gdevpdfo.c)
  5473. - The name put_bytes was defined in two places, causing an error
  5474. when linking with NOPRIVATE=1. (gdevpx.c)
  5475. - The minimum space computation for high-level images and for the
  5476. scan line length for the sample async driver was slightly too small.
  5477. (gdevbmpa.c)
  5478. Improves the tracing output from the psm driver. (gdevpbm.c)
  5479. Rewrites some macros to eliminate "statement not reached" compiler warnings.
  5480. (gdevpx.c)
  5481. Revises the (only) client for changes in the plane-extraction device API.
  5482. (gdevpbm.c)
  5483. Adds plane-separated BMP drivers, primarily for testing but also as an
  5484. example. bmp[a]sep1 and bmp[a]sep8 produce 1- and 8-bit-per-pixel separated
  5485. CMYK. (gdevbmp.h, gdevbmp.c, gdevbmpa.c, gdevbmpc.c)
  5486. </pre><h3><a name="5.66_Platforms"></a>Platforms</h3><pre>
  5487. Fixes problems:
  5488. - The Watcom environment doesn't provide the st_blocks member of the
  5489. stat structure. (stat_.h)
  5490. - In its standard configuration, the Watcom environment doesn't
  5491. provide stdprn. (gp_iwatc.c)
  5492. - Newer versions of DEC C on OpenVMS don't require the remapping
  5493. of the exit codes. (stdpre.h)
  5494. Revises the dummy implementation of semaphores, monitors, and threads in an
  5495. attempt to make async rendering (just barely) work for the non-overlay case.
  5496. Unfortunately, this turned out not to be feasible. (gp_nsync.c)
  5497. </pre><h3><a name="5.66_Interpreter"></a>Interpreter</h3><pre>
  5498. Fixes problems:
  5499. - Certain DEC compilers assume that a pointer is aligned even if it
  5500. is cast to a pointer whose target type has weaker alignment; this produced
  5501. "unaligned access" errors in the interpreter. (interp.c)
  5502. - A necessary cast was omitted. (zcrd.c)
  5503. - Level 1 configurations would no longer run. (lib/gs_init.ps)
  5504. Updates clients to set mask image fattening properly. (zimage.c, zimage2.c)
  5505. Rewrites some macros to eliminate "statement not reached" compiler warnings.
  5506. (files.h, istruct.h)
  5507. </pre><h3><a name="5.66_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  5508. Fixes problems:
  5509. - The test for whether to honor the Rotate key was backwards. (bug
  5510. probably introduced in 5.24) (lib/pdf_main.ps)
  5511. Updates the code to handle improper PDF files in which the startxref and the
  5512. following file position appear on the same line rather than (as required by
  5513. the spec) two successive lines. (lib/pdf_main.ps)
  5514. </pre><h3><a name="5.66_Streams"></a>Streams</h3><pre>
  5515. Notes a bug in s_DCT_get_quantization_tables. (sdcparam.c)
  5516. </pre><h3><a name="5.66_Library"></a>Library</h3><pre>
  5517. Fixes problems:
  5518. - The algorithm for reducing 4-bit chunky to 1-bit separated colors
  5519. didn't handle the trailing pixels of a transfer correctly. (gdevplnx.c)
  5520. - Banding for RGB devices with multi-plane halftones was broken.
  5521. (bug introduced recently) (gxdcolor.c)
  5522. - Mask images were written in the band list with inverted polarity.
  5523. (bug introduced in 5.60) (gximage1.c)
  5524. - Mask images were always fattened. Fixing this required extending
  5525. the API, since gs_image_t_init_mask set adjust = true by default (a bad
  5526. decision) and we didn't want to change it. (gschar.h, gscpm.h, gsiparam.h,
  5527. gzstate.h, gschar.c, gximage1.c)
  5528. - The member names push and pop caused problems for compilers whose
  5529. preprocessors consider it an error to use a macro defined with arguments as
  5530. a name without arguments. (gxfont1.h, gstype1.c)
  5531. - Once again, gcc didn't detect some private/non-private mismatches.
  5532. (gdevplnx.c, gsalphac.c, gximage2.c, gximage4.c)
  5533. - &amp; was used with an array (which gcc doesn't complain about).
  5534. (gxshade6.c)
  5535. - There were several uses of automatic aggregate initialization,
  5536. which not all C compilers support. (gdevprn.c, gdevps.c)
  5537. - There were places where the code assumed that void * could be
  5538. coerced to byte *, which not all C compilers support. (gdevprn.c)
  5539. - Some \ line continuation characters were used inappropriately
  5540. (in a macro argument list). (gxclimag.c)
  5541. - Some function prototypes didn't use the Pn macros. (gsalloc.c)
  5542. - A function definition not at the left margin confused ansi2knr.
  5543. (gsfont.c)
  5544. - A cast for the result of malloc, needed on systems where malloc
  5545. returns a char * rather than a void *, was missing. (gsmalloc.c)
  5546. - An occurrence of dev should be pdev. (I can't understand how we
  5547. missed this in 5.65.) (gdevprna.c)
  5548. - A value was missing from a list of initial structure values,
  5549. causing mismatches between subsequent values and the members they
  5550. initialized. (gcc treated this as a warning: it should have given an
  5551. error.) (gxband.h)
  5552. - When setting the tile phase during banding, the old value of the
  5553. tile phase was written out rather than the new one. (gxclutil.c)
  5554. - The definition of fixed_mult_quo wasn't consistent between systems
  5555. with FPU (where it took the floor, and might be slightly inaccurate) and
  5556. systems without FPU (where it truncated towards zero, and was accurate).
  5557. (gxfixed.h, genarch.c, gsmisc.c)
  5558. - Banding devices using multi-screen halftones didn't set the
  5559. halftone phase correctly. We have now "fixed" this problem at least 4
  5560. times. (gxclrast.c)
  5561. - The name put_bytes was defined in two places, causing an error
  5562. when linking with NOPRIVATE=1. (gsparams.c)
  5563. - For [x][y]show, the pointers to the width arrays weren't
  5564. initialized, causing memory access errors when checking or garbage
  5565. collecting. (gschar.c)
  5566. - Due to a typo, bitmap characters were fattened too much.
  5567. (gximage1.c)
  5568. - Some identifiers exceeded VMS's limit of 31 characters.
  5569. (gdevprn.h, gscsepr.h, gsdevice.h, gxdevice.h, gdevdflt.c, gdevprn.c,
  5570. gscsepr.c, gsdparam.c)
  5571. - The device halftone parameter was declared const inappropriately
  5572. in some places. (gsdcolor.h, gxdither.h, gxdcolor.c, gxdither.c)
  5573. - gdev_mem_raster was used (misleadingly, even though it happened to
  5574. produce the correct result) on possibly non-memory devices. (gxclread.c)
  5575. - Pure Level 1 configurations had some undefined procedures.
  5576. (gscolor1.c, gscspace.c)
  5577. - Indexed color images could incorrectly conclude that they didn't
  5578. need to re-render halftones, producing incorrect output. (gximono.c)
  5579. - gs_device_is_memory returned false for non-banding printer
  5580. devices: this didn't used to matter, but it matters now. We changed it to
  5581. test the procedures rather than the device name. (gdevmem.c)
  5582. - The plane extraction device didn't handle halftoned colors
  5583. correctly. (gdevplnx.c)
  5584. - If an error occurred while building a Function object, a crash
  5585. could occur while freeing the partially built object. (gsfunc.c)
  5586. - The plane extraction device didn't handle RasterOps correctly.
  5587. (gdevplnx.c)
  5588. - The colors-used mask could include some additional, invalid bits.
  5589. (gxclrect.c)
  5590. - The colors-used mask was updated incorrectly for RasterOps on
  5591. subtractive-color devices. (gxclrect.c)
  5592. - Memory devices didn't set enough option bits for the case where
  5593. get_bits_rectangle had to do conversion. (gdevmem.c)
  5594. - The TrueType font rasterizer didn't accept fonts whose 'type' was
  5595. "true" rather than the documented <00 01 00 00>. (gstype42.c)
  5596. - A bug in the Watcom compiler caused two conditional expressions to
  5597. execute incorrectly. (gstype42.c)
  5598. - When a page queue was freed, it attempted to free the page_info
  5599. resource in the reserve entry, which is actually unused. (gxpageq.c)
  5600. - A necessary #include was missing. (gdevmr2n.c)
  5601. Reduces the size of band list entries for halftoned colors somewhat.
  5602. (gxclpath.h, gxclpath.c, gxclrast.c)
  5603. Increases the number of saved band color masks per page, mostly for testing.
  5604. (gxband.h)
  5605. Rewrites some macros, and one 'for' statement, to eliminate "statement not
  5606. reached" compiler warnings. (gxcldev.h, gxpath2.c)
  5607. Corrects a tiny inaccuracy in the computation of trapezoid coordinates.
  5608. (gdevddrw.c)
  5609. Edits the trapezoid fill code for greater readability and better
  5610. documentation of its functioning. The new code runs a little slower on
  5611. compilers that don't support 'inline'. (gdevddrw.c)
  5612. Improves the documentation of the tile phase bookkeeping. (gxclrast.c)
  5613. Documents the fact that fixed_mult_quo takes the floor if the first argument
  5614. is negative. (gxfixed.h)
  5615. Finishes implementing clipsave and cliprestore. (gxclipsr.h, gxistate.h,
  5616. gzstate.h, gsclipsr.c, gsstate.c)
  5617. Implements driver access to planar, rather than chunky, banding.
  5618. (gdevplnx.h, gdevprn.h, gxclist.h, gxdevcli.h, gxrplane.h, gdevplnx.c,
  5619. gdevprn.c, gxclread.c)
  5620. Makes it possible to set up memory devices that allocate just the line
  5621. pointer table (but not the bitmap), or neither the line pointers nor the
  5622. bitmap. (gxdevmem.h, gdevmem.c)
  5623. Moves gx_device_white/black to a more appropriate header file. (gxdcolor.h)
  5624. Moves gx_default_make_buffer_device to a more appropriate file.
  5625. (gdevdflt.c, gdevprn.c)
  5626. Adds plane extraction and expansion utility procedures, required for the
  5627. extended capability of get_bits_rectangle. (gsbitops.h, gsbitops.c)
  5628. Extends get_bits_rectangle so it can return individual planes rather than
  5629. all planes. (gdevplnx.h, gsbittab.h, gxbitfmt.h, gxgetbit.h, gdevdgbr.c,
  5630. gdevdrop.c, gdevmem.c, gdevplnx.c, gsalphac.c, gsbittab.c)
  5631. Factors out the two more complex cases of gx_get_bits_copy into single-use
  5632. procedures for readability. (gdevdgbr.c)
  5633. Makes public the procedure for reducing a colored halftone to a pure or
  5634. binary halftone, needed for planar rendering. (gxdither.h, gxdither.c)
  5635. Moves the client_data pointer from gs_state to gs_imager_state.
  5636. (gxistate.h, gzstate.h, gsstate.c)
  5637. Extends the plane extraction device to handle fill_mask and images
  5638. efficiently. (gxcmap.h, gdevplnx.h, gdevplnx.c)
  5639. Creates a procedure to make a temporary copy of a gs_imager_state, needed
  5640. for planar image processing. (gxistate.h, gsstate.c)
  5641. Makes getting the color mapping procedures for a device a virtual procedure
  5642. of the imager state, needed for planar image processing. (gxcmap.h,
  5643. gxistate.h, gxcmap.c, gxicolor.c, gximono.c, gxi12bit.c)
  5644. Increases the amount of memory allocated to the asynchronous rasterizer,
  5645. since we now may need a dynamically allocated line pointer table for the
  5646. target (plane) memory device. (gdevprna.c)
  5647. Adds a record of which bands have "difficult" RasterOps -- RasterOps that
  5648. can't be executed, even in principle, in CMYK space. We don't do anything
  5649. with this information yet, but we will have to. (gsropt.h, gxband.h,
  5650. gxcldev.h, gxclpath.h, gxclist.c, gxclpath.c, gxclrect.c)
  5651. Makes conversion from render_plane indices to bit ranges the responsibility
  5652. of the device, not the client. (gxrplane.h)
  5653. </pre>
  5654. <hr>
  5655. <h2><a name="Version5.65"></a>Version 5.65 (internal) (11/13/98)</h2>
  5656. <p>
  5657. The main purpose of this fileset is to fix the MS Windows and OpenVMS build
  5658. procedures, which have been broken since 5.60. It also adds the ability for
  5659. a driver to determine efficiently which colors are used in a given page or
  5660. band, which is important for separated color printing, and contains some
  5661. early support for plane-separated color printing.
  5662. <h3><a name="5.65_Incompatible_changes"></a>Incompatible changes</h3><pre>
  5663. (Procedures)
  5664. - Every platform-specific makefile must now define D_ and _D, the
  5665. brackets for defining preprocessor macros.
  5666. - The unix-cc.mak makefile has been renamed unixtrad.mak, since it
  5667. only applies to "traditional C" compilers.
  5668. (Drivers, Library)
  5669. - Devices now store their TextAlphaBits and GraphicsAlphaBits values
  5670. explicitly. The former get_alpha_bits procedure is obsoleted, and no
  5671. longer implemented or called by any code we distribute.
  5672. - gx_device_color_info now has additional fields. Code that
  5673. constructed gx_color_info_values in any way other than by using the dci_
  5674. macros will no longer work.
  5675. </pre><h3><a name="5.65_Documentation"></a>Documentation</h3><pre>
  5676. Fixes problems:
  5677. - The -sPSFile= switch was still documented, even though it no
  5678. longer exists. (doc/Use.htm)
  5679. - The - "switch" wasn't documented in the list of switches,
  5680. although it was documented elsewhere. (doc/Use.htm)
  5681. - The documentation for the PC environments was out of date -- it
  5682. didn't mention the use of subdirectories. (doc/Make.htm)
  5683. Updates the documentation on PostScript files to indicate in what directory
  5684. the files are distributed. (doc/Psfiles.htm)
  5685. Documents more of the utility procedures used by printer drivers.
  5686. (gdevprn.h)
  5687. Notes that the public tar archives may not be compatible with the tar
  5688. program in SunOS 4.1.3. (doc/Make.htm)
  5689. Adds documentation on the Unix "make pg" target. (doc/Make.htm)
  5690. Updates documentation to reflect the name change from unix-cc.mak to
  5691. unixtrad.mak. (doc/Make.htm)
  5692. Adds some links for the benefit of people who have built Ghostscript before
  5693. and therefore skip reading the initial sections of the documentation.
  5694. (doc/Make.htm)
  5695. Documents the new -_ switch. (doc/Use.htm)
  5696. Updates the documentation to mention PostScript LanguageLevel 3 and to
  5697. remove many references to 16-bit systems. (doc/Language.htm)
  5698. </pre><h3><a name="5.65_Procedures"></a>Procedures</h3><pre>
  5699. Fixes problems:
  5700. - A cast discarded `const' needlessly. (genconf.c)
  5701. - Upper-case echogs switches were getting converted to lower case
  5702. on VMS. (jpeg.mak)
  5703. - $(EXP) was missing before some invocations of executables.
  5704. (gs.mak, jpeg.mak, lib.mak)
  5705. - Some dependencies in the Unix install script were incorrect.
  5706. (unixinst.mak)
  5707. - Because of differences between shells, putting *.upp in the list
  5708. of files to be installed didn't work with some shells. (unixinst.mak)
  5709. - The PC makefiles were out of date. (bcwin32.mak, pcwin.mak,
  5710. winint.mak, winlib.mak, dwmain.rc, gsdll32.rc)
  5711. - Some makefiles still used $(DEV) instead of dev. (dvx-tail.mak,
  5712. msvclib.mak, openvms.mak, os2.mak, pcwin.mak, watclib.mak, winlib.mak)
  5713. - The DEVICE_DEVSn lists overflowed the DOS 120-character command
  5714. line limit again. We had to add DEVICE_DEVS16 through 20 to work around
  5715. this. (*.mak)
  5716. - Preprocessor definitions have a different syntax on VMS. Fixing
  5717. this required adding D_ and _D macros, similar to I_ and _I. This is a
  5718. NON-BACKWARD-COMPATIBLE change, since these definitions are now required in
  5719. each platform-specific makefile. (dvx-head.mak, openvms.mak, os2.mak,
  5720. unixhead.mak, wccommon.mak, winlib.mak, zlib.mak)
  5721. Adds command line switches to generate additional warnings when compiling
  5722. the auxiliary programs with gcc. (unix-gcc.mak)
  5723. Gets rid of the EXPP and SHP macros, since they aren't used or needed any
  5724. longer. (gs.mak, bcwin32.mak, dvx-head.mak, msvccmd.mak, openvms.mak,
  5725. os2.mak, unixhead.mak, watcw32.mak, wccommon.mak)
  5726. Changes the Unix EXP to null, since all executables now use an explicit
  5727. directory prefix. (unixhead.mak)
  5728. Renames unix-cc.mak as unixtrad.mak, since people with ANSI-compatible cc
  5729. were getting confused. (unix-cc.mak [deleted], unixtrad.mak)
  5730. Adds a -_ switch, for piped execution with buffering. (iminst.h,
  5731. imainarg.c)
  5732. </pre><h3><a name="5.65_Utilities"></a>Utilities</h3><pre>
  5733. Fixes problems:
  5734. - The revised ansi2knr didn't recognize "foo(void)" as a procedure
  5735. definition. (ansi2knr.c)
  5736. - ansi2knr didn't handle function definitions where the last
  5737. formal parameter was a procedure parameter. (ansi2knr.c)
  5738. Adds a utility for printing an informative error page if a PostScript job
  5739. fails. (lib/errpage.ps, doc/Psfiles.htm, unixinst.mak)
  5740. </pre><h3><a name="5.65_Drivers"></a>Drivers</h3><pre>
  5741. Fixes problems:
  5742. - The [e]pswrite drivers produced incorrect output for images in
  5743. non-Device color spaces. We fixed this by causing all other images to be
  5744. handled as rectangles. This is clearly not satisfactory: we need to unify
  5745. the PS and PDF writers in this area. (gdevps.c)
  5746. - The CCITTFaxEncoded data produced by the [e]pswrite driver had
  5747. both a Rows value and an EndOfBlock marker, which wasn't compatible with
  5748. some Adobe interpreters. (gdevpsdf.c)
  5749. - X devices couldn't be copied, because the copy didn't clear the
  5750. list of X fonts and therefore tried to free it a second time. (gdevx.c,
  5751. gdevxini.c)
  5752. - gdevx.h declared a type called rect, conflicting with variables
  5753. named rect. (gdevx.h, gdevx.c)
  5754. - A function definition wasn't formatted properly to be
  5755. recognized by ansi2knr. (gdevupd.c)
  5756. - The PCL XL drivers crashed if given a masked image. (gdevpx.c)
  5757. Adds a PBM driver that writes separated CMYK, using the colors-used masks to
  5758. skip bands. (devs.mak, gdevpbm.c)
  5759. Updates drivers that formerly supported the TextAlphaBits and
  5760. GraphicsAlphaBits parameters themselves. (gdevmswn.h, gdevsvga.h,
  5761. gdevpbm.c, gdevmswn.c, gdevpm.c, gdevwdib.c, gdevsvga.c, gdevxalt.c)
  5762. </pre><h3><a name="5.65_Platforms"></a>Platforms</h3><pre>
  5763. Fixes problems:
  5764. - The stack size on the Watcom platform was set too small.
  5765. (watc.mak)
  5766. - The OpenVMS platform code and makefiles had gotten out of date.
  5767. (gp_vms.c, openvms.mak)
  5768. </pre><h3><a name="5.65_Interpreter"></a>Interpreter</h3><pre>
  5769. Fixes problems:
  5770. - The size of Indexed color space lookup tables wasn't set, possibly
  5771. causing them to be corrupted during garbage collection. (zcsindex.c)
  5772. - A function definition wasn't formatted properly to be
  5773. recognized by ansi2knr. (icontext.c)
  5774. - quit was only rebound to stop in encapsulated jobs, rather than in
  5775. any context under control of a job server. Since we don't currently have
  5776. any explicit way to indicate whether execution is under control of a job
  5777. server, we consider that it is under a job server iff startjob has ever been
  5778. executed. (lib/gs_lev2.ps)
  5779. Adds tracing output for removing an entry from a dictionary. (idict.c)
  5780. Slightly improves dictionary deletion so that it can replace a run of
  5781. deleted keys with empty keys. (idict.c)
  5782. Adds statistics-gathering to the interpreter. (interp.c)
  5783. Adds more statistics-gathering to the dictionary stack search. (idstack.c)
  5784. Improves the debugging printout of packed arrays. (idebug.c)
  5785. Increases the name table allocation increment from 128 names (1.5K) to 256
  5786. names (3K), to provide better scattering of name indices. (inamedef.h)
  5787. Changes the name count / index mapping to provide better scattering.
  5788. (inamedef.h)
  5789. </pre><h3><a name="5.65_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  5790. Fixes problems:
  5791. - If a font other than the base 14 wasn't embedded and lacked a
  5792. descriptor, an error occurred. (The PDF specification explicitly prohibits
  5793. this, but Acrobat PDFWriter 3.02 for Windows produces PDF files with
  5794. TrueType fonts that lack a descriptor.) (lib/pdf_font.ps)
  5795. </pre><h3><a name="5.65_Library"></a>Library</h3><pre>
  5796. Fixes problems:
  5797. - The computation of colors used by CMYK halftones was incorrect.
  5798. (gxclpath.c)
  5799. - Some header files had preprocessor directives with a space before
  5800. the #, which pre-ANSI compilers don't accept. (gpsync.h, gsjconf.h,
  5801. gsmemlok.h, gxsync.h, gxxfont.h)
  5802. - A number of prototypes didn't use the Pn macros. (gscolor2.h,
  5803. gscsepr.h, gsptype1.h, gspcolor.c)
  5804. - A function definition wasn't formatted properly to be
  5805. recognized by ansi2knr. (gxcht.c)
  5806. - The algorithm for reducing single-plane CMYK halftones to binary
  5807. halftones was incorrect (bug introduced in 5.60). (gxdither.c)
  5808. - Writing a degenerate triangle or parallelogram in the band list
  5809. could cause a memory access error when rasterizing. (gxclrast.c)
  5810. Adds per-band "colors used" information to the information for a saved page,
  5811. and procedures (gdev_prn_colors_used and gx_page_info_colors_used, defined
  5812. in gdevprn.h) for accessing it. (gdevprn.h, gxband.h, gxclist.h, gdevprn.c,
  5813. gxclist.c)
  5814. Adds an internal device that appears to clients as a multi-plane color
  5815. device, and extracts a single plane for actual rendering. This device will
  5816. be used to support planar output devices. (gdevplnx.h, gsbitops.h,
  5817. gdevplnx.c)
  5818. Adds explicit color_info.text_anti_alias_bits and graphics_anti_alias_bits
  5819. values in the device state, obsoleting the get_alpha_bits procedure, and
  5820. makes them settable for all devices. (gxdevcli.h, gxdevice.h, gdevabuf.c,
  5821. gdevdflt.c, gdevnfwd.c, gdevprn.c, gsdparam.c)
  5822. Reformats some code for readability. (gxdither.c)
  5823. Adds a tentative API for a procedure that allows band rasterizing directly
  5824. into client's memory. This is tentative because we may need to add the
  5825. ability to select an individual plane. (gdevprn.h)
  5826. </pre>
  5827. <hr>
  5828. <h2><a name="Version5.64"></a>Version 5.64 (internal) (11/5/98)</h2>
  5829. <p>
  5830. This is another incremental fileset to fix problems for an external
  5831. customer.
  5832. <h3><a name="5.64_Incompatible_changes"></a>Incompatible changes</h3><pre>
  5833. (Drivers)
  5834. - The output_page procedure of all drivers now must call
  5835. gx_finish_output_page as its last action. (This doesn't affect ordinary
  5836. printer or raster file drivers, which already call a common procedure.)
  5837. </pre><h3><a name="5.64_Documentation"></a>Documentation</h3><pre>
  5838. Fixes problems:
  5839. - The instructions for creating 'makefile' on Unix systems were
  5840. out of date. (doc/Make.htm)
  5841. </pre><h3><a name="5.64_Procedures"></a>Procedures</h3><pre>
  5842. Fixes problems:
  5843. - An omitted return statement caused genconf to malfunction on some
  5844. platforms. (genconf.c)
  5845. - The replacement of MAKEFILES by TOP_MAKEFILES accidentally changed
  5846. some comments that should not have been changed. (bcwin32.mak, gs.mak,
  5847. msvctail.mak, openvms.mak, os2.mak, watcw32.mak, wctail.mak, winlib.mak)
  5848. </pre><h3><a name="5.64_Drivers"></a>Drivers</h3><pre>
  5849. Updates drivers to call gx_finish_output_page where needed. (gdev3b1.c,
  5850. gdevcgm.c, gdevcp50.c, gdevpdf.c, gdevmswn.c, gdevpm.c, gdevps.c, gdevpx.c,
  5851. gdevsnfb.c, gdevwprn.c, gdevx.c)
  5852. </pre><h3><a name="5.64_Library"></a>Library</h3><pre>
  5853. Fixes problems:
  5854. - The FontBBox workaround introduced in 5.63 didn't work properly.
  5855. (zchar1.c)
  5856. - PageCount was getting incremented in the first device of a device
  5857. pipeline, rather than in the last one and being propagated back.
  5858. (gxdevice.h, gdevbbox.c, gdevdflt.c, gdevnfwd.c, gdevprn.c, gdevprna.c,
  5859. gsdevice.c)
  5860. </pre>
  5861. <hr>
  5862. <h2><a name="Version5.63"></a>Version 5.63 (internal) (11/4/98)</h2>
  5863. <p>
  5864. This fileset was driven by the development needs of an external customer,
  5865. primarily related to asynchronous rendering. It includes a few bug fixes as
  5866. well.
  5867. <h3><a name="5.63_Incompatible_changes"></a>Incompatible changes</h3><pre>
  5868. (Procedures)
  5869. - In the makefiles, changes the name MAKEFILES to TOP_MAKEFILES.
  5870. (Library)
  5871. - The pis member of the Type 1 interpreter state was renamed in
  5872. order to catch places that assumed it was set. (It may now be 0.) This
  5873. should not affect any client code.
  5874. - gx_page_queue_dnit and gx_page_queue_finish_dequeue now free the
  5875. band list information associated with the page_info in the queue entry. An
  5876. explicit call of gx_page_queue_entry_free_page_info is now required to free
  5877. this information before any other call of gx_page_queue_entry_free.
  5878. </pre><h3><a name="5.63_Documentation"></a>Documentation</h3><pre>
  5879. Fixes problems:
  5880. - devs.mak incorrectly referred to msdevs.mak rather than pcwin.mak.
  5881. (devs.mak)
  5882. </pre><h3><a name="5.63_Procedures"></a>Procedures</h3><pre>
  5883. Fixes problems:
  5884. - There was a $ in the makefile that wasn't quoted. (unix-gcc.mak)
  5885. - The name MAKEFILES has a special meaning in GNU make which only be
  5886. disabled by using a directive that is a syntactic error for standard 'make'
  5887. implementations. We had to work around this by changing all occurrences of
  5888. MAKEFILES to TOP_MAKEFILES. (*.mak)
  5889. - genconf did the wrong thing for modules with names shorter than
  5890. 5 characters. (genconf.c)
  5891. </pre><h3><a name="5.63_Drivers"></a>Drivers</h3><pre>
  5892. Updates the Canon BJC library, changing the names of the files. This code
  5893. is still very preliminary. (gdevbjcl.h, gdevbjcl.c)
  5894. </pre><h3><a name="5.63_Interpreter"></a>Interpreter</h3><pre>
  5895. Fixes problems:
  5896. - Some Type 1 fonts have a plausible but incorrect (too-small)
  5897. FontBBox, causing some characters to be clipped. We work around this by
  5898. enlarging the FontBBox and restarting the rasterization if the outline goes
  5899. outside the FontBBox. (zchar1.c)
  5900. </pre><h3><a name="5.63_Library"></a>Library</h3><pre>
  5901. Fixes problems:
  5902. - gx_default_strip_copy_rop didn't check for zero width before
  5903. dividing by it. (gdevdrop.c)
  5904. - Some places that called a procedure returning void tried to use
  5905. the return value. (gximage.c, gximage1.c, gximage4.c)
  5906. - The flatness for rendering Type 1 characters was set incorrectly
  5907. (always set to 0, producing best accuracy at extra cost) for characters not
  5908. in portrait orientation. (gxtype1.c)
  5909. - clist_begin_typed_image incorrectly used the memory manager client
  5910. name "clist_begin_image". (gxclimag.c)
  5911. - If a page queue entry was created without a page_info, the entry's
  5912. page_info wasn't initialized, probably causing a crash when attempting to
  5913. free the (nonexistent) associated band files later. (gxpageq.c)
  5914. More fully supports the use of saved page_info objects for decoupling banded
  5915. rendering from band list construction:
  5916. - Adds the ability to close and free the command list associated
  5917. with a saved page. (gxclist.h, gxclist.c)
  5918. - Separates freeing of the band list information associated with a
  5919. page queue entry from freeing the entry itself. (gxpageq.h, gxpageq.c)
  5920. - Changes the rendering thread for asynchronous band rendering so
  5921. that it doesn't try to free the band list information twice. (gdevprna.c)
  5922. Implements triangles and parallelograms in the band list, primarily for the
  5923. sake of smooth shading. (gxclpath.h, gxclist.c, gxclpath.c, gxclrast.c)
  5924. Adds a rectangle merging procedure, parallel to rectangle intersection.
  5925. This is needed for the FontBBox fix. (gsrect.h)
  5926. Adds logic for keeping track of what pixel values are used in which bands.
  5927. Currently this information is not used for anything. (gdevmrop.h, gsropt.h,
  5928. gxcldev.h, gxclpath.h, gxclrect.c, gxclpath.c, gxclimag.c)
  5929. Updates a few more files for readability and coding conventions.
  5930. (gxband.h, gxpageq.c)
  5931. Updates users of gxband.h and gxpageq.h. (gdevprn.h, gxclist.h, gxpageq.h,
  5932. gdevprna.c, gxclpage.c, gxclread.c)
  5933. Moves the definition of the page queue into the (private) implementation
  5934. file. (gxpageq.h, gxpageq.c)
  5935. </pre>
  5936. <hr>
  5937. <h2><a name="Version5.62"></a>Version 5.62 (internal) (10/31/98)</h2>
  5938. <p>
  5939. This fileset concludes this round of work on (primarily color) performance
  5940. improvement. It contains almost no new bug fixes.
  5941. <h3><a name="5.62_Incompatible_changes"></a>Incompatible changes</h3><pre>
  5942. (Library)
  5943. - Clients that load the CIE caches themselves must now reset the
  5944. procedures to the _from_cache values. (This affects the PostScript
  5945. interpreter, but no ordinary library clients.)
  5946. - gs_cie_compute_wbsd (an internal procedure) was changed to
  5947. gs_cie_compute_points_sd, with different parameters.
  5948. </pre><h3><a name="5.62_Documentation"></a>Documentation</h3><pre>
  5949. Adds information about problems with PDF files copied from Macintosh
  5950. environments. (doc/Use.htm)
  5951. </pre><h3><a name="5.62_Drivers"></a>Drivers</h3><pre>
  5952. Adds a library for generating Canon BJC commands. This code is subject to
  5953. change without notice! (gdevcbjc.h, gdevcbjc.c)
  5954. </pre><h3><a name="5.62_Interpreter"></a>Interpreter</h3><pre>
  5955. Fixes problems:
  5956. - The structures allocated for CIE RenderTables weren't marked
  5957. correctly for garbage collection, possibly mangling the output. (zcie.c)
  5958. - The CIE color space procedures weren't reset after the cache was
  5959. loaded, producing incorrect output now that it matters. (zcie.c, zcrd.c)
  5960. </pre><h3><a name="5.62_Library"></a>Library</h3><pre>
  5961. Fixes problems:
  5962. - Under some circumstances, a setbbox didn't take effect.
  5963. (gxpcopy.c)
  5964. - The last step of CIE color mapping didn't clamp the very top end
  5965. of the range correctly. (gsciemap.c)
  5966. Speeds up bits_replicate_horizontally a bit more. (gsbitops.c)
  5967. Separates the CIE color mapping code from CIE cache loading, since the file
  5968. was getting too big. (gscie.h, gscie.c, gsciemap.c)
  5969. Finishes adding the hooks for skipping steps during CIE color mapping when
  5970. possible, and implements one case of step-skipping. (gscie.h, gscie.c,
  5971. gsciemap.c, gscrd.c)
  5972. Adds more tracing to the CIE color machinery. (gscie.c)
  5973. Changes the default number of tiles for the colored halftone screen caches
  5974. from 1 to 4, substantially reducing cache turnover. (gsht1.c, gshtx.c,
  5975. gxclrast.c)
  5976. </pre>
  5977. <hr>
  5978. <h2><a name="Version5.61"></a>Version 5.61 (internal) (10/28/98)</h2>
  5979. <p>
  5980. More rendering speedups, and fixes for many of the minor problems reported
  5981. in 5.50.
  5982. <h3><a name="5.61_Documentation"></a>Docmentation</h3><pre>
  5983. Fixes problems:
  5984. - There were still some incorrect references to .txt files.
  5985. (gs.mak, libpng.mak)
  5986. - Two references to libpng should have referred to libjpeg.
  5987. (gs.mak)
  5988. </pre><h3><a name="5.61_Procedures"></a>Procedures</h3><pre>
  5989. Fixes problems:
  5990. - GNU 'make' treats the name MAKEFILES specially. (unix-gcc.mak)
  5991. - genconf didn't sort libraries in the right order. (genconf.c)
  5992. - The dependency for ansi2knr, and the invocation of ccgs, didn't
  5993. include the directory name. (ccgs, unix-cc.mak)
  5994. - The CC_ and CCAUX rules didn't invoke the new ccgs correctly.
  5995. (unix-cc.mak)
  5996. - There was a typo in a comment. (unixtail.mak)
  5997. - gcc versions of the form 2.7.2.f.1 weren't recognized as having
  5998. the const-related code generation bug. (unix-gcc.mak)
  5999. Documents workaround for bugs in newer IRIX compilers. (doc/Make.htm)
  6000. </pre><h3><a name="5.61_Utilities"></a>Utilities</h3><pre>
  6001. Fixes problems:
  6002. - ansi2knr didn't understand the new formatting of the enum_ptrs and
  6003. reloc_ptrs procedures, which now don't have a left brace on the same line as
  6004. the macro call that defines the procedure. (ansi2knr.c)
  6005. Adds a utility for viewing MIFF files. (lib/viewmiff.ps)
  6006. </pre><h3><a name="5.61_Drivers"></a>Drivers</h3><pre>
  6007. Fixes problems:
  6008. - The X driver could report a depth (e.g., 15 bits) that caused
  6009. problems elsewhere. (gdevxini.c)
  6010. - With the X driver, if the display is grey-scale or does not have
  6011. enough colors to allocate a color ramp, Ghostscript crashed in
  6012. x_map_color_rgb due to an array index overflow. (gdevx.c)
  6013. - The PDF writer used the X scaling of fonts to determine the point
  6014. size rather than the Y scaling, which gives the wrong result for synthetic
  6015. condensed fonts. (gdevpdft.c)
  6016. - If the last thing written before a flushpage was text, the X
  6017. driver might fail to display it. (gdevx.c)
  6018. - The PDF writer didn't free the streams created for image
  6019. compression, causing a memory leak. (gdevpsdf.c)
  6020. - pswrite didn't output a command to set the page size. (gdevps.c)
  6021. Removes an obsolete comment and commented-out line. (gdevxalt.c)
  6022. </pre><h3><a name="5.61_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  6023. Fixes problems:
  6024. - Explicit (not resource) Indexed color spaces caused an error.
  6025. (lib/pdf_draw.ps)
  6026. </pre><h3><a name="5.61_Streams"></a>Streams</h3><pre>
  6027. Fixes problems:
  6028. - The PNGPredictor filters didn't free their row buffer. (spngp.c)
  6029. - The PNGPredictor filters didn't handle end-of-data correctly.
  6030. (spngp.c)
  6031. Changes the eexec filter to ignore % characters when reading
  6032. ASCIIHex-encoded data. This is contrary to the Adobe documentation, but one
  6033. badly coded prologue requires it. (seexec.c)
  6034. </pre><h3><a name="5.61_Library"></a>Library</h3><pre>
  6035. Fixes problems:
  6036. - The definition of TRANSPARENCY_PER_H_P was in the wrong module,
  6037. causing it to be ignored. (gdevmrop.h, gdevdrop.c)
  6038. - There was a typo in the tracing output for init_tile_cursor.
  6039. (gxcht.c)
  6040. - gx_get_bits_copy computed the standard raster incorrectly if
  6041. the destination used a different color representation from the source,
  6042. causing multi-line transfers to be done incorrectly. (gdevdgbr.c)
  6043. - Parentheses were missing around the use of width_bits in the
  6044. definition of bitmap_raster, possibly causing incorrect computation.
  6045. (gxbitmap.h)
  6046. - When rendering a Pattern, a singular CTM caused an error even if
  6047. the Pattern was empty. (gspcolor.c)
  6048. - The lookup table wasn't allocated for device-originated CRDs.
  6049. (gscrdp.c)
  6050. - If an error occurred when setting up to rasterize a band,
  6051. data_bits could be freed without ever having been initialized. (gxclrast.c)
  6052. - Processing a CIE-color image with a color space different from the
  6053. current color space caused an error. (gscie.c)
  6054. - The speedup for bits_replicate_horizontally had an algorithm
  6055. error, producing incorrect output. (gsbitops.c)
  6056. Splits up the memory device implementation of RasterOp, since the file was
  6057. getting too large. (gdevmem.h, gdevm1.c, gdevm8.c, gdevm16.c, gdevm24.c,
  6058. gdevm32.c, gdevmrop.c [deleted], gdevmr1.c, gdevmr2n.c, gdevmr8n.c,
  6059. gsnorop.c)
  6060. Cleans up a little formatting. (gsbittab.h)
  6061. Speeds up the default RasterOp implementation some more. (gdevdgbr.c,
  6062. gdevdrop.c, gdevmem.c)
  6063. Speeds up testing whether a given halftone level is already present in its
  6064. cache. (gzht.h, gxht.c)
  6065. Speeds up 1-bit CMYK halftones a bit more. (gxcht.c)
  6066. Makes filling always use the (much faster) trapezoid-based algorithm if the
  6067. region being filled is a rectangle. (gxfill.c)
  6068. </pre>
  6069. <hr>
  6070. <h2><a name="Version5.60"></a>Version 5.60 (internal) (10/18/98)</h2>
  6071. <p>
  6072. This fileset incorporates many performance enhancements for 1-bit CMYK
  6073. devices, especially for PCL 5c interpretation.
  6074. <p>
  6075. This fileset divides the files into subdirectories. In the lists of changed
  6076. files, files with no explicit subdirectory name are in the src subdirectory.
  6077. The revised OpenVMS and OS/2 makefiles have not been tested.
  6078. <h3><a name="5.60_Incompatible_changes"></a>Incompatible changes</h3><pre>
  6079. (Procedures)
  6080. - The instructions for font compilation in doc/Fonts.htm are
  6081. different.
  6082. - The fileset has been split into multiple directories; the source
  6083. code and makefiles are now in src/.
  6084. - The top-level makefile requires a definition for BINDIR for the
  6085. directory to hold the final executable.
  6086. - Every .dev rule of the form
  6087. xxx.dev: &lt;list&gt;
  6088. $(SETyyy) xxx &lt;items&gt;
  6089. $(ADDMOD) xxx &lt;items&gt;
  6090. must be changed to
  6091. $(DD)xxx.dev: &lt;list&gt;
  6092. $(SETyyy) $(DD)xxx &lt;items&gt;
  6093. $(ADDMOD) $(DD)xxx &lt;items&gt;
  6094. (DD for drivers, PSD for PostScript/PDF-interpreter features, GLD for
  6095. graphics library features). Every -include and -replace option in the
  6096. makefiles rules, and every element of FEATURE_DEVS and DEVICE_DEVS*, must be
  6097. changed similarly. This is very unfortunate, especially since people
  6098. editing FEATURE_DEVS and DEVICE_DEVS* must now know which subsystem
  6099. implements a particular feature; but we tried 3 different ways to get the
  6100. generated .dev files out of the top-level directory, and this was the only
  6101. one we could make work.
  6102. - Top-level makefiles must define both MAKEFILE and MAKEFILES,
  6103. the latter to include any subsidiary makefiles that define configuration
  6104. parameters. Dependencies on $(MAKEFILE) must be changed to $(MAKEFILES).
  6105. - Color space objects now must either be allocated with the
  6106. gs_cspace_build_ procedures or initialized with the gs_cspace_init_
  6107. procedures: building color spaces "by hand" is no longer allowed.
  6108. (Library)
  6109. - There are new required elements of the gs_image_type_t structure.
  6110. - The binary and colored variants of gx_device_halftone have
  6111. changed. (No APIs are affected.)
  6112. - If a device changes its (effective) color mapping algorithm other
  6113. than as a side effect of put_params, it must call
  6114. gx_device_decache_colors(dev).
  6115. </pre><h3><a name="5.60_Documentation"></a>Documentation</h3><pre>
  6116. Fixes problems:
  6117. - Some files still referred to .doc files rather than .htm.
  6118. (gsiparam.h, imain.h)
  6119. - Version 5.50 was incorrectly identified as a beta version.
  6120. (doc/News.htm)
  6121. - The instructions for cross-compilation were seriously
  6122. incomplete. (doc/Make.htm)
  6123. Adds a text-only README file. (doc/README)
  6124. Updates the instructions for font compilation. (doc/Fonts.htm)
  6125. Updates the instructions for device and feature selection. (doc/Make.htm)
  6126. Adds material on 8.3 file names, compiler warning messages, and graphics
  6127. library error codes to the C style guide. (doc/C-style.htm)
  6128. Adds a note about gx_device_decache_colors. (doc/Drivers.htm)
  6129. Improves formatting slightly. (doc/Install.htm, doc/Use.htm)
  6130. </pre><h3><a name="5.60_Procedures"></a>Procedures</h3><pre>
  6131. Fixes problems:
  6132. - The Unix install script referred to an obsolete ps2image.ps file.
  6133. (unixinst.mak)
  6134. - The Unix CC script had some duplicated definitions. (unix-cc.mak)
  6135. - The DVX makefile referred to int.mak in GLSRC rather than PSSRC.
  6136. (dvx-gcc.mak)
  6137. - rollconv.ps wasn't installed with the other utilities.
  6138. (unixinst.mak)
  6139. - Some definitions of MAKEFILE lacked a directory name. (os2.mak,
  6140. unix-cc.mak, unixansi.mak, watclib.mak)
  6141. - There were inappropriate dependencies on a file with the literal
  6142. name `makefile'. (bcwin32.mak, gs.mak, watc32.mak)
  6143. - Unix systems didn't use -fomit-frame-pointer when possible.
  6144. (unix-cc.mak, unix-gcc.mak, unixansi.mak, unix-end.mak)
  6145. Restructures the source files into multiple subdirectories:
  6146. src/ - files needed at build time: *.mak, *.h, *.c, *.cpp, *.icx, *.rc,
  6147. *.cmd, ??.bat, *.com, *.rps, *.dif, *.cfg
  6148. lib/ - files needed at run time: *_*.ps, *.ppd, *.upp, *.bat
  6149. doc/ - documentation other than man pages: *.htm, *.txt
  6150. man/ - man pages: *.1
  6151. examples/ - sample input data: *.ps, *.eps, *.pdf
  6152. Also incorporates the font compilation makefile into the main makefile,
  6153. since the former now depends on parameters defined in the latter. (*.mak)
  6154. ****** HAVEN'T SETTLED HOW TO HANDLE .ico FILES ******
  6155. NOTE: Still need to update: openvms.mak, os2.mak.
  6156. Updates the Unix install script for the directory split. (unixinst.mak)
  6157. Updates the font compilation makefile rules to handle alternate directories.
  6158. (cfonts.mak, int.mak)
  6159. ****** PROBLEM: cfonts.mak NEEDS CCFONT, BUT int.mak NEEDS CF* FOR ADDING
  6160. ONE'S OWN FONTS ******
  6161. Removes useless dependencies on gs_*.ps files. (int.mak)
  6162. Moves the .dev files into the GEN directories where they belong. (gs.mak,
  6163. dvx-tail.mak, msvclib.mak, openvms.mak, os2.mak, pcwin.mak, ugcclib.mak,
  6164. unixhead.mak, unixtail.mak, unix-end.mak, watc.mak, watclib.mak, winlib.mak,
  6165. echogs.c, genconf.c) ****** NO_OP FOR dvx HASN'T BEEN VERIFIED ******
  6166. NOTE: Still to do:
  6167. src/bcwin32.mak
  6168. src/dvx-gcc.mak
  6169. src/dvx-head.mak
  6170. src/dvx-tail.mak
  6171. src/msvc32.mak
  6172. src/msvccmd.mak
  6173. src/msvclib.mak
  6174. src/msvctail.mak
  6175. src/openvms.mak
  6176. src/os2.mak
  6177. src/pcwin.mak
  6178. src/ugcclib.mak
  6179. src/watc.mak
  6180. src/watclib.mak
  6181. src/watcw32.mak
  6182. src/wccommon.mak
  6183. src/wctail.mak
  6184. src/winint.mak
  6185. src/winlib.mak
  6186. Adds a new BINDIR directory for the final executable (and associated files
  6187. like resource files). After building, only the contents of BINDIR and lib
  6188. are needed for execution. (gs.mak, unix-end.mak) ****** NEED TO DO
  6189. openvms.mak, os2.mak, OTHER PC MAKEFILES ******
  6190. Updates libpng to version 1.0.2. (libpng.mak)
  6191. </pre><h3><a name="5.60_Utilities"></a>Utilities</h3><pre>
  6192. Adds a new switch, -b, to echogs. (echogs.c)
  6193. </pre><h3><a name="5.60_Drivers"></a>Drivers</h3><pre>
  6194. Updates the PDF writer for the change in color space initialization.
  6195. (gdevpdfi.c)
  6196. Speeds up the pkmraw driver a bit more. (gdevpbm.c)
  6197. Updates some drivers to use the new CMYK color mapping procedures.
  6198. (gdevpbm.c, gdevpcx.c, gdevxalt.c)
  6199. Updates one driver that maintained its own color cache. (gdevxalt.c)
  6200. Removes some compiler warnings (mostly about "uninitialized" variables).
  6201. (gdevpdfo.c, gdevpdft.c, gdevpx.c)
  6202. Adds another driver for the H-P Color LaserJet 5/5M. (gdevcljc.c)
  6203. </pre><h3><a name="5.60_Platforms"></a>Platforms</h3><pre>
  6204. Fixes problems:
  6205. - A change in the MetroWerks C compiler caused the hypot function
  6206. to become declared. (math_.h)
  6207. </pre><h3><a name="5.60_Interpreter"></a>Interpreter</h3><pre>
  6208. Updates the compiled font code for updates in the type declarations.
  6209. (iccfont.c, icfontab.c)
  6210. Cleans up some more formatting and macros. (ccfont.h, errors.h, icfontab.c,
  6211. interp.c)
  6212. Updates clients for the change in color space initialization. (zcsdevn.c,
  6213. zcsindex.c, zcspixel.c, zcssepr.c, zpcolor.c)
  6214. Updates the memory validator for the addition of the large-block freelist.
  6215. (ilocate.c)
  6216. </pre><h3><a name="5.60_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  6217. Fixes problems:
  6218. - If the final %%EOF was followed by any blanks before the newline,
  6219. an error would occur. (lib/pdf_main.ps)
  6220. </pre><h3><a name="5.60_Streams"></a>Streams</h3><pre>
  6221. Fixes problems:
  6222. - The LZWDecode filter wouldn't handle a file that had 4096-256-2+1
  6223. data items before the reset. (We think this is a bug in the file, but
  6224. Acrobat accepts it.) (slzwx.h, slzwd.c)
  6225. Rearranges code slightly to improve readability. (spdiff.c)
  6226. </pre><h3><a name="5.60_Library"></a>Library</h3><pre>
  6227. Fixes problems:
  6228. - Changing the resolution (or any other parameter) of the bbox
  6229. device from the command line caused an invalid memory access. (gdevbbox.c)
  6230. - When banding, if the very first drawing operation involved a
  6231. halftone with non-zero phase, an arithmetic exception occurred.
  6232. (gxclpath.c)
  6233. - When banding, the X offset of the band was negated, producing
  6234. incorrect output when placing multiple source pages on a single output page.
  6235. (gxclread.c)
  6236. - When banding, rotated images crossing band boundaries produced
  6237. incorrect output, because the subrectangle X value was inconsistent with the
  6238. amount of data transmitted. (gxclimag.c)
  6239. - When banding, the clipping check didn't take interpolation support
  6240. into account. (gxclimag.c)
  6241. - The clipping check for banding used (int) to take the floor of
  6242. floating point values, which is wrong for negative values. (gxclimag.c)
  6243. - The bounding box device didn't return an empty bounding
  6244. rectangle if nothing had been written to it. (gdevbbox.c)
  6245. - A value was conditional on a debugging switch even if DEBUG wasn't
  6246. defined. (gxcht.c)
  6247. - Filling a region with a large colored halftone, a non-default
  6248. RasterOp, and a non-null RasterOp source could cause only part of the region
  6249. to be filled. (gxcht.c) ****** NOT FIXED YET ******
  6250. - Type 1 fonts that used very large numbers (&gt;= 2^19) caused a
  6251. rangecheck. We've fixed this for the only case that seems to matter, namely
  6252. &lt;very-large-number&gt; &lt;number&gt; div. (gxtype1.h, gstype1.c)
  6253. - The memory-based band list allocator failed to return an error
  6254. code from memfile_next_blk. (gxclmem.c)
  6255. - When recovering from a low-band-list-memory condition while
  6256. writing an image, the record of the current image enumeration
  6257. (cdev-&gt;image_enum_id) wasn't updated. (gxclimag.c)
  6258. - The estimated memory requirement for the band list rasterizer was
  6259. too small. (gdevprna.c)
  6260. Adds some tracing to mask clipping. (gxclipm.c)
  6261. Speeds up masked images by doing mask clipping before halftoning, using a
  6262. more efficient mask scanning algorithm, and checking for vertical blocks of
  6263. 1s. (gxclipm.c)
  6264. Speeds up ImageType 4 images greatly by incorporating the color-key check
  6265. into the ImageType 1 rendering code. NOTE: the 12-bit case has not been
  6266. tested. (gxcpath.h, gximage.h, gxi12bit.c, gxicolor.c, gxifast.c,
  6267. gxiinit.c, gximage4.c, gximono.c, gxiscale.c)
  6268. Implements passing ImageType 4 images (and potentially others) through the
  6269. band list. This involves adding image parameter writing and reading
  6270. procedures to the image type structure. (gscdefs.h, gsiparam.h, gsiparm2.h,
  6271. gsiparm4.h, gsmatrix.h, gxclpath.h, gxiparam.h, gconf.c, genconf.c,
  6272. gsmatrix.c, gxclimag.c, gxclist.c, gxclpath.c, gxclrast.c, gxiinit.c,
  6273. gximage2.c, gximage3.c, gximage4.c)
  6274. Splits off the generic image support code from the ImageType 1 code.
  6275. (gxiinit.c [deleted], gximage.c, gximage1.c, gxipixel.c)
  6276. Removes some vestiges of support for 16-bit environments. (gsmisc.c)
  6277. Implements bit-planar images, important for PCL interpretation.
  6278. (gsiparam.h, gximage.h, gxiparam.h, gdevddrw.c, gdevpdfi.c, gdevps.c,
  6279. gsimage.c, gxclimag.c, gxidata.c, gximage.c, gxipixel.c) ****** NOT TESTED
  6280. YET ******
  6281. Makes closing a memory device that owns its bitmap set the bitmap pointer to
  6282. 0, for the sake of an application that doesn't handle is_open properly.
  6283. (gdevmem.c)
  6284. Speeds up floating-point emulation for single-precision add, subtract, and
  6285. multiply. (gsfemu.c)
  6286. Speeds up sampling of transfer functions. (gshtx.c)
  6287. Makes the CIE cache used fixed-point values if the CPU has slow floating
  6288. point. (gscie.h)
  6289. Adds a unique ID to color spaces to allow fast detection of reselecting the
  6290. same color space. This matters for certain client code that repeatedly
  6291. reselects the same color space, since selecting certain color spaces is
  6292. expensive. (gscpixel.h, gscspace.h, gxcspace.h, gscolor2.c, gscpixel.c,
  6293. gscscie.c, gscspace.c, gspcolor.c, gsstate.c, gximage2.c) ****** NEED TO FIX
  6294. gxclrast.c TO ALLOC INDEXED COLOR SPACE ******
  6295. Speeds up setting Pattern color spaces, by bypassing the install code for
  6296. the base space. (gspcolor.c)
  6297. Adds a unique ID to CRDs to allow fast detection of reselecting the same
  6298. CRD. This matters for certain client code that does this repeatedly.
  6299. (gscie.h, gscrd.h, gscrd.c)
  6300. Detects setting the CRD to one with identical PQR components, and bypasses
  6301. an expensive setup step. (gscie.c)
  6302. Speeds up converting pixels between representations (gx_get_bits_copy) for
  6303. devices with up to 4 bits per pixel, by caching the pixel values.
  6304. (gdevdgbr.c)
  6305. Speeds up the slow default RasterOp algorithm a little. (gdevdrop.c)
  6306. Defines standard mapping procedures for 1-bit-per-component CMYK colors.
  6307. Other code can then test for the presence of these procedures and use more
  6308. efficient algorithms. (gxdevice.h, gxcmap.c)
  6309. Speeds up some algorithms in the bbox device by making some recursive calls
  6310. use a pure color rather than a client-supplied one. (gdevbbox.h, gdevbbox.c)
  6311. Adds a cache for the black and white pixel values to the device structure.
  6312. (gxdevcli.h, gxdevice.h, gdevalph.c, gdevnfwd.c, gsdparam.c, gxdcolor.c)
  6313. Makes the code for colored halftones a little more readable. (gxcht.c)
  6314. Speeds up color mapping for CMYK devices by copying the color mapping
  6315. procedures into forwarding devices, when applicable. (gdevcmap.c,
  6316. gdevmem.c, gsdevice.c, gxclip.c)
  6317. Removes some compiler warnings (mostly about "uninitialized" variables).
  6318. (gxcldev.h, gsdevmem.c, gsshade.c, gstype42.c, gxclpath.c, gxfill.c,
  6319. gximage3.c, gxpath2.c, gxpcopy.c)
  6320. For the benefit of certain client code that commonly sets a CRD and then
  6321. doesn't use it, makes loading of the joint CIE caches lazy (at the library
  6322. level). (gscie.h, gscie.c)
  6323. Changes CIE color restriction from a macro to a procedure, since it is
  6324. rarely used. (gscie.c)
  6325. Adds code and structures for detecting when CIE Decode and/or Encode
  6326. procedures are simply linear transformations, which would allow collapsing
  6327. them into the adjacent matrix, but doesn't actually do the collapsing.
  6328. (gscie.h, gscie.c)
  6329. Speeds up color halftoning by pre-computing the mask of planes that need to
  6330. be halftoned, and preconverting multi-plane halftones to binary or solid
  6331. colors when possible. (gsdcolor.h, gxcht.c, gxdcolor.c, gxdither.c, gxht.c)
  6332. Optimizes color mapping for 1-bit-per-component CMYK halftones. (gxcht.c)
  6333. Optimizes null RasterOp sources for black = 1 as well as black = 0.
  6334. (gxdcolor.c)
  6335. Modifies the standard allocator so it keeps track of large free blocks as
  6336. well as small ones, and uses them to satisfy requests when appropriate.
  6337. (gxalloc.h, gsalloc.c)
  6338. Speeds up the horizontal bitmap replication code a bit. (Much more is
  6339. possible.) (gsbitops.c)
  6340. Changes gs_image_max_planes to gs_image_max_components to reflect its
  6341. function more accurately. (gdevddrw.c)
  6342. </pre>
  6343. <hr>
  6344. <h2><a name="Version5.50"></a>Version 5.50 (9/16/98)</h2>
  6345. <p>
  6346. This is the first public release since 5.10. See
  6347. <a href="Current.htm">the release summary</a>
  6348. for a list of major additions and changes.
  6349. <h3><a name="5.50_Documentation"></a>Documentation</h3><pre>
  6350. Fixes problems:
  6351. - Many files still referred to .txt rather than .htm files.
  6352. (DLL.htm, Make.htm, New-user.htm, Readme.htm, bcwin32.mak, cfonts.mak,
  6353. devs.mak, dvx-gcc.mak, dwmainc.cpp, gs-vms.hlp, gxdevcli.h, gxdevice.h,
  6354. int.mak, jpeg.mak, libpng.mak, msvc32.mak, msvclib.mak, openvms.mak,
  6355. os2.mak, unix-cc.mak, unix-gcc.mak, unixansi.mak, watc.mak, watcw32.mak,
  6356. wccommon.mak, zlib.mak)
  6357. Notes that ps2epsi.1 and ps2epsi.txt may be inconsistent or obsolete.
  6358. (ps2epsi.1, ps2epsi.txt)
  6359. Adds a reference to Thomas Merz's Ghostscript manual. (Readme.htm)
  6360. Adds instructions for making RPMs. (Install.htm, Make.htm)
  6361. Changes the URL for post-release notes. (Bug-form.htm, Make.htm,
  6362. New-user.htm)
  6363. Notes problems with Watcom compilation. (Make.htm)
  6364. </pre><h3><a name="5.50_Procedures"></a>Procedures</h3><pre>
  6365. Fixes problems:
  6366. - On Unix systems, the documentation files didn't get installed by
  6367. `make install'. (unixinst.mak)
  6368. - $() was missing around MAKEFILE in a Windows makefile.
  6369. (msvc32.mak)
  6370. - The dfax drivers didn't include all the necessary files in the
  6371. linker list. (contrib.mak)
  6372. - The MSVC makefiles didn't allow building the executable in a
  6373. different directory. (bcwin32.mak, gs.mak, lib.mak, msvc32.mak,
  6374. msvccmd.mak, msvclib.mak, msvctail.mak, os2.mak, watcw32.mak, winint.mak,
  6375. winlib.mak)
  6376. - The default build directory for the Borland compiler was debugobj
  6377. rather than obj. (bcwin32.mak)
  6378. Adds a patch file and some specification files for making RPMs. (gs.rps,
  6379. gs-fonts.rps, rpm-conf.dif)
  6380. Removes the docs target in the makefile, since this function is now
  6381. performed by another program. (unix-end.mak)
  6382. </pre><h3><a name="5.50_Drivers"></a>Drivers</h3><pre>
  6383. Fixes problems:
  6384. - The jpeg drivers caused a memory access error. (bug introduced in
  6385. 5.20 by an incorrectly made fix) (gdevjpeg.c)
  6386. - The x11cmyk driver implemented map_rgb_color, which it should not
  6387. do. (gdevxalt.c)
  6388. Updates a high-level driver for the addition of the bit-planar image format.
  6389. (gdevps.c)
  6390. </pre><h3><a name="5.50_Utilities"></a>Utilities</h3><pre>
  6391. Fixes problems:
  6392. - echogs -h didn't work in environments where char is signed.
  6393. (echogs.c)
  6394. </pre><h3><a name="5.50_Platforms"></a>Platforms</h3><pre>
  6395. Fixes problems:
  6396. - MSVC++ 5.0 produced incorrect code with TDEBUG=0. We "fixed" this
  6397. problem by noting in the makefile that TDEBUG must be left set to 1.
  6398. (msvc32.mak, msvclib.mak)
  6399. Updates the icons for the MS Windows and OS/2 platforms. (gsgraph.icx,
  6400. gsos2.icx, gspmdrv.icx, gstext.icx)
  6401. </pre><h3><a name="5.50_Interpreter"></a>Interpreter</h3><pre>
  6402. Fixes problems:
  6403. - setpagedevice didn't update the state correctly when switching to
  6404. a new type of device (different OutputDevice value). (gs_setpd.ps)
  6405. - The interpreter's initialization depended on BSS being initialized
  6406. to 0. (files.h, zfile.c)
  6407. Removes all references to reloc_struct_ptr other than in gsstruct.h.
  6408. (igcref.c)
  6409. Adds DEBUG tracing for pdfmarks. (gs_pdfwr.ps)
  6410. Disables TEST code for release. (zcrd.c, zfdcte.c)
  6411. </pre><h3><a name="5.50_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  6412. Fixes problems:
  6413. - Some third-party software still referred to the obsolete #?
  6414. procedure. (pdf_main.ps)
  6415. - Destinations with string names weren't properly converted to
  6416. pdfmarks. (pdf_main.ps)
  6417. - Destinations with S = /Named weren't supported. (pdf_main.ps)
  6418. </pre><h3><a name="5.50_Library"></a>Library</h3><pre>
  6419. Fixes problems:
  6420. - Dropout prevention wasn't applied to landscape image masks.
  6421. (gximono.c)
  6422. - When using async rendering, the renderer's allocator was allocated
  6423. with the wrong allocator. (gdevprna.c)
  6424. - gx_strip_bitmap and gx_device_mask_clip didn't have proper GC
  6425. descriptors, causing crashes if a GC occurred while rendering an ImageType 3
  6426. or 4 image. (gsstruct.h, gxbitmap.h, gxclip2.h, gxclipm.h, gxmclip.h,
  6427. gspcolor.c, gxclipm.c, gxmclip.c)
  6428. - The buffer for printer devices wasn't reallocated properly for
  6429. async devices when the page size changed. We aren't entirely comfortable
  6430. with the fix, but it's the best we've got right now. (gdevprn.c)
  6431. - Some files wouldn't compile with -dNOPRIVATE. (gxcspace.h,
  6432. gscdevn.c, gscolor2.c, gscscie.c, gscsepr.c)
  6433. - gp_semaphore_close and gp_monitor_close were defined as not
  6434. returning an error code. (gpsync.h, gp_nsync.c, gp_posem.c, gp_semon.c,
  6435. gp_win32.c)
  6436. - Initialization code depended on BSS being initialized to 0.
  6437. (gsiodev.c)
  6438. - The special PCL color mapping device didn't handle CMYK devices
  6439. correctly in other than "identity" mode. (gdevcmap.c)
  6440. Cleans up a little formatting. (gscie.h, gscpixel.c, gxmclip.c)
  6441. Removes all references to reloc_struct_ptr other than in gsstruct.h.
  6442. (gsstruct.h, gsalloc.c, gsdevice.c, gsfont.c, gxcpath.c)
  6443. Patches the async code so that it allocates twice as much space for the
  6444. renderer as should be needed, to deal with sandbars. (gdevprna.c)
  6445. </pre>
  6446. <hr>
  6447. <h2><a name="Version5.40"></a>Version 5.40 (beta) (9/10/98)</h2>
  6448. <p>
  6449. A few more fixes. This is intended as the candidate fileset for the 5.50
  6450. release.
  6451. <h3><a name="5.40_Documentation"></a>Documentation</h3><pre>
  6452. Fixes problems:
  6453. - The current GNU Ghostscript version was documented as 3.33, not
  6454. 4.03. (New-user.htm)
  6455. - The ansi2knr usage documentation didn't mention --filename.
  6456. (ansi2knr.1)
  6457. - A projected completion date was too optimistic. (ps2pdf.1)
  6458. Replaces all documentation files with new HTML versions. (*.txt [deleted],
  6459. *.htm, index.html, imainarg.c)
  6460. Adds a contributed set of Emacs macros useful for working with Ghostscript
  6461. documentation. (gsdoc.el)
  6462. Changes the version and date format slightly in one file for consistency.
  6463. (gs-vms.hlp)
  6464. </pre><h3><a name="5.40_Procedures"></a>Procedures</h3><pre>
  6465. Adds a make target (make docs) to touch up documentation files before a
  6466. release. (unix-end.mak)
  6467. </pre><h3><a name="5.40_Utilities"></a>Utilities</h3><pre>
  6468. Removes the long-obsolete ps2image.ps utility. (ps2image.ps [deleted])
  6469. </pre><h3><a name="5.40_Drivers"></a>Drivers</h3><pre>
  6470. Adds a driver for the Color LaserJet 5. (devs.mak, gdevclj.c)
  6471. </pre><h3><a name="5.40_Platforms"></a>Platforms</h3><pre>
  6472. Fixes problems:
  6473. - Blanks in command lines weren't handled properly. (dwmain.cpp,
  6474. dwmainc.cpp)
  6475. </pre><h3><a name="5.40_Library"></a>Library</h3><pre>
  6476. Fixes problems:
  6477. - 16-bit devices didn't convert colors to RGB correctly.
  6478. (gdevm16.c)
  6479. - 16- and 32-bit RasterOp didn't work, because pack_from_standard
  6480. didn't handle depths greater than 8. (gdevdrop.c)
  6481. - RasterOps with devices with non-standard color representation
  6482. sometimes substituted black or white for the source or target. (gdevdrop.c)
  6483. - The non-orthogonal case of Axial shading executed the axial-case
  6484. code as well. (gxshade1.c)
  6485. - copy_color on 4-bit-deep memory devices did an unnecessary
  6486. fit_copy check. (gdevm4.c)
  6487. - An upcast was missing. (gdevbbox.c)
  6488. - View clipping was applied to internal devices, incorrectly.
  6489. (gspath.c)
  6490. Revises the implementation of shading so as to reduce the use of macros,
  6491. update formatting, and help prepare for PatternType 2 patterns. (gsshade.h,
  6492. gxshade.h, gxshade4.h, gscolor3.c, gsshade.c, gxshade.c, gxshade1.c,
  6493. gxshade4.c, gxshade6.c)
  6494. </pre>
  6495. <hr>
  6496. <h2><a name="Version5.39"></a>Version 5.39 (beta) (9/8/98)</h2>
  6497. <p>
  6498. A couple more small fixes.
  6499. <h3><a name="5.39_Drivers"></a>Drivers</h3><pre>
  6500. Fixes problems:
  6501. - The pkm[raw] drivers didn't work with 32-bit pixels. (gdevpbm.c)
  6502. Adds (fake) 8-, 16-, and 32-bit X11 CMYK devices, for debugging.
  6503. Unfortunately, the 16- and 32-bit devices consume the hardware color map and
  6504. then no longer behave reasonably; the 8-bit device produces output with
  6505. garbled colors (fixed in 5.40). (devs.mak, gdevxalt.c)
  6506. </pre><h3><a name="5.39_Library"></a>Library</h3><pre>
  6507. Fixes bugs:
  6508. - All banded devices caused a memory access error. (bug introduced
  6509. in 5.38) (gsstate.c)
  6510. - The special color mapping device didn't update its state after
  6511. put_params. (gdevcmap.c)
  6512. - RasterOp on 8-bit non-gray-scale devices didn't handle filling
  6513. with constant 0 or 1 properly. (gdevmrop.c)
  6514. - The halftone machinery didn't switch from full-size to strip
  6515. halftones early enough, possibly allocating very large halftone data
  6516. structures. (gshtscr.c)
  6517. - If an ioerror (such as a disk- or memory-full condition) occurred
  6518. while writing out the band list, the bookkeeping structures were left in an
  6519. inconsistent state, causing further problems. (gxclutil.c)
  6520. - Some shaded fills didn't check for errors when filling
  6521. sub-regions. (gxshade1.c, gxshade4.c)
  6522. Cleans up some formatting. (gxshade6.c)
  6523. </pre>
  6524. <hr>
  6525. <h2><a name="Version5.38"></a>Version 5.38 (beta) (9/3/98)</h2>
  6526. <p>
  6527. The sole purpose of this release was to fix some obscure bugs detected by
  6528. the Genoa tests and by another Aladdin project.
  6529. <h3><a name="5.38_Documentation"></a>Documentation</h3><pre>
  6530. Updates the list of implemented PostScript LanguageLevel 3 features.
  6531. (current.txt)
  6532. </pre><h3><a name="5.38_Drivers"></a>Drivers</h3><pre>
  6533. Fixes problems:
  6534. - The PDF writer did the wrong thing for multi-source images with
  6535. more than 180 bytes of data (total) per scan line. (gdevpdfi.c)
  6536. - If one used setdistillerparams, [g]restore caused a rangecheck in
  6537. .setpagedevice. ****** DISABLED FOR DCT DICTS, SINCE THIS CAUSES A SEGV
  6538. ****** (gdevpsdp.c)
  6539. </pre><h3><a name="5.38_Interpreter"></a>Interpreter</h3><pre>
  6540. Fixes problems:
  6541. - 0-length parameter arrays were given an arbitrary type, confusing
  6542. clients. (iparam.c)
  6543. - EOD on a write stream caused an error. (zfileio.c)
  6544. </pre><h3><a name="5.38_Library"></a>Library</h3><pre>
  6545. Fixes problems:
  6546. - 0-length parameter arrays confused clients that wanted arrays of a
  6547. particular type. (gsparam.c)
  6548. - Patterns with XStep or YStep smaller than the bounding box didn't
  6549. work properly. (gxp1fill.c)
  6550. - Resizing an object sometimes copied it unnecessarily. (gsalloc.c)
  6551. - Freeing the shared part of a graphics state didn't free its
  6552. sub-objects. (gsstate.c)
  6553. - The standard allocator didn't free its initial (self-containing)
  6554. chunk when asked to free itself. (gsalloc.c)
  6555. - The standard allocator didn't attempt to merge free blocks before
  6556. giving up. We implemented this by adding another virtual procedure to
  6557. allocators, consolidate_free. (gsmemory.h, gsmemraw.h, gsalloc.c,
  6558. gsmalloc.c, gsmemlok.c, gsmemory.c)
  6559. - The free object merging algorithm thought there were free objects
  6560. even when there weren't. (Small performance bug only.) (gsalloc.c)
  6561. Adds some more tracing to pattern filling. (gxclip2.c, gxp1fill.c)
  6562. Replaces the cs_alloc, cs_copy, and cs_undo_alloc macros with procedures.
  6563. (gxcspace.h, gscolor2.c, gscsepr.c, gscspace.c, gspcolor.c)
  6564. Moves the free-object merging code from gsnogc.c to gsalloc.c, so it can be
  6565. used even in systems that have a garbage collector. (gsalloc.h, gxalloc.h,
  6566. gsalloc.c, gsnogc.c)
  6567. </pre>
  6568. <hr>
  6569. <h2><a name="Version5.37"></a>Version 5.37 (beta) (8/31/98)</h2>
  6570. <h3><a name="5.37_Documentation"></a>Documentation</h3><pre>
  6571. Mentions the new cid2code utility in the documentation. (psfiles.txt)
  6572. Documents dpsnext.dev. (gs.mak)
  6573. Notes that clients of ImageType 3 images are responsible for providing the
  6574. mask data before the pixel data. (gsiparm3.h)
  6575. </pre><h3><a name="5.37_Procedures"></a>Procedures</h3><pre>
  6576. Fixes problems:
  6577. - The makefiles were missing a dependency of jconfig.h on arch.h.
  6578. With this fix, parallel builds (make -jN) work reliably. (jpeg.mak)
  6579. </pre><h3><a name="5.37_Utilities"></a>Utilities</h3><pre>
  6580. Adds a utility for creating maps from CIDs to Unicode. (unixinst.mak,
  6581. cid2code.ps)
  6582. </pre><h3><a name="5.37_Drivers"></a>Drivers</h3><pre>
  6583. Removes the %Fax% IODevice code, since it was only a skeleton and Adobe no
  6584. longer supports this facility. (devs.mak, gdevpfax.c [deleted])
  6585. </pre><h3><a name="5.37_Fonts"></a>Fonts</h3><pre>
  6586. Fixes problems:
  6587. - TrueType fonts whose first code wasn't 0 or 0xf000 didn't display
  6588. correctly. (bug introduced in 5.36) (gs_ttf.ps)
  6589. - CIDFontType 0 fonts didn't handle being redefined with another
  6590. name. (gs_cidfn.ps)
  6591. - CIDFontType 0 fonts could get local-into-global-store errors.
  6592. (gs_cidfn.ps)
  6593. - PDF files couldn't use already-defined CMap resources.
  6594. (pdf_font.ps)
  6595. - Out-of-range CIDs gave an error rather than using a notdef
  6596. character. (gs_cidfn.ps)
  6597. </pre><h3><a name="5.37_Interpreter"></a>Interpreter</h3><pre>
  6598. Fixes problems:
  6599. - CIDFontType 4 fonts weren't recognized as CID-keyed. (zchar2.c,
  6600. zchar32.c, zfont32.c)
  6601. - When recovering from an error in an operator procedure, the
  6602. interpreter didn't update the dictionary stack caches. (interp.c)
  6603. - startjob didn't reinitialize the stacks or VM space. (gs_lev2.ps)
  6604. - Encoding filters with a Predictor always caused an error.
  6605. (zfilter2.c)
  6606. - currenttrapparams gave an error. (gs_ll3.ps)
  6607. - settrapparams had no effect, and left the dictionary on the stack.
  6608. (gs_ll3.ps)
  6609. Finishes implementing Type 32 fonts. These fonts don't actually work
  6610. directly with the cache -- they store the bitmaps in a compressed form in an
  6611. ordinary Dictionary -- but they do behave the way they are specified.
  6612. (gs_typ32.ps, zchar32.c, zfont32.c)
  6613. Cleans up formatting and macros in a few more files. (ccfont.h, icharout.h,
  6614. icstate.h, iutil.h, iutil2.h, ibnum.c, iccfont.c, iccinit0.c, ilocate.c,
  6615. isave.h, isave.c, iscannum.c, iutil.c, iutil2.c)
  6616. Removes or capitalizes a few more macros. (zcontext.c, zcssepr.c,
  6617. zusparam.c)
  6618. </pre><h3><a name="5.37_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  6619. Fixes problems:
  6620. - Color spaces with subsidiary spaces (Indexed, Separation, DeviceN)
  6621. sometimes didn't work properly, because they were translated to PostScript
  6622. structures more than once. (pdf_draw.ps)
  6623. - Type 3 fonts didn't rebind the resource context when executing the
  6624. CharProc procedure. (pdf_font.ps)
  6625. </pre><h3><a name="5.37_Streams"></a>Streams</h3><pre>
  6626. Fixes problems:
  6627. - The CCITTFax decoder signaled an error if it saw an EOB with
  6628. EndOfBlock = false. (According to e-mail from Adobe, EOBs should be
  6629. recognized even if EndOfBlock is false, even though the Red Book implies the
  6630. opposite.) (scfd.c)
  6631. Cleans up macros and formatting in a few more files. (slzwce.c, sfxfd.c,
  6632. sfxstdio.c)
  6633. </pre><h3><a name="5.37_Library"></a>Library</h3><pre>
  6634. Fixes problems:
  6635. - Landscape color images usually didn't display. (bug introduced in
  6636. 5.32) (gxicolor.c)
  6637. - If gs_heap_free_object was called with ptr != 0 but bp = 0 (which
  6638. is an error), an invalid memory access would occur. (gsmalloc.c)
  6639. - The left side bearing was still being added in a second time for
  6640. the accent of a seac. (bug probably introduced in 5.20) (gxtype1.c)
  6641. - An access error occurred when rendering the very last glyph of a
  6642. TrueType font with a 2-byte loca table. (gstype42.c)
  6643. - In the fast portrait case of monochrome images, a numerical error
  6644. sometimes produced a 1-bit-wide vertical stripe of an incorrect color at the
  6645. right edge of the image. (gxifast.c)
  6646. - ImageType 3 images with InterleaveType = 3 gave memory access
  6647. errors. (gximage3.c)
  6648. - Hit detection ignored any part of the aperture that had negative X
  6649. or Y coordinates. (gdevhit.c)
  6650. - The special color mapping device didn't copy all necessary values
  6651. back from its target. (gxdevice.h, gdevbbox.c, gdevcmap.c, gsdevice.c)
  6652. - The special color mapping device didn't handle ordinary (Type 1)
  6653. images correctly. (gdevcmap.c)
  6654. - CMYK halftones complemented both the color and the halftone level:
  6655. this produced the right number of pixels turned on (only for linear spot
  6656. functions or threshold arrays), but wasn't consistent with either the Adobe
  6657. specification or the user's intentions. (gxcht.c)
  6658. - The phase of mask Patterns wasn't always set correctly.
  6659. (gxp1fill.c)
  6660. - The reader side of overlapped band devices was confused about its
  6661. open/closed status. (gdevprna.c)
  6662. Renames Type 32 fonts from ft_bitmap to ft_CID_bitmap. (gxftype.h)
  6663. Adds some more tracing for composite font decoding. (gsfcmap.c)
  6664. Adds some more tracing for images. (gxiinit.c)
  6665. Cleans up formatting and macros in a few more files. (gxifast.c)
  6666. Moves the image*_type_data and image*_enum_procs_data definitions from
  6667. header files into more appropriate .c files. (gsiparm2.h, gsiparm3.h,
  6668. gsiparm4.h, gxiparam.h, gxiinit.c, gximage2.c, gximage3.c, gximage4.c)
  6669. </pre>
  6670. <hr>
  6671. <h2><a name="Version5.36"></a>Version 5.36 (beta) (8/25/98)</h2>
  6672. <p>
  6673. Another set of fixes. The free-standing bbox device now produces convenient
  6674. %%BoundingBox messages. This fileset also includes support for double-byte
  6675. TrueType fonts.
  6676. <h3><a name="5.36_Documentation"></a>Documentation</h3><pre>
  6677. Fixes problems:
  6678. - There was a minor spacing glitch in one man page. (gs.1)
  6679. - The page printed by align.ps didn't make it clear enough what to
  6680. do with the numbers it asks users to calculate. (align.ps)
  6681. - The sample code for adding gamma adjustment didn't work most of
  6682. the time. (devices.txt)
  6683. - The prolog produced by pswrite was completely uncommented.
  6684. (gdevps.c)
  6685. - The documentation didn't note that the string block freelist
  6686. (sfree) is sorted in address order. (gxalloc.h)
  6687. Notes that FirstBitLowOrder and LowBitFirst are equivalent. (slzwx.h)
  6688. Notes a change in the FTP site of the free Kanji ("Wadalab") fonts.
  6689. (fonts.txt)
  6690. Adds a pointer to the freely available Unicode CMaps. (fonts.txt)
  6691. Changes an obsolete e-mail address for Carsten Emde. (contrib.mak)
  6692. </pre><h3><a name="5.36_Utilities"></a>Utilities</h3><pre>
  6693. Fixes problems:
  6694. - The viewgif utility sometimes left 1-scan-line gaps when rendering
  6695. interlaced images. (viewgif.ps)
  6696. </pre><h3><a name="5.36_Drivers"></a>Drivers</h3><pre>
  6697. Fixes problems:
  6698. - In the PDF writer, downsampled images were always written with 8
  6699. bits per sample, not the requested depth. (gdevpsdi.c)
  6700. - The 8-to-N-bit compression filter produced an extra byte at the
  6701. end of each row, and the N-to-8-bit expansion filter skipped an input byte
  6702. at the end of each row. (gdevpsds.c)
  6703. - In the PDF writer, the size of downsampled images for changing the
  6704. pixel width was set incorrectly, leading to inconsistent image parameters in
  6705. the output. (gdevpsdi.c)
  6706. - The subsampling filters didn't take a clear position about what to
  6707. do with excess input samples beyond a multiple of the reduction factor,
  6708. leading to inconsistent image parameters. We added a Boolean to indicate
  6709. whether they should discard the samples or use them to create an additional
  6710. output sample. (gdevpsds.h, gdevpsdi.c, gdevpsds.c)
  6711. - The subsampling filters didn't provide the necessary set_defaults
  6712. procedures. (gdevpsds.h, gdevpsds.c)
  6713. - Because of a typo, pdfwrite and pswrite printed sequences of 4
  6714. decimal values wrong. (bug introduced during macro removal in 5.25)
  6715. (gdevpstr.c)
  6716. Makes the PS writer produce a %%HiResBoundingBox as well as a %%BoundingBox.
  6717. (gdevps.c)
  6718. </pre><h3><a name="5.36_Platforms"></a>Platforms</h3><pre>
  6719. Fixes problems:
  6720. - The Borland makefile didn't include the MT libraries. We added a
  6721. MULTITHREAD option to this makefile. (bcwin32.mak)
  6722. - The MSVC makefile didn't include the MT switches in the right
  6723. place. (msvccmd.mak)
  6724. - 'make clean' in the Windows makefiles didn't clean up quite
  6725. enough. (bcwin32.mak, msvc32.mak, msvccmd.mak)
  6726. - The OS/2 makefile had gotten slightly out of date. (os2.mak)
  6727. Cleans up some formatting. (gp_win32.c)
  6728. </pre><h3><a name="5.36_Fonts"></a>Fonts</h3><pre>
  6729. Fixes problems:
  6730. - Loading large TrueType fonts caused excessive garbage collection.
  6731. (gs_ttf.ps)
  6732. Finishes implementing support for turning double-byte TrueType fonts into
  6733. CIDFontType 2 fonts. (gs_ttf.ps)
  6734. </pre><h3><a name="5.36_Interpreter"></a>Interpreter</h3><pre>
  6735. Fixes problems:
  6736. - We thought the dictionary returned by currentuserparams should
  6737. always be allocated in local VM, but in fact the correct definition is that
  6738. it should be allocated in the current VM. The simplest way to make this
  6739. work is for setuserparams to copy any string values into global VM.
  6740. (gs_lev2.ps)
  6741. - 1-input stitching functions didn't allow k = 0. (ifunc.h,
  6742. zfunc.c)
  6743. - OtherSubrs defined in PostScript no longer worked. (bug probably
  6744. introduced when we rewrote the Type 1 code in C) (zchar1.c)
  6745. Cleans up a few compiler warnings (missing empty 'default' cases, unused
  6746. variables). (igc.c, iname.c)
  6747. Replaces some uses of RELOC_*_PTR (now deprecated) with RELOC_*_VAR.
  6748. (isave.c, iscan.c)
  6749. </pre><h3><a name="5.36_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  6750. Fixes problems:
  6751. - Resources were re-created on each page, causing (sometimes a lot
  6752. of) unnecessary computation. We implemented most of the machinery for
  6753. avoiding this, but not the mechanism for actually storing resources in
  6754. global VM. (pdf_base.ps, pdf_main.ps)
  6755. Adds a little more debugging code. (pdf_draw.ps)
  6756. </pre><h3><a name="5.36_Streams"></a>Streams</h3><pre>
  6757. Cleans up formatting in a few more files. (sbtx.h, sfilter.h, slzwx.h,
  6758. spngpx.h, srlx.h, sstring.h, seexec.c, sfilter1.c, sfilter2.c, smtf.c,
  6759. spcxd.c, srld.c, srle.c)
  6760. Replaces a couple of #defines with duplicated (small) structures. (sbtx.h,
  6761. sfilter.h, sfilter1.c, sfilter2.c)
  6762. Replaces all uses of RELOC_*_PTR (now deprecated) with RELOC_*_VAR.
  6763. (stream.c)
  6764. </pre><h3><a name="5.36_Library"></a>Library</h3><pre>
  6765. Fixes problems:
  6766. - If a garbage collection occurred during a string show operation,
  6767. memory could be corrupted. (bug introduced in 5.24) (gstext.h, gstext.c)
  6768. - A debugging check incorrectly indicated an error when
  6769. miter-checking lines with a 0 degree angle between them. (gxstroke.c)
  6770. - A structure created for bitmap/pixmap patterns was never freed.
  6771. (gspcolor.c)
  6772. - Colored halftones didn't work with 24-bit devices. (This case was
  6773. never actually used.) (gxcht.c)
  6774. - CIE colors didn't remap properly if the current color space was a
  6775. Pattern space. (gscie.c)
  6776. - In a non-garbage-collected environment, freeing a string in the
  6777. current chunk made an unnecessary test. (Minor performance impact only.)
  6778. (gsnogc.c)
  6779. Cleans up a few compiler warnings (missing empty 'default' cases, unused
  6780. variables). (gsht.c, gsht1.c, gshtscr.c, gsimage.c, gxacpath.c, gxclread.c,
  6781. gxicolor.c, gxshade4.c)
  6782. Replaces some uses of RELOC_*_PTR with RELOC_*_VAR. (gsht1.c)
  6783. Changes the printed output of the free-standing bbox device so it produces
  6784. %%BoundingBox and %%HiResBoundingBox lines that can be dropped directly into
  6785. a DSC header. (gdevbbox.c)
  6786. Speeds up the 4-bit case of copy_mono by about 30%. (gdevm4.c)
  6787. Expands some macros and cleans up formatting, for easier reading and
  6788. debugging. Speeds up the color halftone generation algorithm substantially
  6789. (up to 40%), by skipping the halftone computation for planes that are known
  6790. to be solid-color, and using copy_mono directly if only one plane is not
  6791. solid-color. (gxcht.c)
  6792. </pre>
  6793. <hr>
  6794. <h2><a name="Version5.35"></a>Version 5.35 (beta) (8/18/98)</h2>
  6795. <p>
  6796. More updates for 5.3x, specifically fixing problems with halftones on banded
  6797. CMYK devices.
  6798. <h3><a name="5.35_Documentation"></a>Documentation</h3><pre>
  6799. Fixes problems:
  6800. - The URLs for the third-party libraries were out of date.
  6801. (make.txt, jpeg.mak, libpng.mak, zlib.mak)
  6802. </pre><h3><a name="5.35_Drivers"></a>Drivers</h3><pre>
  6803. Adds an x11gray4 device for help in debugging. (devs.mak, gdevxalt.c)
  6804. </pre><h3><a name="5.35_Fonts"></a>Fonts</h3><pre>
  6805. Fixes problems:
  6806. - TrueType fonts with more than 64K of data before or after the
  6807. glyfs caused an error. (gs_ttf.ps)
  6808. </pre><h3><a name="5.35_Interpreter"></a>Interpreter</h3><pre>
  6809. Fixes problems:
  6810. - The dictionary returned by currentuserparams was allocated in the
  6811. current VM rather than always in local VM. (gs_lev2.ps)
  6812. </pre><h3><a name="5.35_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  6813. Fixes problems:
  6814. - CID-keyed fonts caused an error, because their CDevProc was
  6815. incorrect. (pdf_font.ps)
  6816. </pre><h3><a name="5.35_Library"></a>Library</h3><pre>
  6817. Fixes problems:
  6818. - A comment was duplicated. (gxht.h)
  6819. - The main procedure of the command list reader was so large that it
  6820. couldn't be optimized by many compilers, and was very hard to read.
  6821. (gxclrast.c)
  6822. - Banding devices using multi-screen halftones could get memory
  6823. access errors because they didn't clear the halftone caches when changing
  6824. halftone parameters. (gxclrast.c)
  6825. - Banding devices using multi-screen halftones didn't set the
  6826. halftone phase correctly. (gxcht.c, gxclrast.c)
  6827. - RasterOp didn't work for 2- or 4-bit gray-scale devices. It still
  6828. doesn't work right, but it's closer. (gdevm2.c, gdevm4.c, gdevmrop.c)
  6829. - Undefined characters in CMap-based composite fonts caused errors
  6830. and possible invalid memory accesses. (gschar0.c)
  6831. </pre>
  6832. <hr>
  6833. <h2><a name="Version5.34"></a>Version 5.34 (beta) (8/16/98)</h2>
  6834. <p>
  6835. More updates for 5.3x.
  6836. <h3><a name="V5.34_Documentation"></a>Documentation</h3><pre>
  6837. Updates all of the man pages to new versions. (gs-vms.hlp, gs.1, pdf2dsc.1,
  6838. pdf2ps.1, ps2ascii.1, ps2epsi.1, ps2pdf.1, ps2ps.1)
  6839. </pre><h3><a name="V5.34_Procedures"></a>Procedures</h3><pre>
  6840. Fixes problems:
  6841. - The MSVC library makefile incorrectly included gp_msio.c.
  6842. (msvclib.mak, winlib.mak)
  6843. </pre><h3><a name="V5.34_Drivers"></a>Drivers</h3><pre>
  6844. Fixes problems:
  6845. - The PDF writer unnecessarily checked for other parameters after a
  6846. failing show or pdfmark. (gdevpdfp.c)
  6847. - The device's BufferSpace parameter was ignored. (bug introduced
  6848. by async rendering code in 5.30) (gdevprn.c)
  6849. - Banding devices smashed the first 4 bytes of each scan line. (bug
  6850. introduced in 5.28) (gxdevmem.h, gdevmem.c, gxclread.c)
  6851. - The phase for colored halftones was set wrong. (We have "fixed"
  6852. this innumerable times, and it is still probably wrong.) (gxclrast.c)
  6853. Replaces the deprecated gx_device_image_xxx calls with the new gx_image_xxx
  6854. calls. (gdevpdfi.c, gdevps.c, gdevpx.c, gdevvec.c)
  6855. </pre><h3><a name="V5.34_Interpreter"></a>Interpreter</h3><pre>
  6856. Fixes problems:
  6857. - The equality test for idiom recognition sometimes incorrectly
  6858. returned false. (zmisc3.c)
  6859. - shfill didn't take the BBox into account. (It still doesn't.)
  6860. (gxshade.c)
  6861. - The status operator could return an incorrect pages or bytes value
  6862. for files larger than 2 Gb, rather than giving an error. (zfile.c)
  6863. </pre><h3><a name="V5.34_Library"></a>Library</h3><pre>
  6864. Fixes problems:
  6865. - The hint tables weren't reset after processing the base character
  6866. of a 'seac', leading to incorrect hinting and (for Type 2 CharStrings)
  6867. possible mis-parsing of the outline data. (gstype2.c)
  6868. - When processing a 'seac', the left side bearing was added in
  6869. twice, displacing characters to the right. (bug probably introduced in
  6870. 5.20) (gstype1.c)
  6871. - RasterOps didn't set the size of the RasterOp texture device,
  6872. which caused filling operations involving a colored halftone to be clipped
  6873. to an empty rectangle. (gdevrops.c)
  6874. - When filling with a colored halftone, the RasterOp source was
  6875. often disregarded. (gxcht.c)
  6876. - gx_device_image[_plane]_data and gx_device_end_image took an
  6877. unused dev argument, leading to potential confusion. We deprecated the
  6878. gx_device_image_plane_data and gx_device_end_image procedures, replacing
  6879. them with macros that call their replacements gx_image_plane_data and
  6880. gx_image_end (which no longer have the spurious dev argument). (gxdevcli.h,
  6881. gxdevice.h, gxiparam.h, gdevbbox.c, gdevddrw.c, gdevdflt.c, gsimage.c,
  6882. gslib.c, gxclimag.c, gxclrast.c, gximage2.c, gximage3.c, gximage4.c)
  6883. - gs_color_adjust_count, introduced in 5.33 to address the problem
  6884. of freeing free-standing patterns, just made things worse. We are replacing
  6885. them with gs_pattern_reference, essentially the procedure introduced in 5.31
  6886. that we deleted in 5.33. (gsccolor.h, gspcolor.h, gscolor.c, gspcolor.c)
  6887. Changes hint suppression from a #define to a debugger-settable static.
  6888. (gxhint1.c)
  6889. </pre>
  6890. <hr>
  6891. <h2><a name="Version5.33"></a>Version 5.33 (beta) (8/14/98)</h2>
  6892. <p>
  6893. This is the third set of updates for 5.30. These updates have been driven
  6894. mostly by the needs of another Aladdin project, so they haven't included as
  6895. many problem fixes as we would normally make.
  6896. <h3><a name="V5.33_Platforms"></a>Platforms</h3><pre>
  6897. Fixes problems:
  6898. - The thread creation procedure for Win32 called a Windows function
  6899. rather than the proper C library function. (gp_win32.c)
  6900. - In some MS-DOS implementations, the copy command doesn't recognize
  6901. the /Y switch. (bcwin32.mak)
  6902. </pre><h3><a name="V5.33_Fonts"></a>Fonts</h3><pre>
  6903. Fixes problems:
  6904. - TrueType fonts with *less* than 64K of glyf data stopped working.
  6905. (bug introduced in 5.31) (gs_ttf.ps)
  6906. </pre><h3><a name="V5.33_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  6907. Fixes problems:
  6908. - Using an Identity function left an extra element on the stack.
  6909. (pdf_draw.ps)
  6910. - The syntax of # in names is different in PDF 1.1 and PDF 1.2, but
  6911. the PDF 1.2 syntax was always used. (pdf_base.ps, pdf_main.ps)
  6912. </pre><h3><a name="V5.33_Library"></a>Library</h3><pre>
  6913. Fixes problems:
  6914. - Color images still always caused an error. (bug introduced in
  6915. 5.32) (gxicolor.c)
  6916. - Because of a typo, the implementation of image types didn't
  6917. compile. (bug introduced in 5.32) (gxiparam.h)
  6918. - Free-standing colors (specifically pattern colors) and color
  6919. spaces couldn't be freed. This required a NON-BACKWARD-COMPATIBLE change in
  6920. an internal API used for managing color and color space reference counts.
  6921. (gxcspace.h, gsccolor.h, gscdevn.c, gscolor.c, gscolor2.c, gscscie.c,
  6922. gscsepr.c, gscspace.c, gspcolor.c)
  6923. Cleans up a little more formatting. (gscspace.h)
  6924. </pre>
  6925. <hr>
  6926. <h2><a name="Version5.32"></a>Version 5.32 (beta) (8/13/98)</h2>
  6927. <p>
  6928. This is the second set of updates for 5.30.
  6929. <h3><a name="V5.32_Procedures"></a>Procedures</h3><pre>
  6930. Fixes problems:
  6931. - The OS/2 makefile accidentally omitted the OS/2-PM driver.
  6932. (os2.mak)
  6933. - The MSVC library makefile didn't work. (msvclib.mak)
  6934. - Debugging was turned on in the Borland Windows makefile.
  6935. (bcwin32.mak)
  6936. - The BEGINFILES2 list was too long in the MSVC makefile.
  6937. (msvc32.mak)
  6938. </pre><h3><a name="V5.32_Interpreter"></a>Interpreter</h3><pre>
  6939. Fixes problems:
  6940. - .execn wouldn't accept pseudo-operators. (iref.h)
  6941. - inustroke with a matrix operand didn't work correctly. (zupath.c)
  6942. - ImageType 4 images didn't work. (bug introduced in 5.31)
  6943. (zimage3.c)
  6944. </pre><h3><a name="V5.32_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  6945. Fixes problems:
  6946. - Forms used more than once caused an invalidaccess error.
  6947. (pdf_draw.ps)
  6948. </pre><h3><a name="V5.32_Library"></a>Library</h3><pre>
  6949. Fixes problems:
  6950. - Using a colored pattern with a Pattern color space that included a
  6951. base space could access uninitialized floating point values, possibly
  6952. causing an arithmetic trap. (gspcolor.c)
  6953. - RasterOp wasn't implemented for 16- and 32- bit devices.
  6954. (gdevm16.c, gdevm32.c, gdevmrop.c)
  6955. - The library test program relied on copysign, which some C
  6956. libraries lack. (gslib.c)
  6957. - The gs_free and gs_heap_free_all debugging printout were included
  6958. even if DEBUG wasn't defined. (bug introduced in 5.30) (gsmalloc.c)
  6959. - Color images always caused an error. (bug introduced in 5.30)
  6960. (gxicolor.c)
  6961. - Masked images with pis = NULL could cause an error. (gximono.c)
  6962. - In landscape orientation, masked images didn't guarantee that the
  6963. buffer of mask scan lines would be flushed to the mask clipping device
  6964. before processing the data being masked. (gxiparam.h, gxidata.c, gxifast.c,
  6965. gximage3.c)
  6966. - Images with source transparency set but CombineWithColor = false
  6967. could get an error because of trying to paint with an unloaded
  6968. color. (caused by a bug fix in 5.30) (gxdcolor.c, gxiinit.c)
  6969. </pre>
  6970. <hr>
  6971. <h2><a name="Version5.31"></a>Version 5.31 (limited) (8/11/98)</h2>
  6972. <p>
  6973. This is the first set of updates for 5.30. They fix a few minor build
  6974. problems, and some significant problems with bitmap patterns that do not
  6975. affect the PostScript or PDF interpreters.
  6976. <h3><a name="V5.31_Drivers"></a>Drivers</h3><pre>
  6977. Moves some casting macros from generic files to the few specific files that
  6978. use them. (gdev4693.c, gdevn533.c, gdevsnfb.c)
  6979. </pre><h3><a name="V5.31_Interpreter"></a>Interpreter</h3><pre>
  6980. Changes ImageType 4 images to match the change in the library interface.
  6981. (zimage3.c)
  6982. </pre><h3><a name="V5.31_Library"></a>Library</h3><pre>
  6983. Fixes bugs:
  6984. - The MaskColor elements of ImageType 4 images were defined as int
  6985. rather than uint, truncating the range by 1 bit and causing problems in
  6986. comparing the mask color against the pixel samples. (gsiparm4.h,
  6987. gximage4.c)
  6988. - A needed cast was missing from gs_malloc_memory_release.
  6989. (gsmalloc.h)
  6990. - A needed cast from byte to char was missing. (gsparams.c)
  6991. - Patterns always allocated a mask for rendering, which for large
  6992. patterns specified directly as bitmaps allocated a lot of unnecessary
  6993. memory. (gxcolor2.h, gspcolor.c, gxp1fill.c, gxpcmap.c)
  6994. - Macros simply defining casted versions of variables made the code
  6995. hard to debug. We have only removed the ones that are in generic code (not
  6996. drivers) and that cast pointers to gx_device or its subclasses: the only
  6997. ones removed from header files were prn_dev in gdevprn.h, mdev in gdevmem.h,
  6998. and ccdev, crdev, and cwdev in gxcldev.h. gdevmem.h, (gdevprn.h, gxclist.h,
  6999. gdevabuf.c, gdevm1.c, gdevm2.c, gdevm4.c, gdevm8.c, gdevm16.c, gdevm24.c,
  7000. gdevm32.c, gdevmpla.c, gdevnfwd.c, gdevprn.c, gxacpath.c, gxclimag.c,
  7001. gxclist.c, gxclpage.c, gxclpath.c, gxclread.c, gxclrect.c)
  7002. - There was no way to free a pattern instance outside the graphics
  7003. state. (gspcolor.h, gspcolor.c)
  7004. </pre>
  7005. <hr>
  7006. <h2><a name="Version5.30"></a>Version 5.30 (limited) (8/10/98)</h2>
  7007. <p>
  7008. This is the first beta candidate for the 5.50 release. It completes the
  7009. merge of the overlapped rasterizing code into the main development line.
  7010. <h3><a name="V5.30_Documentation"></a>Documentation</h3><pre>
  7011. Fixes bugs:
  7012. - Yves Arrouye's e-mail address was out of date. (gdevbjc.h,
  7013. gdevcdj.c, contrib.mak, devices.txt, unix-lpr.txt)
  7014. Makes the warning against using SHARE_JPEG=1 even stronger. (make.txt,
  7015. dvx-gcc.mak, ugcclib.mak. unix*.mak)
  7016. Removes information about using DCL files on VMS to build Ghostscript.
  7017. (make.txt)
  7018. Updates the documentation for begin_typed_image. (drivers.txt)
  7019. </pre><h3><a name="V5.30_Procedures"></a>Procedures</h3><pre>
  7020. Fixes bugs:
  7021. - The Unix build procedure didn't create the obj subdirectory
  7022. automatically. (unixhead.mak, unix-end.mak)
  7023. - gsdll_h wasn't defined for the OS/2 PM device. Fixing this
  7024. properly required moving the OS/2 drivers into the same makefile as the MS
  7025. Windows drivers, and renaming the file. (devs.mak, msdevs.mak =&gt; pcwin.mak,
  7026. winlib.mak)
  7027. - gsiparm4_h was used before it was defined. (lib.mak)
  7028. - Building with shared libaries still used header files in
  7029. Ghostscript's directories, not the ones in /usr/include. ****** NOT DONE
  7030. YET ******
  7031. - The makefiles all assumed they were located in the current
  7032. directory, not in the source directory. (*.mak)
  7033. Adds new 'debugclean' and 'pgclean' targets, parallel to 'debug' and 'pg',
  7034. for the Unix platforms. (unix-end.mak)
  7035. Changes the management of .dev files so that on Unix platforms, one can
  7036. really maintain standard, debugging, and profiling builds simultaneously.
  7037. This is a hack, but a fairly reliable one. (gs.mak, unixhead.mak,
  7038. unix-end.mak)
  7039. Adds a dummy thread / semaphore / monitor implementation to all platforms
  7040. other than Windows. (dvx-tail.mak, openvms.mak, os2.mak, ugcclib.mak,
  7041. unixtail.mak, watc.mak, watclib.mak)
  7042. </pre><h3><a name="V5.30_Drivers"></a>Drivers</h3><pre>
  7043. Updates driver support to use the new write-position stream. (gdevpsdf.c)
  7044. </pre><h3><a name="V5.30_Platforms"></a>Platforms</h3><pre>
  7045. Fixes bugs:
  7046. - The Windows Registry calls didn't deal properly with a null
  7047. pointer. (gp_wgetv.c)
  7048. Makes a small change in the platform semaphore / monitor API. (gpsync.h,
  7049. gxsync.h, gp_win32.c, gxsync.c)
  7050. Adds a dummy thread / semaphore / monitor implementation. Note that with
  7051. this implementation, async rendering WILL NOT WORK. (gp_nsync.c)
  7052. Adds pthreads thread creation and POSIX semaphores for Unix platforms. (We
  7053. still need to add System V semaphores, which is all that is available on
  7054. Solaris and BSDI.) (gp_semon.c, gp_posem.c, gp_pthr.c).
  7055. </pre><h3><a name="V5.30_Fonts"></a>Fonts</h3><pre>
  7056. Fixes bugs:
  7057. - CIDFontType 0 fonts didn't select the proper VM space for adding
  7058. entries to font dictionaries, and for loading Subrs strings. (gs_cidfn.ps)
  7059. - TrueType fonts with an odd glyfs length didn't work. (gs_ttf.ps)
  7060. - TrueType fonts with a Format 3 'post' table didn't work.
  7061. (gs_ttf.ps)
  7062. - TrueType fonts where the encoding in the 'post' table didn't cover
  7063. the entire set of glyfs didn't work. (gs_ttf.ps)
  7064. - TrueType fonts with more than 128K of glyfs didn't work.
  7065. (gs_ttf.ps)
  7066. - TrueType cmap format 6 didn't work. (gs_ttf.ps)
  7067. - CIDFontType 0 fonts with hex data didn't skip over the &gt; at the
  7068. end of the data. (gs_cidfn.ps)
  7069. </pre><h3><a name="V5.30_Interpreter"></a>Interpreter</h3><pre>
  7070. Works around the fact that gs_shfill can't do a gs_setcolorspace for color
  7071. spaces that require interpreter assistance. (gs_ll3.ps)
  7072. Moves clipsave and cliprestore to C code. (gs_ll3.ps, zmisc3.c)
  7073. Updates some files to reflect the redivision of gsmemory.h and gsstruct.h.
  7074. (imemory.h, istruct.h, ialloc.c)
  7075. </pre><h3><a name="V5.30_Streams"></a>Streams</h3><pre>
  7076. Adds a stream that just keeps track of the write position. (stream.h,
  7077. stream.c)
  7078. Removes the compilation dependency that required all clients of the zlib
  7079. filters to be compiled with the zlib source directory in the search path.
  7080. (szlibx.h, szlibxx.h, szlib[cde].c)
  7081. </pre><h3><a name="V5.30_Library"></a>Library</h3><pre>
  7082. Fixes bugs:
  7083. - ImageType 4 images with &gt;1 input component didn't work.
  7084. (gximage4.c)
  7085. - Sampled functions didn't keep the fractional part when
  7086. interpolating, possibly leading to infinite recursion in shading.
  7087. (gsfunc0.c)
  7088. - The color error value for shadings was computed incorrectly for
  7089. CIE color spaces. (gxshade.c)
  7090. - The CharstringType 2 'roll' operator rolled the operands in the
  7091. wrong direction. (gstype2.c)
  7092. - Images with RasterOp or transparency didn't retain the current
  7093. color properly, leading to unpredictable results. (gdevmrop.h, gsropt.h,
  7094. gdevddrw.c, gdevrops.c, gxdcolor.c, gxiinit.c, gximage3.c)
  7095. - A cast to void * was needed to remove a const modifier.
  7096. (gscrdp.c)
  7097. - On 8-bit non-gray-scale devices, RasterOp values of all-0s or
  7098. all-1s produced the wrong output. (gdevmrop.c)
  7099. - The GC procedure for halftone screen enumerators was wrong,
  7100. possibly causing invalid memory access errors. This bug predates 5.10.
  7101. (gshtscr.c)
  7102. - An extra pair of string quotes confused some compilers.
  7103. (gsshade.c)
  7104. - There were several errors in the CharstringType 2 'flex'
  7105. operators. (gstype2.c)
  7106. - The structure descriptors for devices weren't initialized in
  7107. library-only configurations. (int.mak, gconf.c)
  7108. - The Pattern cache got confused if the current device when a
  7109. Pattern color was used wasn't the same as the current device when the
  7110. Pattern instance was created. (gxpcmap.c)
  7111. - The target of forwarding devices wasn't reference-counted
  7112. properly. (gsdevice.c) ****** FIXING THIS PROPERLY WILL BE A LOT OF WORK:
  7113. WE ONLY FIXED gs_setdevice_no_erase ******
  7114. - As a result of fixing a typo, the structure declaration for
  7115. gx_page_queue was private, causing clients not to compile. We left it
  7116. private and added an instance allocation procedure. (gxpageq.h, gdevprna.c,
  7117. gxpageq.c)
  7118. - The mask for ImageType 3 images was clipped (incorrectly).
  7119. (gximage3.c)
  7120. - Interpolated images with negative X-&gt;X values in the CTM were
  7121. displaced on the page. (gxiscale.c)
  7122. Finishes integrating the asynchronous rendering code. (gpsync.h, gxclist.h,
  7123. gdevprna.c, gsmemlok.c, gxclimag.c, gxclpath.c, gxclutil.c)
  7124. Updates the memory manager API for additional flexibility needed for
  7125. asynchronous rendering. (gsmalloc.h, gsmemlok.h, gsmemraw.h, gsalloc.c,
  7126. gsmalloc.c, gsmemlok.c)
  7127. Updates the standard memory manager to work with a fixed (externally
  7128. supplied) set of chunks, needed for asynchronous rendering, removing some
  7129. macros in the process. (gsalloc.h, gsalloc.c)
  7130. Updates some code to use more mnemonic variable names. (gstype2.c,
  7131. gxicolor.c)
  7132. Removes some macros for better readability. (gdevmrop.c)
  7133. Adds dummy implementations of clipsave and cliprestore. (gsclipsr.h,
  7134. gsclipsr.c)
  7135. Implements an alternative, but completely untested, parameter list
  7136. serializer based on streams. (gsparam2.c)
  7137. Moves more of the internal memory manager structures from gsmemory.h to
  7138. gsstruct.h. (gsmemory.h, gsstruct.h, gsmemory.c)
  7139. </pre>
  7140. <hr>
  7141. <h2><a name="Version5.28"></a>Version 5.28 (limited) (8/3/98)</h2>
  7142. <p>
  7143. This fileset almost finishes merging in the code for overlapped
  7144. ("asynchronous") interpretation and rasterizing that gave rise to the
  7145. side-branch versions 5.13 and 5.14; eliminates all initialized non-constant
  7146. globals from the graphics library (but not from the interpreter); and adds a
  7147. few more LanguageLevel 3 features (CIEBasedDEF[G] color spaces, CloseSource
  7148. and CloseTarget for streams, Separation base space for Indexed color
  7149. spaces).
  7150. <p>
  7151. We were not originally planning to produce another fileset until the code
  7152. merge was completed; however, the schedule demands of another Aladdin
  7153. project justify another intermediate fileset.
  7154. <h3><a name="V5.28_Documentation"></a>Documentation</h3><pre>
  7155. Notes that the MSVC++ 5.0 compiler may lock up when compiling gxi12bit.c
  7156. with optimization. (make.txt)
  7157. </pre><h3><a name="V5.28_Procedures"></a>Procedures</h3><pre>
  7158. Fixes bugs:
  7159. - psl3 didn't include fzlib. (int.mak)
  7160. - The Windows makefile had the wrong name for a DLL. (winint.mak)
  7161. - The Borland Windows makefile had several errors. (bcwin32.mak)
  7162. At the request of a user, changes the creation of jconfig.h so it #includes,
  7163. rather than copies, arch.h. (jpeg.mak, gsjconf.h)
  7164. </pre><h3><a name="V5.28_Utilities"></a>Utilities</h3><pre>
  7165. Fixes bugs:
  7166. - viewpbm.ps scaled the image wrong. (viewpbm.ps)
  7167. </pre><h3><a name="V5.28_Drivers"></a>Drivers</h3><pre>
  7168. Fixes bugs:
  7169. - clist_close was declared as an open proc rather than a close proc.
  7170. (As it happens, this didn't make any difference.) (gxclist.c)
  7171. - A comment was improperly terminated. (gxpageq.h)
  7172. - A needed #include of memory_.h was missing. (gdevpsde.c)
  7173. Integrates nearly all the rest of the code for asynchronous rendering.
  7174. (gdevprn.h, gdevprna.h, gxcldev.h, gxclist.h, gxclpath.h, gxclmem.h,
  7175. gdevbmpa.c, gdevprn.c, gdevprna.c, gxclbits.c, gxclimag.c, gxclist.c,
  7176. gxclmem.c, gxclpath.c, gxclread.c, gxclrect.c)
  7177. Changes tracing of memory-based clists to occur only if -Z: is selected,
  7178. rather than always if the code was compiled with -DDEBUG. Note that this is
  7179. a NON-BACKWARD-COMPATIBLE CHANGE (but only affects debugging). (gxclmem.c)
  7180. Implements the NumCopies parameter for all page devices, not just printers.
  7181. (gxdevcli.h, gxdevice.h, gdevprn.c, gsdparam.c)
  7182. Splits off command list writing utilities into a separate file, since
  7183. gxclist.c was getting too large. (gxclist.h, gxclist.c, gxclutil.c)
  7184. Splits command list reading into control (gxclread.c) and the actual list
  7185. interpreter (gxclrast.c), since the file was getting too large. (gxcldev.h,
  7186. gxclrast.c, gxclread.c)
  7187. Distinguishes dev_proc_* (defining a general driver procedure) from
  7188. prn_dev_proc_* (defining a printer driver procedure). Unfortunately, we
  7189. have to keep dev_proc_print_page and _print_page_copies for backward
  7190. compatibility. (gdevprn.h)
  7191. Splits out of the BMP driver the parts shared with the async version
  7192. (gdevbmp.h, gdevbmp.c, gdevbmpc.c).
  7193. Changes the band rasterizer to implement get_bits_rectangle rather than
  7194. get_bits. In some cases, this results in much less computation.
  7195. (gxclist.c, gxclread.c)
  7196. Makes the monochrome H-P printer drivers emit a printer reset when closing
  7197. the device. According to a user, this helps prevent the ink nozzles from
  7198. clogging. (gdevdjet.c)
  7199. </pre><h3><a name="V5.28_Platforms"></a>Platforms</h3><pre>
  7200. Fixes bugs:
  7201. - The Windows DLL entry point procedure didn't return a value as it
  7202. was supposed to. (gp_mswin.c)
  7203. Removes all remaining initialized but non-constant globals, and ensures that
  7204. all non-debugging-related BSS variables in the library are explicitly set to
  7205. 0 at initialization time. (gp_unix.c)
  7206. Improves an error message slightly. (dwmainc.cpp)
  7207. </pre><h3><a name="V5.28_Interpreter"></a>Interpreter</h3><pre>
  7208. Fixes bugs:
  7209. - The tracing code for restore_resources could access an invalid
  7210. address. (isave.c)
  7211. - sizeof(procedure) is not allowed in ANSI C++. (opdef.h,
  7212. iccfont.c, interp.c, ireclaim.c)
  7213. - A variable was declared incorrectly as bin_token_type_t rather
  7214. than bin_seq_type_t. (iscanbin.c)
  7215. - The behavior of copypage didn't change in LanguageLevel 3.
  7216. (gs_init.ps)
  7217. - When grestore et al reactivated a page device, they performed an
  7218. initgraphics, which should only be performed by showpage. (gs_setpd.ps)
  7219. - The RunLengthEncode filter was broken in cases where the caller
  7220. supplied a record size. (bug introduced in 5.2x) (zfilter.c)
  7221. - A needed #include of memory_.h was missing. (zfreuse.c)
  7222. - On machines with sizeof(long) &gt; sizeof(int), the dictionary form
  7223. of image and imagemask didn't work. (bug introduced in 5.2x) (zimage2.c)
  7224. - exitserver left a 'true' on the operand stack. (gs_lev2.ps)
  7225. Replaces the STACK_LOOP_BEGIN/END macros with procedures. (We retain the
  7226. macros for backward compatibility.) (istack.h, istack.c, zchar.c,
  7227. zcontrol.c, zdict.c, zvmem.c)
  7228. Reviews the remaining operator files for ease of reading / debugging,
  7229. including removing macros where appropriate. (z*.c)
  7230. Changes the dictionary stack printer to indicate whether the dictionary is
  7231. allocated in global or local VM. (gs_init.ps)
  7232. Redefines countexecstack and execstack as operators, solely for the sake of
  7233. the Genoa [count]execstack tests. (gs_init.ps, zcontrol.c)
  7234. Changes array/string/packedarray forall not to keep an index on the stack,
  7235. solely for the sake of the Genoa [count]execstack tests. (zgeneric.c)
  7236. Finishes implementing CIEBasedDEF[G] color spaces. (icie.h, zcie.c)
  7237. Adds a ColorSpace resource instance for sRGB. (gs_lev2.ps, gs_res.ps)
  7238. Implements CloseSource and CloseTarget for filters. ****** DOESN'T WORK IF
  7239. AN EXCEPTION OCCURS DURING A NESTED CLOSE. ****** (zfile.c)
  7240. Allows Separation and DeviceN color spaces as the base space for an Indexed
  7241. color space. (zcsdevn.c, zcsindex.c, zcssepr.c)
  7242. </pre><h3><a name="V5.28_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  7243. Fixes bugs:
  7244. - In PDF files, Indexed color spaces with a CIEBasedABC base space
  7245. gave an /undefined error. (pdf_draw.ps)
  7246. </pre><h3><a name="V5.28_Streams"></a>Streams</h3><pre>
  7247. Fixes bugs:
  7248. - The report_error member of the DCT streams wasn't initialized
  7249. early enough. (ifilter.h, zfdctd.c, zfdcte.c, zfile.c)
  7250. Changes the zlib filters to use the stream's allocator, rather than the
  7251. default allocator, for their private storage. Note that this requires the
  7252. stream itself to keep pointers to this storage, for garbage collection.
  7253. (szlibx.h, szlibc.c, szlibd.c, szlibe.c)
  7254. Updates some clients to use new, simpler GC structure descriptors. (sdct.h,
  7255. sfilter.h, sdctc.c, sfilter1.c)
  7256. Adds a close_strm member for the interpreter's use (CloseSource /
  7257. CloseTarget). (stream.h, stream.c)
  7258. </pre><h3><a name="V5.28_Library"></a>Library</h3><pre>
  7259. Fixes bugs:
  7260. - gstate, currentgstate, and setgstate didn't handle the effective
  7261. clip path properly, possibly leading to dangling pointers. (gsstate.c)
  7262. - setrasterop, setsourcetransparent, and settexturetransparent
  7263. should all return int rather than void, since they can fail. (gsrop.h,
  7264. gsrop.c)
  7265. - FunctionType 1 functions didn't clip the output value to the
  7266. Range. (gsfunc3.c)
  7267. - A needed cast from byte * to char * was missing. (gscrdp.c)
  7268. - Some needed #includes of *_.h were missing. (gscrd.c, gscrdp.c,
  7269. gxshade6.c)
  7270. - The prototype for gx_effective_clip_path wasn't #included in a
  7271. needed place. (gsimage.c)
  7272. - RasterOp sometimes didn't work properly for devices whose
  7273. representation of white wasn't a pixel value of 0. (gxdcolor.h, gdevbbox.c,
  7274. gdevdbit.c, gdevvec.c, gslib.c, gxdcolor.c)
  7275. - The variable used to detect double declaration of
  7276. gs_get_bits_params_t was named incorrectly. (gxdevcli.h, gxgetbit.h)
  7277. - gs_[eo]clip never retained the clipping path in its original form.
  7278. These routines now retain it in the simple case (the old clipping path is a
  7279. rectangle, and the new path is completely contained within it). This
  7280. requires a small NON-BACKWARD-COMPATIBLE change in the gx_cpath_intersect
  7281. procedure: it no longer updates the new path, and it flattens the path if
  7282. needed. To avoid problems, we renamed this procedure as gx_cpath_clip.
  7283. (gsdps.c, gspath.c, gxcpath.c)
  7284. - If the image was empty, gs_image_common_init didn't free the
  7285. lower-level enumerator. (gsimage.c, gxccache.c)
  7286. Removes all remaining initialized but non-constant globals, and ensures that
  7287. all non-debugging-related BSS variables in the library are explicitly set to
  7288. 0 at initialization time. (gxdevice.h, gconf.c, gsdevice.c, gshtscr.c,
  7289. gsiodev.c, gsutil.c, gxcht.c)
  7290. Finishes implementing table-driven GC descriptors. We expected it to save
  7291. considerable space at negligible time cost; it actually shrank the 1Mb
  7292. executable by only about 5K, and slowed down garbage collection by about
  7293. 2%. (gsfcmap.h, gsstrtab.h [deleted], gsstruct.h, gzpath.h, gsfcmap.c,
  7294. gsmemory.c, gsstrtab.c [deleted])
  7295. Finishes implementing CIEBasedDEF[G] color spaces. (gscie.h, gscie.c)
  7296. Simplifies some code by removing or redefining macros. (gxi12bit.c)
  7297. Removes all patches made for easier retrofitting of 5.2x code into 5.1x
  7298. filesets. (gdevdrop.c, gdevmrop.c, gslib.c, gspcolor.c)
  7299. Reviews a few more files for style and readability. (gxbitfmt.h,
  7300. gxgetbit.h)
  7301. Allows Separation (and, if included, DeviceN) color spaces as the base space
  7302. of an Indexed color space. Unfortunately, this involves introducing a new
  7303. distinction in color space types, which entails NON-BACKWARD-COMPATIBLE
  7304. changes in the color space and color space type structures. (gxcspace.h,
  7305. gscdevn.c, gscolor1.c, gscolor2.c, gscpixel.c, gscscie.c, gscsepr.c,
  7306. gscspace.c, gspcolor.c)
  7307. Makes a small addition in order to fix an interpreter bug. (gxfixed.h,
  7308. gdevbbox.c)
  7309. </pre>
  7310. <hr>
  7311. <h2><a name="Version5.27"></a>Version 5.27 (limited) (7/18/98)</h2>
  7312. <p>
  7313. This is another "in-flight" snapshot made in preparation for the 5.2x / 5.1x
  7314. code merge. It completes the driver CRD API.
  7315. <h3><a name="V5.27_Documentation"></a>Documentation</h3><pre>
  7316. Fixes bugs:
  7317. - The reference to psview was out of date. (new-user.txt)
  7318. Adds some pointers to Aladdin Ghostscript mirror sites. (new-user.txt)
  7319. Updates the C style guide a little further. (c-style.txt)
  7320. Adds documentation on driver-supplied CRDs. (drivers.txt)
  7321. Updates the JPEG makefile to mention IJG release 6b. (jpeg.mak)
  7322. Updates documentation to reflect the devs.mak / contrib.mak split. (README,
  7323. devices.txt, drivers.txt, make.txt, new-user.txt, source.txt, use.txt)
  7324. </pre><h3><a name="V5.27_Procedures"></a>Procedures</h3><pre>
  7325. Fixes bugs:
  7326. - sjpegerr.o was needed even when using the shared JPEG library.
  7327. (jpeg.mak)
  7328. Changes the name of the jpeg library directory from jpeg-&lt;version&gt; to just
  7329. jpeg, to parallel libpng and zlib. (make.txt, *.mak)
  7330. Creates a separate makefile for contributed drivers. Eventually these
  7331. drivers will go in a separate directory. (devs.mak, contrib.mak, *.mak)
  7332. </pre><h3><a name="V5.27_Drivers"></a>Drivers</h3><pre>
  7333. Fixes bugs:
  7334. - The pkm driver was absurdly inefficient. (gdevpbm.c)
  7335. - The psfax driver (which, admittedly, doesn't come close to
  7336. working) no longer compiled. (gdevpfax.c)
  7337. - The ARCHAIC mode of the Epson driver emitted an incorrect
  7338. character ('r' instead of ^R). (gdevepsn.c)
  7339. - The X driver didn't check the calls of XInitImage for error
  7340. status. (gdevx.c)
  7341. Updates a client for the change in the names of the gb_ values. (gdevx.c)
  7342. Updates a client for the added param_request procedure. (gdevpsdf.c)
  7343. Reformats all Aladdin-maintained drivers to the new Ghostscript standard
  7344. format, using indent. We deliberately did not reformat user-contributed
  7345. drivers, since indent mangles a line once in a while and we do not want to
  7346. take responsibility for fixing others' code. (*.h, *.c)
  7347. Adds a default CRD specification to the 'bit' device, for testing.
  7348. (gdevbit.c)
  7349. Integrates a bit more of the support code for asynchronous rasterizing.
  7350. (gxband.h, gxclio.h, gxclist.h, gxclmem.h, gxclfile.c, gxclist.c, gxclmem.c,
  7351. gxclread.c, gxpageq.h, gxpageq.c)
  7352. </pre><h3><a name="V5.27_Platforms"></a>Platforms</h3><pre>
  7353. Adds thread support to the Win32 platform. (gp_win32.c)
  7354. </pre><h3><a name="V5.27_Interpreter"></a>Interpreter</h3><pre>
  7355. Fixes bugs:
  7356. - Composite fonts with CID-keyed descendants didn't run the
  7357. BuildGlyph procedure. (zchar.c)
  7358. - The internal representation of CMaps was built incorrectly.
  7359. (zfcmap.c)
  7360. - Category resources didn't load from files automatically.
  7361. (gs_res.ps)
  7362. Reformats all files to the new Ghostscript standard format, using indent.
  7363. (*.h, *.c)
  7364. Reviews most of the operator files for ease of reading / debugging,
  7365. including removing macros where appropriate. (z*.c)
  7366. Updates a client for the change in the names of the gb_ values. (zdevice.c)
  7367. Updates a client for the added param_request procedure. (iparam.c)
  7368. Updates clients for the completion of the CRD API. (zcie.c, zcrd.c)
  7369. Increases the initial size of systemdict a little more, to allow for -d and
  7370. -s. (iinit.c)
  7371. </pre><h3><a name="V5.27_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  7372. Fixes bugs:
  7373. - Text modes other than 0 didn't work with multiple-byte fonts.
  7374. (pdf_ops.ps)
  7375. - There were many bugs in the code for Type 0 and CIDFontType 0
  7376. fonts. (pdf_font.ps)
  7377. </pre><h3><a name="V5.27_Library"></a>Library</h3><pre>
  7378. Fixes bugs:
  7379. - cshow returned a character code of -1 for composite fonts with
  7380. FMapType 9 (CMap-based). (gsfcmap.h, gschar0.c, gsfcmap.c)
  7381. - The GC procedure for enumerating show enumerators was broken.
  7382. (bug introduced in 5.24 or 5.25) (gschar.c)
  7383. - dashpath always copied the path, instead of only copying it if
  7384. needed. (gspath1.c)
  7385. - The hint replacement fix in 5.24 sometimes thought a path was
  7386. closed when it wasn't, producing gross distortions of some characters.
  7387. (gxhint3.c)
  7388. Cleans up code for debugging by expanding macros, etc. (gstext.h,
  7389. gschar0.c)
  7390. Changes the gb_ values to all caps, in line with general C convention. This
  7391. is a NON-BACKWARD-COMPATIBLE change to an as yet rarely-used API.
  7392. (gxbitfmt.h, gdevalph.c, gdevdgbr.c, gdevmem.c, gsalphac.c, gximage2.c)
  7393. Enhances the default implementation of parameter lists to allow requesting
  7394. individual parameters. This is needed for the driver CRD API. (gsparam.h,
  7395. gscparam.c, gsparam.c)
  7396. Completes the API for driver CRDs, also moving some code from gscie.c to
  7397. gscrd.c. This involves a NON-BACKWARD-COMPATIBLE change in the prototype of
  7398. the TransformPQR procedures. (gscie.h, gscrd.h, gscrdp.h, gscie.c, gscrd.c,
  7399. gscrdp.c)
  7400. Reformats all files to the new Ghostscript standard format, using indent.
  7401. (*.h, *.c)
  7402. Splits up gdevmrop.c into 3 files: gdevmrop.c (RasterOp implementation for
  7403. memory devices), gdevdrop.c (default and device-independent RasterOp
  7404. algorithms), and gdevrops.c (RasterOp-source device). (gdevmrop.h,
  7405. gdevdrop.c, gdevmrop.c, gdevrops.c)
  7406. </pre>
  7407. <hr>
  7408. <h2><a name="Version5.26"></a>Version 5.26 (limited) (7/7/98)</h2>
  7409. <p>
  7410. The purpose of this fileset is to add an API for drivers to provide one or
  7411. more device-appropriate CIE rendering dictionaries. Like 5.25, it is a
  7412. "snapshot" fileset not made available even to beta testers.
  7413. <h3><a name="V5.26_Procedures"></a>Procedures</h3><pre>
  7414. Fixes bugs:
  7415. - An !endif was omitted. (msvc32.mak)
  7416. - A newly needed Windows library was omitted. (msvctail.mak)
  7417. - The /Za and /Ze switches were set incorrectly for MSVC.
  7418. (bcwin32.mak, msvccmd.mak, watcw32.mak, winint.mak, winlib.mak)
  7419. </pre><h3><a name="V5.26_Drivers"></a>Drivers</h3><pre>
  7420. Fixes bugs:
  7421. - A closing bracket was omitted (in code that is ifdef'd out).
  7422. (gdevpdf.c)
  7423. </pre><h3><a name="V5.26_Fonts"></a>Fonts</h3><pre>
  7424. Changes the font loader so that instead of pushing systemdict and a small
  7425. empty dictionary on the stack before loading a font, it pushes userdict.
  7426. This is what Adobe interpreters do, but this will probably break some
  7427. PostScript files, specifically ones that redefine 'index'. I don't see how
  7428. the Adobe interpreters can possibly do the right thing for such files.
  7429. (gs_fonts.ps, gs_type1.ps)
  7430. </pre><h3><a name="V5.26_Interpreter"></a>Interpreter</h3><pre>
  7431. Updates clients for changes in CRD API. This involves some changes in
  7432. internal procedures. (gs_lev2.ps, icie.h, zcie.c, zcrd.c)
  7433. </pre><h3><a name="V5.26_Library"></a>Library</h3><pre>
  7434. Fixes bugs:
  7435. - Pickling string, name, and array parameters tried to force
  7436. inappropriate alignment. (gsparams.c)
  7437. - Pickling dictionary parameters wrote the result in the wrong
  7438. place. (gsparams.c)
  7439. - An occurrence of dev_t should have been gx_device. The compiler
  7440. didn't catch this because there happens to be a type named dev_t in
  7441. &lt;types.h&gt; (!). (gxclread.c)
  7442. Adds an API for drivers to provide one or more CRDs (as device parameters).
  7443. Makes a small but NON-BACKWARD-COMPATIBLE change in the names and argument
  7444. lists of the existing CRD API (which is not used by anything in the standard
  7445. configuration). (gscie.h, gscrd.h, gscrdp.h, gscie.c, gscrd.c, gscrdp.c,
  7446. gslib.c)
  7447. </pre>
  7448. <hr>
  7449. <h2><a name="Version5.25"></a>Version 5.25 (limited) (7/1/98)</h2>
  7450. <p>
  7451. This is a "snapshot" fileset created for the purpose of merging with a
  7452. separate development branch. While it fixes some significant bugs in 5.24,
  7453. it doesn't represent substantial additional progress.
  7454. <h3><a name="V5.25_Documentation"></a>Documentation</h3><pre>
  7455. Completely rearranges the C style guide, updates it to reflect current
  7456. practice, and adds a 1-page summary of the most important points.
  7457. (c-style.txt)
  7458. Updates the man pages for consistency and to correct minor errors. (*.1)
  7459. Notes that the pjxl300 driver works with the H-P CopyJet. (devices.txt,
  7460. devs.mak).
  7461. Notes that in order to deal with over-zealous Solaris security checking,
  7462. additional linker switches are needed. (make.txt, unix*.mak)
  7463. </pre><h3><a name="V5.25_Procedures"></a>Procedures</h3><pre>
  7464. Fixes bugs:
  7465. - 'make install' didn't get the executable from the right place.
  7466. unixinst.mak)
  7467. - COMPILE_INITS=1 didn't work. (int.mak, geninit.c)
  7468. - The MSVC makefile updates hadn't been applied to the MSVC-only
  7469. devices. (devs.mak)
  7470. - The other PC makefiles didn't define GLCCWIN. (bcwin32.mak,
  7471. watcw32.mak)
  7472. Adds bounding box testing to the library test program. (ugcclib.mak)
  7473. Reviews and reformats code for maintainability. (genarch.c, geninit.c)
  7474. Moves the MS Windows-specific devices to a new file. (bcwin32.mak,
  7475. devs.mak, msdevs.mak, msvc32.mak, watcw32.mak)
  7476. </pre><h3><a name="V5.25_Platforms"></a>Platforms</h3><pre>
  7477. Reviews and reformats header files for maintainability. (vmsmath.h,
  7478. windows_.h)
  7479. Removes some no-longer-used files from the fileset. (overlay.h, gp_itbc.c)
  7480. </pre><h3><a name="V5.25_Fonts"></a>Fonts</h3><pre>
  7481. Fixes bugs:
  7482. - Substituted fonts had their FontName set to the requested one.
  7483. There was a comment in the code saying that some files that depend on this
  7484. happening, but Adobe implementations don't do it. However, aliased fonts in
  7485. Fontmap will continue to have the FontName set to the Fontmap key.
  7486. (gs_fonts.ps)
  7487. Adds the euro symbol at position 240 (0360) in SymbolEncoding. This is a
  7488. PostScript 3 addition, but it's too much work to make it appear there only
  7489. if languagelevel &gt;= 3. (gs_sym_e.ps)
  7490. </pre><h3><a name="V5.25_Interpreter"></a>Interpreter</h3><pre>
  7491. Fixes bugs:
  7492. - The bbox device didn't work if its target was itself a forwarding
  7493. device. (gdevbbox.c)
  7494. - User parameters maintained at the PostScript (as opposed to VM)
  7495. level didn't work. (gs_init.ps)
  7496. - Idiom recognition didn't work. (gs_init.ps, gs_ll3.ps, zmisc3.c)
  7497. - .beginpage and .endpage could cause an error if the current device
  7498. was a page device but was installed with setdevice rather than
  7499. setpagedevice. (gs_setpd.ps)
  7500. In the interest of readability, replaces all casting macros with separate
  7501. variables, other than those used in enum_ptrs and reloc_ptrs procedures.
  7502. Note that doing this for rptr in gc_trace in igc.c will have a significant
  7503. performance cost on Intel CPUs, unless the compiler has a very good
  7504. optimizer, because it introduces another variable competing for scarce
  7505. registers in the most performance-critical section of code in the garbage
  7506. collector. (ialloc.c, igc.c, iparam.c, isave.c, istack.c, zchar42.c,
  7507. zfproc.c, zusparam.c)
  7508. Changes some macros to procedures. (igc.c, ilocate.c, zusparam.c)
  7509. Changes some macros to static quasi-constants (only variable for debugging).
  7510. (zvmem.c)
  7511. Adds #include "errors.h" to oper.h, removing it from z*.c. (oper.h, z*.c)
  7512. Reviews and reformats some header files for maintainability. This is an
  7513. ongoing project. (bfont.h, errors.h, iinit.c)
  7514. Consolidates and simplifies the reading and writing of binary tokens and
  7515. binary object sequences. (bseq.h [deleted], btoken.h, ibnum.h, ibnum.c,
  7516. iscanbin.c, zbseq.c)
  7517. Adds dummy user and system parameter entries for all the parameters listed
  7518. in Appendix C of the PostScript Red Book: even though the book clearly says
  7519. that no PostScript program should rely on the presence of any particular
  7520. parameter, PostScript files routinely assume the existence of the parameters
  7521. listed in Appendix C. (gs_init.ps, gs_lev2.ps, gs_res.ps)
  7522. Adds dummy user and system parameter entries for the new parameters listed
  7523. in the 3010 Supplement. (gs_ll3.ps)
  7524. Adds double-inclusion protection to all header files. (*.h)
  7525. Moves the creation of binary object sequence headers from C to PostScript
  7526. code. (zbseq.c, gs_btokn.ps)
  7527. Adds support for multiple FormTypes and ColorRenderingTypes. (gs_init.ps,
  7528. gs_lev2.ps, gs_res.ps, zcrd.c)
  7529. Updates structures and clients for the introduction of "raw memory"
  7530. allocators. (ialloc.h, igc.h, ialloc.c, imain.c, isave.c)
  7531. In the interest of readability and being able to use GNU indent to create
  7532. standard formatting, changes the operator tables from procedures back to
  7533. data structures. This change is backward-compatible for all operator files,
  7534. although we also edited all of Ghostscript's own operator definitions to
  7535. remove the BEGIN_OP_DEFS and END_OP_DEFS macros (which now have to generate
  7536. a little unnecessary code for backward compatibility). (opdef.h, iconf.c,
  7537. iinit.c, iutil.c, z*.c)
  7538. Splits zchar2.c into a Level 1+ part and a Level 2 part. (zcfont.c,
  7539. zchar2.c)
  7540. </pre><h3><a name="V5.25_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  7541. Adds font synthesis based on the FontDescriptor. Currently this is very
  7542. rudimentary. (pdf_font.ps)
  7543. </pre><h3><a name="V5.25_Drivers"></a>Drivers</h3><pre>
  7544. Fixes bugs:
  7545. - The PDF writer didn't default to A4 paper size if A4 was selected
  7546. as the default in the makefile. (gdevpdf.c)
  7547. - The default implementation of the begin_image procedure always
  7548. called the image's begin_image implementation, rather than the device's
  7549. begin_typed_image implementation. (gdevddrw.c)
  7550. - The bbox device didn't initialize its reference count.
  7551. (gdevbbox.c)
  7552. - A necessary cast was omitted. (gdevpsde.c)
  7553. Changes some macros to procedures. (gdevpstr.h, gdevpstr.c)
  7554. Adds an internal device to implement the PCL5 special color mapping
  7555. algorithms. (gdevcmap.h, gxdevice.h, gdevcmap.c, gdevnfwd.c)
  7556. Adds double-inclusion protection to all header files. (*.h)
  7557. Updates drivers for the change in begin_image. (gdevbbox.c, gdevpdfi.c,
  7558. gdevvec.c, gxclimag.c)
  7559. </pre><h3><a name="V5.25_Library"></a>Library</h3><pre>
  7560. Fixes bugs:
  7561. - The non-ANSI definitions of CLEAR_MARKS_PROC, ENUM_PTRS_BEGIN_PROC
  7562. and RELOC_PTRS_BEGIN were missing a parameter. (gsstruct.h)
  7563. - A few necessary casts were omitted. (gsparam.c, gxpcmap.c)
  7564. - Images or Patterns with non-default RasterOps could cause crashes.
  7565. (gdevmrop.c, gxp1fill.c)
  7566. - Exponential Interpolation functions with non-integral positive
  7567. exponents incorrectly required the lower bound of the domain to be strictly
  7568. positive rather than only non-negative. (gsfunc3.c)
  7569. - The attempt to achieve the desired color smoothness when shading
  7570. could compute (nearly) forever. (gxshade.c, gxshade1.c)
  7571. - The arc change in 5.24 caused arcs to render incorrectly.
  7572. (gspath1.c)
  7573. - The macro-reducing cleanup in 5.24 introduced a bug in handling
  7574. copy operations with negative skew. (gdevm1.c)
  7575. Adds unmasked images and bounding box testing to the library test program.
  7576. (gxdevcli.h, gslib.c)
  7577. Changes some macros to procedures. (gxfunc.h, gsfunc.c, gsfunc0.c,
  7578. gsfunc3.c)
  7579. Adds double-inclusion protection to all header files. (*.h)
  7580. Reviews and reformats header files for maintainability. (*_.h, dodebug.h
  7581. [deleted])
  7582. Changes the structure of the common part of the image enumerator to include
  7583. the device (which may be different from the original device, because of
  7584. forwarding), and to access the procedures through a pointer to a const
  7585. structure. This is a NON-BACKWARD-COMPATIBLE CHANGE for implementors of
  7586. begin_image, since they now must pass the device to
  7587. gx_image_enum_common_init. (gximage.h, gxiparam.h, gdevddrw.c, gdevdflt.c,
  7588. gxiinit.c, gximage3.c, gximage4.c)
  7589. Adds tests of the new color mapping device to the library test program.
  7590. (gslib.c)
  7591. Removes the last vestiges of segmented pointers. (genarch.c, std.h)
  7592. Introduces a "raw memory" API, primarily for managing the underlying memory
  7593. pool for embedded systems. This involves a NON-BACKWARD-COMPATIBLE-CHANGE
  7594. in the implementation (but not ordinary clients) of allocators.
  7595. (gsmemory.h, gsmemraw.h, gxalloc.h, gsalloc.c, gsmalloc.c, gsmemory.c)
  7596. </pre>
  7597. <hr>
  7598. <h2><a name="Version5.24"></a>Version 5.24 (limited) (6/17/98)</h2>
  7599. <p>
  7600. In addition to the usual bug fixes, and a few enhancements where temptation
  7601. proved irresistible or in response to an external need, this fileset:
  7602. <ul>
  7603. <li> - Takes the first steps on a major readability cleanup
  7604. (4-space indentation instead of 2, replacement of macros by
  7605. procedures, ....)
  7606. <li> - Implements a bit more of the DPS functionality, including view
  7607. clipping, and gstate stack copying for 'fork'.
  7608. <li> - Starts to sketch a text API for drivers.
  7609. <li> - Changes the Unix makefiles so that they create production
  7610. binaries
  7611. in a separate directory.
  7612. </ul>
  7613. <p>
  7614. Again, there are some non-backward-compatible changes required by other
  7615. architectural improvements. As always, we have tried to minimize the impact
  7616. of such changes on users' code.
  7617. <h3><a name="V5.24_Documentation"></a>Documentation</h3><pre>
  7618. Fixes bugs:
  7619. - The -Kn switch wasn't documented. (use.txt)
  7620. - The term "Software" was used instead of "Program" in the last
  7621. paragraphs of the license. (PUBLIC)
  7622. Adds a couple of missing operators to the list at the end of ostack.h.
  7623. (ostack.h)
  7624. Documents more precisely which gstate points to which objects after various
  7625. gstate operations. (gsstate.c)
  7626. Corrects some addresses for the Free Software Foundation. (commprod.txt,
  7627. new-user.txt)
  7628. Improves the documentation for memory management of color spaces. (gscie.h,
  7629. gscolor2.h)
  7630. Updates the list of hardware available to Aladdin. (new-user.txt)
  7631. Documents ReopenPerPage. (language.txt)
  7632. Moves the documentation of image rendering procedures to a better place.
  7633. (gximage.h, gxiinit.c)
  7634. Clarifies that old slzwe.c files may not work with current Ghostscript
  7635. versions. (make.txt)
  7636. </pre><h3><a name="V5.24_Procedures"></a>Procedures</h3><pre>
  7637. Fixes bugs:
  7638. - psl3.dev didn't include func.dev. (int.mak)
  7639. - device and device2 devices weren't sorted together, causing
  7640. devices to appear in the list out of order (including, possibly, selecting
  7641. the wrong device as default). (genconf.c)
  7642. - The mswindll module definition omitted some needed files.
  7643. (devs.mak)
  7644. Changes the optimization level for gcc from -O to -O2 for both standard and
  7645. profiling builds. (unix-gcc.mak)
  7646. Defines 3 new makefile macros for the Unix platforms,
  7647. CFLAGS_{STANDARD|DEBUG|PROFILE}, that give the additional compiler switches
  7648. for these 3 compilation options. (unixansi.mak, unix-cc.mak, unix-gcc.mak)
  7649. Changes the Unix makefiles so that by default they create the binaries in an
  7650. 'obj' subdirectory of the source directory. (unixansi.mak, unix-cc.mak,
  7651. unix-gcc.mak, unix-end.mak)
  7652. Updates the MSVC++ makefiles so they allow setting any configuration
  7653. parameter from the make command line. (msvc32.mak, msvccmd.mak, msvccom.mak
  7654. [deleted], msvclib.mak, msvctail.mak)
  7655. </pre><h3><a name="V5.24_Utilities"></a>Utilities</h3><pre>
  7656. Fixes bugs:
  7657. - ps2ascii was broken. (ps2ascii.ps)
  7658. Adds capability to gslp.ps:
  7659. - Variable-width fonts (but without automatic line breaking);
  7660. - Pair kerning (from AFM file);
  7661. - Inter-character and space width adjustment.
  7662. This project was done for a paying customer. (gslp.ps)
  7663. </pre><h3><a name="V5.24_Drivers"></a>Drivers</h3><pre>
  7664. Fixes bugs:
  7665. - The name of the plan9bm device was wrong. (gdevpbm.c)
  7666. - The PDF writer wrote incorrect parameters for the CCITTFax filter
  7667. used to compress Type 3 font bitmaps. (bug introduced in 5.23) (gdevpdfi.c)
  7668. - The PDF writer emitted two 'endobj' lines for Type 3 bitmap fonts.
  7669. (gdevpdf.c)
  7670. Removes all remaining uses of _ds and _ss in Aladdin's drivers. (gdevprn.h,
  7671. gdevsvga.h, gdevbit.c, gdevcgm.c, gdevdjet.c, gdevmsxf.c, gdevpbm.c,
  7672. gdevpccm.c, gdevpcfb.c, gdevpdfi.c, gdevprn.c, gdevsvga.c, gdevtfax.c)
  7673. Renames a local macro named END. (gdevcgml.c)
  7674. Removes all uses of far_data other than for device (but not device2)
  7675. prototypes. (gdevbit.c, gdevdjet.c, gdevemap.c, gdevmsxf.c, gdevpbm.c,
  7676. gdevpcfb.c, gdevpcx.c, gdevpdf.c, gdevpng.c, gdevps.c, gdevpsim.c, gdevpx.c,
  7677. gdevtfax.c, gdevtfnx.c, gdevvglb.c, gdevx.c, gdevxalt.c)
  7678. Adds a psrgb driver that writes PostScript (Level 2) planar,
  7679. run-length-compressed, 24-bit RGB images. (gdevpsci.c)
  7680. Starts to define and implement a driver procedure for text. This interface
  7681. will certainly change in the future as we get more insight into the division
  7682. of responsibility and control flow between generic code, individual drivers,
  7683. and internal and external fonts. This involves a major
  7684. NON-BACKWARD-COMPATIBLE CHANGE in the gs_show_enum structure (which no
  7685. client should be accessing directly). (gdevmem.h, gdevprn.h, gstext.h,
  7686. gxchar.h, gxdevcli.h, gxdevice.h, gxtext.h, gdevbbox.c, gdevht.c,
  7687. gdevnfwd.c, gschar.c, gschar0.c, gstext.c, gxacpath.c, gxclip.c, gxclip2.c,
  7688. gxclipm.c, gxclist.c, gxpcmap.c)
  7689. Extends the parameter list printer to handle names and arrays. (gdevpsdf.c)
  7690. Implements the ability to write out a Type 1 font definition, for embedding
  7691. fonts in PDF output. Currently this code isn't called from anywhere, and it
  7692. will certainly be subject to change in the future. (gdevpsdf.h, gdevpdfi.c,
  7693. gdevpsde.c, gdevpsdf.c)
  7694. Adds the PCL XL Protocol Class 2.0 operators, attributes, and enumerated
  7695. values to the relevant header files. (gdevpxat.h, gdevpxen.h, gdevpxop.h)
  7696. Converts some additional devices to -dev2, to make them const. (devs.mak,
  7697. gdevjpeg.c)
  7698. To help in debugging, changes all uses of
  7699. #define ss ((stream_xxx_state *)st)
  7700. to
  7701. stream_xxx_state * const ss = (stream_xxx_state *)st;
  7702. (gdevpdfi.c, gdevpsdi.c, gdevpsdp.c, gdevpsds.c)
  7703. Massages mem_mono_copy_mono and mem_mono_strip_tile_rectangle to reduce the
  7704. use of macros somewhat. (gdevm1.c, gdevmem.h)
  7705. Makes a change to support the change in gs_param_list_common. (gdevpsdf.c)
  7706. Replaces all remaining uses of do { ... } while (0) with BEGIN ... END.
  7707. (gdevpdfm.c, gdevpx.c, gdevx.c, gdevxalt.c)
  7708. Adds a ReopenPerPage Boolean device parameter for printers, which causes the
  7709. output file to be closed and reopened for each page. This may be helpful in
  7710. persuading spoolers to start printing as soon as the first page is
  7711. available. (gdevprn.h, gdevprn.c)
  7712. Makes the %-format validator for output file names a procedure, even though
  7713. it's only called in one place. (gdevprn.c)
  7714. Updates some clients for the change from std_procs to procs. (gdevp2up.c,
  7715. gdevpbm.c, gdevupd.c,
  7716. Removes the use of the CleanFaxData tag (327) from TIFF output, since many
  7717. applications don't recognize it and it isn't in the TIFF 6 documentation.
  7718. (gdevtifs.h, gdevtfax.c)
  7719. </pre><h3><a name="V5.24_Platforms"></a>Platforms</h3><pre>
  7720. Adds a new gp_setmode_binary platform procedure, to set a file into binary
  7721. mode on platforms that distinguish text and binary. (gp.h, gp_*.c)
  7722. </pre><h3><a name="V5.24_Fonts"></a>Fonts</h3><pre>
  7723. Fixes bugs:
  7724. - The derived (Bold, Oblique, ...) Hershey fonts were broken.
  7725. (fonts/makeher.ps, fonts/h*.ps)
  7726. </pre><h3><a name="V5.24_Interpreter"></a>Interpreter</h3><pre>
  7727. Fixes bugs:
  7728. - As always, gcc failed to report some signed/unsigned char *
  7729. mismatches. (imainarg.c)
  7730. - Some needed #includes were missing. (zcrd.c, ztype.c)
  7731. - Contexts were always allocated in global VM (should be local VM),
  7732. and were freed in the current VM (should be local VM). Fixing this required
  7733. changing some internal interfaces defined in icontext.h. (icontext.h,
  7734. icontext.c, interp.c, zcontext.c)
  7735. - restore did some unnecessary gsaves. (zvmem.c)
  7736. - Creating a new context didn't initialize the graphics state
  7737. properly, and didn't do the first gsave that grestoreall relies on.
  7738. (gs_dps.ps)
  7739. - The bookkeeping for open files didn't work with multiple contexts.
  7740. Fixing this required a substantial (simplifying) redesign of the
  7741. interpreter's bookkeeping for streams in general: this may have introduced
  7742. new bugs. (files.h, ireclaim.c, isave.c, zfile.c)
  7743. - fork didn't copy the graphics state stack. (zcontext.c)
  7744. - The space bits were set incorrectly in the array reference for the
  7745. operand stack, causing the garbage collector not to mark the operand stack
  7746. of contexts other than the current one. (interp.c)
  7747. - LanguageLevel 3 facilities weren't enabled when desired.
  7748. (gs_ll3.ps, ilevel.h, opdef.h, iinit.c, zcsdevn.c, zimage3.c, zmisc2.c,
  7749. zmisc3.c, zshade.c, ztrap.c)
  7750. - flushfile with a procedure-target stream didn't pass the buffered
  7751. data to the procedure. We tinkered with this a little, but it still isn't
  7752. fixed. (zfilter.c, zfproc.c)
  7753. - The top-level color space objects allocated by the CIE color space
  7754. setting operators were never freed (until garbage collection). (zcie.c)
  7755. - setpagedevice with a 0-size page didn't fail. (gs_setpd.ps,
  7756. zmedia2.c)
  7757. - If one or more of the matrices in a CIE color space or CRD was
  7758. singular, setcolorspace or setcolorrendering could cause a stackoverflow.
  7759. (zcie.c)
  7760. - defineuserobject didn't work. (I don't see how it could ever have
  7761. worked.) (gs_dps2.ps)
  7762. - The version string wasn't read-only. (gs_init.ps, gs_lev2.ps,
  7763. gs_ll3.ps)
  7764. - Some standard resource categories weren't defined (which they need
  7765. to be, even if they have no instances). (gs_res.ps, gs_ll3.ps)
  7766. - The Trapping ProcSet was empty. (gs_ll3.ps)
  7767. - setvmthreshold didn't accept a value of -1. (gs_lev2.ps,
  7768. gs_pdfwr.ps, zusparam.c, zvmem2.c)
  7769. - Binary tokens containing native reals with swapped byte order
  7770. didn't read in properly. (ibnum.c, iscanbin.c)
  7771. - In binary object sequences, many executable objects were
  7772. incorrectly written out as literal. (zbseq.c)
  7773. - String DataSources for shadings didn't work. (zshade.c)
  7774. - Parameter dictionaries with integer keys didn't work. (iparam.c)
  7775. - A "can't happen" condition caused massive confusion instead of a
  7776. rangecheck error. (gs_setpd.ps)
  7777. - setcachelimit and setcacheparams were broken, because they no
  7778. longer interacted correctly with setuserparams and setsystemparams.
  7779. (gs_lev2.ps)
  7780. - The source width and height of images was arbitrarily limited to
  7781. 32767. (zimage2.c)
  7782. - The optional dictionary parameter for filters was the last
  7783. operand, not the first. (zfbcp.c, zfdecode.c, zfilter.c, zfilter2.c,
  7784. zfilterx.c, zfzlib.c)
  7785. - If the current color space was Indexed, Separation using the
  7786. alternative space, or DeviceN using the alternative space,
  7787. currentgray/cmykcolor/hsbcolor/rgbcolor returned 0 rather than the
  7788. underlying color. (This was a correction to the Red Book in the 3010
  7789. Language Supplement, Section D.2.4 and D.2.5.) (gscolor.c, gscolor1.c,
  7790. gxcspace.h)
  7791. Implements some additional LanguageLevel 3 stream facilities:
  7792. - CloseSource and CloseTarget (parsing only). (ilevel.h, zfilter.c)
  7793. - Dictionary argument for SubFileDecode. (zfilter.c)
  7794. - UnitSize (fully implemented) and LowBitFirst (parsing only) for
  7795. LZWDecode. (zfdecode.c)
  7796. - ReusableStreamDecode (incomplete). (gs_ll3.ps, zfreuse.c)
  7797. Removes all remaining uses of _ds and _ss. (bfont.h, errors.h, files.h,
  7798. icie.h, idict.h, idparam.h, ifunc.h, iscan.h, iutil2.h, opdef.h; iccfont.c,
  7799. idict.c, idparam.c, igc.c, iinit.c, iparam.c, iscan.c, iscannum.c, iutil2.c,
  7800. zcid.c, zcie.c, zdevice2.c, zfdecode.c, zfile.c, zfileio.c, zfont0.c,
  7801. zfont2.c, zfont42.c, zfunc.c, zht2.c, zusparam.c)
  7802. Removes the use of gs_if_debug_c. (zvmem2.c)
  7803. Updates clients for the change in color space num_components. (zcolor2.c,
  7804. zcsindex.c, zcssepr.c, zpcolor.c)
  7805. Changes the stack manager so it can ensure an unused margin above the top
  7806. element. This is needed for a possible change in the operator API.
  7807. (istack.h, istack.c)
  7808. Decouples the definition of the interpreter instance from the definition of
  7809. the exported procedures that use it, so that we can use it in more places
  7810. internally. (iminst.h, main.h)
  7811. Removes all initialization of static per-context state. (iinit.c, iscan.c,
  7812. zmath.c)
  7813. Makes the freeing of VM spaces entirely dependent on the number of contexts
  7814. referencing them, removing the special handling of interpreter termination.
  7815. (icontext.h, gsalloc.c, icontext.c, inouparm.c, interp.c, zcontext.c,
  7816. zusparam.c) ****** IN PROGRESS ******
  7817. Enables printing of time and memory usage even in non-DEBUG systems, for
  7818. benchmarking. (imain.c)
  7819. Adds a .forceundef operator to parallel .forceput. (gs_init.ps, zdict.c)
  7820. Rewrites the Form caching code to use the Pattern cache. (gs_fform.ps)
  7821. Removes all uses of far_data. (imain.c, imainarg.c, iname.c, opdef.h)
  7822. Moves responsibility for null page devices from C code to PostScript code.
  7823. (gs_setpd.ps, igstate.h, zdevice2.c, zgstate.c)
  7824. Changes the context scheduler to not store or reload the state when
  7825. switching from a context to the same context. (zcontext.c)
  7826. Moves .registerencoding from C code to PostScript code. (gs_init.ps,
  7827. zfont2.c)
  7828. Splits off inames.h (API for names and the name table) from iname.h (API for
  7829. the interpreter's name table); renames the_nt as the_gs_name_table, and
  7830. moves it to imain.c. We would like to rename iname.h as names.h, but there
  7831. are too many places that include it. (igc.h, iname.h, inamedef.h, inames.h,
  7832. imain.h, idict.c, idstack.c, igc.c, iname.c, interp.c, isave.c)
  7833. Splits off iestack.h and iostack.h from estack.h and ostack.h, as was done
  7834. for [i]dstack.h in 5.23. (estack.h, iestack.h, iostack.h, ostack.h,
  7835. interp.c)
  7836. Splits off the hit detection device from the user path code, moving it to
  7837. the library level where it belongs. (zupath.c)
  7838. Updates the interpreter for the changes in the enum_ptrs, reloc_ptrs, and
  7839. clear_marks memory management procedures. (igc.c, igcref.c, ilocate.c,
  7840. zcontext.c)
  7841. Removes all uses of 'near' from the interpreter: if short and long calls
  7842. have different formats, we rely on the compiler to generate the most
  7843. efficient one. (iccfont.c, imainarg.c, iparam.c, zdevice2.c, zdouble.c,
  7844. zdps.c, zgstate.c, zmatrix.c, zpath.c, zpath1.c, zrelbit.c, ztype.c)
  7845. Makes a couple of minor changes to support the change in
  7846. gs_param_list_common. (iparam.h, iparam.c)
  7847. Changes internaldict to an operator, and executive and findencoding to
  7848. procedures, in order to satisfy the Genoa FTS. (gs_dps.ps, gs_init.ps,
  7849. gs_res.ps)
  7850. Updates clients for the addition of device reference counting. (zpcolor.c,
  7851. zupath.c)
  7852. Replaces all remaining uses of do { ... } while (0) with BEGIN ... END.
  7853. (istruct.h, opcheck.h)
  7854. Adds a debugging operator for printing out a Type 1 font. (zfont1.c)
  7855. Updates the Type 1 font operators for the change in the procedure structure.
  7856. (zchar1.c, zfont1.c)
  7857. Updates one client for the change in the gs_show_enum structure. (zchar.c)
  7858. Removes an obsolete "hook" put in for a customer. (zchar.c)
  7859. Removes the BigStringEncode filter, which was only used by a former
  7860. customer. (zfilter.c)
  7861. </pre><h3><a name="V5.24_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  7862. Fixes bugs:
  7863. - Images defined in non-Device color spaces were broken.
  7864. (pdf_draw.ps)
  7865. Removes some vestiges of the old pdf2ps. (pdf_draw.ps, pdf_main.ps)
  7866. Adds some leftover PDF 1.2 features:
  7867. - F, FFilter, and FDecodeParms keys in stream dictionaries.
  7868. (pdf_base.ps)
  7869. - Functions, including predefined spot functions. (pdf_draw.ps)
  7870. - Name trees. (pdf_base.ps)
  7871. Adds some PDF 1.3 features. Note that these require a fair amount of
  7872. PostScript LanguageLevel 3 support. Note also that none of these have been
  7873. tested yet, because we don't have any source of test files.
  7874. - DeviceN and (stubbed) ICCBased color spaces. (pdf_draw.ps,
  7875. pdf_ops.ps)
  7876. - Additional extended graphics state parameters. (pdf_draw.ps)
  7877. - Number trees. (pdf_base.ps)
  7878. - Masked images. (pdf_draw.ps)
  7879. Works around a bug in pdfTeX, which can generate Encoding vectors containing
  7880. nulls. (pdf_font.ps)
  7881. </pre><h3><a name="V5.24_Streams"></a>Streams</h3><pre>
  7882. Fixes bugs:
  7883. - A needed #include of memory_.h was missing. (sdeparam.c)
  7884. - The needed input buffer size for the RunLengthEncode filter was
  7885. 128, but should be 129. (srle.c)
  7886. - The ASCII85Encode and ASCIIHexEncode filters sometimes didn't
  7887. insert \n characters often enough. (sfilter2.c, sstring.c)
  7888. - In one obscure boundary case, the CCITTFaxEncode filter with K =
  7889. -1 could emit an extra, incorrect code. (scfe.c)
  7890. - The CCITTFaxDecode filter didn't default DamagedRowsBeforeError to
  7891. 0. (scfx.h)
  7892. Removes all remaining uses of _ds and _ss. (sfilter.h, sbcp.c, scfe.c,
  7893. seexec.c, sfilter1.c, sstring.c)
  7894. Removes the use of do_debug. (scfd.c)
  7895. Removes all uses of far_data. (scf.h, scfdgen.c, scfdtab.c, scfetab.c,
  7896. sjpegerr.c)
  7897. Removes the save_count member of streams, which is now no longer needed.
  7898. (stream.h)
  7899. To help in debugging, changes all uses of
  7900. #define ss ((stream_xxx_state *)st)
  7901. to
  7902. stream_xxx_state * const ss = (stream_xxx_state *)st;
  7903. (sbcp.c, sbhc.c, sbwbs.c, scfd.c, scfe.c, sdctc.c, sdctd.c, sdcte.c,
  7904. seexec.c, sfilter1.c, sfilter2.c, sfxfd.c, sfxstdio.c, siscale.c, slzwc.c,
  7905. slzwce.c, slzwd.c, smtf.c, spdiff.c, spngp.c, srld.c, srle.c, sstring.c,
  7906. szlibc.c, szlibd.c, szlibe.c)
  7907. Changes all groups of statistic-gathering variables to be structure
  7908. variables named stats_*. (scfe.c)
  7909. Rewrites the CCITTFaxEncode filter to cut down one particularly large and
  7910. obnoxious macro, and to simplify the code by allocating an output buffer as
  7911. well as an input buffer. (scf.h, scfdgen.c, scfe.c, scfetab.c)
  7912. </pre><h3><a name="V5.24_Library"></a>Library</h3><pre>
  7913. Fixes bugs:
  7914. - The masked image clipper sequenced through mask rows incorrectly.
  7915. (gxclipm.c)
  7916. - gx_[c]path_init_local_shared were declared as returning void, but
  7917. could actually return an error. (gxpath.h, gxcpath.c, gxpath.c)
  7918. - As always, gcc failed to report some static/non-static
  7919. inconsistencies. However, to my dismay, I find that the ANSI C standard
  7920. allows these, so I'll have to stop complaining about them. (gxclimag.c,
  7921. gxclipm.c)
  7922. - As always, gcc failed to report some signed/unsigned char *
  7923. mismatches. (gdevpdfi.c, gsparam.c)
  7924. - A loop counted on a non-existent zero value to mark the end of the
  7925. IODevice table. (gsiodev.c)
  7926. - Some needed #includes of memory_.h were missing. (gdevddrw.c,
  7927. gscolor2.c, gscrdp.c, gscspace.c, gxclipm.c, gximage3.c, gxshade4.c)
  7928. - Pattern device colors didn't have access to the original halftone
  7929. phase, making it impossible to handle non-standard X/YStep correctly.
  7930. (gsdcolor.h, gspcolor.c)
  7931. - Pattern filling disregarded the phase. THIS MAY UNDO A FIX MADE
  7932. IN 5.02. WE NEED TO RE-TEST PATTERNS CAREFULLY. (gxp1fill.c)
  7933. - restore did some unnecessary gsaves. (gsstate.h, gsstate.c)
  7934. - The reference counting macros could read from an object after
  7935. freeing it. (gsrefct.h)
  7936. - setgstate and currentgstate freed the view clipping path, which
  7937. they shouldn't do. (gsstate.c)
  7938. - If no view clipping path was set, viewclippath returned the entire
  7939. extent of the device, not the imageable area. (gxpath.h, gsdps.c, gspath.c)
  7940. - Assigning one stack-allocated path to another incorrectly wound up
  7941. sharing their segments. (gxcpath.c, gxpath.c)
  7942. - dot_length_absolute was incorrectly declared as float rather than
  7943. bool. (gxline.h)
  7944. - The test for varying-depth banded images was incorrect, causing
  7945. varying-depth images to be treated as constant-depth. (This only affected
  7946. ImageType 3 images.) (gxclimag.c)
  7947. - Failure to clamp Y values when processing banded images could
  7948. cause crashes or invalid band list data. (gxclimag.c)
  7949. - The changes in gsparam.c introduced in 5.23 made the coercion of
  7950. int arrays to float arrays fail. (gsparam.h, gsparam.c)
  7951. - Interpolated banded images could be transmitted incompletely,
  7952. causing narrow stripes to be chopped out of their rendering. (gxclimag.c)
  7953. - FunctionType 0 functions with 32-bit samples didn't read their
  7954. data correctly. (gsfunc0.c)
  7955. - Lattice-form Shadings with packed coordinates could crash or
  7956. produce incorrect results. (gxshade.c)
  7957. - Lattice-form Shadings with packed coordinates always returned an
  7958. error. (gxshade4.c)
  7959. - If the PaintProc of a Pattern or a Form, or a CharString
  7960. procedure, or a similar callback copied the current graphics state with
  7961. gstate or currentgstate, a dangling reference to the device could result.
  7962. Fixing this required adding a reference count to devices: internally created
  7963. devices initialize it to 0, externally visible devices initialize it to 1.
  7964. THIS IS A DELICATE CHANGE AND WILL PROBABLY HAVE A BUG TAIL. (gsdevice.h,
  7965. gxdevcli.h, gxdevice.h, gdevmem.c, gdevmrop.c, gdevnfwd.c, gschar.c,
  7966. gsdevice.c, gsmemory.c, gspaint.c, gsstate.c, gxacpath.c, gxccman.c,
  7967. gxclip.c, gxmclip.c, gxpcmap.c)
  7968. - The return_if_error macro referred to code rather than code_.
  7969. (gserror.h)
  7970. - Non-monotonic halftones didn't allocate enough slots in the
  7971. halftone cache. (gxht.c)
  7972. - setpagedevice with a 0-size page didn't fail. Fixing this
  7973. required making the nullpage device provide explicit InputAttributes.
  7974. (gdevnfwd.c)
  7975. - Halftone angles were often slightly off. (gshtscr.c)
  7976. - Banded fill_mask operations (used for characters) were sometimes
  7977. broken. This bug was obviously introduced since 5.10; I'm surprised that it
  7978. didn't have more serious effects. (gxclread.c)
  7979. - Partially transparent patterns didn't work with non-default
  7980. RasterOp values. (gxp1fill.c)
  7981. - The default implementation of strip_copy_rop didn't handle color
  7982. space conversion properly. (gdevmrop.c)
  7983. - Hint replacement could cause the initial moveto and final
  7984. closepath of a Type 1 outline to differ, confusing the filling code.
  7985. (gxhint3.c)
  7986. - Interpolated images were truncated at the bottom. (bug probably
  7987. introduced in 5.23) (gxiscale.c)
  7988. - Using an unsigned type for the index passed to enum_ptrs
  7989. procedures caused comparisons against signed values to be incorrect.
  7990. (gsstruct.h)
  7991. Rewrites the rectangle list and mask clipping algorithms to use callback
  7992. procedures rather than macros. The rectangle list source code grew by 20%,
  7993. but the compiled code shrank from 10K to less than 4K; the mask clip source
  7994. code and compiled code both shrank. (gxclip.h, gxmclip.h, gxclip.c,
  7995. gxclip2.c, gxclipm.c, gxcpath.c)
  7996. Removes all remaining uses of _ds and _ss. (gsmemory.h, gsstruct.h, gzht.h,
  7997. stdpre.h, gp_dosfb.c, gsbitops.c, gscie.c, gsht.c, gstype1.c, gstype2.c,
  7998. gxclpath.c, gxclread.c, gxcmap.c, gxfill.c, gxi12bit.c, gxop1.h, gxpflat.c,
  7999. gxstroke.c, gxtype1.c)
  8000. Changes some GC procedures from explicit code to standard macros.
  8001. (gsstruct.h, gscscie.c, gxcht.c)
  8002. For easier debugging, changes gs_debug_c to a procedure; removes
  8003. gs_if_debug_c and do_debug. (gdebug.h, gsht1.c, gsmisc.c, gspaint.c,
  8004. gxcht.c, gxht.c, gxpcmap.c)
  8005. Changes the num_components member of the color space structure to a
  8006. procedure, which is needed because DeviceN color spaces have a variable
  8007. number of components; also makes Pattern spaces return -1 - the correct
  8008. num_components instead of -1. This is a NON-BACKWARD-COMPATIBLE CHANGE.
  8009. Also adds a base_space procedure. (gxcspace.h, gscdevn.c, gscolor1.c,
  8010. gscolor2.c, gscpixel.c, gscscie.c, gscsepr.c, gscspace.c, gspcolor.c,
  8011. gxiinit.c, gxiscale.c)
  8012. Changes all groups of statistic-gathering variables to be structure
  8013. variables named stats_*. (gxclip.c, gxclist.c, gxclpath.c, gxfill.c,
  8014. gxifast.c)
  8015. Starts to pull apart gs_makebitmap/pixmappattern to remove the dependency on
  8016. masked images. (gspcolor.c)
  8017. Splits the C heap allocator from generic allocator support. (gsmemory.c,
  8018. gsmalloc.c)
  8019. Removes all uses of far_data other than references to device (but not
  8020. device2) prototypes. (gdevmem.h, gdevmrop.h, gxdevcli.h, gconf.c,
  8021. gdevabuf.c, gdevht.c, gdevm*.c, gdevmpla.c, gdevmrop.c, gdevnfwd.c,
  8022. gsbittab.c, gsflip.c, gsroptab.c, gxcht.c)
  8023. Adds a streams member to gs_ref_memory_t. The library doesn't use this, but
  8024. it greatly simplifies the interpreter's bookkeeping. (gsalloc.h, gxalloc.h,
  8025. gsalloc.c)
  8026. Adds some more opaque types to the graphics state structure, rather than
  8027. using naked struct types. (gsccolor.h, gzstate.h)
  8028. Introduces the notion of the "effective clip path" in a graphics state.
  8029. Painting operators should now call gx_effective_clip_path rather than using
  8030. the clip_path member directly. (gxpath.h, gschar.c, gsdps1.c, gsimage.c,
  8031. gspaint.c, gspath.c, gxccache.c, gxpaint.c)
  8032. Implements view clipping. (gzstate.h, gspath.c, gsstate.c)
  8033. Starts to pare down the fit_* macros in gxdevice.h, since some people feel
  8034. strongly they are hard to follow, and also adds BEGIN/END wrapping.
  8035. (gxdevice.h, gdevabuf.c, gdevmem.c, gxclpath.c)
  8036. Refactors the structure definition macros in anticipation of moving to a
  8037. more table-driven approach. Replaces ENUM_CALL, ENUM_RETURN_CALL, and
  8038. RELOC_CALL with ENUM_USING and RELOC_USING. (gsstruct.h, gdevmem.c,
  8039. gshtscr.c, gxcpath.c, gxiinit.c)
  8040. Sketches a table-driven rather than procedural representation for GC
  8041. descriptors. We believe this will improve readability, reduce code size,
  8042. and perhaps reduce cache thrashing during garbage collection. This requires
  8043. a NON-BACKWARD-COMPATIBLE CHANGE to the enum_ptrs, reloc_ptrs, and
  8044. clear_marks procedures (to add the structure descriptor as a parameter).
  8045. This should not affect any ordinary clients, because they should already
  8046. define these procedures using the macros in gsstruct.h, which *are*
  8047. backward-compatible; however, they do affect two internal clients that use
  8048. their own type tags with unions (color spaces and device colors).
  8049. (gsstrtab.h, gsstruct.h, gsalloc.c, gsstrtab.c)
  8050. Updates color spaces for the change in enum_ptrs and reloc_ptrs.
  8051. (gxcspace.h, gscdevn.c, gscolor1.c, gscolor2.c, gscpixel.c, gscscie.c,
  8052. gscsepr.c, gscspace.c, gspcolor.c)
  8053. Updates device colors for the change in enum_ptrs and reloc_ptrs.
  8054. (gsdcolor.h, gxdcolor.h, gxpcolor.h, gspcolor.c, gxcht.c, gxcmap.c,
  8055. gxdcolor.c, gxht.c, gxp1fill.c)
  8056. Implements a hit detection device at the library level. (gserrors.h,
  8057. gdevhit.c)
  8058. Changes some configuration parameters from #defines to statics. (gschar.c)
  8059. Changes "simple" structures so they no longer have 0 for the enum_ptrs or
  8060. reloc_ptrs procedure. This is a NON-BACKWARD-COMPATIBLE CHANGE for
  8061. structure-definers that don't use the macros in gsstruct.h (of which there
  8062. shouldn't be any). (gsstruct.h, gsalloc.c)
  8063. Adds the structure type name to the debugging printout for freeing objects.
  8064. (gsalloc.c)
  8065. To help in debugging, changes all uses of
  8066. #define ss ((stream_xxx_state *)st)
  8067. to
  8068. stream_xxx_state * const ss = (stream_xxx_state *)st;
  8069. (gxclread.c)
  8070. Removes all uses of 'near' from the library: if short and long calls have
  8071. different formats, we rely on the compiler to generate the most efficient
  8072. one. (gscie.c, gscoord.c, gsimpath.c, gsstate.c, gstype2.c, gxclpath.c,
  8073. gxclread.c, gxfill.c, gxhint1.c, gxhint2.c, gxhint3.c, gxstroke.c)
  8074. Adds 'inline' to stdpre.h, defined as the empty string on compilers other
  8075. than the ones we know accept it. (stdpre.h)
  8076. Adds printout of the subrectangle to ImageType 1 tracing. (gxiinit.c)
  8077. Replaces a few uses of gs_memory_default with dev-&gt;memory. (gdevdbit.c,
  8078. gxclread.c)
  8079. Improves support for halftone objects not associated with graphics states.
  8080. This involves a minor change to the definitions of gs_spot_halftone and
  8081. gs_threshold_halftone, to define the transfer function as a closure. This
  8082. is slightly NON-BACKWARD-COMPATIBLE in that it requires clients to set
  8083. transfer_closure.proc to 0 if they also set transfer to 0. NOTE: the API
  8084. defined in gshtx.h is subject to future change. (gscsepnm.h, gshtx.h,
  8085. gxdht.h, gxfmap.h, gxht.h, gxtmap.h, gscolor.c, gsht.c, gsht1.c, gshtx.c)
  8086. Changes the Bezier approximation of arcs to cut arcs at absolute multiples
  8087. of 90 degrees rather than at intervals of 90 degrees (e.g., an arc from 45
  8088. to 105 would now be cut at 90 rather than being treated as a single
  8089. 60-degree curve) in order to produce more uniform output and also to ensure
  8090. that the bounding box for arcs is more accurate (to pacify the Genoa FTS).
  8091. (gxfarith.h, gsmisc.c, gspath1.c)
  8092. Replaces all remaining uses of do { ... } while (0) with BEGIN ... END.
  8093. (gsbitops.h, gsdsrc.h, gserror.h, gsmdebug.h, gsrect.h, gxcldev.h, gxfunc.h,
  8094. gxop1.h, gxtype1.h, gsalphac.c, gsshade.c, gstype2.c, gstype42.c,
  8095. gxclread.c, gxcpath.c, gximage4.c, gxpath.c)
  8096. Adds a user-defined halftone type, to support non-monotonic halftones. We
  8097. could make any of the following structures fully object-oriented:
  8098. - Halftones (client level)
  8099. - Halftone orders (device level, but not rendered)
  8100. - Device halftones (device level, fully rendered)
  8101. The right place to do this for non-monotonic halftones, which are specified
  8102. directly by bit masks, is at the device halftone level. However, there are
  8103. too many places that know too much about the implementation of device
  8104. halftones and halftone orders right now. WE NEED TO REVISIT THIS AFTER THE
  8105. 5.1x CODE BRANCH IS TERMINATED. SHOULD ALSO CONVERT UNION TO TYPED UNION
  8106. FOR GC -- CODE IS DUPLICATED IN gsht.c VS gshtx.c. (gxdht.h, gxht.h,
  8107. gxhttype.h, gshtx.h, gsht.c, gsht1.c, gshtx.c)
  8108. Moves the procedures in Type 1 font data into a structure. This is a
  8109. NON-BACKWARD-COMPATIBLE CHANGE, but an internal one. (gxfont1.h, gstype1.c,
  8110. gstype2.c, gxtype1.c)
  8111. Extends Type 1 / 2 / 4 fonts to require that they be able to enumerate the
  8112. set of glyphs that they define, to allow writing them out. We may propagate
  8113. this to all base fonts in the future. (gxfont1.h)
  8114. Provides some utilities for devices that want to define their own
  8115. InputAttributes and OutputAttributes. (gdevprn.h, gxdevice.h, gdevprn.c,
  8116. gsdparam.c)
  8117. Removes all of the text-display procedures that took null-terminated C
  8118. strings as operands. This is NON-BACKWARD-COMPATIBLE. However, since the
  8119. memory manager required that all such operands be allocated using
  8120. gs_alloc_string, the procedures were never usable with arbitrary C strings
  8121. anyway. (gschar.h, gschar.c)
  8122. Renames the gx_device procedure record from std_procs to procs, in
  8123. anticipation of more unified support for "objects". This is a
  8124. NON-BACKWARD-COMPATIBLE CHANGE for a surprisingly large number of clients
  8125. that should have been using dev_proc and set_dev_proc. (gdevbbox.h,
  8126. gxdevcli.h, gxdevice.h, gdevdflt.c, gdevdgbr.c, gdevmem.c, gdevprn.c,
  8127. gsalphac.c, gsdevice.c, gsropc.c, gxccache.c, gxifast.c)
  8128. Disallows setting of the RasterOp-related graphics state parameters when
  8129. a cache device is active. (gsrop.c)
  8130. Changes the tracing printout of path segments to provide enough accuracy to
  8131. cover all the fraction bits of a 'fixed'. (gxpath.c)
  8132. </pre>
  8133. <hr>
  8134. <h2><a name="Version5.23"></a>Version 5.23 (limited) (5/14/98)</h2>
  8135. <p>
  8136. This fileset adds a number of PostScript LanguageLevel 3 features: library
  8137. support for ImageType 3 and 4 (masked) images, PostScript-level support for
  8138. ImageType 4, and the shfill operator for smooth shading. It also adds RCS
  8139. Id lines to all the files we maintain. It also changes the Unix makefiles
  8140. so that they create debugging or profiling binaries in separate directories.
  8141. <p>
  8142. This fileset includes an unusually large number of non-backward-compatible
  8143. API changes. Most of them don't affect ordinary library clients, but a few
  8144. do. These changes, and a few more to come, result from the next (large)
  8145. increment in our ongoing project to make the code completely re-entrant (no
  8146. non-idempotent writable globals in our own code). This necessarily involves
  8147. putting some things that used to be global into structures, some of which
  8148. must be added to some interfaces.
  8149. <p>
  8150. NOTE: because of a combination of hardware problems, time pressure, and
  8151. belated discovery of sloppiness by the original developers of the PC
  8152. makefiles, none of the PC makefiles in this fileset work. The Borland
  8153. makefiles probably come the closest.
  8154. <h3><a name="V5.23_Documentation"></a>Documentation</h3><pre>
  8155. Adds documentation for:
  8156. - The changes in begin_image and related facilities. (drivers.txt)
  8157. - The addition of -Z/. (use.txt)
  8158. - The new ps2ps utility. (ps2ps.1)
  8159. - The new get_hardware_params procedure. (drivers.txt)
  8160. - The new -B&lt;size&gt; / -B- switch. (use.txt).
  8161. Improves the documentation for the sample_ macros. (gsbitops.h)
  8162. Adds some documentation on how the debugging/tracing flags work. (gdebug.h)
  8163. Improves the documentation of DDAs. (gxdda.h)
  8164. Documents a subtle change in the meaning of a flag in the PDF
  8165. FontDescriptor. (pdf_font.ps)
  8166. Changes the location of the authoritative site for zlib sources. (zlib.mak)
  8167. Corrects a typo. (gsht1.h)
  8168. Removes pdf_2ps.ps from the fileset. (psfiles.txt)
  8169. Adds standard file name comments to all .c and .h files that didn't already
  8170. have them. (dodebug.h, gdev3b1.c, gdev8510.c, gdevadmp.c, gdevhl7x.c,
  8171. gdevimgn.c, gdevo182.c, gdevpdfx.h, gdevpe.c gdevsco.c, gdevsj48.c,
  8172. gdevvglb.c, gsalpha.c, gscolor1.c, gscsepr.h, gsdsc.c, scfetab.c string_.h,
  8173. zfunc3.c, zmedia2.c)
  8174. Unifies the nroff styles of the various man pages a bit. (*.1)
  8175. Adds a reference to the CTAN mirror sites. (new-user.txt)
  8176. Notes that the result of rect_intersect may be anomalous. (gsrect.h)
  8177. Improves the documentation for the Distiller parameter handling code.
  8178. (gdevpdfp.c, gdevpsdp.c)
  8179. Corrects an ambiguity in the definition of the int_keys argument of
  8180. param_begin_xmit_dict. (gsparam.h)
  8181. Adds a new file that will evolve into a reasonable guide to the source code.
  8182. (README, source.txt)
  8183. Adds the convention for 'status' and 'code' to the C style guide.
  8184. (c-style.txt)
  8185. Improves the documentation for the '-' pseudo-switch. (use.txt)
  8186. Updates the problem reporting form to include the URL for known post-release
  8187. problems. (bug-form.txt)
  8188. Documents the availability of sources and binaries for Plan 9.
  8189. (new-user.txt)
  8190. </pre><h3><a name="V5.23_Procedures"></a>Procedures</h3><pre>
  8191. Fixes bugs:
  8192. - The 'tags' target in the Unix makefiles had an incorrect directory
  8193. name. (bug probably introduced since 5.20) (unix-end.mak)
  8194. - The ld_tr and CCFLAGS macros were used in the makefiles before
  8195. they were defined, causing problems with `make' implementations that
  8196. substitute macros into definitions at definition time rather than at use
  8197. time. (*.mak)
  8198. - Recent Digital Unix versions (4.0 and later) require -std1 when
  8199. compiling. (make.txt)
  8200. - The Unix library-only makefile had gotten out of date.
  8201. (ugcclib.mak)
  8202. - pf2afm[.bat] were omitted from the fileset. (master/package.tcl)
  8203. - The Borland makefile didn't work, because the Borland compiler
  8204. requires specifying the output file name (-o) before the input file name
  8205. (-c)! This required changing the order of every compilation command in
  8206. every platform-independent makefile. The win*.mak files still need work.
  8207. (*.mak)
  8208. - None of the non-Unix makefiles specified directory names for the
  8209. auxiliary programs. (dvx-tail.mak, os2.mak, wctail.mak, winlib.mak)
  8210. - The Windows makefiles lacked build rules for gp_ntfs and gp_win32.
  8211. (msvclib.mak, winlib.mak)
  8212. Adds a new debugging switch -Z/ that prints the file name and line number on
  8213. all trace messages. (gdebug.h, std.h)
  8214. Changes the Unix 'pg' and 'debug' build targets so that they create the
  8215. binaries in a 'pgobj' or 'debugobj' subdirectory of the standard build
  8216. directory. This allows keeping all 3 configurations active. (unix-end.mak)
  8217. Adds GEN directories for jpeg, libpng, and zlib. (devs.mak, gs.mak,
  8218. jpeg.mak, lib.mak, libpng.mak, zlib.mak)
  8219. Adds a gendev.c that will eventually replace genconf.c. (gendev.c, *.mak)
  8220. Adds -Wcast-align to the gcc compilation switches. (unix-gcc.mak)
  8221. Adds support for libpng 1.0.1. (libpng.mak)
  8222. Notes the use of -R on Solaris and other SVR4 systems. (unix*.mak)
  8223. Removes pdf_2ps.ps from the fileset. (int.mak, unixinst.mak,
  8224. pdf_2ps.ps[deleted])
  8225. Ensures that every file that is copyright, maintained, and distributed by
  8226. Aladdin Enterprises has a RCS Id line. In .c and .h files, these lines
  8227. currently are only comments, but they could be converted easily to static
  8228. strings later if we want to. We had to touch almost every file in the
  8229. fileset to do this, but we did *not* change the write dates. (*)
  8230. Makes the build procedure auto-detect whether the installed version of gcc
  8231. has the 'const' code generation bug. (gs.mak, lib.mak, unix-gcc.mak)
  8232. Removes 'makefile' as a precondition for ccf32.tr. (I can't quite figure
  8233. out why it was there in the first place.) (msvccom.mak)
  8234. Replaces the -F&lt;file&gt; switch with a -B&lt;buffer size&gt; switch that forces all
  8235. files to use the run_string interfaces. -B- turns it off. (iminst.h,
  8236. imainarg.c)
  8237. Adds a new resource to genconf.c, -replace &lt;module&gt;. This causes &lt;module&gt;
  8238. *not* to be included if the module with the -replace resource *is* included.
  8239. If two modules -replace each other, either directly or indirectly through
  8240. -includes, the result is undefined. (genconf.c)
  8241. Uses -replace to implement a default roplib package. (lib.mak)
  8242. </pre><h3><a name="V5.23_Utilities"></a>Utilities</h3><pre>
  8243. Fixes bugs:
  8244. - unprot.ps stopped working because of the stricter prohibition
  8245. against storing local-VM objects into systemdict. (unprot.ps)
  8246. Adds a new ps2ps utility, like pdf2ps, that "distills" PostScript.
  8247. (ps2ps, ps2ps.bat)
  8248. Modifies the ps2epsi utility so it can be run outside the ps2epsi script for
  8249. testing. (ps2epsi.ps)
  8250. Changes the pdf2ps utility to use the pswrite device. This gets rid of all
  8251. conversion problems, at the expense of larger and stupider output files.
  8252. (pdf2ps, pdf2ps.bat)
  8253. </pre><h3><a name="V5.23_Drivers"></a>Drivers</h3><pre>
  8254. Fixes bugs:
  8255. - Two procedures were declared 'private' inconsistently (thank you
  8256. again, gcc). (gdevps.c)
  8257. - The author of the uniprint driver sent a fix for an
  8258. allocation-related bug and an off-by-one bug. (gdevupd.c)
  8259. - The PDF writer incorrectly converted open stroked rectangles (only
  8260. 3 sides drawn) to closed (4 sides drawn). (gxpath.h, gzpath.h, gdevpdfd.c,
  8261. gxpath2.c)
  8262. - When banding, filling a character within the PaintProc of a
  8263. Pattern could produce memory access errors. (The problem was in
  8264. gx_forward_fill_mask, which might affect filling characters in other
  8265. situations as well.) (gdevnfwd.c)
  8266. - The [e]pswrite driver produced incorrect line widths for stroked
  8267. graphics. (gdevps.c)
  8268. - The [e]pswrite driver didn't invoke colorimage correctly, so
  8269. didn't handle Patterns right. (gdevps.c)
  8270. - Vector devices didn't set the color before writing trapezoids,
  8271. possibly causing incorrectly colored output. (gdevvec.c)
  8272. - Vector devices could give errors on Pattern fills. (gdevvec.c)
  8273. - The bbox device retained a pointer to the clipping path, which,
  8274. since the path was embedded in the gs_state_contents, confused the garbage
  8275. collector, causing memory access errors. We fixed this by de-embedding the
  8276. path object: see below. (gsstate.c)
  8277. - On some Linux systems, the X driver could get a memory access
  8278. error when displaying patterns. We fixed this by adding calls on XInitImage
  8279. in the necessary places when running X11R6. (gdevx.c)
  8280. - PDF output didn't check names for unusual characters, and could
  8281. produce invalid output if the input included names with those characters.
  8282. (gdevpdfx.h, gdevpdf.c, gdevpdfm.c, gdevpdfo.c)
  8283. - In the PDF writer, DEST pdfmarks with /Dest but no /Page or /View
  8284. didn't generate named destinations. (gdevpdfm.c)
  8285. - Printer devices didn't allow . in %-formats in the output file
  8286. name. (gdevprn.c)
  8287. - The x11cmyk driver didn't read bits back from the screen
  8288. correctly. (gdevxalt.c)
  8289. - The pcxmono and pcxgray drivers used colored rather than
  8290. gray-scale palettes. (gdevpcx.c)
  8291. - The PCX drivers could emit repetition counts greater than 15,
  8292. confusing some readers. (gdevpcx.c)
  8293. Removes some vestiges of the obsolete draw_line driver procedure. We also
  8294. rename the draw_line member of the driver procedure structure as
  8295. obsolete_draw_line, so that any uses of it will cause compilation errors,
  8296. but we don't remove it from the structure, so that existing driver procedure
  8297. vectors will continue to compile (although the draw_line procedure will
  8298. never be called). (gxdevcli.h, gdevbbox.c, gdevddrw.c, gdevdflt.c)
  8299. To repair a design error, and at the same time add flexibility needed for
  8300. ImageType 3:
  8301. - Removes the image_data and end_image driver procedures,
  8302. associating them with the gx_image_enum(_common)_t structure instead.
  8303. Clients should call gx_device_image_data and gx_device_end_image instead: we
  8304. set the image_data and end_image procedures in the device structures to
  8305. these procedures when filling in defaulted procedures. This is a
  8306. NON-BACKWARD-COMPATIBLE CHANGE for drivers that implement begin_image, since
  8307. they now have to fill the procedures into the enumerator structure.
  8308. (gsiparm*.h, gxdevcli.h, gxdevice.h, gxiparam.h, gdevbbox.c, gdevddrw.c,
  8309. gdevdflt.c, gdevnfwd.c, gsimage.c, gxclist.c, gxidata.c, gxifast.c,
  8310. gxiinit.c, gximage3.c, gximage4.c)
  8311. - Replaces the image_data driver procedure with a plane_data
  8312. procedure (now associated with the image enumerator, not the device) that
  8313. allows specifying the X offset and raster independently for each plane, and
  8314. (depending on the image type) may allow omitting some planes. We provide a
  8315. gx_device_image_plane_data procedure parallel to _image_data and _end_image
  8316. (see above). (gsiparm*.h, gxdevcli.h, gxiparam.h, gdevbbox.c, gdevddrw.c,
  8317. gxidata.c, gxiinit.c, gximage3.c, gximage4.c)
  8318. Updates clients for image processing changes. (gdevvec.h, gdevpdf.c,
  8319. gdevpdfi.c, gdevps.c, gdevpx.c, gdevvec.c)
  8320. Enhances [e]pswrite to detect other kinds of opportunities for producing
  8321. smaller output. This involves a change in the moveto procedure in the
  8322. 'vector' interface. (gdevps.c)
  8323. Changes the bbox device so that it automatically detects whether it is being
  8324. used as a component in a device pipeline or as a free-standing device,
  8325. rather than having to select this in the makefile. (lib.mak, gdevbbox.h,
  8326. gdevbbox.c)
  8327. Moves the halftoning driver a bit closer to real usability. (gdevht.h,
  8328. gdevht.c)
  8329. Adds some tracing to the color mapping code in the X driver. (gdevx.c)
  8330. Implements setting the Dict and ACSDict parameters for pswrite and pdfwrite.
  8331. Dict is effective with the CCITTFaxEncode filter for black-and-white images;
  8332. otherwise, these parameters still don't do anything. (gdevpdfi.c,
  8333. gdevpsdp.c) ****** READING HUFFMAN TABLES IS NYI, SEE sdcparam.c; SETTING
  8334. DOESN'T WORK BECAUSE DCT_set_defaults DOESN'T DO WHAT IT SHOULD ******
  8335. Updates the PS/PDF writers to reflect the fact that the ASCIIHexEncode
  8336. filter now has a state. (gdevpsdf.c)
  8337. Modifies the X driver so that it can draw multiple platform characters at a
  8338. time rather than one character per call. (gdevx.h, gdevx.c, gdevxxf.c)
  8339. Takes advantage of the filter stream procedures now available in stream.c.
  8340. (gdevjpeg.c, gdevpdf.c, gdevpsdf.c)
  8341. Adds a get_hardware_params procedure, similar to get_params except that it
  8342. reads parameters whose values depend on hardware state that may change
  8343. without program intervention (e.g., panel switches). The default is that
  8344. there are no hardware parameters. (gdevmem.h, gdevprn.h, gsdevice.h,
  8345. gxdevcli.h, gxdevice.h, gxacpath.c, gxclip2.c, gxclipm.c, gxclist.c,
  8346. gxcpath.c, gdevbbox.c, gdevdflt.c, gdevht.c, gdevmrop.c, gdevnfwd.c,
  8347. gdevprn.c, gsdparam.c)
  8348. Updates the PS/PDF writer for the change in the parameter list API.
  8349. (gdevpsdf.c)
  8350. Makes a few more writable statics const. (gdevos2p.c, gdevpipe.c,
  8351. gdevpsim.c, gdevx.c)
  8352. Removes the rrgb sample device, since it now no longer serves any purpose.
  8353. (gdevrrgb.c[deleted])
  8354. Converts some additional devices to -dev2, to make them const. (devs.mak,
  8355. gdevbit.c, gdevpbm.c, gdevpcx.c, gdevpsim.c, gdevpng.c, gdevtfax.c,
  8356. gdevtfnx.c, gdevx.c, gdevxalt.c)
  8357. Updates a client accessing the preallocated color spaces. (gdevpsdi.c)
  8358. Renames the debugging-related statics in the X driver as X_SOMETHING.
  8359. (gdevx.c)
  8360. </pre><h3><a name="V5.23_Platforms"></a>Platforms</h3><pre>
  8361. Makes a few minor changes to support Plan 9. (make.txt, devs.mak, stat_.h,
  8362. stdio_.h, time_.h, gdevpbm.c)
  8363. </pre><h3><a name="V5.23_Fonts"></a>Fonts</h3><pre>
  8364. Documents the availability of a free Chinese font. (fonts.txt,
  8365. new-user.txt)
  8366. Works around a bug in the Adobe PostScript driver. We though it just output
  8367. the FontBBox for Type 42 fonts in the 2048- or 4096-unit character space
  8368. rather than a 1-unit space, but in fact it outputs garbage. (zfont42.c,
  8369. gstype42.c)
  8370. Augments the handling of Type 42 fonts to recognize the gdir /
  8371. GlyphDirectory method of outline definition in addition to the loca / glyf
  8372. method, per Adobe versions 2015 and later (undocumented!). (ifont.h,
  8373. zfont42.c)
  8374. </pre><h3><a name="V5.23_Interpreter"></a>Interpreter</h3><pre>
  8375. Fixes bugs:
  8376. - Memory management for argument strings was wrong. (gsargs.h,
  8377. gsargs.c)
  8378. - 1 .setlanguagelevel was broken, because it didn't allow for the
  8379. possibility that values could get deleted from systemdict that existed in
  8380. level2dict. (bug introduced in 5.x, x &lt;= 10) (zmisc2.c)
  8381. - -dFAKEFONTS was broken. (gs_fonts.ps, gs_init.ps)
  8382. - copyscanlines was broken. (bug introduced in 5.20) (gs_init.ps)
  8383. - The matrix returned by sizeimage was incorrect. (zdpnext.c)
  8384. - The implementation of .buildpattern for PatternType 2 was wrong.
  8385. (gs_ll3.ps)
  8386. - Ghostscript couldn't load TrueType fonts where the amount of data
  8387. either before or after the glyf section exceeds 64K. (gs_ttf.ps) ****** WE
  8388. BACKED OUT THIS CHANGE, BECAUSE WE HAD TO BACK OUT THE NEXT ONE. ******
  8389. - Ghostscript couldn't load TrueType fonts where the total data is
  8390. more than 64K and the offset or length of the glyfs is odd. (gs_ttf.ps)
  8391. ****** WE BACKED OUT THIS CHANGE: IT BROKE THE PDF INTERPRETER, BECAUSE IT
  8392. IMPOSES A NEW REQUIREMENT THAT TTF FILES BE POSITIONABLE. ******
  8393. - Some compilers complained about arithmetic on enums. (interp.c)
  8394. - The CIE color space and CRD GC structure definitions were in the
  8395. interpreter rather than the library. (zcie.c, zcrd.c)
  8396. - NullFont was still present in FontDirectory when currentglobal was
  8397. false. (gs_init.ps)
  8398. - execform failed with Form resources, because it tried to insert
  8399. the Implementation in a read-only dictionary. (gs_fform.ps, gs_lev2.ps)
  8400. Finishes implementing ImageType 4 images, and moves closer to implementing
  8401. ImageType 3. (iimage.h, zdps.c, zimage.c, zimage2.c, zimage3.c)
  8402. Updates tracing output to use the new dlprintf macros. (idict.c, igc.c,
  8403. igcref.c, igcstr.c, iname.c, interp.c, isave.c, iscan.c, zcie.c, zcontext.c)
  8404. Implements multiproc=true for readimage. (gs_dpnxt.ps)
  8405. Does a bit more work on implementing shading with PatternType 2.
  8406. (gs_ll3.ps, zfunc.c, zshade.c)
  8407. Adds a .bitadd operator for adding integers modulo the word size.
  8408. (zarith.c)
  8409. Updates filter operators to use the new stream parameter facility.
  8410. (iparam.h, iparam.c, zfdecode.c, zfdctc.c[deleted], zfdctd.c, zfdcte.c)
  8411. Updates the implementation of parameter lists for the change from _dict to
  8412. _collection. (iparam.c, iparam.h)
  8413. Takes advantage of the filter stream procedures now available in stream.c.
  8414. (zfilter.c)
  8415. Adds get_hardware_params to one device procedure vector. (zupath.c)
  8416. Adds .gethardwareparams to parallel .getdeviceparams. (zdevice.c)
  8417. Updates the interpreter's parameter list machinery to match the change in
  8418. gsparam.h. (iparam.h, iparam.c)
  8419. Makes more writable statics const. (gs_init.ps, btoken.h, dstack.h, iref.h,
  8420. opextern.h, icontext.c, idict.c, igc.c, igcref.c, iinit.c, imainarg.c,
  8421. interp.c, iscanbin.c, iutil.c, zbseq.c, zcie.c, zcontrol.c, zdevcal.c,
  8422. zdevice2.c, zdps.c, zdps1.c, zfont2.c, zgeneric.c, zgstate.c, ziodev.c,
  8423. ziodev2.c, ztype.c)
  8424. Removes an inappropriate reference to PROGRAM_NAME. (imainarg.c)
  8425. Removes set/currentrenderalgorithm, since they are useless for the purpose
  8426. for which they were intended. (zrop.c)
  8427. Uncomments code for CIEBasedDEF[G] color spaces, even though these aren't
  8428. fully implemented yet. (zcie.c)
  8429. Reimplements StartJobPassword and SystemParamsPassword as no-access strings
  8430. in systemdict. (gs_lev2.ps, iutil2.h, iutil2.c, ziodev2.c, zusparam.c)
  8431. Splits off the context state record from icontext.h, so that places that
  8432. only need access to state variables don't need to import the
  8433. procedures. (icontext.h, icstate.h)
  8434. Updates a client for the change in gs_malloc_limit. (imainarg.c)
  8435. Updates clients for the change in the accessors for predefined color spaces.
  8436. (zcolor1.c, zimage.c, zimage2.c)
  8437. Renames the (few) debugging-related statics as I_SOMETHING. (igc.c)
  8438. Splits off idstack.h (API for dictionary stacks) from dstack.h (API for the
  8439. interpreter's dictionary stack), and idstack.c (dictionary stack
  8440. implementation) from idict.c (dictionary implementation). We should have
  8441. done this a long time ago! (dstack.h, idictdef.h, idstack.h, idict.c,
  8442. idstack.c, iinit.c, ireclaim.c)
  8443. Folds the cached currentfile pointer into the exec-stack structure.
  8444. (estack.h, interp.c)
  8445. Changes clients of gs_register_*_root to eliminate statically allocated
  8446. roots. (iinit.c, iname.c, interp.c, zbseq.c, zcontext.c, zfile.c, zfont.c,
  8447. zfont2.c, zgstate.c, ziodev.c)
  8448. Adds a ref_free_stack procedure, and reformats the implementation of stacks.
  8449. (istack.h, interp.c, istack.c)
  8450. </pre><h3><a name="V5.23_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  8451. Fixes bugs:
  8452. - Pattern colors sometimes caused errors. (gs_pdf.ps)
  8453. - A file ending with %%EOF without an EOL caused an error.
  8454. (pdf_main.ps)
  8455. - Fl wasn't recognized as an abbreviation for FlateDecode in in-line
  8456. images. (pdf_draw.ps)
  8457. Removes all code related to converting PDF to PS: it never worked reliably,
  8458. and we now support this function with the pswrite device instead.
  8459. (gs_pdf.ps =&gt; pdf_ops.ps, pdf*.ps)
  8460. </pre><h3><a name="V5.23_Streams"></a>Streams</h3><pre>
  8461. Updates tracing output to use the new dlprintf macros. (shc.h, scfd.c,
  8462. scfe.c, shcgen.c)
  8463. Provides the ability to read and set stream initial parameters to/from a
  8464. parameter list. This is currently needed only by the PDF/PS writers and the
  8465. filter operator, so it is implemented in modules separate from the stream
  8466. implementation per se, but it might be useful for other clients too.
  8467. (scommon.h, scfparam.c, sdcparam.c, sdct*.c, sdeparam.c, sddparam.c,
  8468. gdevpsfp.c[deleted])
  8469. Changes the ASCII85Encode filter so it never produces two %% at the
  8470. beginning of a line, which could mislead document managers or spoolers.
  8471. (sfilter2.c)
  8472. Changes the ASCIIHexEncode filter so it always produces lines of exactly 64
  8473. characters, except for the last one. THIS IS A NON-BACKWARD-COMPATIBLE
  8474. CHANGE, because this filter now needs a state structure, which it didn't
  8475. before. (sstring.h, sstring.c)
  8476. Moves filter_{read,write}_procs to stream.c, changing the names to
  8477. s_filter_{read,write}_procs. (stream.h, stream.c)
  8478. Makes creation of JPEG filters set default values for parameters that are
  8479. outside the IJG library (Picky and Relax). (sdct.h, sjpegd.c, sjpege.c)
  8480. </pre><h3><a name="V5.23_Library"></a>Library</h3><pre>
  8481. Fixes bugs:
  8482. - An error in dda_step_add could theoretically produce anomalies in
  8483. images (although we don't think we've ever seen any). (gxdda.h)
  8484. - A boundary error in dda_state_next/previous/advance could
  8485. theoretically produce anomalies in images by allowing R = 0 (although we
  8486. don't think we've ever seen any). (gxdda.h)
  8487. - A rounding error in computing the size of portrait images could
  8488. produce a spurious 1-pixel-wide line at the edge of the image. (gxifast.c)
  8489. - When banding, images with singular or nearly singular CTM or
  8490. ImageMatrix could confuse things badly enough to cause memory access errors.
  8491. (gxclimag.c)
  8492. - Patterns were broken. (bug introduced in 5.21) (gxclip2.c)
  8493. - Because some image processing code retained a pointer to the
  8494. clipping path, which was embedded inside the gs_state_contents object,
  8495. garbage collection could cause crashes. (The only case where we know this
  8496. happened was the bounding box device, since we think all other image
  8497. enumerators preconstruct a clipping device, which does not retain a pointer
  8498. to the clipping path, rather than constructing one from the path on the
  8499. fly.) We fixed this by replacing gs_state_contents with individual objects:
  8500. see below.
  8501. - The *_.h files didn't have double-inclusion protection. (*_.h)
  8502. - ImageType 2 images were broken by the change in begin_typed_image.
  8503. (gximage2.c)
  8504. - Color-setting operators that "substitute the nearest legal value"
  8505. didn't substitute it in storage, only when using it. E.g., after
  8506. gs_setgray(pgs, 2.0), gs_currentgray(pgs) returned 2.0 rather than 1.0.
  8507. This bug has been there since release 1.0! (gxcspace.h, gscie.c, gscolor.c,
  8508. gscolor1.c, gscolor2.c, gscdevn.c, gscsepr.c, gscpixel.c, gspcolor.c)
  8509. - The RasterOp implementation for 2-bit, 4-bit, and non-gray 8-bit
  8510. devices didn't work. (gdevmrop.c)
  8511. - The test of whether to use copy_mono, fill_mask, or general
  8512. imaging for rendering characters sometimes used copy_mono when not
  8513. appropriate. (gxccache.c)
  8514. - The default implementation of fill_mask produced solid rectangles,
  8515. rather than properly masked output, if the logical operation didn't use its
  8516. source operand. (gdevdbit.c)
  8517. - Some more files needed double inclusion protection. (gscie.h)
  8518. - Checking for interrupts before a return always returned 0 rather
  8519. than the correct return code if there was no interrupt. (gsmisc.c)
  8520. - Characters within Pattern PaintProcs sometimes didn't get drawn.
  8521. (gxpcmap.c)
  8522. - The CIE color space and CRD GC structure definitions were in the
  8523. interpreter rather than the library. (gscie.h, gscie.c)
  8524. - Numeric overflows when setting up the character cache caused
  8525. errors rather than simply disabling caching for that character. (gschar.c)
  8526. - FORCE_STRIP_HALFTONES was accidentally left set to 1 (in 5.10!),
  8527. slowing down all uses of monobit halftones. (gshtscr.c)
  8528. Implements mask clipping, which is needed for ImageType 3 images.
  8529. (gxclip2.h, gxclipm.h, gxmclip.h, gxclip2.c, gxclipm.c, gxmclip.c)
  8530. Finishes implementing ImageType 3 and 4 images. (gsimage.h, gsiparam.h,
  8531. gsimage.c, gsiparm3.h, gximage3.c, gximage4.c)
  8532. Starts to update the banding code to handle ImageType 3 and 4 images.
  8533. (gxclist.h, gxiparam.h, gxclimag.c, gxclist.c, gxiinit.c)
  8534. Make eprintf_program_name, lprintf_file_{and_line,only}, and new
  8535. dlprintf_file_{and_line,only} always be procedures, rather than sometimes
  8536. macros and sometimes procedures. (std.h, gdebug.h, gsmisc.c)
  8537. Adds new dlprintf, dlputc, and dlputs macros that are like
  8538. dprintf/dputc/dputs but also print the source file name and line number at
  8539. the beginning of the line if the -Z/ debugging switch is set. The if_debug*
  8540. macros now use dlprintf rather than dprintf; many other places also needed
  8541. changing. Note that if any place was overlooked, no great harm is done:
  8542. printout produced there simply won't include the source file and line number
  8543. even if -Z/ is set. (std.h, gdebug.h, gsmisc.c; gdevbbox.c, gdevdbit.c,
  8544. gdevdgbr.c, gdevmrop.c, gdevrun.c, gdevsvga.c, gdevx.c, gp_unifs.c,
  8545. gsalloc.c, gschar.c, gscoord.c, gsfont.c, gshsb.c, gsht.c, gshtscr.c,
  8546. gsmemory.c, gspath.c, gstype1.c, gstype2.c, gxacpath.c, gxccache.c,
  8547. gxclimag.c, gxclist.c, gxclpath.c, gxclread.c, gxcpath.c, gxfill.c,
  8548. gxidata.c, gxpath.c, gxpcopy.c, gxpflat.c, gxstroke.c)
  8549. Simplifies storage management for graphics states by replacing
  8550. gs_state_contents with individual objects. This slows down gsave and
  8551. grestore a bit, but eliminates a class of potential obscure bugs.
  8552. (gxpath.h, gzstate.h, gsstate.c, gxcpath.c, gxpath.c)
  8553. Adds some more information to the deubgging printout for paths. (gxpath.c)
  8554. Modifies the library test program to test ImageType 3 and 4 images.
  8555. (ugcclib.mak, gslib.c)
  8556. Extends the @-file parser to be more shell-like:
  8557. - The sequence \ &lt;newline&gt; is ignored everywhere.
  8558. - If a # appears as the first character on a line outside quotes,
  8559. the entire line (including the terminating newline) is ignored.
  8560. (gsargs.h, gsargs.c)
  8561. Changes a stem hint tracing message so that it will print with the correct
  8562. line number. (gxhint2.c)
  8563. Moves the 'format' information for images to the image parameter structure.
  8564. This entails a NON-BACKWARD-COMPATIBLE CHANGE in the begin_typed_image
  8565. driver procedure (which was not guaranteed stable). (gsiparam.h,
  8566. gxdevcli.h, gsimage.c, gxiinit.c)
  8567. Adds an optional matrix argument to begin_typed_image, overriding the CTM in
  8568. the imager state if present. This is needed to make masks and masked images
  8569. line up precisely; this too is a NON-BACKWARD-COMPATIBLE CHANGE.
  8570. (gxdevcli.h, gdevbbox.c, gdevddrw.c, gdevnfwd.c, gdevx.c, gxclimag.c,
  8571. gxiinit.c, gximage2.c, gximage3.c, gximage4.c)
  8572. Adds a procedure for testing monotonicity of Functions over a given range.
  8573. (gsfunc.h, gsfunc0.c, gsfunc3.c)
  8574. Implements smooth shading with shfill. All documented ShadingTypes (1-7)
  8575. are implemented. (gscspace.h, gsdsrc.h, gspath.h, gsshade.h, gxshade.h,
  8576. gxshade4.h, gscolor.c, gscolor3.c, gsdsrc.c, gsfunc0.c, gsfunc3.c,
  8577. gspath1.c, gsshade.c, gxshade.c, gxshade1.c, gxshade4.c, gxshade6.c)
  8578. Changes the TrueType rasterizer to remove the assumption that the entire
  8579. loca table is stored contiguously. This may not have any practical effect,
  8580. since currently Type 42 fonts never split the loca table across segments.
  8581. (gstype42.c)
  8582. Adds a new interface for creating CIE CRDs that provides the parameters as
  8583. separate arguments. (gscrd.h, gscrd.c)
  8584. Starts to add the ability for a device to provide one or more default CIE
  8585. CRDs as (read-only) device parameters. (Not ready for use yet.) (gscie.h,
  8586. gscrdp.h, gscie.c, gscrdp.c)
  8587. Adds a multiple-bit-per-pixel analogue of gs_makebitmappattern,
  8588. gs_makepixmappattern, for use by another Aladdin project. (lib.mak,
  8589. gsbitmap.h, gsptype1.h, gxbitmap.h, gspcolor.c)
  8590. Changes the API of param_begin_write_dict so that the client can request the
  8591. creation of an array rather than a dictionary. This is a
  8592. NON-BACKWARD-COMPATIBLE CHANGE for implementors (of which there are only
  8593. 2.5), but not for clients. (gsparam.h, gsparam.c)
  8594. Adds dynamically typed data to the parameter list interface, and removes the
  8595. statically typed procedures. This isn't important for any standard facility
  8596. yet. This too is a NON-BACKWARD-COMPATIBLE CHANGE for implementors of
  8597. parameter lists. (gsparam.h, gsparams.h, gsparam.c, gsparams.c)
  8598. Adds a new platform-specific API for thread creation and synchronization,
  8599. and a memory manager "wrapper" that monitor-locks each call. No code
  8600. normally included in this fileset uses any of this machinery as yet. (gp.h,
  8601. gpsync.h, gxsync.h, gsmemlok.h, gsmemlok.c, gxsync.c)
  8602. Splits off (PatternType 1) Pattern filling into a separate file, since the
  8603. file was getting too big; refactors the filling code to use procedures
  8604. rather than macros. (gxp1fill.h, gspcolor.c, gxp1fill.c)
  8605. Makes a few more writable statics const. (gscie.h, gscscie.c, gsdll.c,
  8606. gsmemory.c, gsmisc.c, gstype1.c, gstype2.c, gxclpath.c)
  8607. Adds a compile-time option, SYSTEM_CONSTANTS_ARE_WRITABLE, to choose whether
  8608. the system configuration values (buildtime, copyright, product, revision,
  8609. revisiondate, serialnumber) are const or not. By default they are now
  8610. const: THIS IS A NON-BACKWARD-COMPATIBLE CHANGE (affecting only one user).
  8611. (lib.mak, openvms.mak, os2.mak, unix-end.mak, wctail.mak, winlib.mak,
  8612. gscdefs.h, gscdef.c)
  8613. Removes the dependence of std.h on PROGRAM_NAME. (std.h, gsdll.c, gsmisc.c,
  8614. gscdef.c)
  8615. Adds a new member of the color space type structure, the size of the
  8616. smallest color space structure that will hold a color space of the given
  8617. type. Also removes the obsolete _ds modifier. (gscspace.h, gxcspace.h,
  8618. gscdevn.c, gscie.c, gscolor.c, gscolor1.c, gscolor2.c, gscpixel.c,
  8619. gscsepr.c, gspcolor.c, gxiinit.c)
  8620. Removes set/currentrenderalgorithm, since they are useless for the purpose
  8621. for which they were intended. (gsrop.h, gsropt.h, gdevmrop.c, gsrop.c)
  8622. Splits off gscspace.c from gscolor.c, and gscscie.c from gscie.c. (gscie.c,
  8623. gscolor.c, gscscie.c, gscspace.c)
  8624. Adds constructor and accessor procedures for color spaces. (gscie.h,
  8625. gscolor2.h, gscsepr.h, gscspace.h, gsptype1.h, gxcolor2.h, gxcspace.h,
  8626. gscolor.c, gscolor2.c, gscscie.c, gscsepr.c, gscspace.c, gslib.c,
  8627. gspcolor.c)
  8628. Changes the CIEBased color space structures slightly to allow implementation
  8629. of the CIEBasedDEF[G] color spaces. (gscie.h, gscie.c)
  8630. Changes gs_malloc_limit from a static to a member of the allocator
  8631. structure. This is a NON-BACKWARD-COMPATIBLE CHANGE for clients that
  8632. declared this variable as an extern. (gsmalloc.h, gsmemory.c)
  8633. In order to eliminate some statics, changes the static color space accessors
  8634. (gs_color_space_Device*) so they require a const gx_imager_state as
  8635. parameter, and changes their names as well to avoid confusion. This is a
  8636. NON-BACKWARD-COMPATIBLE CHANGE not only in these accessors, but also in
  8637. gs_image_t_init_{gray,color}. This is very unfortunate, but we see no way
  8638. to avoid it. (gscspace.h, gsiparam.h, gxistate.h, gscolor1.c, gscscie.c,
  8639. gscspace.c, gsimage.c, gspcolor.c, gsstate.c, gxclread.c, gxiinit.c,
  8640. gximage2.c, gximage3.c, gximage4.c)
  8641. Unifies the handling of const for the IODevice table. (gscdefs.h,
  8642. gxiodev.h, gconf.c, gsiodev.c)
  8643. Changes the register_root memory manager call so that a NULL as the pointer
  8644. to the root structure asks the memory manager to allocate the root structure
  8645. itself. This is a NON-BACKWARD-COMPATIBLE CHANGE for implementors of the
  8646. memory manager API (of which there are only 3). (gsmemory.h, gsstruct.h,
  8647. gsalloc.c, gsmemory.c)
  8648. Adds a new GC structure type, suffix_add0_local, which is a more efficient
  8649. form of suffix_add0 that can be used when the supertype is defined in the
  8650. same file as the subtype. (gsbitmap.h, gscie.h, gsshade.h, gsstruct.h)
  8651. Uses the new package replacement facility in the makefile to make RasterOp
  8652. optional without tinkering with statics at runtime. (lib.mak, gxdevice.h,
  8653. gxdevrop.h, gdevdbit.c, gdevdflt.c, gdevmrop.c, gdevnfwd.c, gsnorop.c,
  8654. gsropc.c)
  8655. Makes RasterOp really optional. (gdevmrop.h, gsrop.h, gdevmrop.c, gsrop.c,
  8656. gxiinit.c)
  8657. Rewrites bits_fill_rectangle to get rid of nearly all the macros.
  8658. (gxbitops.h, gsbitops.c)
  8659. Removes the obsolete _ds from gs_log_error. (gserror.h, gsmisc.c)
  8660. </pre>
  8661. <hr>
  8662. <h2><a name="Version5.22"></a>Version 5.22 (limited) (2/19/98)</h2>
  8663. <p>
  8664. This fileset has a few more bug fixes, a major overhaul of memory management
  8665. for paths so that we can do view clipping in a reasonable way, and the
  8666. ability to build executables in a different directory from the sources.
  8667. <h3><a name="V5.22_Documentation"></a>Documentation</h3><pre>
  8668. Designates gv as the preferred VMS and Unix previewer. (new-user.txt,
  8669. use.txt)
  8670. Adds a pointer to post-release documentation. (README)
  8671. Notes that compilation with certain platforms and compilers must turn off
  8672. optimization. (make.txt)
  8673. Improves the documentation of the fit_fill and fit_copy macros.
  8674. (gxdevice.h)
  8675. </pre><h3><a name="V5.22_Procedures"></a>Procedures</h3><pre>
  8676. Fixes bugs:
  8677. - The ccgs script for non-ANSI compilers was no longer flexible
  8678. enough to handle all the possible command lines. (ccgs)
  8679. - The pdfwrite device was missing on the DesqView/X platform.
  8680. (dvx-gcc.mak)
  8681. - The System V build procedure was broken. (unixtail.mak)
  8682. - A Watcom makefile lacked parentheses around a macro name.
  8683. (wctail.mak)
  8684. - Some `make' programs drop trailing spaces in macro definitions: we
  8685. didn't work around this. (os2.mak, unixhead.mak, winlib.mak)
  8686. Adds support for WCVERSION=11.0 in the Watcom makefiles. (watc.mak,
  8687. wccommon.mak)
  8688. Adds a shell script for removing the 'includes' from makefiles, since a very
  8689. few Unix systems don't support this capability. (catmake)
  8690. Changes -dNOPROMPT to -dNOPAGEPROMPT, and adds -dNOPROMPT to suppress both
  8691. the end-of-page prompt and the executive prompt. (use.txt, gs_init.ps)
  8692. Adds definitions of {GL,PS}{SRC,GEN,OBJ}DIR to the top-level makefiles,
  8693. removing these definitions from gs.mak. (*.mak, gs.mak)
  8694. Adds explicit directories to more makefile rules. We can now do builds with
  8695. source, GL/PS generated files, and GL/PS object files in 5 different
  8696. directories! (*.mak, gsjconf.h)
  8697. </pre><h3><a name="V5.22_Utilities"></a>Utilities</h3><pre>
  8698. Adds a user-contributed utility that runs dvips followed by ps2pdf.
  8699. (dvipdf, unixinst.mak)
  8700. </pre><h3><a name="V5.22_Drivers"></a>Drivers</h3><pre>
  8701. Fixes bugs:
  8702. - A pointer was incorrectly declared const. (gdevpdfm.c)
  8703. - pdfwrite handled the Title element of ARTICLE pdfmarks
  8704. incorrectly. (gdevpdfm.c)
  8705. - pdfwrite inserted a Dest element in Link annotations even if an A
  8706. (Action) key was present. (gdevpdfm.c)
  8707. - pdfwrite didn't recognize and convert /Article actions in
  8708. pdfmarks. (gdevpdfm.c)
  8709. Replaces some open-coded accesses to path structure elements with macros, in
  8710. anticipation of a representation change. (gdevpdfd.c)
  8711. Moves pdfwrite further towards supporting Dict and ACSDict Distiller
  8712. parameters. (gdevpsdf.h, gdevpsdp.c, gdevpsfp.c)
  8713. Updates a few places for the change in the path API. (gdevpdfd.c,
  8714. gdevvec.c)
  8715. Adds recognition of named object references to the PDF writer, fixing many
  8716. bugs in the named object code in the process. (gdevpdfx.h, gdevpdfm.c,
  8717. gdevpdfo.c)
  8718. Enhances pswrite to skip fills or strokes of completely empty paths, to
  8719. recognize horizontal and vertical lines, and to abbreviate color settings
  8720. based on 8-bit fractions. This requires a NON-BACKWARD-COMPATIBLE CHANGE in
  8721. the "vector" device interface (which was, however, clearly identified as
  8722. subject to change without notice). (gdevpsdf.h, gdevvec.h, gdevps.c,
  8723. gdevpsdf.c, gdevpx.c, gdevvec.c)
  8724. </pre><h3><a name="V5.22_Interpreter"></a>Interpreter</h3><pre>
  8725. Updates a few places for the change in the path API. (zupath.c)
  8726. Implements %statementedit properly. (iscan.h, iscan.c, ziodev.c)
  8727. Changes the initialization code so that if DELAYBIND is set, .forcedef and
  8728. .forceput remain accessible until .bindnow is called. (gs_init.ps)
  8729. </pre><h3><a name="V5.22_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  8730. Fixes bugs:
  8731. - An empty Differences array, which Acrobat Distiller 3.02 can emit,
  8732. caused a rangecheck error. (pdf_font.ps)
  8733. </pre><h3><a name="V5.22_Streams"></a>Streams</h3><pre>
  8734. Fixes bugs:
  8735. - The alternative LZWEncode filter didn't emit a reset code as the
  8736. first code, and waited one code too long to emit a reset. (slzwce.c)
  8737. Adds some double-inclusion protection. (scfx.h)
  8738. </pre><h3><a name="V5.22_Library"></a>Library</h3><pre>
  8739. Fixes bugs:
  8740. - There was an (incorrect) assignment to a read-only structure
  8741. member. (gximage2.c)
  8742. - A formal parameter list was incorrect if __PROTOTYPES__ wasn't
  8743. defined. (gsroptab.c)
  8744. - Some images didn't get clipped properly when banding. This was a
  8745. fix for 5.03 that somehow didn't make it into 5.10. (gxclimag.c)
  8746. - When banding, dashed lines could cause an invalid memory access.
  8747. This was apparently caused by an error in a fix made in 5.04. (gsline.c)
  8748. - Images with non-zero data_x could cause an invalid memory access.
  8749. (gxiinit.c, gxidata.c)
  8750. - The band list rasterizer didn't initialize the image structure
  8751. properly, causing control to go to a random address. (gxclread.c)
  8752. Replaces some open-coded accesses to path structure elements with macros, in
  8753. anticipation of a representation change. (gxpath.h, gzpath.h, gspath1.c,
  8754. gxfill.c, gxpath2.c, gxstroke.c)
  8755. Changes the path and clipping path structures so that segments and clipping
  8756. lists are stored in separate, reference-counted structures. This finally
  8757. supports reliable freeing of path segments and clipping lists even in the
  8758. presence of off-stack gstates, and the ability to store the original
  8759. segments of a clipping path, both of which we have wanted for a long time.
  8760. Unfortunately, it requires SIGNIFICANT NON-BACKWARD-COMPATIBLE CHANGES TO
  8761. THE API FOR PATHS:
  8762. Paths:
  8763. - adds gx_path_alloc_contained;
  8764. - gx_path_init =&gt; gx_path_init_local (or nothing);
  8765. - gx_path_reset =&gt; gx_path_new;
  8766. - removes gx_path_share and gx_path_release;
  8767. - gx_path_assign =&gt; gx_path_assign_{preserve,release};
  8768. - renames gx_path_expand_dashes =&gt; gx_path_add_dash_expansion,
  8769. gx_path_flatten[_accurate] =&gt; gx_path_add_flattened[_accurate],
  8770. gx_path_monotonize =&gt; gx_path_add_monotonized;
  8771. - removes the init Boolean from gx_path_copy[_reversed].
  8772. Clipping paths:
  8773. - gx_cpath_init =&gt; gx_cpath_init_local (or nothing);
  8774. - removes gx_cpath_share and gx_cpath_release_segments;
  8775. - gx_cpath_path =&gt; gx_cpath_to_path;
  8776. - removes the mem argument from gx_cpath_from_rectangle.
  8777. We believe that we either renamed or changed the argument list of every API
  8778. function that was affected in a non-backward-compatible way, so incompatible
  8779. clients will get either compilation or linking errors. (gxpath.h,
  8780. gzcpath.h, gzpath.h, gschar.c, gsdps.c, gsdps1.c, gspaint.c, gspath.c,
  8781. gspath1.c, gsstate.c, gxacpath.c, gxccache.c, gxclpath.c, gxclread.c,
  8782. gxcpath.c, gxfill.c, gxpath.c, gxpath2.c, gxpcmap.c, gxpcopy.c, gxpdash.c,
  8783. gxstroke.c)
  8784. Reimplements view clipping bookkeeping to use reference-counted paths.
  8785. (gzstate.h, gsdps.c, gsstate.c)
  8786. Adds const in a couple more places. (gxpath2.c)
  8787. If -Z? is enabled, makes the reference counting machinery check for
  8788. reference counts going negative. (gsrefct.h)
  8789. Adds the first bit of code for rendering smooth shadings. The code is
  8790. nowhere near usable. (gsshade.h, gxshade.h, gsshade.c, gxshade.c)
  8791. Adds BEGIN ... END macros for creating compound statements that are
  8792. syntactically equivalent to single statements. (stdpre.h)
  8793. </pre>
  8794. <hr>
  8795. <h2><a name="Version5.21"></a>Version 5.21 (limited) (1/19/98)</h2>
  8796. <p>
  8797. This is primarily a bug fix fileset for 5.20, with a little new
  8798. functionality (pdfwrite image downsampling and more complete pdfmark
  8799. processing).
  8800. <h3><a name="V5.21_Documentation"></a>Documentation</h3><pre>
  8801. Fixes bugs:
  8802. - The build procedures still referred to tar_cat. (make.txt)
  8803. Documents some user-developed patches for using certain kinds of Japanese
  8804. fonts with Ghostscript. (new-user.txt)
  8805. Notes that on Solaris 2.x systems, it is probably not a good idea to use
  8806. Sun's fonts. (use.txt)
  8807. Documents -dSTRICT. (use.txt)
  8808. </pre><h3><a name="V5.21_Procedures"></a>Procedures</h3><pre>
  8809. Fixes bugs:
  8810. - The definitions of MAKEFILE in several makefiles was incorrect.
  8811. (dvx-gcc.mak, unix-cc.mak, unixansi.mak)
  8812. - The build rules for the gp_*.$(OBJ) files lacked a directory name,
  8813. confusing most 'make' programs. (*.mak)
  8814. - geninit didn't work, because the syntax of psfile_() entries in
  8815. gconfig.h had changed. (geninit.c)
  8816. - Some files were created and then deleted during building,
  8817. preventing [gnu]make -j from working. (lib.mak, int.mak)
  8818. Adds an explicit directory name to more files in the makefiles. (jpeg.mak,
  8819. lib.mak) Added in this fileset:
  8820. .$(OBJ): jpeg.mak, {dvx-tail,msvclib,openvms,os2,ugcclib,unixtail,
  8821. watc,watclib,winint,winlib}.mak
  8822. .dev: jpeg.mak
  8823. Removes the default suppression of 'const' with gcc. You must now compile
  8824. with gcc 2.7.2.1 or newer, or patch the makefile. (ugcclib.mak,
  8825. unix-gcc.mak)
  8826. Removes -DPNG_USE_CONST from the command line for compiling libpng, since
  8827. this has never actually worked, and is handled in a different way starting
  8828. with libpng 0.97. (gs.mak)
  8829. Adds a -dSTRICT switch that disables some Ghostscript extensions, to be more
  8830. helpful in debugging applications that produce output for Adobe and other
  8831. RIPs. (gs_init.ps, gs_statd.ps)
  8832. </pre><h3><a name="V5.21_Drivers"></a>Drivers</h3><pre>
  8833. Fixes bugs:
  8834. - Many occurrences of 'const' were missing or incorrect.
  8835. (gdevpdfd.c, gdevpdfi.c, gdevpdfo.c, gdevpdft.c)
  8836. - pdfmark processing was broken by changes introduced in 5.20.
  8837. (gs_pdfwr.ps)
  8838. - pdfwrite didn't convert /Color =&gt; /C or /Title =&gt; /T in ANN and
  8839. LNK pdfmarks. (gdevpdfm.c)
  8840. - pdfwrite didn't convert /Dest =&gt; /D or /File =&gt; /F in the Action
  8841. dictionary of ANN and LNK pdfmarks. (gdevpdfm.c)
  8842. - pdfwrite didn't convert a /Launch annotation to an Action with a
  8843. dictionary. (gdevpdfm.c)
  8844. - pdfwrite didn't convert \n in annotation Contents strings to \r.
  8845. (gdevpdfm.c)
  8846. - jstrm.state was used before being set. (gdevjpeg.c)
  8847. - The SVGA devices were not identified as page devices.
  8848. (gdevsvga.c)
  8849. - The SPARCPrinter driver returned the address of a local buffer
  8850. containing an error string. (gdevsppr.c)
  8851. - pdfwrite no longer compressed character bitmaps. (bug introduced
  8852. in 5.20) (gdevpdfi.c)
  8853. - pdfwrite didn't recognize _objdef syntax everywhere. (gdevpdfx.h,
  8854. gdevpdfm.c, gdevpdfo.c)
  8855. - pdfwrite didn't recognize and convert Launch and GoToR OUT
  8856. pdfmarks. (gdevpdfm.c)
  8857. - pdfwrite used a /Dest key rather than a /P key for the page number
  8858. in articles. (gdevpdfx.h, gdevpdfm.c)
  8859. - pdfwrite didn't save and write the /I dictionary for articles.
  8860. (gdevpdfx.h, gsstruct.h, gdevpdf.c, gdevpdfm.c)
  8861. Implements a parameter list "reader" that prints the parameter values on a
  8862. stream in PS/PDF syntax. (We need something like this for printing filter
  8863. parameters.) (gdevpsdf.h, gdevpdf.c, gdevpsdf.c)
  8864. Implements a write stream that just keeps track of the position. We use
  8865. this to determine how much space to allocate for data we're going to save.
  8866. (gdevpsdf.h, gdevpsdf.c)
  8867. Implements image downsampling, but not anti-aliasing, for the PDF writer.
  8868. (gdevpsdf.h, gdevpsds.h, gdevpsdi.c, gdevpsds.c)
  8869. </pre><h3><a name="V5.21_Fonts"></a>Fonts</h3><pre>
  8870. Adds Frutiger to the built-in list of sans-serif fonts. (gs_fonts.ps)
  8871. </pre><h3><a name="V5.21_Interpreter"></a>Interpreter</h3><pre>
  8872. Fixes bugs:
  8873. - Many occurrences of 'const' were missing. (gsargs.c, ialloc.c,
  8874. zdpnext.c, zfunc3.c, zshade.c)
  8875. - Some byte * =&gt; char * casts were missing. (imainarg.c)
  8876. - The stack limit check in .eqproc was wrong. (zmisc3.c)
  8877. - The paper sizes a4small and lettersmall weren't implemented.
  8878. (gs_statd.ps)
  8879. - setuserparams signalled errors on 64-bit systems. (zusparam.c)
  8880. Changes .image2 to track the change in the library. (zdps.c)
  8881. Some improvements were made to the (still not entirely functional) Type 32
  8882. font code. (zchar32.c)
  8883. Updates some filters to use the new procedure for transmitting collections
  8884. of parameters. (zfdecode.c)
  8885. Adds ISO paper sizes C0 through C6. (gs_statd.ps)
  8886. Trims down the list of #includes in iconf.c. (iconf.c)
  8887. </pre><h3><a name="V5.21_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  8888. Fixes bugs:
  8889. - CalGray color spaces with a Gamma value caused an error.
  8890. (gs_pdf.ps)
  8891. </pre><h3><a name="V5.21_Library"></a>Library</h3><pre>
  8892. Fixes bugs:
  8893. - There was a 'const' conflict in the code for handling ImageType 2
  8894. images. Fixing this properly required a small change in the ImageType 2
  8895. structure. (gsiparm2.h, gximage2.c)
  8896. - Many occurrences of 'const' were missing. (gsfunc3.h, gstrap.h,
  8897. gxgetbit.h, gdevdgbr.c, gstrap.c, gxclist.c, gxclread.c)
  8898. - A couple of enumerations had trailing commas. (gsshade.h,
  8899. gxbitfmt.h)
  8900. - The gcst parameter was omitted in the non-ANSI version of the
  8901. ENUM_PTRS_BEGIN_PROC macro. (gsstruct.h)
  8902. - gcc missed a private / non-private discrepancy. (gxpcmap.c)
  8903. - An uninitialized variable was used by mistake
  8904. (copy_params.options). (gdevdgbr.c)
  8905. - The last statement of a procedure was unreachable. (gxclpath.c)
  8906. - If a Type 2 font was transformed so that hints were not being
  8907. used, hintmask and cntrmask didn't compute the number of following bytes
  8908. correctly. (gxtype1.h, gstype2.c, gxtype1.c)
  8909. Factors out some common code in gxclip2.c into macros. (gxclip2.c)
  8910. Starts to reimplement RasterOp using the compositing framework. (gsropc.h,
  8911. gxropc.h, gsropc.c) ****** IN PROGRESS ******
  8912. Adds an equality-testing procedure for device colors. This is used both for
  8913. color images (which previously did this adhoc) and for RasterOp compositing.
  8914. (gxdcolor.h, gximage.h, gxcht.c, gxdcolor.c, gxht.c, gspcolor.c)
  8915. Implements hintmask (but not cntrmask) for Type 2 CharString fonts. I don't
  8916. know any reasonable way to test whether it's working, though. (gxtype1.h,
  8917. gstype2.c, gxhint2.c, gxhint3.c, gxtype1.c)
  8918. Adds a more convenient interface for reading and setting sets of parameters.
  8919. (gsparam.h, gsparam.c)
  8920. Pulls the decision as to whether to halftone for a given device out into a
  8921. macro. Eventually we will do something more sophisticated about this.
  8922. (gxdevice.h, gxclist.c, gxcmap.c)
  8923. Breaks apart a macro in anticipation of future usage. (gsrefct.h)
  8924. </pre>
  8925. <hr>
  8926. <h2><a name="Version5.20"></a>Version 5.20 (limited) (1/8/98)</h2>
  8927. <p>
  8928. This fileset provides enough of the Display PostScript capabilities to start
  8929. running real programs. It also adds the first few LanguageLevel 3 features
  8930. (none of which have been tested) and reorganizes the makefile structure
  8931. somewhat. There are many internal changes since 5.10, some of them still in
  8932. progress, so we expect more problems than usual.
  8933. <p>
  8934. This fileset is being provided for testing in two different configurations:
  8935. a full release, and a DPS-only package. The latter will be released with
  8936. the GPL when it is reasonably complete and reliable.
  8937. <h3><a name="V5.20_Documentation"></a>Documentation</h3><pre>
  8938. Fixes bugs:
  8939. - TrueType fonts on GS_FONTPATH weren't recognized. (use.txt)
  8940. - The argument list for gstate was incorrect. (zdevice2.c)
  8941. - There were a couple of minor errors in the e-stack documentation.
  8942. (estack.h)
  8943. - fonts.txt had several errors regarding compiled fonts.
  8944. (fonts.txt)
  8945. - An out-of-date Aladdin address still appeared in documentation.
  8946. (new-user.txt)
  8947. Updates make.txt to reflect the changes in makefile structure. (make.txt)
  8948. Notes the addition of -Z' and -Z". (use.txt)
  8949. Documents the new begin_typed_image, get_bits_rectangle,
  8950. map_color_rgb_alpha, and create_compositor driver procedures. (drivers.txt)
  8951. Moves documentation for all releases before 5.0 to history4.txt. (NEWS,
  8952. history4.txt)
  8953. Documents the addition of SHARE_JPEGLIB. (make.txt)
  8954. Removes the author's name and e-mail address from the ps2ascii man page, at
  8955. his request. (ps2ascii.1)
  8956. Documents the addition of (some) image compression facilities to ps2pdf /
  8957. pdfwrite. (ps2pdf.txt)
  8958. Documents the new -dNOINTERPOLATE and -F&lt;n&gt; switches. (use.txt)
  8959. Adds documentation for a user-contributed port to the SMS/QDOS operating
  8960. system. (new-user.txt)
  8961. Removes documentation for BGI, which is no longer supported. (use.txt)
  8962. Documents the use of the Registry and the GS_DLL environment variable on
  8963. Windows platforms. (install.txt)
  8964. </pre><h3><a name="V5.20_Procedures"></a>Procedures</h3><pre>
  8965. Fixes bugs:
  8966. - The OpenVMS makefile referred to EXTEND_NAME rather than
  8967. EXTEND_NAMES. (openvms.mak)
  8968. - A typo caused a spurious error message from lpr. (unix-lpr.sh)
  8969. - The PDF writer didn't include a needed dependency on zlib
  8970. compression. (devs.mak)
  8971. - The rule for the OS/2 printer device was wrong. (devs.mak)
  8972. - The -migrate switch was incorrectly removed from the command line
  8973. for pre-4.0 Digital Unix. (make.txt)
  8974. - The -r switch was ignored with -dNODISPLAY. (gs_init.ps)
  8975. Adds targets for Type 32 fonts (type32.dev) and PostScript LanguageLevel 3
  8976. (psl3.dev, psl3core.dev, psl3read.dev). (gs.mak, int.mak, lib.mak)
  8977. Changes the documented feature names for PostScript Level 1 and 2
  8978. interpreters from level1/2 to psl1/2. The old names are still recognized
  8979. for backward compatibility. (gs.mak, int.mak, *.mak)
  8980. Removes support for building with DCL under VMS. Building under VMS now
  8981. requires some version of make, preferably GNU make. THIS IS A
  8982. NON-BACKWARD-COMPATIBLE CHANGE, but there was plenty of lead time for users
  8983. (it was announced in 5.01, 6/22/97). (vms*.mak[deleted])
  8984. Starts to add an explicit directory name to every file in the makefiles, to
  8985. allow building multiple object versions (e.g., debug, profile, product) or
  8986. cross-building for multiple platforms in separate directories without any
  8987. makefile editing. (*.mak) Done so far:
  8988. (done) _h= devs.mak gs.mak int.mak jpeg.mak lib.mak
  8989. (done) .h devs.mak gs.mak int.mak lib.mak zlib.mak
  8990. openvms.mak os2.mak ugcclib.mak unix-end.mak
  8991. unixtail.mak wctail.mak winint.mak winlib.mak
  8992. .$(OBJ): devs.mak int.mak (except ccfonts)
  8993. lib.mak (except special compilations)
  8994. libpng.mak zlib.mak
  8995. .dev: libpng.mak zlib.mak
  8996. Gets rid of tar_cat. Building on Unix platforms now requires that make
  8997. recognize the include directive. THIS IS A NON-BACKWARD-COMPATIBLE CHANGE:
  8998. rather than editing the *head.mak files, users should now edit the unix*.mak
  8999. or dvx*.mak files (which they previously were instructed NOT to do). Aside
  9000. from this, we think the change won't actually affect anyone, since most Unix
  9001. make programs (include GNU make) do recognize this directive. (*.mak,
  9002. ansihead.mak[deleted], cc-head.mak[deleted], gcc-head.mak[deleted],
  9003. dgc-head.mak[deleted], tar_*cat[deleted], dvx-gcc.mak, unixansi.mak,
  9004. unix-cc.mak, unix-gcc.mak)
  9005. Includes the basic context machinery in every PostScript interpreter
  9006. configuration. (int.mak)
  9007. Removes the division between 'low-level' and 'high-level' band list
  9008. facilities: we once thought we might make the latter optional, but this no
  9009. longer seems useful. (lib.mak)
  9010. Introduces a new category of devices, identified to genconf as -dev2 and
  9011. created with SETDEV2 and SETPDEV2. For the moment, these are the same as
  9012. existing devices except that their static instance is const, but we plan to
  9013. make them quite different in the future: don't attempt to create any.
  9014. (devs.mak, gs.mak, genconf.c, gconf.c)
  9015. Removes the obsolete -includef resource from genconf. (genconf.c)
  9016. Removes support for IJG JPEG library v5* from the makefile, since we no
  9017. longer support these library versions. (jpeg.mak, lib.mak,
  9018. gsjerror.h[deleted], gsjpglib.h[deleted], gsjerror.c[deleted])
  9019. Makes the JPEG library use floating point if it is fast. (gsjmorec.h)
  9020. Adds a SHARE_JPEG option to the makefiles, with the necessary warning about
  9021. possible incompatibilities. (*.mak)
  9022. Replaces the CCC macro in the makefiles with CC_, the various CC* macros
  9023. with CC_* (except for CCA2K and CCAUX), and the O macro with O_; removes the
  9024. 'begin' target and the CCBEGIN macro. THIS IS A NON-BACKWARD-COMPATIBLE
  9025. CHANGE, required for the new arrangement of files into directories. (*.mak)
  9026. Replaces all occurrences of -Idir1 -Idir2 ... -Idirn in platform-generic
  9027. makefiles with $(I_)dir1 $(II)dir2 ... $(_I)dirn, and defines these macros
  9028. in platform-specific makefiles, in order to accommodate OpenVMS command
  9029. syntax. (*.mak)
  9030. Adds -fno-common to the default gcc compilation and linking switches, to
  9031. improve checking for doubly-defined externs. (unix-gcc.mak)
  9032. Adds a -dNOINTERPOLATE switch to turn off image interpolation. (gs_init.ps)
  9033. Adds a -F&lt;file&gt; switch that runs files through the run_string interface with
  9034. an 1-byte buffer. (imainarg.c)
  9035. Allows specifying the name of the gconfig.h file with -DGCONFIG_H= in the
  9036. compilation command line, to support certain multi-configuration build
  9037. procedures. (int.mak, lib.mak, gconf.h, gconf.c, gscdef.c, iconf.c)
  9038. Splits off the installation targets from unix-end.mak. (unix-end.mak,
  9039. unixinst.mak, unix*.mak, ugcclib.mak)
  9040. </pre><h3><a name="V5.20_Utilities"></a>Utilities</h3><pre>
  9041. Fixes bugs:
  9042. - A case label was misplaced. (No effect on normal operation.)
  9043. (genconf.c)
  9044. - ps2ascii had some Encoding-related problems, and a serious bug
  9045. causing the stack to grow indefinitely. (ps2ascii.ps)
  9046. Adds a new font2pcl.ps utility, for converting outline fonts to bitmapped
  9047. PCL fonts. (font2pcl.ps)
  9048. At the request of a user, modifies ansi2knr to read stdin if no input file
  9049. is supplied, and to accept an optional --filename switch to set the file
  9050. name in the #line directive. Also makes ansi2knr write the usage message on
  9051. stderr rather than stdout. (ansi2knr.c)
  9052. Adds a user-contributed Perl script that fixes compatibility problems
  9053. between MS Word output and Ghostview 1.5. (fixmswrd.pl)
  9054. Adds a new test file that produces some pretty color output. (vasarely.ps,
  9055. unix-end.mak)
  9056. Adds a user-contributed utility for producing AFM files from PFA/PFB and
  9057. optionally PFM files. (pf2afm.bat, pf2afm.ps)
  9058. </pre><h3><a name="V5.20_Drivers"></a>Drivers</h3><pre>
  9059. Fixes bugs:
  9060. - Some 'static' declarations were missing (gcc lossage). (gdevht.c,
  9061. gdevmgr.c, gdevpcfb.c, gdevrrgb.c)
  9062. - Some 'char *' should have been 'unsigned char *'. (gdevccr.c)
  9063. - The PDF writer represented non-rectangular clipping paths in a way
  9064. that could cause Acrobat to produce incorrect output. (The fix relies on
  9065. the new clipping path enumeration facility.) (gdevpdfd.c)
  9066. - get_params for the X device didn't read the WINDOWID and
  9067. .IsPageDevice parameters. (gdevx.c)
  9068. - A superseded driver was still in the distribution.
  9069. (gdevnp6.c[deleted])
  9070. - The PDF writer's default parameters didn't quite match the default
  9071. parameters of Adobe Acrobat(TM). (gdevpsdf.h)
  9072. - A cast from const byte * to const char * was omitted.
  9073. (gdevpdft.c)
  9074. - x_map_color_rgb returned incorrect values for values in the dither
  9075. cube/ramp. (gdevx.c)
  9076. Adds user-contributed drivers for:
  9077. - the Brother HL 720/730 laser printer (gdevhl7x.c);
  9078. - the Cirrus Logic CL-GD54xx SuperVGA chipset (in gdevsvga.c).
  9079. Adds stubs or dummy implementations for the new Acrobat Distiller 3.0
  9080. pdfmark features (BP/EP/SP, _objdef/OBJ, PUT/PUTINTERVAL/CLOSE). Features
  9081. not yet implemented:
  9082. - Predefining Catalog and DocInfo.
  9083. - Writing out added Catalog and Info keys.
  9084. - Special handling for Page#, Prev/This/NextPage.
  9085. - Writing out added keys in Page objects.
  9086. - Defining objects for ANN, DEST, LNK, PS.
  9087. - Writing out added keys for ANN, BP, DEST, LNK, PS.
  9088. - Adding information to streams (PUT, CLOSE).
  9089. - Writing out streams.
  9090. (gs_pdfwr.ps, gdevpdfx.h, gdevpdf.c, gdevpdfi.c, gdevpdfm.c, gdevpdfo.c)
  9091. Removes the DoThumbnails distiller parameter, which Acrobat Distiller 3.0 no
  9092. longer supports. (gs_pdfwr.ps, gdevpdfx.h, gdevpdf.c, gdevpdfp.c)
  9093. Starts to eliminate or segregate writable globals that point to
  9094. heap-allocated data, as in the interpreter (see below); specifically, makes
  9095. all device and xfont procedure structures const in devices that Aladdin
  9096. maintains. Note that this involves a NON-BACKWARD-COMPATIBLE CHANGE in the
  9097. get_xfont_procs device procedure (to add const to the return type); this
  9098. only affects the 3 implementations of xfonts. (gdevprn.h, gdevdjet.c,
  9099. gdevm1.c, gdevpccm.c, gdevpdf.c, gdevpdfm.c, gdevpdft.c, gdevps.c,
  9100. gdevpsdf.c, gdevpx.c; gxdevice.h, gxxfont.h, gdevbgi.c, gdevbit.c,
  9101. gdevbmp.c, gdevdflt.c, gdevdjet.c, gdevlj56.c, gdevmiff.c, gdevmsxf.c,
  9102. gdevnfwd.c, gdevpbm.c, gdevpcfb.c, gdevpdf.c, gdevpng.c, gdevprn.c,
  9103. gdevps.c, gdevpx.c, gdevs3ga.c, gdevsvga.c, gdevtfax.c, gdevtfnx.c,
  9104. gdevvglb.c, gdevwddb.c, gdevwdib.c, gdevwpr2.c, gdevwprn.c, gdevx.c,
  9105. gdevxalt.c, gdevxxf.c, gxccman.c)
  9106. Makes the statically allocated device templates const in some devices, using
  9107. the new -dev2 device resource type. NOTE: the meaning of -dev2 is subject
  9108. to change without notice in future releases. (gdevdjet.c, gdevpdf.c,
  9109. gdevps.c, gdevpx.c, gdevvglb.c)
  9110. Adds a new begin_typed_image driver procedure which is called for all types
  9111. of images, not just ImageType 1. The default implementation calls
  9112. begin_image if the ImageType is 1. (gdevmem.h, gdevprn.h, gsiparam.h,
  9113. gxdevice.h, gdevbbox.c, gdevdflt.c, gdevht.c, gdevmrop.c, gdevnfwd.c,
  9114. gxacpath.c, gxclimag.c, gxclip2.c, gxclist.c, gxcpath.c, gxpcmap.c)
  9115. Adds a new get_bits_rectangle driver procedure which allows reading back an
  9116. arbitrary rectangle of bits from the device, not just a single full scan
  9117. line. The default implementation calls get_bits, being careful to avoid a
  9118. recursion loop; the default implementation of get_bits calls
  9119. get_bits_rectangle similarly. This procedure has a lot of flexibility,
  9120. almost all of which is ultimately provided by the implementation in memory
  9121. devices. (gdevmem.h, gsbitops.h, gxcindex.h, gxdevice.h, gdevbbox.c,
  9122. gdevdflt.c, gdevdgbr.c, gdevht.c, gdevm*.c, gdevmem.c, gdevmpla.c,
  9123. gdevnfwd.c, gxbitfmt.h, gxclip2.c, gxclist.c, gxclread.c, gxcpath.c,
  9124. gxgetbit.h)
  9125. Removes support for the BGI (Borland Graphics Interface) device, since we no
  9126. longer support the Borland compilers for MS-DOS. (devs.mak, dvx-head.mak,
  9127. openvms.mak, unixhead.mak, gdevbgi.c[deleted])
  9128. Speeds up x_map_color_rgb by avoiding server access in most cases.
  9129. (gdevx.h, gdevx.c, gdevxini.c)
  9130. Implements get_bits_rectangle in the X driver in place of get_bits.
  9131. (gdevx.c, gdevxalt.c)
  9132. Implements begin_typed_image for ImageType 2 images in the X driver, as an
  9133. example of how a driver can implement this function itself. (gdevx.c)
  9134. Adds a call on the DCTEncode set_defaults procedure, which is now required
  9135. (see under Streams below). (gdevjpeg.c)
  9136. Implements a substantial part of the Distiller image compression machinery.
  9137. See ps2pdf.txt for details. (gdevpdfx.h, gdevpsdf.h, gdevpdf.c, gdevpdfi.c,
  9138. gdevps.c, gdevpsdf.c, gdevpsdi.c, gdevpsdp.c, gdevpsds.c)
  9139. Adds a map_color_rgb_alpha driver procedure, complementing
  9140. map_rgb_alpha_color. (gdevmem.h, gdevprn.h, gxdevice.h,
  9141. gdevbbox.c, gdevdflt.c, gdevht.c, gdevmrop.c, gdevnfwd.c, gdevprn.c,
  9142. gxclip2.c, gxclist.c, gxcmap.c, gxcpath.c)
  9143. Splits off gxdevcli.h (client definitions) from gxdevice.h, which had gotten
  9144. very large. This doesn't do much good yet in terms of reducing dependencies
  9145. and compilation time, because every client still includes gxdevice.h, but
  9146. it's the raw material for doing so in the future. (gxdevcli.h, gxdevice.h)
  9147. Adds alpha tracking to the command list. (gxclpath.h, gxclimag.c,
  9148. gxclpath.c, gxclread.c)
  9149. Changes the 'show' pseudo-parameter for the PDF writer so that it takes
  9150. multiple additional parameters instead of a dictionary. This greatly
  9151. reduces garbage collection overhead. (gs_pdfwr.ps, gdevpdfx.h, gdevpdfp.c,
  9152. gdevpdft.c)
  9153. Adds a create_compositor driver call for handling compositing. (gdevbbox.h,
  9154. gdevmem.h, gdevprn.h, gsdevice.h, gxdevcli.h, gxdevice.h, gdevbbox.c,
  9155. gdevdflt.c, gdevht.c, gdevnfwd.c, gsdevice.c, gxclimag.c, gxclip2.c,
  9156. gxclist.c, gxcpath.c, gxpcmap.c)
  9157. Updates drivers to account for the more careful handling of file name
  9158. length. (gdevpdfx.h, gdevwprn.c)
  9159. Adds a user-contributed enhancement to make the Epson dot matrix driver work
  9160. at 180x60dpi and 240x180dpi for 24 pin printers. (gdevepsn.c)
  9161. </pre><h3><a name="V5.20_Platforms"></a>Platforms</h3><pre>
  9162. Fixes bugs:
  9163. - The Windows platform didn't put stdin into binary mode.
  9164. (dwmainc.cpp)
  9165. Removes all remaining uses of gs_malloc and gs_free in platform-specific
  9166. code. (gp_dosfb.c, gp_vms.c)
  9167. Adds a platform-specific gp_getenv call, to allow the Windows implementation
  9168. to consult the Registry. (gp.h, gpgetenv.h, gp_getnv.c, gp_wgetv.c, *.mak,
  9169. gp_win32.c)
  9170. Separates out the declaration of popen and pclose, which may be declared
  9171. correctly in stdio.h, incorrectly in stdio.h, or not at all, depending on
  9172. the platform. (lib.mak, unixtail.mak, pipe_.h, gdevpipe.c, gp_os2.c,
  9173. gp_os9.c, gp_unix.c)
  9174. Tweaks the platform-workaround header file conditionals a little more.
  9175. (malloc_.h, memory_.h).
  9176. Makes the Windows DLL check the GS_DLL environment/registry variable for the
  9177. location of the DLL. (dwdll.cpp)
  9178. Defines the maximum length for the file name returned by
  9179. gp_open_scratch_file, and possibly by gp_open_printer. (gp.h, gp_*.c)
  9180. </pre><h3><a name="V5.20_Fonts"></a>Fonts</h3><pre>
  9181. Fixes bugs:
  9182. - A 'flush' was missing from a debugging message. (gs_fonts.ps)
  9183. - Type 2 fonts didn't always have a PaintType entry. (gs_cff.ps)
  9184. - CIDFontType 0 fonts were broken, probably because of a recently
  9185. added validity test in the C code. (gs_cidfn.ps)
  9186. - Font types without an Encoding caused an error (in .completefont).
  9187. (gs_fonts.ps)
  9188. - composefont required the elements of the font array to be actual
  9189. fonts, rather than allowing font names. (gs_cidfn.ps)
  9190. - composefont required that all elements of the font array have
  9191. CIDSystemInfo dictionaries. (Adobe has said that their interpreters don't
  9192. check for this in some cases, but it's a bug. Unfortunately, by now it's an
  9193. established one.) (zfcmap.c)
  9194. Adds .dir to the list of file suffixes known not to be fonts. (gs_fonts.ps)
  9195. </pre><h3><a name="V5.20_Interpreter"></a>Interpreter</h3><pre>
  9196. Fixes bugs:
  9197. - A Type 2 font that provided fewer CharStrings than charset
  9198. elements caused an error. (gs_cff.ps)
  9199. - If a context was joined before it terminated, its stack was never
  9200. copied to the joining context. (zcontext.c)
  9201. - Freeing a context didn't free most of its substructures.
  9202. (icontext.h, istack.h, icontext.c, interp.c, istack.c, zcontext.c)
  9203. - save and restore didn't save and restore the user parameters.
  9204. (gs_lev2.ps, zvmem2.c)
  9205. - %stdin and %stdout weren't defined per-context. (files.h,
  9206. icontext.h, icontext.c, ziodev.c)
  9207. - Switching contexts didn't clean up the stacks. (The current way
  9208. we do this is very inefficient: we should use a special null for filling the
  9209. untouched area, so we can use it to detect the high water mark.)
  9210. (icontext.c)
  9211. - A cast from const to non-const was missing. (zdpnext.c)
  9212. - User parameters weren't managed per-context. (The current way we
  9213. do this is inefficient.) (gs_dps.ps, gs_init.ps, gs_lev2.ps, isave.h,
  9214. icontext.c, iinit.c, isave.c, zcontext.c, zusparam.c)
  9215. - Some operand checks weren't wrapped in do { ... } while(0),
  9216. possibly leading to incorrect parsing of 'if's. (opcheck.h)
  9217. - If a context terminated with unmatched saves, the restores weren't
  9218. executed. (isave.h, isave.c, zcontext.c)
  9219. - If two or more contexts shared the same global VM, the outermost
  9220. restore (which in this case saves only local VM) checked for invalidrestore
  9221. incorrectly. (isave.c)
  9222. - resourceforall didn't remove its own temporary values from the
  9223. operand stack when calling the procedure. (gs_res.ps)
  9224. - resourceforall returned local instances even when currentglobal
  9225. was true. (gs_res.ps)
  9226. - If a context had unmatched saves, other contexts sharing the same
  9227. local VM weren't blocked from running. (zcontext.c)
  9228. - The NeXT compositing operations (Copy, etc.) weren't defined in
  9229. systemdict. (gs_dpnxt.ps)
  9230. - In the case of a stack overflow, some garbage could get left on
  9231. the stack. (istack.c)
  9232. - Stack overflow was reported prematurely -- typically when the
  9233. stack depth had reached half the specified limit. (istack.c)
  9234. - Freed ref arrays weren't filled with nulls, which could confuse
  9235. the garbage collector later. (ialloc.c)
  9236. - Certain stack overflow conditions could put a stack into an
  9237. anomalous state that confused the garbage collector. (istack.c)
  9238. - The maximum stack size could not be set to a value smaller than
  9239. the current allocated space, but the minimum value should be the number of
  9240. entries actually in use. (istack.c)
  9241. - If .buildfont* had to add any elements to the font dictionary, a
  9242. temporary pointer to the Encoding, FDepVector, or sfnts could become
  9243. invalid, causing crashes or confusion. (zfont0.c, zfont2.c, zfont42.c)
  9244. Changes exit, stop, and .stop so that if there is no matching dynamically
  9245. enclosing context (loop or stopped), the effect is a quit, like the Adobe
  9246. interpreters, and not an invalidexit. (zcontrol.c)
  9247. Adds support for ImageTypes other than 1. (gs_init.ps, gs_lev2.ps,
  9248. gs_res.ps, zimage2.c)
  9249. Adds support for LanguageLevel 3 features:
  9250. - Idiom recognition in 'bind'. (gs_init.ps, gs_dps.ps, gs_lev2.ps,
  9251. gs_ll3.ps, zmisc3.c)
  9252. - HalftoneTypes 6, 10, and 16. (gs_ll3.ps)
  9253. - FunctionType resource category. (gs_ll3.ps)
  9254. - FunctionType 2 and 3 Functions. (zfunc3.c)
  9255. - PatternType 2 and smooth shading (structures and API only, no
  9256. algorithms). (gs_init.ps, gs_ll3.ps, gs_res.ps, zshade.c)
  9257. - In-RIP trapping (structures and API only, no algorithms).
  9258. (gs_ll3.ps, ztrap.c)
  9259. - ImageType 3 and 4 (masked images) (structures and parsing only, no
  9260. algorithms). (gs_ll3.ps, gs_res.ps, iimage2.h, zimage.c, zimage2.c,
  9261. zimage3.c)
  9262. - DevicePixel color space. (gs_lev2.ps, zcolor2.c, zcspixel.c)
  9263. - DeviceN color space. (gs_lev2.ps, igstate.h, zcsdevn.c)
  9264. Adds support for Type 32 fonts. (gs_cidfn.ps, gs_init.ps, gs_typ32.ps,
  9265. zchar32.c, zfont32.c)
  9266. Adds debugging printout to the CFF loader. (gs_cff.ps)
  9267. Removes support for _ds pointers referencing the stacks, since we no longer
  9268. support 16-bit implementations. (iref.h, istack.h, interp.c, ireclaim.c,
  9269. istack.c)
  9270. Removes all #ifdef DPNEXT conditionalization. (We had intended to use this
  9271. to delimit blocks of code to be released with the GPL, but we're now
  9272. planning to release a much larger number of files.) (igstate.h, interp.h,
  9273. istruct.h, interp.c, zgstate.c)
  9274. Allows user parameters to be implemented partly in PostScript code, since
  9275. this is required for some LanguageLevel 3 features (currently only
  9276. IdiomRecognition). (gs_lev2.ps)
  9277. Removes most of the references to a global process scheduler. Completing
  9278. this will require passing an interpreter state structure to all operators in
  9279. place of the operand stack pointer, which we aren't prepared to contemplate
  9280. yet. (zcontext.c)
  9281. Adds tracing for context operations, -Z' and -Z". (zcontext.c)
  9282. Changes def so that it doesn't have a special exception for storing
  9283. references to local objects into systemdict or its subsidiary dictionaries
  9284. during initialization: such stores now must use .forceput (or .forcedef,
  9285. defined in gs_init.ps using .forceput); changes .forceput to allow storing a
  9286. local reference into any global dictionary, not only systemdict, if the save
  9287. level is 0. (gs_dps1.ps, gs_init.ps, gs_lev2.ps, gs_pdfwr.ps, gs_res.ps,
  9288. gs_statd.ps, zdict.c)
  9289. Moves all of the initialization of internaldict to PostScript code.
  9290. (gs_init.ps, iinit.c, zcontrol.c)
  9291. Moves the JobName user parameter from C to PostScript code. (gs_lev2.ps,
  9292. zusparam.c)
  9293. Adds to every dictionary a pointer to the allocator that created it. This
  9294. allows us to create and grow dictionaries without having to reference any
  9295. global variables. (idict.h, idict.c, iinit.c)
  9296. Implements the localfork operator, which creates contexts with private local
  9297. VM. (gs_dps.ps, gs_init.ps, dstack.h, gsalloc.h, ialloc.c, icontext.c,
  9298. iinit.c, interp.c, zcontext.c)
  9299. Systematizes reliable access to variables in systemdict and userdict.
  9300. (gs_dps1.ps, gs_dps2.ps, gs_fonts.ps, gs_init.ps, gs_lev2.ps, gs_statd.ps,
  9301. gs_type1.ps)
  9302. Starts to eliminate or segregate writable globals that point to
  9303. heap-allocated data. (Writable globals containing procedures,
  9304. run-time-settable switches, pointers to static data, or non-pointer values
  9305. that are initialized once and idempotently are OK.) (iconf.c, iinit.c,
  9306. imain.c, imainarg.c, interp.c, zfont1.c, zht2.c, ziodev.c, ztype.c,
  9307. zupath.c, zusparam.c)
  9308. Adds support for ImageType 2 (device source) images. (gs_dps.ps, zdps.c)
  9309. Adds begin_typed_image to internal device procedure vectors. (zupath.c)
  9310. Increases the maximum stack sizes to match the Adobe implementation more
  9311. closely. (gs_init.ps)
  9312. Adds a file_is_invalid macro to work around a bug in the Borland 5.0
  9313. compiler. (files.h, ziodev.c, zvmem.c)
  9314. Changes the character cache to be allocated in the C heap rather than global
  9315. VM. This is required because cache chunks are now allocated from the same
  9316. allocator as the cache. (zfont.c)
  9317. Implements sizeimage and readimage, including a new .getbitsrect operator.
  9318. (gs_dpnxt.ps, gs_init.ps, zdevice.c, zdpnext.c)
  9319. Resets the maximum stack sizes earlier in initialization. (gs_init.ps)
  9320. Tweaks the default CRD slightly (syntactically, not the content).
  9321. (gs_lev2.ps)
  9322. Adds support for PatternTypes other than 1. (gs_init.ps, gs_lev2.ps,
  9323. gs_res.ps, zpcolor.c)
  9324. Adds a pointer to the C heap allocator to the gs_main_instance structure,
  9325. working towards the goal of removing all references to gs_memory_default.
  9326. (iminst.h)
  9327. Removes all remaining uses of gs_malloc and gs_free from the interpreter.
  9328. (igc.h, igc.c, imain.c, zfdctd.c, zfdcte.c)
  9329. Adds an explicit #include for all remaining uses of gs_memory_default in the
  9330. interpreter. (zfdctd.c, zfdcte.c, zvmem.c)
  9331. Adds a map_color_rgb_alpha driver procedure, complementing
  9332. map_rgb_alpha_color. (zupath.c)
  9333. Removes the obsolete writeppmfile operator. (zwppm.c[deleted])
  9334. Updates the implementation of the image operators to match the change from
  9335. HasAlpha to Alpha in the image definition structure. (iimage.h, zcolor1.c,
  9336. zimage.c)
  9337. Reimplements upath in C code, since UnpaintedPath requires it. (zupath.c)
  9338. Updates interpreter code for the change in the GC interface. (imemory.h,
  9339. istruct.h, icontext.c, igc.c, igcref.c, igcstr.c, ilocate.c, iname.c,
  9340. isave.c, iscan.c, istack.c, zfproc.c)
  9341. Implements the compositing operators. (zdpnext.c, zdps.c, zupath.c)
  9342. Changes some matrix operators to pass unpacked matrices on the stack.
  9343. (zmatrix.c)
  9344. Moves the alpha-related operators to where they belong. (zcolor.c,
  9345. zdpnext.c)
  9346. Changes all calls on getenv to gp_getenv. (imainarg.c, zmisc.c)
  9347. </pre><h3><a name="V5.20_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  9348. Fixes bugs:
  9349. - PostScript pass-throughs caused an error. They are now always
  9350. executed; probably we should offer the option of not executing them, for
  9351. closer compatibility with Acrobat. (pdf_draw.ps, pdf_main.ps)
  9352. - Font resources, unlike all other types of resources, couldn't be
  9353. inherited from an ancestor Page(s) object. (pdf_font.ps)
  9354. - Resources appearing only in Form or Pattern dictionaries weren't
  9355. recognized as being present. (pdf_base.ps, pdf_draw.ps, pdf_main.ps)
  9356. Moves closer to supporting Type 0 (and CID) fonts. (pdf_font.ps)
  9357. </pre><h3><a name="V5.20_Streams"></a>Streams</h3><pre>
  9358. Fixes bugs:
  9359. - If the image was very narrow or very shallow, the interpolated
  9360. image scaling stream could make an invalid memory reference. (siscale.c)
  9361. Removes the last few references to gs_malloc and gs_free from stream code.
  9362. Clients now *must* call the set_defaults procedure for the DCT filters
  9363. before initializing them: THIS IS A NON-BACKWARD-COMPATIBLE CHANGE.
  9364. (sdct.h, sdctd.c, sdcte.c, sjpegc.c)
  9365. Adds an explicit #include for all remaining uses of gs_memory_default.
  9366. (sdctd.c, sdcte.c, szlibd.c, szlibe.c)
  9367. </pre><h3><a name="V5.20_Library"></a>Library</h3><pre>
  9368. Fixes bugs:
  9369. - Some files that included shc.h didn't include scommon.h. (shc.h)
  9370. - A file didn't include std.h before &lt;stdio.h&gt;. (gslib.c)
  9371. - There was an unnecessary extern (cleanup only). (gscsepr.c)
  9372. - The uid.xvalues member of gs_client_pattern structures wasn't
  9373. traced by the GC. (gspcolor.h)
  9374. - If an Interpolated image reached the end of the input at exactly
  9375. the wrong time, an assertion could fail. (gxiscale.c)
  9376. - With non-ANSI compilers, an integer constant passed to the fmod
  9377. library function, which requires a floating point argument, could cause a
  9378. floating point exception or an incorrect result. (gsmisc.c)
  9379. - An error in computing the bounding box sometimes caused strokes to
  9380. print incorrectly (for example, some graduated fills printed incorrectly).
  9381. (gxstroke.c)
  9382. Implements an undocumented (!) feature of Type 2 CharStrings, namely that if
  9383. the endchar operator is invoked with 4 or 5 operands on the stack, it is
  9384. equivalent to the Type 1 seac operator (without the asb operand). This
  9385. required changing the implementation of seac so that it does the base
  9386. character first, rather than the accent. (gxtype1.h, gstype1.c, gstype2.c,
  9387. gxtype1.c)
  9388. Adds support for ImageTypes other than 1. (gsiparam.h, gximage.h,
  9389. gxiparam.h, gdevddrw.c, gsimage.c, gximage.c, gximage0.c)
  9390. Adds support for ImageType 2 (device source) images. Currently we only
  9391. handle the simplest case (source is not transformed). (gsimage.h,
  9392. gsiparm2.h, gsimage.c, gximage2.c)
  9393. Adds support for LanguageLevel 3 features:
  9394. - FunctionType 2 and 3 Functions. (gsfunc3.h, gsfunc3.c)
  9395. - PatternType 2 and smooth shading (structures and API only, no
  9396. algorithms). (gscolor3.h, gsptype2.h, gsshade.h, gxistate.h, gscolor3.c,
  9397. gsshade.c)
  9398. - In-RIP trapping (structures and API only, no algorithms).
  9399. (gstrap.h, gstrap.c)
  9400. - ImageType 3 (masked images) (structures and API only, no
  9401. algorithms). (gsiparm3.h, gximage3.c)
  9402. - ImageType 4 (chroma-keyed masked images). (gsiparm4.h,
  9403. gximage4.c)
  9404. - DevicePixel color space. (gscpixel.h, gscspace.h, gscpixel.c,
  9405. gximono.c)
  9406. - DeviceN color space. (gscspace.h, gscdevn.c)
  9407. Removes the #ifdef FUTURE around the code for passing multi-plane and
  9408. interpolated images through the band list (version 5.01) and for banded
  9409. filling and stroking with colored halftones (version 4.71). This code is
  9410. now part of the standard release. (gxcldev.h, gxclpath.h, gxdht.h,
  9411. gxhttype.h, gsht.c, gxclimag.c, gxclread.c, gximage.c)
  9412. Adds a _ptrs6 structure definition macro. (gsstruct.h)
  9413. Removes #ifdef DPNEXT conditionalization, as in the interpreter (see above).
  9414. (gzstate.h, gsdps.c, gsstate.c, gximage.c, gximage5.c)
  9415. Starts to eliminate or segregate writable globals that point to
  9416. heap-allocated data, as in the interpreter (see above). (gsbittab.h,
  9417. gscdefs.h, gsdcolor.h, gxclist.h, gxsample.h, gzht.h, gconf.c, gsbitops.c,
  9418. gsbittab.c, gscdef.c, gsdparam.c, gsflip.c, gsinit.c, gsmatrix.c,
  9419. gspcolor.c, gsstate.c, gxcht.c, gxclist.c, gxcmap.c, gxdcolor.c, gxdither.c,
  9420. gxht.c, gximage.c)
  9421. Removes the division between 'low-level' and 'high-level' band list
  9422. facilities. (gxcldev.h, gxclimag.c, gxclist.c, gxclpath.c)
  9423. Renames gximage*.c as gxi*.c, since these files apply only to ImageType 1
  9424. images and the use of numerical suffixes was confusing. (gximage.c =&gt;
  9425. gxiinit.c, gximage0.c =&gt; gxidata.c, gximage1.c =&gt; gxifast.c,
  9426. gximage2.c =&gt; gximono.c, gximage3.c =&gt; gxicolor.c, gximage4.c =&gt;
  9427. gxi12bit.c, gximage5.c =&gt; gxiscale.c)
  9428. Provides the ability to enumerate a clipping path (based on the clipping
  9429. list) using an enumerator, in the same way as an ordinary path. (gxpath.h,
  9430. gzcpath.h, gzpath.h, gxcpath.c, gxpath2.c)
  9431. Speeds up mem_mapped4_copy_mono substantially. (gdevm4.c)
  9432. Removes all remaining uses of gs_malloc and gs_free in the library, other
  9433. than in drivers. This turned out to require changing a couple of
  9434. initialization APIs. (gsfont.h, gslib.h, gxdevice.h, gxfcache.h, gsfont.c,
  9435. gxccman.c)
  9436. Reduces the writable statics related to the default (C heap) allocator to a
  9437. single pointer. (gsmalloc.h, gsmemory.h, gsinit.c, gsmemory.c)
  9438. Adds support for PatternTypes other than 1. (gscolor2.h, gspcolor.h,
  9439. gsptype1.h, gxcolor2.h, gspcolor.c)
  9440. Adds an explicit #include for all remaining uses of gs_memory_default that
  9441. aren't covered by gxdevice.h. (gxclmem.c)
  9442. Splits off the default implementations of the bit-copying device procedures,
  9443. because the file was getting too large. (gdevdbit.c, gdevdflt.c)
  9444. Adds a procedure for calculating the difference of two rectangles, needed
  9445. for Type 2 images. (gsrect.h, gxpath.h, gsutil.c)
  9446. Extends the image machinery to allow alpha values to either precede or
  9447. follow color values in image data, replacing HasAlpha with Alpha in the
  9448. ImageType 1 image structure. (gsiparam.h, gximage.h, gsimage.c, gxclimag.c,
  9449. gxclread.c, gxicolor.c, gxiinit.c, gxiscale.c)
  9450. Extends the path enumeration API to decouple path copying from coordinate
  9451. transformation. (gspath.h, gzpath.h, gspath1.c, gxpath2.c)
  9452. Changes the garbage collector interface so that all procedures are passed
  9453. through a structure rather than being referenced as externs. This allows
  9454. programs other than the GC itself to enumerate and relocate pointers, and
  9455. also removes all static dependencies on the GC from the library. This
  9456. involves a NON-BACKWARD-COMPATIBLE CHANGE to the argument list of enum_ptrs
  9457. procedures, and to the implementation of both enum_ptrs and reloc_ptrs. (We
  9458. hope that the new macros we've introduced will avoid non-backward-compatible
  9459. changes in the future.) (gsstruct.h, gdevmem.c, gsalloc.c, gscdevn.c,
  9460. gscolor.c, gscolor2.c, gscsepr.c, gsdevice.c, gsfont.c, gshtscr.c,
  9461. gsimage.c, gsmemory.c, gspcolor.c, gsstate.c, gxcmap.c, gxcpath.c, gxht.c,
  9462. gxiinit.c)
  9463. Moves the image compositing code into the library from its inappropriate
  9464. home in the interpreter. (gsdpnext.h)
  9465. Splits up gsbitops.h into client interface and implementation support.
  9466. Removes some obsolete code at the same time. (gdevmem.h, gsbitops.h,
  9467. gxbitops.h, gsbitops.c)
  9468. Creates the concept of compositing functions and compositing devices
  9469. (compositors). (gscompt.h, gxcomp.h)
  9470. Implements the default compositor for alpha-based compositing. (gsalphac.h,
  9471. gsalphac.c)
  9472. Creates a store_alpha device that adds alpha channel storage to any other
  9473. device. (gdevalph.c)
  9474. Moves alpha channel capability into the dpsnext feature, where it should
  9475. have been all along. (gsalpha.h, gscolor.h, gsalpha.c, gscolor.c,
  9476. gsstate.c)
  9477. Implements color premultiplying by (non-unity) alpha values. Currently we
  9478. always premultiply towards white: see gxalpha.h for some comments.
  9479. (gxalpha.h, gxcmap.c)
  9480. Reduces the amount of boilerplate in the RasterOp implementation table.
  9481. (gsroptab.c)
  9482. Adds an arg_push_temp_string procedure to accommodate the new gp_getenv
  9483. call. (gsargs.h, gsargs.c)
  9484. Updates various library APIs to account for the more careful handling of
  9485. file name length. (gdevprn.h, gxclio.h, gxclist.h, gsdevice.c, gxclfile.c,
  9486. gxclmem.c)
  9487. </pre>
  9488. <hr>
  9489. <h2><a name="Version5.10"></a>Version 5.10 (11/23/97)</h2>
  9490. <p>
  9491. This release, not originally planned, greatly reduces the size of PDF files
  9492. produced by the pdfwrite device, fixes a number of minor problems in PDF
  9493. output, and optionally produces output compatible with Acrobat 2.x, in order
  9494. to address problems reported by NSF in processing these files as part of
  9495. their FastLane electronic proposal submission process. Aside from that, and
  9496. some localized bug fixes, it has minimal changes from 5.03.
  9497. <h3><a name="V5.10_Documentation"></a>Documentation</h3><pre>
  9498. Fixes bugs:
  9499. - ansihead.mak referred to unix-ansi.mak, which is actually named
  9500. unixansi.mak. (ansihead.mak)
  9501. - README referred to an "If you need help" section that was moved to
  9502. new-user.txt. (README)
  9503. Updates build information for HP-UX systems. (make.txt)
  9504. Updates the information for getting Martin Lottermoser's hpdj driver.
  9505. (new-user.txt)
  9506. Improves the error message when a user tries to invoke gswin32c without
  9507. explicitly selecting a device. (dwmainc.cpp)
  9508. Removes the author's name and e-mail address from the pdf2ps man page, at
  9509. his request. (pdf2ps.1)
  9510. Improves the documentation for BandBufferSpace. (language.txt)
  9511. </pre><h3><a name="V5.10_Procedures"></a>Procedures</h3><pre>
  9512. Changes the VMS command files so that they don't echo the commands.
  9513. (append_l.com, copy_one.com, rm_all.com, rm_one.com)
  9514. </pre><h3><a name="V5.10_Utilities"></a>Utilities</h3><pre>
  9515. Fixes bugs:
  9516. - The "lp" command files all inappropriately set the top margin to
  9517. 0.1". (lp386.bat, lp386r2.bat, lpgs, lpgs.bat, lpr2, lpr2.bat)
  9518. - The lp386[r2].bat command files inappropriately set the
  9519. LanguageLevel to 1. (lp386.bat, lp386r2.bat)
  9520. </pre><h3><a name="V5.10_Drivers"></a>Drivers</h3><pre>
  9521. Fixes bugs:
  9522. - The PDF writer got confused about the current color if the input
  9523. contained text strings separated only by color changes. (gdevpdf.c)
  9524. - Some casts between const char * and const byte * were incorrect
  9525. (warnings only). (gdevpdft.c)
  9526. Adds a NoCancel parameter to the winpr2 device, which suppresses display of
  9527. the dialog box. (gdevwpr2.c)
  9528. </pre><h3><a name="V5.10_Interpreter"></a>Interpreter</h3><pre>
  9529. Fixes bugs:
  9530. - An "extern" was omitted, causing a duplicate definition of
  9531. build_function_procs. (ifunc.h)
  9532. - The global pseudo-operator table was too small, causing a
  9533. limitcheck in ps2ascii. (iinit.c)
  9534. - setcolorspace with a Pattern space with no underlying space would
  9535. cause an error if the current color space was a Pattern space. (zpcolor.c)
  9536. - The Decode key was optional, not required, in the dictionary form
  9537. of image[mask]. (zimage2.c)
  9538. Adds two more PCL/PJL reset sequences to the list of sequences to ignore.
  9539. (gs_init.ps)
  9540. </pre><h3><a name="V5.10_Library"></a>Library</h3><pre>
  9541. Fixes bugs:
  9542. - Multi-screen color halftones could produce "seams". (gxcht.c)
  9543. - A bug in the gcc optimizer on H-P RISC workstations caused all
  9544. curves to be output as lines. (gxpflat.c)
  9545. - If a non-standard OtherSubr was called before the [h]sbw in a Type
  9546. 1 font, a crash could occur. (gxhint3.c)
  9547. - gxclist.c didn't include string_.h. (gxclist.c)
  9548. </pre>
  9549. <hr>
  9550. <h2><a name="Version5.07"></a>Version 5.07 (limited) (10/31/97)</h2>
  9551. <p>
  9552. A few more bug fixes for the 5.10 release.
  9553. <h3><a name="V5.07_Documentation"></a>Documentation</h3><pre>
  9554. Fixes bugs:
  9555. - Some file and directory names hadn't been updated to match the new
  9556. directory structure on the primary server. (make.txt, new-user.txt)
  9557. Adds the URL for reaching URW++. (Fontmap.*)
  9558. </pre><h3><a name="V5.07_Drivers"></a>Drivers</h3><pre>
  9559. Fixes bugs:
  9560. - Because the C % operator isn't equivalent to 'modulus' for
  9561. negative numerators, gx_default_strip_tile_rectangle could crash in some
  9562. cases. (gxdevice.h, gdevdflt.c)
  9563. - In the PDF writer, Dest values were correct (page numbers) for
  9564. GoToR actions, but were incorrect (should be page object references) for
  9565. other actions; also, Rect values were transformed, but should not be.
  9566. (gdevpdfm.c)
  9567. - In the PDF writer, articles and bookmarks could attempt to write
  9568. multiple Contents streams, which is not allowed. (gdevpdfx.h, gdevpdf.c,
  9569. gdevpdfm.c)
  9570. - The PDF writer ignored PS (PostScript pass-through) pdfmarks.
  9571. (gdevpdfm.c)
  9572. - The PDF writer didn't write out the color space parameters for
  9573. CIE-based spaces. (gdevpdfi.c)
  9574. </pre><h3><a name="V5.07_Library"></a>Library</h3><pre>
  9575. Fixes bugs:
  9576. - Suffix subclass structures with 4 added pointers skipped the first
  9577. pointer in the superclass when garbage collecting, possibly causing invalid
  9578. memory accesses. (gsstruct.h)
  9579. - An argument list incompatibility in a procedure used in a static
  9580. structure initialization upset some compilers. (gsfunc.h, gsfunc0.c)
  9581. </pre>
  9582. <hr>
  9583. <h2><a name="Version5.06"></a>Version 5.06 (limited) (10/7/97)</h2>
  9584. <p>
  9585. This fixes a few more bugs in the PDF writer, and a few other very obscure
  9586. problems. It also adds support for Functions and brings multiple contexts
  9587. closer to working, neither of which we expect actually to be used any time
  9588. soon. This is intended to be the candidate fileset for the 5.10 release,
  9589. but since we had to tinker with a delicate part of the PDF writer to fix a
  9590. problem affecting visual quality with Acrobat, there may be new bugs that
  9591. will have to be fixed in yet another candidate fileset.
  9592. <h3><a name="V5.06_Documentation"></a>Documentation</h3><pre>
  9593. Fixes bugs:
  9594. - Jim McPherson's e-mail address was out of date. (devices.txt)
  9595. - Invoking ps2pdf with only a single file name is supported on some
  9596. versions of Windows NT and OS/2, not only on Unix. (ps2pdf.txt)
  9597. - The ps2pdf documentation didn't indicate that ps2pdf can use the
  9598. Windows "console mode" executable as well as the MS-DOS executable.
  9599. (ps2pdf.txt)
  9600. - The list of which Distiller parameters actually have an effect was
  9601. incorrect. (gdevpdfp.c)
  9602. Notes that the cdj550 driver is compatible with the H-P 660C and 660Cse.
  9603. (devs.mak, devices.txt)
  9604. Adds a note about using Acrobat Reader fonts. (install.txt, use.txt)
  9605. Notes that the LJ 5P, like the 5L, is not a PCL XL printer. (devs.mak)
  9606. Notes problems and possible problems with certain versions of the Borland
  9607. C++ compiler. (make.txt)
  9608. Notes the change in -Z:. (use.txt)
  9609. Updates the uniprint documentation for this release. (devices.txt)
  9610. Expands the rationale for the large resolution in the bbox device.
  9611. (gdevbbox.c)
  9612. Notes that the H-P DeskJet 600 series can use the djet500 driver with -r600.
  9613. (devs.mak)
  9614. </pre><h3><a name="V5.06_Procedures"></a>Procedures</h3><pre>
  9615. Fixes bugs:
  9616. - Vector devices didn't include a necessary dependency on the stream
  9617. package. (lib.mak)
  9618. - There were several bugs in the ps2pdf.bat file. (ps2pdf.bat)
  9619. Changes -Z: so it prints some summary lines as well as minimal information
  9620. about banding. This makes the -ZA trace compatible with our memory leak
  9621. tool. (iminst.h, imain.c)
  9622. </pre><h3><a name="V5.06_Utilities"></a>Utilities</h3><pre>
  9623. Fixes bugs:
  9624. - ps2epsi sometimes produced a too-large bounding box, or even
  9625. caused a rangecheck. (ps2epsi)
  9626. At the advice of a user, removes the RESOLUTION=100 line from pv.sh.
  9627. (pv.sh)
  9628. </pre><h3><a name="V5.06_Drivers"></a>Drivers</h3><pre>
  9629. Fixes bugs:
  9630. - The PDF writer produced incorrect output for stroke operations
  9631. with unusual CTMs, because PDF, unlike PostScript, applies the CTM to the
  9632. path at the time of the fill or stroke, not as the path is being
  9633. constructed. (gdevpdfd.c)
  9634. - Vector devices returned an error, instead of falling back to the
  9635. default implementations, when filling or stroking with a pattern.
  9636. (gdevvec.c)
  9637. - The PDF writer freed an internal stream structure using the wrong
  9638. allocator, possibly causing memory corruption. (gdevpdf.c)
  9639. - The uniprint driver had some compilation problems, and possibly
  9640. other problems as well (consult the source file). (gdevupd.c, *.upp)
  9641. - With -dNOCACHE, the PDF writer wrote all text in the base 14 fonts
  9642. twice, once as text and once as outlines. (gs_pdfwr.ps, gdevpdfd.c)
  9643. - The PDF writer didn't properly recognize Symbol and ZapfDingbats
  9644. as being among the base 14 fonts. (gs_pdfwr.ps)
  9645. - When using Acrobat Reader with font smoothing turned on, the base
  9646. 14 fonts appeared too bold on the screen in files produced by ps2pdf,
  9647. because Reader decides that a 100-unit font at 1 unit = 0.1 point should be
  9648. bolder than a 10-unit font at 1 unit = 1 point. (gdevpdfx.h, gdevpdf.c,
  9649. gdevpdft.c)
  9650. - The PDF writer didn't convert View/Page specifications for
  9651. bookmark pdfmarks to a Dest key, causing bookmarks not to work.
  9652. (gdevpdfm.c)
  9653. Speeds up the PDF writer by only passing the encoding if it isn't
  9654. StandardEncoding. (gs_pdfwr.ps, gdevpdft.c)
  9655. Changes the PDF writer's handling of unencoded glyphs. Adds device
  9656. parameters ReEncodeCharacters and ReAssignCharacters to control how
  9657. unencoded glyphs are handled. (These parameters will go away when we handle
  9658. variant encodings in full generality.) (gdevpdfx.h, gdevpdf.c, gdevpdfp.c,
  9659. gdevpdft.c)
  9660. </pre><h3><a name="V5.06_Interpreter"></a>Interpreter</h3><pre>
  9661. Fixes bugs:
  9662. - setpagedevice didn't restore the stack properly if it failed.
  9663. (gs_setpd.ps)
  9664. - 0 identmatrix didn't cause an error. (gs_init.ps)
  9665. - Devices expecting array-valued parameters didn't accept packed
  9666. arrays. (iparam.c)
  9667. Starts to de-implement support for special handling of the stacks on
  9668. machines with 16:16 addressing. Currently this only happens if DPNEXT is
  9669. defined. (istack.h)
  9670. Brings multiple contexts closer to working. The interpreter can now run
  9671. some very simple test cases. (int.mak, icontext.h, igstate.h, interp.h,
  9672. istruct.h, icontext.c, interp.c, zcontext.c, zgstate.c)
  9673. Adds support for FunctionType 0 Functions. (ifunc.h, iref.h, store.h,
  9674. zfunc.c, zfunc0.c)
  9675. Updates a few remaining pseudo-operators in gs_init.ps to take advantage of
  9676. automatic operand and dictionary stack restoration: eexec, identmatrix,
  9677. pathbbox. Not updated yet: filter. (gs_init.ps)
  9678. </pre><h3><a name="V5.06_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  9679. Fixes bugs:
  9680. - Separation color spaces weren't supported. (gs_pdf.ps,
  9681. pdf_draw.ps)
  9682. </pre><h3><a name="V5.06_Library"></a>Library</h3><pre>
  9683. Fixes bugs:
  9684. - The size argument to gs_free was wrong in an out-of-memory case.
  9685. (This was irrelevant, since gs_free only uses the size argument for
  9686. error-checking during debugging.) (gdevprn.c)
  9687. - When freeing a block on the C heap, if -Z@ was set, the block's
  9688. header wasn't filled with the sentinel pattern. (Only relevant when
  9689. debugging.) (gsmemory.c)
  9690. - The C heap allocator didn't fix up pointers properly when freeing
  9691. a block, causing unpredictable memory corruption after a 'resize' call.
  9692. (gsmemory.c)
  9693. - Using a show operator inside the procedure of a cshow with a
  9694. composite font could cause an invalid access. (gschar.c)
  9695. Adds support for FunctionType 0 Functions. (gsdsrc.h, gsfunc.h, gsfunc0.h,
  9696. gxfunc.h, gsdsrc.c, gsfunc.c, gsfunc0.c)
  9697. Moves the GC descriptor for arrays of constant strings to a place where it
  9698. is more visible. (gscie.h, gsstruct.h, gscie.c, gsmemory.c)
  9699. </pre>
  9700. <hr>
  9701. <h2><a name="Version5.05"></a>Version 5.05 (limited) (9/24/97)</h2>
  9702. <p>
  9703. This fixes a few bugs found in the first few days of testing 5.04. There
  9704. will probably be several more small incremental filesets before the next
  9705. public release.
  9706. <h3><a name="V5.05_Platforms"></a>Platforms</h3><pre>
  9707. Fixes bugs:
  9708. - The Windows code wouldn't compile with the latest MSVC++, because
  9709. Microsoft changed the prototype for fprintf. (gp_msio.c)
  9710. </pre><h3><a name="V5.05_Drivers"></a>Drivers</h3><pre>
  9711. Fixes bugs:
  9712. - A picky compiler complained about some omitted casts. (gdevpdf.c,
  9713. gdevpdft.c)
  9714. - Writing a PDF file with any synthesized fonts could produce
  9715. slightly garbled output or possibly even an invalid memory access, because a
  9716. string was not terminated. (gdevpdft.c)
  9717. - When writing a PDF file, the first character of a string could get
  9718. placed off the page, because of a matrix bookkeeping error. (gdevpdft.c)
  9719. </pre><h3><a name="V5.05_Interpreter"></a>Interpreter</h3><pre>
  9720. Fixes bugs:
  9721. - In case of an error, setpagedevice executed a 'stop'
  9722. unconditionally, rather than just signalling an error through the error
  9723. machinery. (gs_setpd.ps)
  9724. </pre><h3><a name="V5.05_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  9725. Fixes bugs:
  9726. - Files with unknown operators caused errors, even if the BX
  9727. operator was used to disable the error report. (pdf_base.ps)
  9728. </pre>
  9729. <hr>
  9730. <h2><a name="Version5.04"></a>Version 5.04 (limited) (9/21/97)</h2>
  9731. <p>
  9732. This is a test fileset for an unplanned release that greatly reduces the
  9733. size of PDF files produced by the pdfwrite device, and also optionally
  9734. produces output compatible with Acrobat 2.x, in order to address problems
  9735. reported by NSF in processing these files as part of their FastLane
  9736. electronic proposal submission process. Aside from that, and some localized
  9737. bug fixes, it has minimal changes from 5.03.
  9738. <h3><a name="V5.04_Documentation"></a>Documentation</h3><pre>
  9739. Fixes bugs:
  9740. - George Cameron's address was listed with a domain of .ukis rather
  9741. than .uk. (devices.txt)
  9742. - The default value of ORIENT1 was given as false rather than true.
  9743. (use.txt)
  9744. - The documentation for ps2pdf said one can omit the output file
  9745. name, but this is only true on Unix systems. (ps2pdf.txt)
  9746. - The documentation for ps2pdf didn't make clear that the executable
  9747. must be named gs on Microsoft OSs. (ps2pdf.txt)
  9748. - ht_cache is actually allocated with the first gstate, not on
  9749. demand. (gsstate.c)
  9750. Slightly improves the documentation of .type1execchar. (zchar1.c)
  9751. Clarifies the distinction between Ghostscript (PostScript) commands and
  9752. shell commands, for the benefit of users brainwashed by Microsoft.
  9753. (use.txt)
  9754. Improves the usage synopsis in the ps2epsi man page. (ps2epsi.1)
  9755. Adds a reference to Uli Wortmann's H-P drivers. (new-user.txt)
  9756. Improves the documentation of GS_FONTPATH, distinguishing it from GS_LIB and
  9757. the search path. (use.txt)
  9758. Notes that on some systems, one must substitute 'installbsd' for 'install'
  9759. in the makefile and make other edits. (install.txt, ansihead.mak,
  9760. cc-head.mak, gcc-head.mak)
  9761. Notes that ps2epsi is no longer maintained. (ps2epsi.ps)
  9762. Clarifies the availability of support. (new-user.txt)
  9763. </pre><h3><a name="V5.04_Procedures"></a>Procedures</h3><pre>
  9764. Fixes bugs:
  9765. - The uniprint driver was accidentally omitted from the default
  9766. Watcom (MS-DOS) and OS/2 configurations. (watc.mak, os2.mak)
  9767. - The suggested compiler switches for Digital Unix were incorrect.
  9768. (make.txt)
  9769. - The cp.cmd script file didn't work in the newest versions of OS/2.
  9770. (cp.cmd)
  9771. - The compilation rules for some Windows-specific files didn't
  9772. include ccf32.tr in their dependencies, which could cause the compilation to
  9773. fail. (winint.mak)
  9774. Removes the lev2min configuration, since we no longer support 16-bit Windows
  9775. environments. (int.mak)
  9776. </pre><h3><a name="V5.04_Utilities"></a>Utilities</h3><pre>
  9777. Fixes bugs:
  9778. - ps2epsi.bat always appended to the output file, rather than
  9779. writing over it. (There are probably other bugs in this script file.)
  9780. (ps2epsi.bat)
  9781. - The output of pdf2ps didn't execute properly on some printers,
  9782. especially Level 1 printers. (gs_pdf.ps)
  9783. Makes ps2pdf do an initial 'save', which causes fonts to be retained better
  9784. across pages. (ps2pdf, ps2pdf.bat)
  9785. Adds an option to pcharstr.ps to produce C-like rather than PostScript-like
  9786. output. (pcharstr.ps)
  9787. </pre><h3><a name="V5.04_Drivers"></a>Drivers</h3><pre>
  9788. Fixes bugs:
  9789. - The LaserJet III and higher printers weren't able to print in the
  9790. narrow strip between 1/6" and 1/4" from the left edge of the page.
  9791. (gdevdjet.c)
  9792. - The PCL XL drivers produced incorrect output which often caused a
  9793. PCL XL NoCurrentFont error at the beginning of the second page. (gdevpx.c)
  9794. - The GC descriptors for the pswrite device and for PS/PDF devices
  9795. were incorrect, causing the GC to smash memory. (gdevpsdf.h, gdevps.c)
  9796. - The pdfwrite device didn't have a GC descriptor at all. ******
  9797. DISABLED because the device allocates all its temporary structures directly
  9798. on the C heap. ****** (gdevpdf.c)
  9799. - When the PDF writer wrote out the Dest key in an action
  9800. dictionary, it always used a page object instead of a page number, even if
  9801. the page was in another file or didn't exist; it now always uses a page
  9802. number. (gdevpdfm.c)
  9803. - The PDF writer gave an error if a file redefined any of the 14
  9804. known fonts. (gs_pdfwr.ps)
  9805. - The PDF writer didn't handle copy_mono with a non-zero sourcex.
  9806. (This probably had no effect in practice.) (gdevpdfi.c)
  9807. Splits off gdevpdfd.c (driver drawing procedures) from gdevpdf.c, since the
  9808. file was getting too large. (gdevpdfx.h, gdevpdf.c, gdevpdfd.c)
  9809. Adds recognition of the CompressPages, CompatibilityLevel, and
  9810. UseFlateCompression device (distiller) parameters to the PDF writer. If
  9811. CompressPages is true (default), CompatibilityLevel is 1.2 (default), and
  9812. UseFlateCompression is true (default), page contents will be compressed with
  9813. Flate ("zip") compression; otherwise, they will not be compressed.
  9814. Restructures the PDF writer to produce much smaller and faster PDF files, by
  9815. restructuring its handling of text to defer all resources to the end of the
  9816. file, eliminate duplicate Font resources, turn characters into Type 3 fonts
  9817. rather than Image XObjects, use more efficient text positioning commands,
  9818. and optionally (but by default) Flate-compress the contents streams. Also
  9819. removes some unnecessary spaces in the output. (gdevpdfx.h, gdevpdf.c,
  9820. gdevpdfd.c, gdevpdfi.c, gdevpdfm.c, gdevpdft.c)
  9821. Improves the PDF writer so that it no longer converts stroke operations with
  9822. non-uniform CTMs to fills, and doesn't bother to stroke empty paths at all.
  9823. (gdevpdfd.c)
  9824. Speeds up the "alternate" X devices substantially. (gdevxalt.c)
  9825. </pre><h3><a name="V5.04_Interpreter"></a>Interpreter</h3><pre>
  9826. Fixes bugs:
  9827. - Filling a string with a Pattern caused a crash with the PDF
  9828. writer. (gs_pdfwr.ps)
  9829. - Converting a file with no marks at all to PDF produced invalid
  9830. output. (gdevpdf.c)
  9831. - .endpage, which is called at the end of every page, sometimes left
  9832. 2 extra values on the stack. (gs_setpd.ps)
  9833. - A definefont with a Type 1 font lacking a .notdef character didn't
  9834. cause an invalidfont error. (bfont.h, zfont1.c, zfont2.c)
  9835. - On anti-aliased devices, characters from Type 1 fonts with an
  9836. incorrect or missing FontBBox came out a factor of 2 or 4 too small if the
  9837. character was small enough to cache. (zchar1.c)
  9838. - If a file redefined certain operators, loading Type 1 fonts could
  9839. fail. This problem was fixed in an earlier release, and somehow the fix got
  9840. undone. (gs_type1.ps)
  9841. - cshow didn't set the correct current font when running the
  9842. procedure, and didn't restore it properly afterwards. (zchar.c, zchar2.c)
  9843. - With certain compilers, the interpreter loop caused unaligned
  9844. memory accesses on DEC Alpha systems running Windows NT. (iref.h)
  9845. Adds freelist validation to the memory checker. (ilocate.c)
  9846. Changes the debugging switch for bypassing the garbage collector from
  9847. compile-time to run-time. (igc.c)
  9848. Adds the real operators for view clipping (but they don't do anything yet,
  9849. because view clipping isn't implemented at the library level). (zdps.c,
  9850. zvmem.c)
  9851. Completes the implementation of defineusername. (zdps.c)
  9852. Adds an implementation of wtranslation, by simply reading a device parameter
  9853. of the same name. (gs_dps.ps)
  9854. </pre><h3><a name="V5.04_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  9855. Fixes bugs:
  9856. - Lab color spaces weren't implemented, and gave an error.
  9857. (gs_pdf.ps)
  9858. - Images only worked with built-in color spaces, not color space
  9859. resources. (pdf_draw.ps)
  9860. - Embedded font subsets were treated as undefined. (pdf_font.ps)
  9861. </pre><h3><a name="V5.04_Library"></a>Library</h3><pre>
  9862. Fixes bugs:
  9863. - strokepath sometimes clipped the path to the current clipping
  9864. region, which it should never do. (gxstroke.c)
  9865. - The initial X/Y position for Type 2 charstrings (CFFs) sometimes
  9866. was set incorrectly. (gstype2.c)
  9867. - Memory management for dash patterns was still incorrect (despite
  9868. the fix in 4.36), possibly causing snarled freelists and invalid memory
  9869. references. (gsline.c, gsstate.c)
  9870. - The saved gstate of a Pattern instance was freed properly when the
  9871. instance was freed by reference counting as a result of setting the color or
  9872. color space, but not when the instance was freed by reference counting
  9873. anywhere else. (gspcolor.c)
  9874. - A test for whether to use a slower form of oversampling was
  9875. incorrect. (Probably only a performance bug.) (gschar.c)
  9876. - cshow didn't set the correct current font when running the
  9877. procedure, and didn't restore it properly afterwards. (gsfont.h, gschar.c,
  9878. gsfont.c)
  9879. Improves allocator validity checking when DEBUG is set. (gsalloc.c)
  9880. Adds a couple of missing FontType values. (gxftype.h)
  9881. Changes the default conversions between CMYK and RGB colors back to the
  9882. Adobe rules documented in the Red Book, to reduce output differences from
  9883. Adobe implementations. (gxdcconv.c)
  9884. Adds a graphics state element for view clipping, under an #ifdef DPNEXT, and
  9885. implementations of the view clipping operators (but not the logic for doing
  9886. the actual clipping). (gsstate.h, gzstate.h, gsstate.c)
  9887. Removes the redundant clip_rule variable from the graphics state (which
  9888. wasn't used for anything). (gzstate.h, gspath.c)
  9889. </pre>
  9890. <hr>
  9891. <h2><a name="Version5.03"></a>Version 5.03 (8/8/97)</h2>
  9892. <p>
  9893. The only reason for this release is to fix two serious bugs introduced
  9894. between 5.01 and 5.02. We fixed a few other very localized and low-risk
  9895. bugs at the same time.
  9896. <h3><a name="V5.03_Documentation"></a>Documentation</h3><pre>
  9897. Removes the "(if relevant)" from the bug reporting form, since about 25% of
  9898. the forms are submitted without a URL or any other data. (bug-form.txt)
  9899. Adds a discussion of single-use procedures to the style guide.
  9900. (c-style.txt)
  9901. Updates the information about obtaining Ghostscript on physical media.
  9902. (new-user.txt)
  9903. Updates the information about ps_view. (new-user.txt)
  9904. </pre><h3><a name="V5.03_Procedures"></a>Procedures</h3><pre>
  9905. Adds the uniprint driver to all platforms. (*.mak)
  9906. Changes the contents of the pc.tar.gz archives:
  9907. - Adds *.upp.
  9908. - Removes *.res.
  9909. - Removes cp.bat, font2c.bat, mv.bat, rm.bat, wmakebat.bat,
  9910. cp.cmd, mv.cmd and rm.cmd, and gv-vms.hlp.
  9911. Removes an obsolete script file. (tar_mv)
  9912. </pre><h3><a name="V5.03_Drivers"></a>Drivers</h3><pre>
  9913. Fixes bugs:
  9914. - The uniprint driver didn't handle an increase in media height
  9915. correctly. (gdevupd.c)
  9916. </pre><h3><a name="V5.03_Platforms"></a>Platforms</h3><pre>
  9917. Fixes bugs:
  9918. - Printing to printers other than LPT1 under MS Windows no longer
  9919. worked. (bug introduced in 5.02) (gp_mswin.c)
  9920. - Drag-and-drop didn't work under Windows NT (or other 32-bit
  9921. Windows environments). (dwtext.cpp)
  9922. - Sequent systems needed an additional system header file.
  9923. (time_.h)
  9924. </pre><h3><a name="V5.03_Fonts"></a>Fonts</h3><pre>
  9925. Fixes bugs:
  9926. - The substitutions Myriad =&gt; Times and Minion =&gt; Helvetica were
  9927. incorrect; they should be the other way around. (gs_fonts.ps)
  9928. - MyriadPkg wasn't recognized as a condensed font. (gs_fonts.ps)
  9929. - Univers wasn't recognized as mapping to Helvetica. (gs_fonts.ps)
  9930. </pre><h3><a name="V5.03_Interpreter"></a>Interpreter</h3><pre>
  9931. Fixes bugs:
  9932. - A line of debugging code, printing the sections of 3 regions of
  9933. TrueType fonts being loaded, was accidentally left in. (gs_ttf.ps)
  9934. - TrueType fonts whose pre-glyf data had odd length were broken
  9935. (typically gave a rangecheck error), because of the fix to treat the odd
  9936. byte of individual sfnts strings as padding per Adobe documentation. (bug
  9937. introduced in 5.02) (gs_ttf.ps)
  9938. </pre><h3><a name="V5.03_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  9939. Fixes bugs:
  9940. - If a real-number token in a CFF had an even number of nibbles, a
  9941. unmatchedmark error would occur. (gs_cff.ps)
  9942. - If the strings Index in a CFF included an empty string, a
  9943. rangecheck error would occur. (gs_cff.ps)
  9944. - CFFs with non-standard Encodings that included standard strings
  9945. would get a typecheck error. (gs_cff.ps)
  9946. </pre><h3><a name="V5.03_Library"></a>Library</h3><pre>
  9947. Fixes bugs:
  9948. - Using %d in an OutputFile name didn't substitute the page number.
  9949. (bug introduced in 5.02) (gsdevice.c)
  9950. - In Type 2 CharStrings, if a hintmask occurred at the beginning, it
  9951. wasn't recognized as also incorporating the function of vstemhm.
  9952. (gstype2.c)
  9953. - The data bytes for hintmask and cntrmask weren't printed for
  9954. debugging. (gstype2.c)
  9955. </pre>
  9956. <hr>
  9957. <h2><a name="Version5.02"></a>Version 5.02 (7/28/97)</h2>
  9958. <p>
  9959. Because of an ISP failure that delayed the 5.0 announcement for 12 days, the
  9960. 5.01 release only responded to a few days of bug reports; 5.02 fixes some
  9961. problems that should have been fixed in 5.01, as well as a large number of
  9962. obscure problems uncovered by Genoa testing.
  9963. <h3><a name="V5.02_Documentation"></a>Documentation</h3><pre>
  9964. Fixes bugs:
  9965. - The documentation for building on the Intergraph Clipper was out
  9966. of date. (make.txt)
  9967. - ESC was claimed to be a self-delimiting character. (gs_init.ps)
  9968. - Removes the documentation claiming that ^D and ^Z are
  9969. self-delimiting. (language.txt)
  9970. - Document that -dSUBSTFONT doesn't create a font with the requested
  9971. font name. (use.txt)
  9972. - Ghostscript was defined as compatible with PDF 1.1 rather than PDF
  9973. 1.2. (language.txt)
  9974. - The description of gcc problems on Alpha didn't make it clear that
  9975. the use of gcc was optional, not required. (make.txt)
  9976. - The description of how to use GNU make on VMS systems was
  9977. inaccurate. (make.txt)
  9978. Improves the documentation for building on H-P RISC systems. (make.txt)
  9979. Corrects the discussion of Cygnus' licensing terms for the cygwin32
  9980. environment. (make.txt)
  9981. Removes the apology for the poor quality of Ghostscript's TrueType
  9982. rasterizer, since the quality is now quite good. (fonts.txt)
  9983. Documents the fact that one must use # rather than = with Watcom C.
  9984. (use.txt)
  9985. Documents the updates and additions to the uniprint driver. (devices.txt)
  9986. Adds some material to Aladdin's C style guide. (c-style.txt)
  9987. Documents the fact that using gmake requires VMS 6.2 or later on Alphas and
  9988. 7.1 (perhaps 7.0) or later on VAXen. (make.txt)
  9989. Adds an example EPS file. (psfiles.txt)
  9990. Adds some information about compiling and linking under OS/2. (make.txt)
  9991. Expands the description of XLIBDIR and XLIBDIRS. (*head.mak)
  9992. Adds a new pointer to information on using a Kanji font with Ghostscript.
  9993. (new-user.txt)
  9994. Documents the use of /Resource/&lt;category&gt;/&lt;resource&gt; as the default place
  9995. where resources are sought. (use.txt)
  9996. Updates the documentation on building with MSVC++ to reflect the makefile
  9997. changes. (make.txt)
  9998. </pre><h3><a name="V5.02_Procedures"></a>Procedures</h3><pre>
  9999. Fixes bugs:
  10000. - In openvms.mak, several ifdef tests were wrong. (openvms.mak)
  10001. - One CP command was slightly inconsistent with the others.
  10002. (zlib.mak)
  10003. - If libz and libpng were both shared, libz was linked first,
  10004. resulting in some undefined references. (libpng.mak)
  10005. - The VMS makefile didn't interact properly with VMS's version
  10006. numbering facility. (copy_one.com)
  10007. Updates the VMS DCL script one last time, to handle libpng version 96.
  10008. (vms.mak)
  10009. Restructures the MSVC++ makefiles to allow building the graphics library
  10010. without the PostScript interpreter. (bcwin32.mak, msvc4.mak[deleted],
  10011. msvc5.mak[deleted], msvc32.mak, msvccom.mak, watcw32.mak,
  10012. wincom.mak[deleted], winint.mak, winlib.mak)
  10013. Adds a makefile to create a library-only demo program under MSVC++, like the
  10014. ones for Unix/gcc and MS-DOS/Watcom. (msvclib.mak)
  10015. Adds an example EPS file. (ridt91.eps, unix-end.mak)
  10016. Removes support for libpng release 0.88, which is now quite obsolete.
  10017. (libpng.mak)
  10018. </pre><h3><a name="V5.02_Utilities"></a>Utilities</h3><pre>
  10019. Fixes bugs:
  10020. - ps2pdf.bat, unlike ps2pdf, didn't accept options. (ps2pdf.bat)
  10021. - echogs used 'const' in one place, which wasn't accepted by some
  10022. very old compilers. (echogs.c)
  10023. - pdf2ps output Orientation, which it shouldn't. (pdf_main.ps)
  10024. Makes the usage message from ps2pdf.bat include the options, like ps2pdf.
  10025. (ps2pdf.bat)
  10026. Changes the printpath utility so that its output is legal PostScript code.
  10027. (ppath.ps)
  10028. Makes pdf2dsc add DSC comments for the bounding box (if a CropBox is
  10029. available in the PDF file) and the orientation. (pdf2dsc.ps)
  10030. </pre><h3><a name="V5.02_Drivers"></a>Drivers</h3><pre>
  10031. Fixes bugs:
  10032. - The get_bits operation wasn't implemented for the vgalib driver.
  10033. (gdevvglb.c)
  10034. - The dnj650c driver output an extra % near the end of the file.
  10035. (gdevcdj.c)
  10036. - The definition of pprintd2 didn't have a line break before the
  10037. procedure name, confusing ansi2knr. (gdevpstr.c)
  10038. - EPS files produced invalid PDF output. (gdevpdf.c)
  10039. - "Vector" output devices didn't recognize %d in output file names,
  10040. or - for output to stdout. (gdevprn.h, gxdevice.h, gdevprn.c, gdevvec.c,
  10041. gsdevice.c)
  10042. - With the pdfwrite driver, restore or grestore would cause a
  10043. rangecheck error in .installpagedevice if a setpagedevice had been executed.
  10044. (gdevpdfp.c)
  10045. - The pdfwrite driver produced garbage output for text rotated by
  10046. angles that were only infinitesimally different from multiples of 90
  10047. degrees. (gdevpdft.c)
  10048. - The pnm[raw] driver didn't handle anti-aliasing properly.
  10049. (gdevpbm.c)
  10050. - The PDF writer didn't scale the parameters for [a][width]show
  10051. correctly. (gs_pdfwr.ps, gdevpdft.c)
  10052. Fixes some minor compilation warnings not affecting code functionality.
  10053. (gdevbbox.c, gdevpdfm.c, gshtscr.c, gsmemory.c, gxccman.c, gxfill.c,
  10054. gximage0.c)
  10055. Fixes some bugs in the uniprint driver and adds some more printer models.
  10056. (gdevupd.c, bjc610a*.upp, bjc610b*.upp, necp2x6.upp, stc1520h.upp)
  10057. Makes a small change for clean compilation on BeOS. (gdevcdj.c)
  10058. Updates the PNG driver to use updated API calls for allocating/initializing
  10059. and freeing the PNG structures. (gdevpng.c)
  10060. </pre><h3><a name="V5.02_Platforms"></a>Platforms</h3><pre>
  10061. Refactors the MS Windows code to allow building the library without the
  10062. interpreter. (gs_msio.c, gs_mslib.c, gp_mswin.c)
  10063. </pre><h3><a name="V5.02_Fonts"></a>Fonts</h3><pre>
  10064. Fixes bugs:
  10065. - definefont was executed twice on TrueType fonts. (No bad
  10066. consequences, just unnecessary work.) (gs_ttf.ps)
  10067. </pre><h3><a name="V5.02_Interpreter"></a>Interpreter</h3><pre>
  10068. Fixes bugs:
  10069. - The fix for the 'stopped' around run_string_* in 5.01 was made
  10070. incorrectly. (gs_init.ps)
  10071. - Many operators that expect a matrix operand didn't accept packed
  10072. arrays. (iutil.c)
  10073. - The default CRD didn't have an explicit BlackPoint, which some
  10074. Genoa tests require. (gs_lev2.ps)
  10075. - A stack protection fix caused setscreen and setcolorscreen with
  10076. dictionary operands to give a typecheck. (gs_dps2.ps)
  10077. - Executing a string didn't handle tail recursion properly if the
  10078. last token was followed by a single whitespace character. (interp.c)
  10079. - Clearing the error indication didn't set errorname to null.
  10080. (gs_init.ps)
  10081. - Some unexpected items appeared on the execution stack, confusing
  10082. some of the Genoa tests. (gs_init.ps, istack.h, istack.c, zcontrol.c)
  10083. - The dummy definitions for setucacheparams/ucachestatus didn't look
  10084. enough like the real ones. (gs_dps2.ps)
  10085. - Insideness tests didn't work, because the hit detection device
  10086. width and height weren't set up. (zupath.c)
  10087. - defineuserobject didn't use the same algorithm for growing the
  10088. array as Adobe interpreters. (gs_dps2.ps)
  10089. - eq and ne didn't work correctly on save objects. (iutil.c)
  10090. - findfont used =string internally, interfering with PostScript
  10091. programs that also used it. (gs_fonts.ps)
  10092. - cshow didn't set up scaled versions of base fonts as the current
  10093. font. (zchar2.c)
  10094. - defineresource didn't make the resource value read-only.
  10095. (gs_res.ps)
  10096. - If inustroke got an error, it could return without an error
  10097. indication and without changing the stack. (zupath.c)
  10098. - The arrays returned by different invocations of currentcolorspace
  10099. with the same device color space weren't guaranteed to be eq. (gs_lev2.ps)
  10100. - Out-of-range integers followed by a '.' were converted to names
  10101. rather than reals. (iscan.c, iscannum.c)
  10102. - resourceforall caused an invalidaccess error if currentglobal was
  10103. true but the procedure, template, or scratch string was in local VM.
  10104. (gs_res.ps)
  10105. - In many places, integer values were converted to floats rather
  10106. than doubles, losing precision. (ichar.h, icharout.h, ifont.h, iutil.h,
  10107. idparam.c, iparam.c, iutil.c, zchar.c, zchar1.c, zchar42.c, zcharout.c,
  10108. zcie.c, zcolor.c, zcolor1.c, zcolor2.c, zcontrol.c, zcsindex.c, zcssepr.c,
  10109. zdpnext.c, zdps1.c, zfont.c, zfont2.c, zgstate.c, zhsb.c, zht.c, zmath.c,
  10110. zmatrix.c, zmedia2.c, zpath.c, zpath1.c, zupath.c)
  10111. - The TransformPQR procedure in the default CRD didn't pop its
  10112. auxiliary operands from the stack. (gs_lev2.ps)
  10113. - Because of an incorrect stack depth check, setcolorrendering
  10114. sometimes produced a stackunderflow. (zcrd.c)
  10115. - sethalftone caused an invalidaccess error if the HalfTone type was
  10116. not 5, the dictionary was in local VM, and the current VM was global.
  10117. (gs_dps2.ps)
  10118. - writeobject and printobject caused an invalidaccess error if the
  10119. object being written was in local VM and the current VM was global.
  10120. (gs_btokn.ps)
  10121. - ustrokepath appended the strokepath segments to the current path,
  10122. rather than replacing the path. (zupath.c)
  10123. - restore incorrectly purged from the character cache any characters
  10124. in a font being freed, even if the font had a UID. (zfont.c)
  10125. - The definition of zimage_opaque_setup confused ansi2knr.
  10126. (zimage.c)
  10127. - Type 42 fonts that included the padding byte in each sfnts string
  10128. didn't work if sfnts had more than one string. (zfont42.c)
  10129. - Doing a garbage collection at the same time as handling a
  10130. stackoverflow failed to update the object that needed re-execution, causing
  10131. the interpreter to execute random data. (interp.c)
  10132. - %stdout and %stderr weren't flushed if they were closed
  10133. explicitly. (ziodev.c)
  10134. For greater Adobe compatibility:
  10135. - Changes setdash to limit dash patterns to 11 elements. (This is
  10136. enforced at the PostScript level: the graphics library doesn't have a
  10137. limit.) (gs_init.ps)
  10138. - Changes ^D and ^Z so they are not self-delimiting characters, and
  10139. changes ^K so it is not a whitespace character. (gs_init.ps, iscan.c,
  10140. scantab.c)
  10141. - Makes = cause an error on non-read-accessible objects rather than
  10142. printing them as --nostringval--. (gs_init.ps)
  10143. - When -dSUBSTFONT= is used, makes findfont return the actual named
  10144. font, rather than a copy with the FontName changed to the requested one.
  10145. (gs_fonts.ps)
  10146. - CFF fonts with a non-default FontMatrix caused an error.
  10147. (gs_cff.ps)
  10148. Fixes some minor compilation warnings not affecting code functionality.
  10149. (iparam.c, zfcmap.c)
  10150. Strengthens the test of o-stack validity in the main interpreter loop in
  10151. debug mode. (interp.c)
  10152. Changes the filling rule for Type 1 fonts from winding-number to even-odd.
  10153. This affects no properly designed fonts, and seems to match Adobe
  10154. interpreters better. (zchar1.c)
  10155. Implements non-standard Encodings in CFF fonts. (gs_cff.ps)
  10156. Changes the default halftone screen for 600 dpi printers from 85 to 106 lpi,
  10157. which reduces the number of halftone levels from 50 to 32 but produces
  10158. visually better output. (gs_init.ps)
  10159. </pre><h3><a name="V5.02_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  10160. Fixes bugs:
  10161. - Pattern color spaces weren't supported. (gs_pdf.ps, pdf_draw.ps)
  10162. Causes references to undefined named Destinations to be ignored rather than
  10163. giving an error. (pdf_main.ps)
  10164. </pre><h3><a name="V5.02_Library"></a>Library</h3><pre>
  10165. Fixes bugs:
  10166. - A 'const' was omitted in a declaration, upsetting several
  10167. compilers. (gxclread.c)
  10168. - arct and arcto gave an error for negative radii. (gspath1.c)
  10169. - The collinearity check for arct[o] could cause some arcs to be
  10170. rendered as single points. (gspath1.c)
  10171. - Uncolored patterns sometimes came out blank, because the color
  10172. wasn't set before calling the PaintProc. (gspcolor.c)
  10173. - The phase for masking colored patterns was wrong, producing
  10174. incorrect output. (gspcolor.c)
  10175. - reversepath always appended the current position to the new path,
  10176. rather than only doing so if the path just consisted of a single moveto.
  10177. (gxpath2.c)
  10178. - cshow didn't restore the current font properly. (gschar.h,
  10179. gschar.c)
  10180. - The check for whether characters can be cached didn't consider
  10181. PaintType values other than 0 and 2. (gschar.c)
  10182. - The bounding box device didn't handle PageCount properly.
  10183. (gdevbbox.c)
  10184. - Uncached fonts with a next_char procedure didn't set the glyph
  10185. properly. (gschar.c)
  10186. - Parallelograms with ax &lt; bx, ay &lt; by, and the 'a' edge to the
  10187. right of the 'b' edge weren't filled, causing pixels to be omitted from some
  10188. highly skewed images. (gdevddrw.c)
  10189. - 12-bit-per-pixel images in portrait orientation filled each scan
  10190. line with the value of the last pixel -- i.e., didn't work. (gximage4.c)
  10191. - The path representation of a clipping path could include some
  10192. inappropriate, leftover path segments. (gxcpath.c)
  10193. - The angle for the miter check was computed in device space rather
  10194. than in user space. (gxstroke.c)
  10195. - TrueType fonts were lumpy, and the accents of accented characters
  10196. were placed incorrectly. (gstype42.c)
  10197. - Some macros used for generating device prototypes didn't
  10198. parenthesize all uses of their parameters, causing possible errors if the
  10199. parameters were expressions rather than numeric constants. (gdevprn.h)
  10200. - When banding, strip halftones (typically produced by
  10201. AccurateScreens) sometimes didn't have the correct phase. (gxbitmap.h,
  10202. gxclread.c)
  10203. - A minor change was required for correct compilation with Microsoft
  10204. VC++. (memory_.h)
  10205. - Under certain conditions, character shapes could get wildly
  10206. distorted by hints. (bug introduced in 5.01) (gxhint3.c)
  10207. For greater Adobe compatibility:
  10208. - Changes reversepath so that the implicit line created by closepath
  10209. is not considered a "segment". (gxpath2.c)
  10210. Fixes some minor compilation warnings not affecting code functionality.
  10211. (gstype1.c)
  10212. Changes the font and scaled-font caches so that if the font has a UID
  10213. (UniqueID or XUID), the UID and FontType are both considered part of the
  10214. key, and we don't cache fonts with non-zero PaintType. (The Red Book says
  10215. that changing anything except the Encoding should also change or remove the
  10216. UID, but some files don't do this. The current fix is probably not
  10217. sufficient, but it is a step in the right direction.) (gxfcache.h,
  10218. gxccache.c, gxccman.c)
  10219. Splits off the definitions of font_type and fbit_type into a separate file,
  10220. since gxfcache.h now needs font_type. (gxfcache.h, gxfont.h, gxftype.h)
  10221. Makes the Flex feature in Type 1 fonts conform to the published
  10222. specification, rather than always producing curves. The comment in the code
  10223. (and in the NEWS entry for release 2.6) says that this breaks some very old
  10224. Adobe fonts: if this turns out to be a problem, we'll figure out a test that
  10225. will do the right thing for these fonts. (gstype1.c)
  10226. Provides 'double' versions of some API functions to accommodate the
  10227. increased use of doubles in the interpreter. (gschar.h, gschar.c)
  10228. Adds a compile-time option to force the use of strip halftones, for
  10229. debugging. (gshtscr.c)
  10230. Changes the hint snapping algorithm in the Type 1 rasterizer so that it will
  10231. only change a stem width by a maximum of 1/2 pixel rather than 1 pixel.
  10232. This appears to help with dropouts at certain sizes. (gxhint2.c)
  10233. Makes a few changes for clean compilation on BeOS. (stdpre.h, stat_.h,
  10234. gxcpath.c)
  10235. </pre>
  10236. <hr>
  10237. <h2><a name="Version5.01"></a>Version 5.01 (6/22/97)</h2>
  10238. <p>
  10239. This fixes a few bugs reported in the 5.0 release. This will be a
  10240. commercially supported release.
  10241. <h3><a name="V5.01_Documentation"></a>Documentation</h3><pre>
  10242. Fixes bugs:
  10243. - README referred to an obsolete file devarch.txt. (README)
  10244. - The comment on flip4x12 had a typo. (gsflip.c)
  10245. - The algorithm comments for adjusted_y_spans_pixel weren't precise
  10246. enough. (gxfill.c)
  10247. - The usage message printed by the ps2pdf script didn't indicate
  10248. that one can now insert options before the input file name. (ps2pdf)
  10249. - The file searching documentation didn't indicate that paths
  10250. beginning with ./ or ../ are considered "explicit" and not subject to
  10251. searching. (use.txt)
  10252. - The description of SEARCH_HERE_FIRST in the per-platform makefiles
  10253. indicated that it only applied to initialization files, not to files
  10254. specified on the command line as well. (*.mak)
  10255. - There were still some references to 16-bit implementations.
  10256. (install.txt)
  10257. Clarifies that -dNODISPLAY also suppresses output to other devices.
  10258. (use.txt)
  10259. Adds the e-mail address for reporting problems to the bug report form, and
  10260. also a space to report makefile changes. (bug-form.txt)
  10261. Adds a note under -g indicating that it fixes the media size. (use.txt)
  10262. Adds an explanation of why Ghostscript can't use the system libraries for
  10263. the JPEG package. (make.txt)
  10264. Notes that ps2ai doesn't work properly with Adobe's Helvetica-Oblique font,
  10265. and other fonts whose original FontMatrix involves skewing or rotation.
  10266. (psfiles.txt)
  10267. Updates the uniprint documentation slightly. (devices.txt)
  10268. Notes that the new lj5 drivers do not work with the LJ5L. (devs.mak)
  10269. Modifies the Aladdin Free Public License slightly to make it clearer that
  10270. the exception for freely redistributable CD-ROMs only applies if the CD-ROM
  10271. is being distributed by itself, not with anything else commercial. (This
  10272. has always been the case, but the previous wording wasn't clear enough.)
  10273. (PUBLIC)
  10274. Notes that gcc with -O still has code generation problems on H-P RISC
  10275. machines. (make.txt)
  10276. Adds a pointer to Martin Lottermoser's hpdj driver. (new-user.txt)
  10277. Enhances and reorganizes the documentation for building Ghostscript, in
  10278. response to user feedback. (make.txt, install.txt)
  10279. Adds a description of the EPSF recognition feature. (language.txt)
  10280. </pre><h3><a name="V5.01_Procedures"></a>Procedures</h3><pre>
  10281. Fixes bugs:
  10282. - string__h was misspelled string_h in one place. (lib.mak)
  10283. - gs_dps.ps wasn't installed by "make install". (unix-end.mak)
  10284. - ccgs (used with non-ANSI C compilers) didn't do the right thing
  10285. with -DPNG_USE_CONST. (ccgs)
  10286. Adds support for version 96 of libpng, and updates all the makefiles to
  10287. reference it. (libpng.mak, *.mak)
  10288. Updates the MSVC makefiles to get rid of some warning messages and provide a
  10289. way to specify a library path for the final link. (msvc*.mak)
  10290. </pre><h3><a name="V5.01_Utilities"></a>Utilities</h3><pre>
  10291. Fixes bugs:
  10292. - The usage message for the gslp utility had a minor typo.
  10293. (gslp.ps)
  10294. - The "line printer" utility didn't expand tabs properly when
  10295. producing PostScript output. (gslp.ps)
  10296. - The gslp utility didn't automatically include the date. (gslp)
  10297. - The line printer scripts didn't pass the script name to the
  10298. utility program, so the usage message didn't use the correct name. (gsbj*,
  10299. gsdj*, gslj*, gslp*, lp*)
  10300. Modifies the gslp utility so that invoking it with no arguments prints the
  10301. usage message. (gslp.ps)
  10302. Adds the ability to specify the number of bits per component to the
  10303. CMYK-viewing utility. (viewcmyk.ps)
  10304. Changes the ps2pdf script so that on Windows NT, as on Unix, it allows
  10305. omitting the output file name, automatically replacing the extension of the
  10306. input file with .pdf. (ps2pdf.bat)
  10307. </pre><h3><a name="V5.01_Drivers"></a>Drivers</h3><pre>
  10308. Fixes bugs:
  10309. - Some compilers didn't accept a #define with the macro name on the
  10310. next line. (gdevpx.c)
  10311. - The procedure dash_pattern_eq was defined in two places.
  10312. (gdevpdf.c)
  10313. - The uniprint driver sometimes dropped some output or got confused,
  10314. because of a misunderstanding about how to update device procedure vectors
  10315. properly. (gdevupd.c)
  10316. - The PostScript and EPS writers produced binary output for images,
  10317. which generally can't be sent to PostScript printers. (gdevpsdf.h,
  10318. gdevpdf.c, gdevps.c)
  10319. - The EPS writer put a %%EOF at the end of the file, which might
  10320. cause problems for some spoolers if the file is embedded in another.
  10321. (gdevps.c)
  10322. Changes the implementation of printer drivers so that they flush the output
  10323. stream after each page. We aren't absolutely sure that this is a good idea,
  10324. but it prevents certain anomalous behavior where the last page isn't ejected
  10325. properly. (gdevprn.c)
  10326. Implements a long-delayed update to the mgr drivers, to restore the color
  10327. mapping to an older one. (gdevmgr.h, gdevmgr.c)
  10328. Updates the uniprint driver with a number of changes from its author.
  10329. (gdevupd.c)
  10330. </pre><h3><a name="V5.01_Platforms"></a>Platforms</h3><pre>
  10331. Adds the JPEG, Postscript, and PCL XL drivers, which are included on all
  10332. other platforms, to the MS Windows platforms. (bcwin32.mak, msvc4.mak,
  10333. msvc5.mak, watcw32.mak)
  10334. </pre><h3><a name="V5.01_Interpreter"></a>Interpreter</h3><pre>
  10335. Fixes bugs:
  10336. - composefont defined the resource with the font name and font
  10337. directory interchanged. (gs_cmap.ps)
  10338. - With dFIXEDMEDIA, documents requesting other sizes caused an error
  10339. instead of clipping the page. (gs_init.ps)
  10340. - PageSize Policy = 7 wasn't implemented. (However, the current
  10341. implementation is wrong.) (gs_setpd.ps, zmedia2.c)
  10342. - FontType resource 42 wasn't defined even if Type 42 fonts were
  10343. supported; similarly for FontType 9, 10, and 11 for CIDFonts. (gs_cidfn.ps,
  10344. gs_res.ps)
  10345. - The error handling machinery would break if the name /errordict
  10346. was redefined. (gs_init.ps)
  10347. - Level 1 systems got an /undefined in .doneshowpage. (zdevice.c,
  10348. zdevice2.c)
  10349. - Because of an initialization order problem, copy didn't work on
  10350. gstates. (zgeneric.c)
  10351. Adds a naive implementation of findcolorrendering. (gs_lev2.ps, gs_res.ps)
  10352. Removes the 'stopped' around run_string[_begin/continue/end] so that, as in
  10353. 4.03, errors print a hex dump and exit with a non-zero code instead of
  10354. printing a readable message and continuing. (We aren't sure that this
  10355. change didn't undo the fix in 5.0 regarding calling startjob from
  10356. run_string.) (gs_init.ps)
  10357. </pre><h3><a name="V5.01_Interpreter_PDF"></a>Interpreter (PDF)</h3><pre>
  10358. Fixes bugs:
  10359. - stdin redirection failed for PDF files even if the new stdin was
  10360. seekable. This was fixed in 4.02, but the fix stopped working with the
  10361. introduction of .runexec. (pdf_main.ps)
  10362. Makes the cross-reference reader accept a startxref value that points at the
  10363. EOL before the xref line. The Adobe documentation doesn't allow this, but
  10364. some real files are this way. (pdf_main.ps)
  10365. </pre><h3><a name="V5.01_Library"></a>Library</h3><pre>
  10366. Fixes bugs:
  10367. - The bounding box of a completely empty path was reported as
  10368. garbage. (gxpath2.c)
  10369. - Stroking a path with more than one segment didn't produce correct
  10370. output when anti-aliasing was used. (gspaint.c)
  10371. - The alpha-buffer device returned an incorrect clipping box,
  10372. causing output to be discarded. (gdevabuf.c)
  10373. - gx_forward_get_clipping_box passed the wrong device to the target
  10374. procedure, producing incorrect results. (gdevnfwd.c)
  10375. - The sin/cos procedure did some unnecessary computations
  10376. (performance bug only). (gsmisc.c)
  10377. - The procedure for adjusting the ends of curves to match the
  10378. tangents did some unnecessary computations (performance bug only).
  10379. (gxpcopy.c)
  10380. - RAM-based banding always gave an invalidfileaccess error, due to a
  10381. typo in memfile_fopen. (gxclmem.c)
  10382. - The algorithms for deciding whether a line is thin still weren't
  10383. correct. (gxstroke.c)
  10384. - The fill adjustment values for the any-part-of-pixel case (adjust
  10385. = 0.5) were (0.5-epsilon, 0.5+epsilon), which colored inappropriate
  10386. additional pixels if the higher coordinate was integral. With considerable
  10387. trepidation, we have changed this to (0.5-epsilon,0.5), which does the right
  10388. thing in every case we can think of. (gxfill.c)
  10389. - When banding, paths were clipped to only 0.5 pixel outside their
  10390. bounding box, which may be slightly too conservative; 1 pixel is safer.
  10391. (gxclpath.c)
  10392. - The algorithm for testing whether an adjusted Y value spanned a
  10393. pixel center was incorrect, causing some pixels to get colored incorrectly.
  10394. (gxfill.c)
  10395. - 24-bit devices could cause a memory fault, by accessing a pointer
  10396. just beyond the end of the line pointer array. (gdevm24.c)
  10397. - Astonishingly enough, the determination of which hints were
  10398. applicable to a given segment of a Type 1 character was wrong in several
  10399. different places. Fixing this in a way that correctly handled all allowed
  10400. permutations of the coordinate system was not simple. (gxfont1.h,
  10401. gxhint1.c, gxhint3.c)
  10402. - The debugging printout macros didn't include the syntactic hack to
  10403. prevent an 'else' from begin assigned to the wrong 'if'. (gdebug.h)
  10404. - The bbox device was accidentally limited to 130 x 130 pixels (not
  10405. 130" x 130"). (bug introduced in 5.0) (gdevbbox.c)
  10406. - The bbox device didn't recognize PageBoundingBox in put_params,
  10407. causing a possible /undefined error on [g]restore. (gdevbbox.c)
  10408. - setlinewidth didn't take the absolute value of its operand.
  10409. (zgstate.c)
  10410. - Some code formatting was slightly off. (gximage5.c)
  10411. - Some extra pixels were written for Interpolated images, but they
  10412. were immediately overwritten, so the output was correct. (gximage5.c)
  10413. Changes the data flipping API from a macro to a procedure, adds a return
  10414. value, and makes the individual flipping procedures private. (gsflip.h,
  10415. gsflip.c)
  10416. Adds (under an #ifdef FUTURE) code to allow passing multi-plane images
  10417. through the band list. (gxclpath.h, gxclimag.c, gxclread.c)
  10418. Adds (under an #ifdef FUTURE) code to allow passing interpolated images
  10419. through the band list. NOTE: interpolated images will appear slightly
  10420. different than without banding, because the part of the image intersecting
  10421. each band will be scaled slightly differently in the (device) Y direction.
  10422. (gxclpath.h, gxclimag.c, gxclread.c, gximage.c)
  10423. Changes Type 1 hinting so that when it moves points on a curve, it does so
  10424. by properly scaling the curve in the given direction. (gxhint3.c)
  10425. </pre>
  10426. <hr>
  10427. <h2><a name="Version5.0"></a>Version 5.0 (6/6/97)</h2>
  10428. <p>
  10429. This is the first public release since 4.03.
  10430. <h3><a name="V5.0_Documentation"></a>Documentation</h3><pre>
  10431. Fixes bugs:
  10432. - Fontmap.Sol was incorrectly referred to as Fontmap.Solaris.
  10433. (use.txt)
  10434. - There was still a reference to pstoppm in the documentation.
  10435. (psfiles.txt)
  10436. - The JPEG DOS source site information was out of date. (jpeg.mak)
  10437. - The list of devices included in the distributed Unix makefiles was
  10438. out of date. (make.txt)
  10439. - The MCU size limitation on the DCT filters was documented
  10440. incorrectly. (current.txt)
  10441. - The URL for the uniprint driver home page was incorrect.
  10442. (devices.txt)
  10443. - The makefiles referred to sfilefd.c, which is now named sfxfd.c.
  10444. (gs.mak, *.mak)
  10445. Adds a VMS help file. (gs-vms.hlp)
  10446. Removes documentation for Digital Unix (OSF/1) 1.2 and 1.3, which are now
  10447. long obsolete, and updates the documentation for current versions.
  10448. (make.txt)
  10449. Notes that there may be a problem with libpng version 0.95. (libpng.mak)
  10450. Adds some specific documentation for the JPEG drivers. (devices.txt)
  10451. Adds a suggestion that people compiling Ghostscript check the values of
  10452. JVERSION and PVERSION. (make.txt)
  10453. Removes the requirement for setting the LIB environment variable when
  10454. compiling with MSVC. (make.txt)
  10455. </pre><h3><a name="V5.0_Procedures"></a>Procedures</h3><pre>
  10456. Fixes bugs:
  10457. - There were a number of small errors in the new OpenVMS makefile.
  10458. (openvms.mak)
  10459. - The MSVC makefiles omitted a necessary switch to work around some
  10460. "unspecified Pentium bugs". (msvccom.mak)
  10461. - The Borland makefile wasn't even close to working; fixing it
  10462. required moving the compilation rule for genarch.exe into the
  10463. compiler-specific makefiles. (bcwin32.mak, msvccom.mak, watcw32.mak,
  10464. wincom.mak)
  10465. - There were some (harmless) undefined macro references in the MSVC
  10466. makefile. (msvccom.mak)
  10467. Makes it unnecessary to set the LIB environment variable for MSVC.
  10468. (msvc4.mak, msvc5.mak, wincom.mak)
  10469. Adds a note on compiling with the cygwin32 gcc compiler for Windows NT.
  10470. (make.txt)
  10471. Updates vms.mak yet again, hopefully for the last time. (vms.mak)
  10472. Moves the CGM, JPEG, and MIFF file formats from DEVICE_DEVS8 to
  10473. DEVICE_DEVS14 to shorten command lines; adds pcxcmyk to all platforms that
  10474. include PCX format at all; adds jpeggray to all platforms that include jpeg.
  10475. (devs.mak, *.mak)
  10476. Adds -DPNG_USE_CONST for compiling libpng, to get rid of compiler warning
  10477. messages. (gs.mak)
  10478. Removes obsolete makefiles from the fileset. (tccommon.mak, tctail.mak)
  10479. </pre><h3><a name="V5.0_Interpreter"></a>Interpreter</h3><pre>
  10480. Fixes bugs:
  10481. - restore was broken if -dNOBIND was invoked. This fix should have
  10482. been in the 4.81 fileset, but was left out due to operator error.
  10483. (gs_dps1.ps)
  10484. - Some compilers complained about macro argument replacement within
  10485. a string literal. (isave.c)
  10486. -dSAFER didn't allow opening the %stdxxx files, which caused the
  10487. combination of -dSAFER and -dNOBIND to cause an infinite error.
  10488. (gs_init.ps)
  10489. - If C code used run_string to execute a startjob, an error
  10490. occurred. (gs_init.ps)
  10491. </pre><h3><a name="V5.0_Library"></a>Library</h3><pre>
  10492. Fixes bugs:
  10493. - Some compilers complained about macro argument replacement within
  10494. a string literal. (gxclbits.c, gdevpdfi.c)
  10495. - At certain resolutions, a 1-pixel line of the wrong color could
  10496. appear at one edge of landscape-oriented monobit images. (This is the 4th
  10497. or 5th time we have "fixed" this one infuriatingly fragile piece of code.)
  10498. (gxfixed.h, gximage1.c)
  10499. - The optimized code for landscape monobit images overlooked the
  10500. possibility of partial images, causing parts of images to be translated and
  10501. possibly clipped. (Yes, it's that same fragile piece of code.)
  10502. (gximage1.c)
  10503. - The bounding box device allowed resetting its resolution, which
  10504. could cause limitchecks from coordinate overflow. Our fix is to initialize
  10505. the device to a very high resolution (4000 dpi), which reduces the maximum
  10506. page size it can handle to about 130" on a side. (gdevbbox.c)
  10507. - The bounding box device wasn't identified as a page device.
  10508. (gdevbbox.c)
  10509. - The bounding box device used alone disregarded changes in page
  10510. size. (gdevbbox.c)
  10511. - One old compiler didn't allow a structure member name to be the
  10512. same as a typedef name. (gximage.h, gximage.c, gximage4.c)
  10513. - The height and band intersection computations for banded images
  10514. still weren't right, leading to inconsistencies in the band list and errors
  10515. in the output (typically, thin horizontal white stripes at band boundaries).
  10516. (gxclimag.c)
  10517. Adds an extensive memory dump facility to the standard allocator.
  10518. Eventually this should be moved into a separate file, but it would be too
  10519. disruptive to do this just before a release. (gsalloc.c)
  10520. </pre>
  10521. <!-- [2.0 end contents] ==================================================== -->
  10522. <!-- [3.0 begin visible trailer] =========================================== -->
  10523. <hr>
  10524. <p>
  10525. <small>Copyright &copy; 1997, 1998, 1999, 2000 Aladdin Enterprises.
  10526. All rights reserved.</small>
  10527. <p>
  10528. <small>This file is part of AFPL Ghostscript. See the
  10529. <a href="Public.htm">Aladdin Free Public License</a> (the "License") for
  10530. full details of the terms of using, copying, modifying, and redistributing
  10531. AFPL Ghostscript.</small>
  10532. <p>
  10533. <small>Ghostscript version 7.04, 31 January 2002
  10534. <!-- [3.0 end visible trailer] ============================================= -->
  10535. </body>
  10536. </html>