/contrib/bind9/doc/arm/isc-logo.eps

https://bitbucket.org/freebsd/freebsd-head/ · Unknown · 5022 lines · 4994 code · 28 blank · 0 comment · 0 complexity · 1d0d4b2bb503eb137e87bf427db7db91 MD5 · raw file

Large files are truncated click here to view the full file

  1. %!PS-Adobe-3.1 EPSF-3.0
  2. %ADO_DSC_Encoding: MacOS Roman
  3. %%Title: ISC_logo_only_RGB.eps
  4. %%Creator: Adobe Illustrator(R) 13.0
  5. %%For: Brian Reid
  6. %%CreationDate: 3/25/10
  7. %%BoundingBox: 0 0 118 46
  8. %%HiResBoundingBox: 0 0 117.9991 45.0176
  9. %%CropBox: 0 0 117.9991 45.0176
  10. %%LanguageLevel: 2
  11. %%DocumentData: Clean7Bit
  12. %ADOBeginClientInjection: DocumentHeader "AI11EPS"
  13. %%AI8_CreatorVersion: 13.0.2 %AI9_PrintingDataBegin %ADO_BuildNumber: Adobe Illustrator(R) 13.0.2 x434 R agm 4.4379 ct 5.1039 %ADO_ContainsXMP: MainFirst
  14. %ADOEndClientInjection: DocumentHeader "AI11EPS"
  15. %%Pages: 1
  16. %%DocumentNeededResources:
  17. %%DocumentSuppliedResources: procset Adobe_AGM_Image 1.0 0
  18. %%+ procset Adobe_CoolType_Utility_T42 1.0 0
  19. %%+ procset Adobe_CoolType_Utility_MAKEOCF 1.23 0
  20. %%+ procset Adobe_CoolType_Core 2.31 0
  21. %%+ procset Adobe_AGM_Core 2.0 0
  22. %%+ procset Adobe_AGM_Utils 1.0 0
  23. %%DocumentFonts:
  24. %%DocumentNeededFonts:
  25. %%DocumentNeededFeatures:
  26. %%DocumentSuppliedFeatures:
  27. %%DocumentCustomColors:
  28. %%CMYKCustomColor:
  29. %%RGBCustomColor:
  30. %%EndComments
  31. %%BeginDefaults
  32. %%ViewingOrientation: 1 0 0 1
  33. %%EndDefaults
  34. %%BeginProlog
  35. %%BeginResource: procset Adobe_AGM_Utils 1.0 0
  36. %%Version: 1.0 0
  37. %%Copyright: Copyright(C)2000-2006 Adobe Systems, Inc. All Rights Reserved.
  38. systemdict/setpacking known
  39. {currentpacking true setpacking}if
  40. userdict/Adobe_AGM_Utils 73 dict dup begin put
  41. /bdf
  42. {bind def}bind def
  43. /nd{null def}bdf
  44. /xdf
  45. {exch def}bdf
  46. /ldf
  47. {load def}bdf
  48. /ddf
  49. {put}bdf
  50. /xddf
  51. {3 -1 roll put}bdf
  52. /xpt
  53. {exch put}bdf
  54. /ndf
  55. {
  56. exch dup where{
  57. pop pop pop
  58. }{
  59. xdf
  60. }ifelse
  61. }def
  62. /cdndf
  63. {
  64. exch dup currentdict exch known{
  65. pop pop
  66. }{
  67. exch def
  68. }ifelse
  69. }def
  70. /gx
  71. {get exec}bdf
  72. /ps_level
  73. /languagelevel where{
  74. pop systemdict/languagelevel gx
  75. }{
  76. 1
  77. }ifelse
  78. def
  79. /level2
  80. ps_level 2 ge
  81. def
  82. /level3
  83. ps_level 3 ge
  84. def
  85. /ps_version
  86. {version cvr}stopped{-1}if
  87. def
  88. /set_gvm
  89. {currentglobal exch setglobal}bdf
  90. /reset_gvm
  91. {setglobal}bdf
  92. /makereadonlyarray
  93. {
  94. /packedarray where{pop packedarray
  95. }{
  96. array astore readonly}ifelse
  97. }bdf
  98. /map_reserved_ink_name
  99. {
  100. dup type/stringtype eq{
  101. dup/Red eq{
  102. pop(_Red_)
  103. }{
  104. dup/Green eq{
  105. pop(_Green_)
  106. }{
  107. dup/Blue eq{
  108. pop(_Blue_)
  109. }{
  110. dup()cvn eq{
  111. pop(Process)
  112. }if
  113. }ifelse
  114. }ifelse
  115. }ifelse
  116. }if
  117. }bdf
  118. /AGMUTIL_GSTATE 22 dict def
  119. /get_gstate
  120. {
  121. AGMUTIL_GSTATE begin
  122. /AGMUTIL_GSTATE_clr_spc currentcolorspace def
  123. /AGMUTIL_GSTATE_clr_indx 0 def
  124. /AGMUTIL_GSTATE_clr_comps 12 array def
  125. mark currentcolor counttomark
  126. {AGMUTIL_GSTATE_clr_comps AGMUTIL_GSTATE_clr_indx 3 -1 roll put
  127. /AGMUTIL_GSTATE_clr_indx AGMUTIL_GSTATE_clr_indx 1 add def}repeat pop
  128. /AGMUTIL_GSTATE_fnt rootfont def
  129. /AGMUTIL_GSTATE_lw currentlinewidth def
  130. /AGMUTIL_GSTATE_lc currentlinecap def
  131. /AGMUTIL_GSTATE_lj currentlinejoin def
  132. /AGMUTIL_GSTATE_ml currentmiterlimit def
  133. currentdash/AGMUTIL_GSTATE_do xdf/AGMUTIL_GSTATE_da xdf
  134. /AGMUTIL_GSTATE_sa currentstrokeadjust def
  135. /AGMUTIL_GSTATE_clr_rnd currentcolorrendering def
  136. /AGMUTIL_GSTATE_op currentoverprint def
  137. /AGMUTIL_GSTATE_bg currentblackgeneration cvlit def
  138. /AGMUTIL_GSTATE_ucr currentundercolorremoval cvlit def
  139. currentcolortransfer cvlit/AGMUTIL_GSTATE_gy_xfer xdf cvlit/AGMUTIL_GSTATE_b_xfer xdf
  140. cvlit/AGMUTIL_GSTATE_g_xfer xdf cvlit/AGMUTIL_GSTATE_r_xfer xdf
  141. /AGMUTIL_GSTATE_ht currenthalftone def
  142. /AGMUTIL_GSTATE_flt currentflat def
  143. end
  144. }def
  145. /set_gstate
  146. {
  147. AGMUTIL_GSTATE begin
  148. AGMUTIL_GSTATE_clr_spc setcolorspace
  149. AGMUTIL_GSTATE_clr_indx{AGMUTIL_GSTATE_clr_comps AGMUTIL_GSTATE_clr_indx 1 sub get
  150. /AGMUTIL_GSTATE_clr_indx AGMUTIL_GSTATE_clr_indx 1 sub def}repeat setcolor
  151. AGMUTIL_GSTATE_fnt setfont
  152. AGMUTIL_GSTATE_lw setlinewidth
  153. AGMUTIL_GSTATE_lc setlinecap
  154. AGMUTIL_GSTATE_lj setlinejoin
  155. AGMUTIL_GSTATE_ml setmiterlimit
  156. AGMUTIL_GSTATE_da AGMUTIL_GSTATE_do setdash
  157. AGMUTIL_GSTATE_sa setstrokeadjust
  158. AGMUTIL_GSTATE_clr_rnd setcolorrendering
  159. AGMUTIL_GSTATE_op setoverprint
  160. AGMUTIL_GSTATE_bg cvx setblackgeneration
  161. AGMUTIL_GSTATE_ucr cvx setundercolorremoval
  162. AGMUTIL_GSTATE_r_xfer cvx AGMUTIL_GSTATE_g_xfer cvx AGMUTIL_GSTATE_b_xfer cvx
  163. AGMUTIL_GSTATE_gy_xfer cvx setcolortransfer
  164. AGMUTIL_GSTATE_ht/HalftoneType get dup 9 eq exch 100 eq or
  165. {
  166. currenthalftone/HalftoneType get AGMUTIL_GSTATE_ht/HalftoneType get ne
  167. {
  168. mark AGMUTIL_GSTATE_ht{sethalftone}stopped cleartomark
  169. }if
  170. }{
  171. AGMUTIL_GSTATE_ht sethalftone
  172. }ifelse
  173. AGMUTIL_GSTATE_flt setflat
  174. end
  175. }def
  176. /get_gstate_and_matrix
  177. {
  178. AGMUTIL_GSTATE begin
  179. /AGMUTIL_GSTATE_ctm matrix currentmatrix def
  180. end
  181. get_gstate
  182. }def
  183. /set_gstate_and_matrix
  184. {
  185. set_gstate
  186. AGMUTIL_GSTATE begin
  187. AGMUTIL_GSTATE_ctm setmatrix
  188. end
  189. }def
  190. /AGMUTIL_str256 256 string def
  191. /AGMUTIL_src256 256 string def
  192. /AGMUTIL_dst64 64 string def
  193. /AGMUTIL_srcLen nd
  194. /AGMUTIL_ndx nd
  195. /AGMUTIL_cpd nd
  196. /capture_cpd{
  197. //Adobe_AGM_Utils/AGMUTIL_cpd currentpagedevice ddf
  198. }def
  199. /thold_halftone
  200. {
  201. level3
  202. {sethalftone currenthalftone}
  203. {
  204. dup/HalftoneType get 3 eq
  205. {
  206. sethalftone currenthalftone
  207. }{
  208. begin
  209. Width Height mul{
  210. Thresholds read{pop}if
  211. }repeat
  212. end
  213. currenthalftone
  214. }ifelse
  215. }ifelse
  216. }def
  217. /rdcmntline
  218. {
  219. currentfile AGMUTIL_str256 readline pop
  220. (%)anchorsearch{pop}if
  221. }bdf
  222. /filter_cmyk
  223. {
  224. dup type/filetype ne{
  225. exch()/SubFileDecode filter
  226. }{
  227. exch pop
  228. }
  229. ifelse
  230. [
  231. exch
  232. {
  233. AGMUTIL_src256 readstring pop
  234. dup length/AGMUTIL_srcLen exch def
  235. /AGMUTIL_ndx 0 def
  236. AGMCORE_plate_ndx 4 AGMUTIL_srcLen 1 sub{
  237. 1 index exch get
  238. AGMUTIL_dst64 AGMUTIL_ndx 3 -1 roll put
  239. /AGMUTIL_ndx AGMUTIL_ndx 1 add def
  240. }for
  241. pop
  242. AGMUTIL_dst64 0 AGMUTIL_ndx getinterval
  243. }
  244. bind
  245. /exec cvx
  246. ]cvx
  247. }bdf
  248. /filter_indexed_devn
  249. {
  250. cvi Names length mul names_index add Lookup exch get
  251. }bdf
  252. /filter_devn
  253. {
  254. 4 dict begin
  255. /srcStr xdf
  256. /dstStr xdf
  257. dup type/filetype ne{
  258. 0()/SubFileDecode filter
  259. }if
  260. [
  261. exch
  262. [
  263. /devicen_colorspace_dict/AGMCORE_gget cvx/begin cvx
  264. currentdict/srcStr get/readstring cvx/pop cvx
  265. /dup cvx/length cvx 0/gt cvx[
  266. Adobe_AGM_Utils/AGMUTIL_ndx 0/ddf cvx
  267. names_index Names length currentdict/srcStr get length 1 sub{
  268. 1/index cvx/exch cvx/get cvx
  269. currentdict/dstStr get/AGMUTIL_ndx/load cvx 3 -1/roll cvx/put cvx
  270. Adobe_AGM_Utils/AGMUTIL_ndx/AGMUTIL_ndx/load cvx 1/add cvx/ddf cvx
  271. }for
  272. currentdict/dstStr get 0/AGMUTIL_ndx/load cvx/getinterval cvx
  273. ]cvx/if cvx
  274. /end cvx
  275. ]cvx
  276. bind
  277. /exec cvx
  278. ]cvx
  279. end
  280. }bdf
  281. /AGMUTIL_imagefile nd
  282. /read_image_file
  283. {
  284. AGMUTIL_imagefile 0 setfileposition
  285. 10 dict begin
  286. /imageDict xdf
  287. /imbufLen Width BitsPerComponent mul 7 add 8 idiv def
  288. /imbufIdx 0 def
  289. /origDataSource imageDict/DataSource get def
  290. /origMultipleDataSources imageDict/MultipleDataSources get def
  291. /origDecode imageDict/Decode get def
  292. /dstDataStr imageDict/Width get colorSpaceElemCnt mul string def
  293. imageDict/MultipleDataSources known{MultipleDataSources}{false}ifelse
  294. {
  295. /imbufCnt imageDict/DataSource get length def
  296. /imbufs imbufCnt array def
  297. 0 1 imbufCnt 1 sub{
  298. /imbufIdx xdf
  299. imbufs imbufIdx imbufLen string put
  300. imageDict/DataSource get imbufIdx[AGMUTIL_imagefile imbufs imbufIdx get/readstring cvx/pop cvx]cvx put
  301. }for
  302. DeviceN_PS2{
  303. imageDict begin
  304. /DataSource[DataSource/devn_sep_datasource cvx]cvx def
  305. /MultipleDataSources false def
  306. /Decode[0 1]def
  307. end
  308. }if
  309. }{
  310. /imbuf imbufLen string def
  311. Indexed_DeviceN level3 not and DeviceN_NoneName or{
  312. /srcDataStrs[imageDict begin
  313. currentdict/MultipleDataSources known{MultipleDataSources{DataSource length}{1}ifelse}{1}ifelse
  314. {
  315. Width Decode length 2 div mul cvi string
  316. }repeat
  317. end]def
  318. imageDict begin
  319. /DataSource[AGMUTIL_imagefile Decode BitsPerComponent false 1/filter_indexed_devn load dstDataStr srcDataStrs devn_alt_datasource/exec cvx]cvx def
  320. /Decode[0 1]def
  321. end
  322. }{
  323. imageDict/DataSource[1 string dup 0 AGMUTIL_imagefile Decode length 2 idiv string/readstring cvx/pop cvx names_index/get cvx/put cvx]cvx put
  324. imageDict/Decode[0 1]put
  325. }ifelse
  326. }ifelse
  327. imageDict exch
  328. load exec
  329. imageDict/DataSource origDataSource put
  330. imageDict/MultipleDataSources origMultipleDataSources put
  331. imageDict/Decode origDecode put
  332. end
  333. }bdf
  334. /write_image_file
  335. {
  336. begin
  337. {(AGMUTIL_imagefile)(w+)file}stopped{
  338. false
  339. }{
  340. Adobe_AGM_Utils/AGMUTIL_imagefile xddf
  341. 2 dict begin
  342. /imbufLen Width BitsPerComponent mul 7 add 8 idiv def
  343. MultipleDataSources{DataSource 0 get}{DataSource}ifelse type/filetype eq{
  344. /imbuf imbufLen string def
  345. }if
  346. 1 1 Height MultipleDataSources not{Decode length 2 idiv mul}if{
  347. pop
  348. MultipleDataSources{
  349. 0 1 DataSource length 1 sub{
  350. DataSource type dup
  351. /arraytype eq{
  352. pop DataSource exch gx
  353. }{
  354. /filetype eq{
  355. DataSource exch get imbuf readstring pop
  356. }{
  357. DataSource exch get
  358. }ifelse
  359. }ifelse
  360. AGMUTIL_imagefile exch writestring
  361. }for
  362. }{
  363. DataSource type dup
  364. /arraytype eq{
  365. pop DataSource exec
  366. }{
  367. /filetype eq{
  368. DataSource imbuf readstring pop
  369. }{
  370. DataSource
  371. }ifelse
  372. }ifelse
  373. AGMUTIL_imagefile exch writestring
  374. }ifelse
  375. }for
  376. end
  377. true
  378. }ifelse
  379. end
  380. }bdf
  381. /close_image_file
  382. {
  383. AGMUTIL_imagefile closefile(AGMUTIL_imagefile)deletefile
  384. }def
  385. statusdict/product known userdict/AGMP_current_show known not and{
  386. /pstr statusdict/product get def
  387. pstr(HP LaserJet 2200)eq
  388. pstr(HP LaserJet 4000 Series)eq or
  389. pstr(HP LaserJet 4050 Series )eq or
  390. pstr(HP LaserJet 8000 Series)eq or
  391. pstr(HP LaserJet 8100 Series)eq or
  392. pstr(HP LaserJet 8150 Series)eq or
  393. pstr(HP LaserJet 5000 Series)eq or
  394. pstr(HP LaserJet 5100 Series)eq or
  395. pstr(HP Color LaserJet 4500)eq or
  396. pstr(HP Color LaserJet 4600)eq or
  397. pstr(HP LaserJet 5Si)eq or
  398. pstr(HP LaserJet 1200 Series)eq or
  399. pstr(HP LaserJet 1300 Series)eq or
  400. pstr(HP LaserJet 4100 Series)eq or
  401. {
  402. userdict/AGMP_current_show/show load put
  403. userdict/show{
  404. currentcolorspace 0 get
  405. /Pattern eq
  406. {false charpath f}
  407. {AGMP_current_show}ifelse
  408. }put
  409. }if
  410. currentdict/pstr undef
  411. }if
  412. /consumeimagedata
  413. {
  414. begin
  415. AGMIMG_init_common
  416. currentdict/MultipleDataSources known not
  417. {/MultipleDataSources false def}if
  418. MultipleDataSources
  419. {
  420. DataSource 0 get type
  421. dup/filetype eq
  422. {
  423. 1 dict begin
  424. /flushbuffer Width cvi string def
  425. 1 1 Height cvi
  426. {
  427. pop
  428. 0 1 DataSource length 1 sub
  429. {
  430. DataSource exch get
  431. flushbuffer readstring pop pop
  432. }for
  433. }for
  434. end
  435. }if
  436. dup/arraytype eq exch/packedarraytype eq or DataSource 0 get xcheck and
  437. {
  438. Width Height mul cvi
  439. {
  440. 0 1 DataSource length 1 sub
  441. {dup DataSource exch gx length exch 0 ne{pop}if}for
  442. dup 0 eq
  443. {pop exit}if
  444. sub dup 0 le
  445. {exit}if
  446. }loop
  447. pop
  448. }if
  449. }
  450. {
  451. /DataSource load type
  452. dup/filetype eq
  453. {
  454. 1 dict begin
  455. /flushbuffer Width Decode length 2 idiv mul cvi string def
  456. 1 1 Height{pop DataSource flushbuffer readstring pop pop}for
  457. end
  458. }if
  459. dup/arraytype eq exch/packedarraytype eq or/DataSource load xcheck and
  460. {
  461. Height Width BitsPerComponent mul 8 BitsPerComponent sub add 8 idiv Decode length 2 idiv mul mul
  462. {
  463. DataSource length dup 0 eq
  464. {pop exit}if
  465. sub dup 0 le
  466. {exit}if
  467. }loop
  468. pop
  469. }if
  470. }ifelse
  471. end
  472. }bdf
  473. /addprocs
  474. {
  475. 2{/exec load}repeat
  476. 3 1 roll
  477. [5 1 roll]bind cvx
  478. }def
  479. /modify_halftone_xfer
  480. {
  481. currenthalftone dup length dict copy begin
  482. currentdict 2 index known{
  483. 1 index load dup length dict copy begin
  484. currentdict/TransferFunction known{
  485. /TransferFunction load
  486. }{
  487. currenttransfer
  488. }ifelse
  489. addprocs/TransferFunction xdf
  490. currentdict end def
  491. currentdict end sethalftone
  492. }{
  493. currentdict/TransferFunction known{
  494. /TransferFunction load
  495. }{
  496. currenttransfer
  497. }ifelse
  498. addprocs/TransferFunction xdf
  499. currentdict end sethalftone
  500. pop
  501. }ifelse
  502. }def
  503. /clonearray
  504. {
  505. dup xcheck exch
  506. dup length array exch
  507. Adobe_AGM_Core/AGMCORE_tmp -1 ddf
  508. {
  509. Adobe_AGM_Core/AGMCORE_tmp 2 copy get 1 add ddf
  510. dup type/dicttype eq
  511. {
  512. Adobe_AGM_Core/AGMCORE_tmp get
  513. exch
  514. clonedict
  515. Adobe_AGM_Core/AGMCORE_tmp 4 -1 roll ddf
  516. }if
  517. dup type/arraytype eq
  518. {
  519. Adobe_AGM_Core/AGMCORE_tmp get exch
  520. clonearray
  521. Adobe_AGM_Core/AGMCORE_tmp 4 -1 roll ddf
  522. }if
  523. exch dup
  524. Adobe_AGM_Core/AGMCORE_tmp get 4 -1 roll put
  525. }forall
  526. exch{cvx}if
  527. }bdf
  528. /clonedict
  529. {
  530. dup length dict
  531. begin
  532. {
  533. dup type/dicttype eq
  534. {clonedict}if
  535. dup type/arraytype eq
  536. {clonearray}if
  537. def
  538. }forall
  539. currentdict
  540. end
  541. }bdf
  542. /DeviceN_PS2
  543. {
  544. /currentcolorspace AGMCORE_gget 0 get/DeviceN eq level3 not and
  545. }bdf
  546. /Indexed_DeviceN
  547. {
  548. /indexed_colorspace_dict AGMCORE_gget dup null ne{
  549. dup/CSDBase known{
  550. /CSDBase get/CSD get_res/Names known
  551. }{
  552. pop false
  553. }ifelse
  554. }{
  555. pop false
  556. }ifelse
  557. }bdf
  558. /DeviceN_NoneName
  559. {
  560. /Names where{
  561. pop
  562. false Names
  563. {
  564. (None)eq or
  565. }forall
  566. }{
  567. false
  568. }ifelse
  569. }bdf
  570. /DeviceN_PS2_inRip_seps
  571. {
  572. /AGMCORE_in_rip_sep where
  573. {
  574. pop dup type dup/arraytype eq exch/packedarraytype eq or
  575. {
  576. dup 0 get/DeviceN eq level3 not and AGMCORE_in_rip_sep and
  577. {
  578. /currentcolorspace exch AGMCORE_gput
  579. false
  580. }{
  581. true
  582. }ifelse
  583. }{
  584. true
  585. }ifelse
  586. }{
  587. true
  588. }ifelse
  589. }bdf
  590. /base_colorspace_type
  591. {
  592. dup type/arraytype eq{0 get}if
  593. }bdf
  594. /currentdistillerparams where{pop currentdistillerparams/CoreDistVersion get 5000 lt}{true}ifelse
  595. {
  596. /pdfmark_5{cleartomark}bind def
  597. }{
  598. /pdfmark_5{pdfmark}bind def
  599. }ifelse
  600. /ReadBypdfmark_5
  601. {
  602. currentfile exch 0 exch/SubFileDecode filter
  603. /currentdistillerparams where
  604. {pop currentdistillerparams/CoreDistVersion get 5000 lt}{true}ifelse
  605. {flushfile cleartomark}
  606. {/PUT pdfmark}ifelse
  607. }bdf
  608. /xpdfm
  609. {
  610. {
  611. dup 0 get/Label eq
  612. {
  613. aload length[exch 1 add 1 roll/PAGELABEL
  614. }{
  615. aload pop
  616. [{ThisPage}<<5 -2 roll>>/PUT
  617. }ifelse
  618. pdfmark_5
  619. }forall
  620. }bdf
  621. /ds{
  622. Adobe_AGM_Utils begin
  623. }bdf
  624. /dt{
  625. currentdict Adobe_AGM_Utils eq{
  626. end
  627. }if
  628. }bdf
  629. systemdict/setpacking known
  630. {setpacking}if
  631. %%EndResource
  632. %%BeginResource: procset Adobe_AGM_Core 2.0 0
  633. %%Version: 2.0 0
  634. %%Copyright: Copyright(C)1997-2007 Adobe Systems, Inc. All Rights Reserved.
  635. systemdict/setpacking known
  636. {
  637. currentpacking
  638. true setpacking
  639. }if
  640. userdict/Adobe_AGM_Core 209 dict dup begin put
  641. /Adobe_AGM_Core_Id/Adobe_AGM_Core_2.0_0 def
  642. /AGMCORE_str256 256 string def
  643. /AGMCORE_save nd
  644. /AGMCORE_graphicsave nd
  645. /AGMCORE_c 0 def
  646. /AGMCORE_m 0 def
  647. /AGMCORE_y 0 def
  648. /AGMCORE_k 0 def
  649. /AGMCORE_cmykbuf 4 array def
  650. /AGMCORE_screen[currentscreen]cvx def
  651. /AGMCORE_tmp 0 def
  652. /AGMCORE_&setgray nd
  653. /AGMCORE_&setcolor nd
  654. /AGMCORE_&setcolorspace nd
  655. /AGMCORE_&setcmykcolor nd
  656. /AGMCORE_cyan_plate nd
  657. /AGMCORE_magenta_plate nd
  658. /AGMCORE_yellow_plate nd
  659. /AGMCORE_black_plate nd
  660. /AGMCORE_plate_ndx nd
  661. /AGMCORE_get_ink_data nd
  662. /AGMCORE_is_cmyk_sep nd
  663. /AGMCORE_host_sep nd
  664. /AGMCORE_avoid_L2_sep_space nd
  665. /AGMCORE_distilling nd
  666. /AGMCORE_composite_job nd
  667. /AGMCORE_producing_seps nd
  668. /AGMCORE_ps_level -1 def
  669. /AGMCORE_ps_version -1 def
  670. /AGMCORE_environ_ok nd
  671. /AGMCORE_CSD_cache 0 dict def
  672. /AGMCORE_currentoverprint false def
  673. /AGMCORE_deltaX nd
  674. /AGMCORE_deltaY nd
  675. /AGMCORE_name nd
  676. /AGMCORE_sep_special nd
  677. /AGMCORE_err_strings 4 dict def
  678. /AGMCORE_cur_err nd
  679. /AGMCORE_current_spot_alias false def
  680. /AGMCORE_inverting false def
  681. /AGMCORE_feature_dictCount nd
  682. /AGMCORE_feature_opCount nd
  683. /AGMCORE_feature_ctm nd
  684. /AGMCORE_ConvertToProcess false def
  685. /AGMCORE_Default_CTM matrix def
  686. /AGMCORE_Default_PageSize nd
  687. /AGMCORE_Default_flatness nd
  688. /AGMCORE_currentbg nd
  689. /AGMCORE_currentucr nd
  690. /AGMCORE_pattern_paint_type 0 def
  691. /knockout_unitsq nd
  692. currentglobal true setglobal
  693. [/CSA/Gradient/Procedure]
  694. {
  695. /Generic/Category findresource dup length dict copy/Category defineresource pop
  696. }forall
  697. setglobal
  698. /AGMCORE_key_known
  699. {
  700. where{
  701. /Adobe_AGM_Core_Id known
  702. }{
  703. false
  704. }ifelse
  705. }ndf
  706. /flushinput
  707. {
  708. save
  709. 2 dict begin
  710. /CompareBuffer 3 -1 roll def
  711. /readbuffer 256 string def
  712. mark
  713. {
  714. currentfile readbuffer{readline}stopped
  715. {cleartomark mark}
  716. {
  717. not
  718. {pop exit}
  719. if
  720. CompareBuffer eq
  721. {exit}
  722. if
  723. }ifelse
  724. }loop
  725. cleartomark
  726. end
  727. restore
  728. }bdf
  729. /getspotfunction
  730. {
  731. AGMCORE_screen exch pop exch pop
  732. dup type/dicttype eq{
  733. dup/HalftoneType get 1 eq{
  734. /SpotFunction get
  735. }{
  736. dup/HalftoneType get 2 eq{
  737. /GraySpotFunction get
  738. }{
  739. pop
  740. {
  741. abs exch abs 2 copy add 1 gt{
  742. 1 sub dup mul exch 1 sub dup mul add 1 sub
  743. }{
  744. dup mul exch dup mul add 1 exch sub
  745. }ifelse
  746. }bind
  747. }ifelse
  748. }ifelse
  749. }if
  750. }def
  751. /np
  752. {newpath}bdf
  753. /clp_npth
  754. {clip np}def
  755. /eoclp_npth
  756. {eoclip np}def
  757. /npth_clp
  758. {np clip}def
  759. /graphic_setup
  760. {
  761. /AGMCORE_graphicsave save store
  762. concat
  763. 0 setgray
  764. 0 setlinecap
  765. 0 setlinejoin
  766. 1 setlinewidth
  767. []0 setdash
  768. 10 setmiterlimit
  769. np
  770. false setoverprint
  771. false setstrokeadjust
  772. //Adobe_AGM_Core/spot_alias gx
  773. /Adobe_AGM_Image where{
  774. pop
  775. Adobe_AGM_Image/spot_alias 2 copy known{
  776. gx
  777. }{
  778. pop pop
  779. }ifelse
  780. }if
  781. /sep_colorspace_dict null AGMCORE_gput
  782. 100 dict begin
  783. /dictstackcount countdictstack def
  784. /showpage{}def
  785. mark
  786. }def
  787. /graphic_cleanup
  788. {
  789. cleartomark
  790. dictstackcount 1 countdictstack 1 sub{end}for
  791. end
  792. AGMCORE_graphicsave restore
  793. }def
  794. /compose_error_msg
  795. {
  796. grestoreall initgraphics
  797. /Helvetica findfont 10 scalefont setfont
  798. /AGMCORE_deltaY 100 def
  799. /AGMCORE_deltaX 310 def
  800. clippath pathbbox np pop pop 36 add exch 36 add exch moveto
  801. 0 AGMCORE_deltaY rlineto AGMCORE_deltaX 0 rlineto
  802. 0 AGMCORE_deltaY neg rlineto AGMCORE_deltaX neg 0 rlineto closepath
  803. 0 AGMCORE_&setgray
  804. gsave 1 AGMCORE_&setgray fill grestore
  805. 1 setlinewidth gsave stroke grestore
  806. currentpoint AGMCORE_deltaY 15 sub add exch 8 add exch moveto
  807. /AGMCORE_deltaY 12 def
  808. /AGMCORE_tmp 0 def
  809. AGMCORE_err_strings exch get
  810. {
  811. dup 32 eq
  812. {
  813. pop
  814. AGMCORE_str256 0 AGMCORE_tmp getinterval
  815. stringwidth pop currentpoint pop add AGMCORE_deltaX 28 add gt
  816. {
  817. currentpoint AGMCORE_deltaY sub exch pop
  818. clippath pathbbox pop pop pop 44 add exch moveto
  819. }if
  820. AGMCORE_str256 0 AGMCORE_tmp getinterval show( )show
  821. 0 1 AGMCORE_str256 length 1 sub
  822. {
  823. AGMCORE_str256 exch 0 put
  824. }for
  825. /AGMCORE_tmp 0 def
  826. }{
  827. AGMCORE_str256 exch AGMCORE_tmp xpt
  828. /AGMCORE_tmp AGMCORE_tmp 1 add def
  829. }ifelse
  830. }forall
  831. }bdf
  832. /AGMCORE_CMYKDeviceNColorspaces[
  833. [/Separation/None/DeviceCMYK{0 0 0}]
  834. [/Separation(Black)/DeviceCMYK{0 0 0 4 -1 roll}bind]
  835. [/Separation(Yellow)/DeviceCMYK{0 0 3 -1 roll 0}bind]
  836. [/DeviceN[(Yellow)(Black)]/DeviceCMYK{0 0 4 2 roll}bind]
  837. [/Separation(Magenta)/DeviceCMYK{0 exch 0 0}bind]
  838. [/DeviceN[(Magenta)(Black)]/DeviceCMYK{0 3 1 roll 0 exch}bind]
  839. [/DeviceN[(Magenta)(Yellow)]/DeviceCMYK{0 3 1 roll 0}bind]
  840. [/DeviceN[(Magenta)(Yellow)(Black)]/DeviceCMYK{0 4 1 roll}bind]
  841. [/Separation(Cyan)/DeviceCMYK{0 0 0}]
  842. [/DeviceN[(Cyan)(Black)]/DeviceCMYK{0 0 3 -1 roll}bind]
  843. [/DeviceN[(Cyan)(Yellow)]/DeviceCMYK{0 exch 0}bind]
  844. [/DeviceN[(Cyan)(Yellow)(Black)]/DeviceCMYK{0 3 1 roll}bind]
  845. [/DeviceN[(Cyan)(Magenta)]/DeviceCMYK{0 0}]
  846. [/DeviceN[(Cyan)(Magenta)(Black)]/DeviceCMYK{0 exch}bind]
  847. [/DeviceN[(Cyan)(Magenta)(Yellow)]/DeviceCMYK{0}]
  848. [/DeviceCMYK]
  849. ]def
  850. /ds{
  851. Adobe_AGM_Core begin
  852. /currentdistillerparams where
  853. {
  854. pop currentdistillerparams/CoreDistVersion get 5000 lt
  855. {<</DetectBlends false>>setdistillerparams}if
  856. }if
  857. /AGMCORE_ps_version xdf
  858. /AGMCORE_ps_level xdf
  859. errordict/AGM_handleerror known not{
  860. errordict/AGM_handleerror errordict/handleerror get put
  861. errordict/handleerror{
  862. Adobe_AGM_Core begin
  863. $error/newerror get AGMCORE_cur_err null ne and{
  864. $error/newerror false put
  865. AGMCORE_cur_err compose_error_msg
  866. }if
  867. $error/newerror true put
  868. end
  869. errordict/AGM_handleerror get exec
  870. }bind put
  871. }if
  872. /AGMCORE_environ_ok
  873. ps_level AGMCORE_ps_level ge
  874. ps_version AGMCORE_ps_version ge and
  875. AGMCORE_ps_level -1 eq or
  876. def
  877. AGMCORE_environ_ok not
  878. {/AGMCORE_cur_err/AGMCORE_bad_environ def}if
  879. /AGMCORE_&setgray systemdict/setgray get def
  880. level2{
  881. /AGMCORE_&setcolor systemdict/setcolor get def
  882. /AGMCORE_&setcolorspace systemdict/setcolorspace get def
  883. }if
  884. /AGMCORE_currentbg currentblackgeneration def
  885. /AGMCORE_currentucr currentundercolorremoval def
  886. /AGMCORE_Default_flatness currentflat def
  887. /AGMCORE_distilling
  888. /product where{
  889. pop systemdict/setdistillerparams known product(Adobe PostScript Parser)ne and
  890. }{
  891. false
  892. }ifelse
  893. def
  894. /AGMCORE_GSTATE AGMCORE_key_known not{
  895. /AGMCORE_GSTATE 21 dict def
  896. /AGMCORE_tmpmatrix matrix def
  897. /AGMCORE_gstack 32 array def
  898. /AGMCORE_gstackptr 0 def
  899. /AGMCORE_gstacksaveptr 0 def
  900. /AGMCORE_gstackframekeys 14 def
  901. /AGMCORE_&gsave/gsave ldf
  902. /AGMCORE_&grestore/grestore ldf
  903. /AGMCORE_&grestoreall/grestoreall ldf
  904. /AGMCORE_&save/save ldf
  905. /AGMCORE_&setoverprint/setoverprint ldf
  906. /AGMCORE_gdictcopy{
  907. begin
  908. {def}forall
  909. end
  910. }def
  911. /AGMCORE_gput{
  912. AGMCORE_gstack AGMCORE_gstackptr get
  913. 3 1 roll
  914. put
  915. }def
  916. /AGMCORE_gget{
  917. AGMCORE_gstack AGMCORE_gstackptr get
  918. exch
  919. get
  920. }def
  921. /gsave{
  922. AGMCORE_&gsave
  923. AGMCORE_gstack AGMCORE_gstackptr get
  924. AGMCORE_gstackptr 1 add
  925. dup 32 ge{limitcheck}if
  926. /AGMCORE_gstackptr exch store
  927. AGMCORE_gstack AGMCORE_gstackptr get
  928. AGMCORE_gdictcopy
  929. }def
  930. /grestore{
  931. AGMCORE_&grestore
  932. AGMCORE_gstackptr 1 sub
  933. dup AGMCORE_gstacksaveptr lt{1 add}if
  934. dup AGMCORE_gstack exch get dup/AGMCORE_currentoverprint known
  935. {/AGMCORE_currentoverprint get setoverprint}{pop}ifelse
  936. /AGMCORE_gstackptr exch store
  937. }def
  938. /grestoreall{
  939. AGMCORE_&grestoreall
  940. /AGMCORE_gstackptr AGMCORE_gstacksaveptr store
  941. }def
  942. /save{
  943. AGMCORE_&save
  944. AGMCORE_gstack AGMCORE_gstackptr get
  945. AGMCORE_gstackptr 1 add
  946. dup 32 ge{limitcheck}if
  947. /AGMCORE_gstackptr exch store
  948. /AGMCORE_gstacksaveptr AGMCORE_gstackptr store
  949. AGMCORE_gstack AGMCORE_gstackptr get
  950. AGMCORE_gdictcopy
  951. }def
  952. /setoverprint{
  953. dup/AGMCORE_currentoverprint exch AGMCORE_gput AGMCORE_&setoverprint
  954. }def
  955. 0 1 AGMCORE_gstack length 1 sub{
  956. AGMCORE_gstack exch AGMCORE_gstackframekeys dict put
  957. }for
  958. }if
  959. level3/AGMCORE_&sysshfill AGMCORE_key_known not and
  960. {
  961. /AGMCORE_&sysshfill systemdict/shfill get def
  962. /AGMCORE_&sysmakepattern systemdict/makepattern get def
  963. /AGMCORE_&usrmakepattern/makepattern load def
  964. }if
  965. /currentcmykcolor[0 0 0 0]AGMCORE_gput
  966. /currentstrokeadjust false AGMCORE_gput
  967. /currentcolorspace[/DeviceGray]AGMCORE_gput
  968. /sep_tint 0 AGMCORE_gput
  969. /devicen_tints[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]AGMCORE_gput
  970. /sep_colorspace_dict null AGMCORE_gput
  971. /devicen_colorspace_dict null AGMCORE_gput
  972. /indexed_colorspace_dict null AGMCORE_gput
  973. /currentcolor_intent()AGMCORE_gput
  974. /customcolor_tint 1 AGMCORE_gput
  975. /absolute_colorimetric_crd null AGMCORE_gput
  976. /relative_colorimetric_crd null AGMCORE_gput
  977. /saturation_crd null AGMCORE_gput
  978. /perceptual_crd null AGMCORE_gput
  979. currentcolortransfer cvlit/AGMCore_gray_xfer xdf cvlit/AGMCore_b_xfer xdf
  980. cvlit/AGMCore_g_xfer xdf cvlit/AGMCore_r_xfer xdf
  981. <<
  982. /MaxPatternItem currentsystemparams/MaxPatternCache get
  983. >>
  984. setuserparams
  985. end
  986. }def
  987. /ps
  988. {
  989. /setcmykcolor where{
  990. pop
  991. Adobe_AGM_Core/AGMCORE_&setcmykcolor/setcmykcolor load put
  992. }if
  993. Adobe_AGM_Core begin
  994. /setcmykcolor
  995. {
  996. 4 copy AGMCORE_cmykbuf astore/currentcmykcolor exch AGMCORE_gput
  997. 1 sub 4 1 roll
  998. 3{
  999. 3 index add neg dup 0 lt{
  1000. pop 0
  1001. }if
  1002. 3 1 roll
  1003. }repeat
  1004. setrgbcolor pop
  1005. }ndf
  1006. /currentcmykcolor
  1007. {
  1008. /currentcmykcolor AGMCORE_gget aload pop
  1009. }ndf
  1010. /setoverprint
  1011. {pop}ndf
  1012. /currentoverprint
  1013. {false}ndf
  1014. /AGMCORE_cyan_plate 1 0 0 0 test_cmyk_color_plate def
  1015. /AGMCORE_magenta_plate 0 1 0 0 test_cmyk_color_plate def
  1016. /AGMCORE_yellow_plate 0 0 1 0 test_cmyk_color_plate def
  1017. /AGMCORE_black_plate 0 0 0 1 test_cmyk_color_plate def
  1018. /AGMCORE_plate_ndx
  1019. AGMCORE_cyan_plate{
  1020. 0
  1021. }{
  1022. AGMCORE_magenta_plate{
  1023. 1
  1024. }{
  1025. AGMCORE_yellow_plate{
  1026. 2
  1027. }{
  1028. AGMCORE_black_plate{
  1029. 3
  1030. }{
  1031. 4
  1032. }ifelse
  1033. }ifelse
  1034. }ifelse
  1035. }ifelse
  1036. def
  1037. /AGMCORE_have_reported_unsupported_color_space false def
  1038. /AGMCORE_report_unsupported_color_space
  1039. {
  1040. AGMCORE_have_reported_unsupported_color_space false eq
  1041. {
  1042. (Warning: Job contains content that cannot be separated with on-host methods. This content appears on the black plate, and knocks out all other plates.)==
  1043. Adobe_AGM_Core/AGMCORE_have_reported_unsupported_color_space true ddf
  1044. }if
  1045. }def
  1046. /AGMCORE_composite_job
  1047. AGMCORE_cyan_plate AGMCORE_magenta_plate and AGMCORE_yellow_plate and AGMCORE_black_plate and def
  1048. /AGMCORE_in_rip_sep
  1049. /AGMCORE_in_rip_sep where{
  1050. pop AGMCORE_in_rip_sep
  1051. }{
  1052. AGMCORE_distilling
  1053. {
  1054. false
  1055. }{
  1056. userdict/Adobe_AGM_OnHost_Seps known{
  1057. false
  1058. }{
  1059. level2{
  1060. currentpagedevice/Separations 2 copy known{
  1061. get
  1062. }{
  1063. pop pop false
  1064. }ifelse
  1065. }{
  1066. false
  1067. }ifelse
  1068. }ifelse
  1069. }ifelse
  1070. }ifelse
  1071. def
  1072. /AGMCORE_producing_seps AGMCORE_composite_job not AGMCORE_in_rip_sep or def
  1073. /AGMCORE_host_sep AGMCORE_producing_seps AGMCORE_in_rip_sep not and def
  1074. /AGM_preserve_spots
  1075. /AGM_preserve_spots where{
  1076. pop AGM_preserve_spots
  1077. }{
  1078. AGMCORE_distilling AGMCORE_producing_seps or
  1079. }ifelse
  1080. def
  1081. /AGM_is_distiller_preserving_spotimages
  1082. {
  1083. currentdistillerparams/PreserveOverprintSettings known
  1084. {
  1085. currentdistillerparams/PreserveOverprintSettings get
  1086. {
  1087. currentdistillerparams/ColorConversionStrategy known
  1088. {
  1089. currentdistillerparams/ColorConversionStrategy get
  1090. /sRGB ne
  1091. }{
  1092. true
  1093. }ifelse
  1094. }{
  1095. false
  1096. }ifelse
  1097. }{
  1098. false
  1099. }ifelse
  1100. }def
  1101. /convert_spot_to_process where{pop}{
  1102. /convert_spot_to_process
  1103. {
  1104. //Adobe_AGM_Core begin
  1105. dup map_alias{
  1106. /Name get exch pop
  1107. }if
  1108. dup dup(None)eq exch(All)eq or
  1109. {
  1110. pop false
  1111. }{
  1112. AGMCORE_host_sep
  1113. {
  1114. gsave
  1115. 1 0 0 0 setcmykcolor currentgray 1 exch sub
  1116. 0 1 0 0 setcmykcolor currentgray 1 exch sub
  1117. 0 0 1 0 setcmykcolor currentgray 1 exch sub
  1118. 0 0 0 1 setcmykcolor currentgray 1 exch sub
  1119. add add add 0 eq
  1120. {
  1121. pop false
  1122. }{
  1123. false setoverprint
  1124. current_spot_alias false set_spot_alias
  1125. 1 1 1 1 6 -1 roll findcmykcustomcolor 1 setcustomcolor
  1126. set_spot_alias
  1127. currentgray 1 ne
  1128. }ifelse
  1129. grestore
  1130. }{
  1131. AGMCORE_distilling
  1132. {
  1133. pop AGM_is_distiller_preserving_spotimages not
  1134. }{
  1135. //Adobe_AGM_Core/AGMCORE_name xddf
  1136. false
  1137. //Adobe_AGM_Core/AGMCORE_pattern_paint_type get 0 eq
  1138. AGMUTIL_cpd/OverrideSeparations known and
  1139. {
  1140. AGMUTIL_cpd/OverrideSeparations get
  1141. {
  1142. /HqnSpots/ProcSet resourcestatus
  1143. {
  1144. pop pop pop true
  1145. }if
  1146. }if
  1147. }if
  1148. {
  1149. AGMCORE_name/HqnSpots/ProcSet findresource/TestSpot gx not
  1150. }{
  1151. gsave
  1152. [/Separation AGMCORE_name/DeviceGray{}]AGMCORE_&setcolorspace
  1153. false
  1154. AGMUTIL_cpd/SeparationColorNames 2 copy known
  1155. {
  1156. get
  1157. {AGMCORE_name eq or}forall
  1158. not
  1159. }{
  1160. pop pop pop true
  1161. }ifelse
  1162. grestore
  1163. }ifelse
  1164. }ifelse
  1165. }ifelse
  1166. }ifelse
  1167. end
  1168. }def
  1169. }ifelse
  1170. /convert_to_process where{pop}{
  1171. /convert_to_process
  1172. {
  1173. dup length 0 eq
  1174. {
  1175. pop false
  1176. }{
  1177. AGMCORE_host_sep
  1178. {
  1179. dup true exch
  1180. {
  1181. dup(Cyan)eq exch
  1182. dup(Magenta)eq 3 -1 roll or exch
  1183. dup(Yellow)eq 3 -1 roll or exch
  1184. dup(Black)eq 3 -1 roll or
  1185. {pop}
  1186. {convert_spot_to_process and}ifelse
  1187. }
  1188. forall
  1189. {
  1190. true exch
  1191. {
  1192. dup(Cyan)eq exch
  1193. dup(Magenta)eq 3 -1 roll or exch
  1194. dup(Yellow)eq 3 -1 roll or exch
  1195. (Black)eq or and
  1196. }forall
  1197. not
  1198. }{pop false}ifelse
  1199. }{
  1200. false exch
  1201. {
  1202. /PhotoshopDuotoneList where{pop false}{true}ifelse
  1203. {
  1204. dup(Cyan)eq exch
  1205. dup(Magenta)eq 3 -1 roll or exch
  1206. dup(Yellow)eq 3 -1 roll or exch
  1207. dup(Black)eq 3 -1 roll or
  1208. {pop}
  1209. {convert_spot_to_process or}ifelse
  1210. }
  1211. {
  1212. convert_spot_to_process or
  1213. }
  1214. ifelse
  1215. }
  1216. forall
  1217. }ifelse
  1218. }ifelse
  1219. }def
  1220. }ifelse
  1221. /AGMCORE_avoid_L2_sep_space
  1222. version cvr 2012 lt
  1223. level2 and
  1224. AGMCORE_producing_seps not and
  1225. def
  1226. /AGMCORE_is_cmyk_sep
  1227. AGMCORE_cyan_plate AGMCORE_magenta_plate or AGMCORE_yellow_plate or AGMCORE_black_plate or
  1228. def
  1229. /AGM_avoid_0_cmyk where{
  1230. pop AGM_avoid_0_cmyk
  1231. }{
  1232. AGM_preserve_spots
  1233. userdict/Adobe_AGM_OnHost_Seps known
  1234. userdict/Adobe_AGM_InRip_Seps known or
  1235. not and
  1236. }ifelse
  1237. {
  1238. /setcmykcolor[
  1239. {
  1240. 4 copy add add add 0 eq currentoverprint and{
  1241. pop 0.0005
  1242. }if
  1243. }/exec cvx
  1244. /AGMCORE_&setcmykcolor load dup type/operatortype ne{
  1245. /exec cvx
  1246. }if
  1247. ]cvx def
  1248. }if
  1249. /AGMCORE_IsSeparationAProcessColor
  1250. {
  1251. dup(Cyan)eq exch dup(Magenta)eq exch dup(Yellow)eq exch(Black)eq or or or
  1252. }def
  1253. AGMCORE_host_sep{
  1254. /setcolortransfer
  1255. {
  1256. AGMCORE_cyan_plate{
  1257. pop pop pop
  1258. }{
  1259. AGMCORE_magenta_plate{
  1260. 4 3 roll pop pop pop
  1261. }{
  1262. AGMCORE_yellow_plate{
  1263. 4 2 roll pop pop pop
  1264. }{
  1265. 4 1 roll pop pop pop
  1266. }ifelse
  1267. }ifelse
  1268. }ifelse
  1269. settransfer
  1270. }
  1271. def
  1272. /AGMCORE_get_ink_data
  1273. AGMCORE_cyan_plate{
  1274. {pop pop pop}
  1275. }{
  1276. AGMCORE_magenta_plate{
  1277. {4 3 roll pop pop pop}
  1278. }{
  1279. AGMCORE_yellow_plate{
  1280. {4 2 roll pop pop pop}
  1281. }{
  1282. {4 1 roll pop pop pop}
  1283. }ifelse
  1284. }ifelse
  1285. }ifelse
  1286. def
  1287. /AGMCORE_RemoveProcessColorNames
  1288. {
  1289. 1 dict begin
  1290. /filtername
  1291. {
  1292. dup/Cyan eq 1 index(Cyan)eq or
  1293. {pop(_cyan_)}if
  1294. dup/Magenta eq 1 index(Magenta)eq or
  1295. {pop(_magenta_)}if
  1296. dup/Yellow eq 1 index(Yellow)eq or
  1297. {pop(_yellow_)}if
  1298. dup/Black eq 1 index(Black)eq or
  1299. {pop(_black_)}if
  1300. }def
  1301. dup type/arraytype eq
  1302. {[exch{filtername}forall]}
  1303. {filtername}ifelse
  1304. end
  1305. }def
  1306. level3{
  1307. /AGMCORE_IsCurrentColor
  1308. {
  1309. dup AGMCORE_IsSeparationAProcessColor
  1310. {
  1311. AGMCORE_plate_ndx 0 eq
  1312. {dup(Cyan)eq exch/Cyan eq or}if
  1313. AGMCORE_plate_ndx 1 eq
  1314. {dup(Magenta)eq exch/Magenta eq or}if
  1315. AGMCORE_plate_ndx 2 eq
  1316. {dup(Yellow)eq exch/Yellow eq or}if
  1317. AGMCORE_plate_ndx 3 eq
  1318. {dup(Black)eq exch/Black eq or}if
  1319. AGMCORE_plate_ndx 4 eq
  1320. {pop false}if
  1321. }{
  1322. gsave
  1323. false setoverprint
  1324. current_spot_alias false set_spot_alias
  1325. 1 1 1 1 6 -1 roll findcmykcustomcolor 1 setcustomcolor
  1326. set_spot_alias
  1327. currentgray 1 ne
  1328. grestore
  1329. }ifelse
  1330. }def
  1331. /AGMCORE_filter_functiondatasource
  1332. {
  1333. 5 dict begin
  1334. /data_in xdf
  1335. data_in type/stringtype eq
  1336. {
  1337. /ncomp xdf
  1338. /comp xdf
  1339. /string_out data_in length ncomp idiv string def
  1340. 0 ncomp data_in length 1 sub
  1341. {
  1342. string_out exch dup ncomp idiv exch data_in exch ncomp getinterval comp get 255 exch sub put
  1343. }for
  1344. string_out
  1345. }{
  1346. string/string_in xdf
  1347. /string_out 1 string def
  1348. /component xdf
  1349. [
  1350. data_in string_in/readstring cvx
  1351. [component/get cvx 255/exch cvx/sub cvx string_out/exch cvx 0/exch cvx/put cvx string_out]cvx
  1352. [/pop cvx()]cvx/ifelse cvx
  1353. ]cvx/ReusableStreamDecode filter
  1354. }ifelse
  1355. end
  1356. }def
  1357. /AGMCORE_separateShadingFunction
  1358. {
  1359. 2 dict begin
  1360. /paint? xdf
  1361. /channel xdf
  1362. dup type/dicttype eq
  1363. {
  1364. begin
  1365. FunctionType 0 eq
  1366. {
  1367. /DataSource channel Range length 2 idiv DataSource AGMCORE_filter_functiondatasource def
  1368. currentdict/Decode known
  1369. {/Decode Decode channel 2 mul 2 getinterval def}if
  1370. paint? not
  1371. {/Decode[1 1]def}if
  1372. }if
  1373. FunctionType 2 eq
  1374. {
  1375. paint?
  1376. {
  1377. /C0[C0 channel get 1 exch sub]def
  1378. /C1[C1 channel get 1 exch sub]def
  1379. }{
  1380. /C0[1]def
  1381. /C1[1]def
  1382. }ifelse
  1383. }if
  1384. FunctionType 3 eq
  1385. {
  1386. /Functions[Functions{channel paint? AGMCORE_separateShadingFunction}forall]def
  1387. }if
  1388. currentdict/Range known
  1389. {/Range[0 1]def}if
  1390. currentdict
  1391. end}{
  1392. channel get 0 paint? AGMCORE_separateShadingFunction
  1393. }ifelse
  1394. end
  1395. }def
  1396. /AGMCORE_separateShading
  1397. {
  1398. 3 -1 roll begin
  1399. currentdict/Function known
  1400. {
  1401. currentdict/Background known
  1402. {[1 index{Background 3 index get 1 exch sub}{1}ifelse]/Background xdf}if
  1403. Function 3 1 roll AGMCORE_separateShadingFunction/Function xdf
  1404. /ColorSpace[/DeviceGray]def
  1405. }{
  1406. ColorSpace dup type/arraytype eq{0 get}if/DeviceCMYK eq
  1407. {
  1408. /ColorSpace[/DeviceN[/_cyan_/_magenta_/_yellow_/_black_]/DeviceCMYK{}]def
  1409. }{
  1410. ColorSpace dup 1 get AGMCORE_RemoveProcessColorNames 1 exch put
  1411. }ifelse
  1412. ColorSpace 0 get/Separation eq
  1413. {
  1414. {
  1415. [1/exch cvx/sub cvx]cvx
  1416. }{
  1417. [/pop cvx 1]cvx
  1418. }ifelse
  1419. ColorSpace 3 3 -1 roll put
  1420. pop
  1421. }{
  1422. {
  1423. [exch ColorSpace 1 get length 1 sub exch sub/index cvx 1/exch cvx/sub cvx ColorSpace 1 get length 1 add 1/roll cvx ColorSpace 1 get length{/pop cvx}repeat]cvx
  1424. }{
  1425. pop[ColorSpace 1 get length{/pop cvx}repeat cvx 1]cvx
  1426. }ifelse
  1427. ColorSpace 3 3 -1 roll bind put
  1428. }ifelse
  1429. ColorSpace 2/DeviceGray put
  1430. }ifelse
  1431. end
  1432. }def
  1433. /AGMCORE_separateShadingDict
  1434. {
  1435. dup/ColorSpace get
  1436. dup type/arraytype ne
  1437. {[exch]}if
  1438. dup 0 get/DeviceCMYK eq
  1439. {
  1440. exch begin
  1441. currentdict
  1442. AGMCORE_cyan_plate
  1443. {0 true}if
  1444. AGMCORE_magenta_plate
  1445. {1 true}if
  1446. AGMCORE_yellow_plate
  1447. {2 true}if
  1448. AGMCORE_black_plate
  1449. {3 true}if
  1450. AGMCORE_plate_ndx 4 eq
  1451. {0 false}if
  1452. dup not currentoverprint and
  1453. {/AGMCORE_ignoreshade true def}if
  1454. AGMCORE_separateShading
  1455. currentdict
  1456. end exch
  1457. }if
  1458. dup 0 get/Separation eq
  1459. {
  1460. exch begin
  1461. ColorSpace 1 get dup/None ne exch/All ne and
  1462. {
  1463. ColorSpace 1 get AGMCORE_IsCurrentColor AGMCORE_plate_ndx 4 lt and ColorSpace 1 get AGMCORE_IsSeparationAProcessColor not and
  1464. {
  1465. ColorSpace 2 get dup type/arraytype eq{0 get}if/DeviceCMYK eq
  1466. {
  1467. /ColorSpace
  1468. [
  1469. /Separation
  1470. ColorSpace 1 get
  1471. /DeviceGray
  1472. [
  1473. ColorSpace 3 get/exec cvx
  1474. 4 AGMCORE_plate_ndx sub -1/roll cvx
  1475. 4 1/roll cvx
  1476. 3[/pop cvx]cvx/repeat cvx
  1477. 1/exch cvx/sub cvx
  1478. ]cvx
  1479. ]def
  1480. }{
  1481. AGMCORE_report_unsupported_color_space
  1482. AGMCORE_black_plate not
  1483. {
  1484. currentdict 0 false AGMCORE_separateShading
  1485. }if
  1486. }ifelse
  1487. }{
  1488. currentdict ColorSpace 1 get AGMCORE_IsCurrentColor
  1489. 0 exch
  1490. dup not currentoverprint and
  1491. {/AGMCORE_ignoreshade true def}if
  1492. AGMCORE_separateShading
  1493. }ifelse
  1494. }if
  1495. currentdict
  1496. end exch
  1497. }if
  1498. dup 0 get/DeviceN eq
  1499. {
  1500. exch begin
  1501. ColorSpace 1 get convert_to_process
  1502. {
  1503. ColorSpace 2 get dup type/arraytype eq{0 get}if/DeviceCMYK eq
  1504. {
  1505. /ColorSpace
  1506. [
  1507. /DeviceN
  1508. ColorSpace 1 get
  1509. /DeviceGray
  1510. [
  1511. ColorSpace 3 get/exec cvx
  1512. 4 AGMCORE_plate_ndx sub -1/roll cvx
  1513. 4 1/roll cvx
  1514. 3[/pop cvx]cvx/repeat cvx
  1515. 1/exch cvx/sub cvx
  1516. ]cvx
  1517. ]def
  1518. }{
  1519. AGMCORE_report_unsupported_color_space
  1520. AGMCORE_black_plate not
  1521. {
  1522. currentdict 0 false AGMCORE_separateShading
  1523. /ColorSpace[/DeviceGray]def
  1524. }if
  1525. }ifelse
  1526. }{
  1527. currentdict
  1528. false -1 ColorSpace 1 get
  1529. {
  1530. AGMCORE_IsCurrentColor
  1531. {
  1532. 1 add
  1533. exch pop true exch exit
  1534. }if
  1535. 1 add
  1536. }forall
  1537. exch
  1538. dup not currentoverprint and
  1539. {/AGMCORE_ignoreshade true def}if
  1540. AGMCORE_separateShading
  1541. }ifelse
  1542. currentdict
  1543. end exch
  1544. }if
  1545. dup 0 get dup/DeviceCMYK eq exch dup/Separation eq exch/DeviceN eq or or not
  1546. {
  1547. exch begin
  1548. ColorSpace dup type/arraytype eq
  1549. {0 get}if
  1550. /DeviceGray ne
  1551. {
  1552. AGMCORE_report_unsupported_color_space
  1553. AGMCORE_black_plate not
  1554. {
  1555. ColorSpace 0 get/CIEBasedA eq
  1556. {
  1557. /ColorSpace[/Separation/_ciebaseda_/DeviceGray{}]def
  1558. }if
  1559. ColorSpace 0 get dup/CIEBasedABC eq exch dup/CIEBasedDEF eq exch/DeviceRGB eq or or
  1560. {
  1561. /ColorSpace[/DeviceN[/_red_/_green_/_blue_]/DeviceRGB{}]def
  1562. }if
  1563. ColorSpace 0 get/CIEBasedDEFG eq
  1564. {
  1565. /ColorSpace[/DeviceN[/_cyan_/_magenta_/_yellow_/_black_]/DeviceCMYK{}]def
  1566. }if
  1567. currentdict 0 false AGMCORE_separateShading
  1568. }if
  1569. }if
  1570. currentdict
  1571. end exch
  1572. }if
  1573. pop
  1574. dup/AGMCORE_ignoreshade known
  1575. {
  1576. begin
  1577. /ColorSpace[/Separation(None)/DeviceGray{}]def
  1578. currentdict end
  1579. }if
  1580. }def
  1581. /shfill
  1582. {
  1583. AGMCORE_separateShadingDict
  1584. dup/AGMCORE_ignoreshade known
  1585. {pop}
  1586. {AGMCORE_&sysshfill}ifelse
  1587. }def
  1588. /makepattern
  1589. {
  1590. exch
  1591. dup/PatternType get 2 eq
  1592. {
  1593. clonedict
  1594. begin
  1595. /Shading Shading AGMCORE_separateShadingDict def
  1596. Shading/AGMCORE_ignoreshade known
  1597. currentdict end exch
  1598. {pop<</PatternType 1/PaintProc{pop}/BBox[0 0 1 1]/XStep 1/YStep 1/PaintType 1/TilingType 3>>}if
  1599. exch AGMCORE_&sysmakepattern
  1600. }{
  1601. exch AGMCORE_&usrmakepattern
  1602. }ifelse
  1603. }def
  1604. }if
  1605. }if
  1606. AGMCORE_in_rip_sep{
  1607. /setcustomcolor
  1608. {
  1609. exch aload pop
  1610. dup 7 1 roll inRip_spot_has_ink not {
  1611. 4{4 index mul 4 1 roll}
  1612. repeat
  1613. /DeviceCMYK setcolorspace
  1614. 6 -2 roll pop pop
  1615. }{
  1616. //Adobe_AGM_Core begin
  1617. /AGMCORE_k xdf/AGMCORE_y xdf/AGMCORE_m xdf/AGMCORE_c xdf
  1618. end
  1619. [/Separation 4 -1 roll/DeviceCMYK
  1620. {dup AGMCORE_c mul exch dup AGMCORE_m mul exch dup AGMCORE_y mul exch AGMCORE_k mul}
  1621. ]
  1622. setcolorspace
  1623. }ifelse
  1624. setcolor
  1625. }ndf
  1626. /setseparationgray
  1627. {
  1628. [/Separation(All)/DeviceGray{}]setcolorspace_opt
  1629. 1 exch sub setcolor
  1630. }ndf
  1631. }{
  1632. /setseparationgray
  1633. {
  1634. AGMCORE_&setgray
  1635. }ndf
  1636. }ifelse
  1637. /findcmykcustomcolor
  1638. {
  1639. 5 makereadonlyarray
  1640. }ndf
  1641. /setcustomcolor
  1642. {
  1643. exch aload pop pop
  1644. 4{4 index mul 4 1 roll}repeat
  1645. setcmykcolor pop
  1646. }ndf
  1647. /has_color
  1648. /colorimage where{
  1649. AGMCORE_producing_seps{
  1650. pop true
  1651. }{
  1652. systemdict eq
  1653. }ifelse
  1654. }{
  1655. false
  1656. }ifelse
  1657. def
  1658. /map_index
  1659. {
  1660. 1 index mul exch getinterval{255 div}forall
  1661. }bdf
  1662. /map_indexed_devn
  1663. {
  1664. Lookup Names length 3 -1 roll cvi map_index
  1665. }bdf
  1666. /n_color_components
  1667. {
  1668. base_colorspace_type
  1669. dup/DeviceGray eq{
  1670. pop 1
  1671. }{
  1672. /DeviceCMYK eq{
  1673. 4
  1674. }{
  1675. 3
  1676. }ifelse
  1677. }ifelse
  1678. }bdf
  1679. level2{
  1680. /mo/moveto ldf
  1681. /li/lineto ldf
  1682. /cv/curveto ldf
  1683. /knockout_unitsq
  1684. {
  1685. 1 setgray
  1686. 0 0 1 1 rectfill
  1687. }def
  1688. level2/setcolorspace AGMCORE_key_known not and{
  1689. /AGMCORE_&&&setcolorspace/setcolorspace ldf
  1690. /AGMCORE_ReplaceMappedColor
  1691. {
  1692. dup type dup/arraytype eq exch/packedarraytype eq or
  1693. {
  1694. /AGMCORE_SpotAliasAry2 where{
  1695. begin
  1696. dup 0 get dup/Separation eq
  1697. {
  1698. pop
  1699. dup length array copy
  1700. dup dup 1 get
  1701. current_spot_alias
  1702. {
  1703. dup map_alias
  1704. {
  1705. false set_spot_alias
  1706. dup 1 exch setsepcolorspace
  1707. true set_spot_alias
  1708. begin
  1709. /sep_colorspace_dict currentdict AGMCORE_gput
  1710. pop pop pop
  1711. [
  1712. /Separation Name
  1713. CSA map_csa
  1714. MappedCSA
  1715. /sep_colorspace_proc load
  1716. ]
  1717. dup Name
  1718. end
  1719. }if
  1720. }if
  1721. map_reserved_ink_name 1 xpt
  1722. }{
  1723. /DeviceN eq
  1724. {
  1725. dup length array copy
  1726. dup dup 1 get[
  1727. exch{
  1728. current_spot_alias{
  1729. dup map_alias{
  1730. /Name get exch pop
  1731. }if
  1732. }if
  1733. map_reserved_ink_name
  1734. }forall
  1735. ]1 xpt
  1736. }if
  1737. }ifelse
  1738. end
  1739. }if
  1740. }if
  1741. }def
  1742. /setcolorspace
  1743. {
  1744. dup type dup/arraytype eq exch/packedarraytype eq or
  1745. {
  1746. dup 0 get/Indexed eq
  1747. {
  1748. AGMCORE_distilling
  1749. {
  1750. /PhotoshopDuotoneList where
  1751. {
  1752. pop false
  1753. }{
  1754. true
  1755. }ifelse
  1756. }{
  1757. true
  1758. }ifelse
  1759. {
  1760. aload pop 3 -1 roll
  1761. AGMCORE_ReplaceMappedColor
  1762. 3 1 roll 4 array astore
  1763. }if
  1764. }{
  1765. AGMCORE_ReplaceMappedColor
  1766. }ifelse
  1767. }if
  1768. DeviceN_PS2_inRip_seps{AGMCORE_&&&setcolorspace}if
  1769. }def
  1770. }if
  1771. }{
  1772. /adj
  1773. {
  1774. currentstrokeadjust{
  1775. transform
  1776. 0.25 sub round 0.25 add exch
  1777. 0.25 sub round 0.25 add exch
  1778. itransform
  1779. }if
  1780. }def
  1781. /mo{
  1782. adj moveto
  1783. }def
  1784. /li{
  1785. adj lineto
  1786. }def
  1787. /cv{
  1788. 6 2 roll adj
  1789. 6 2 roll adj
  1790. 6 2 roll adj curveto
  1791. }def
  1792. /knockout_unitsq
  1793. {
  1794. 1 setgray
  1795. 8 8 1[8 0 0 8 0 0]{<ffffffffffffffff>}image
  1796. }def
  1797. /currentstrokeadjust{
  1798. /currentstrokeadjust AGMCORE_gget
  1799. }def
  1800. /setstrokeadjust{
  1801. /currentstrokeadjust exch AGMCORE_gput
  1802. }def
  1803. /setcolorspace
  1804. {
  1805. /currentcolorspace exch AGMCORE_gput
  1806. }def
  1807. /currentcolorspace
  1808. {
  1809. /currentcolorspace AGMCORE_gget
  1810. }def
  1811. /setcolor_devicecolor
  1812. {
  1813. base_colorspace_type
  1814. dup/DeviceGray eq{
  1815. pop setgray
  1816. }{
  1817. /DeviceCMYK eq{
  1818. setcmykcolor
  1819. }{
  1820. setrgbcolor
  1821. }ifelse
  1822. }ifelse
  1823. }def
  1824. /setcolor
  1825. {
  1826. currentcolorspace 0 get
  1827. dup/DeviceGray ne{
  1828. dup/DeviceCMYK ne{
  1829. dup/DeviceRGB ne{
  1830. dup/Separation eq{
  1831. pop
  1832. currentcolorspace 3 gx
  1833. currentcolorspace 2 get
  1834. }{
  1835. dup/Indexed eq{
  1836. pop
  1837. currentcolorspace 3 get dup type/stringtype eq{
  1838. currentcolorspace 1 get n_color_components
  1839. 3 -1 roll map_index
  1840. }{
  1841. exec
  1842. }ifelse
  1843. currentcolorspace 1 get
  1844. }{
  1845. /AGMCORE_cur_err/AGMCORE_invalid_color_space def
  1846. AGMCORE_invalid_color_space
  1847. }ifelse
  1848. }ifelse
  1849. }if
  1850. }if
  1851. }if
  1852. setcolor_devicecolor
  1853. }def
  1854. }ifelse
  1855. /sop/setoverprint ldf
  1856. /lw/setlinewidth ldf
  1857. /lc/setlinecap ldf
  1858. /lj/setlinejoin ldf
  1859. /ml/setmiterlimit ldf
  1860. /dsh/setdash ldf
  1861. /sadj/setstrokeadjust ldf
  1862. /gry/setgray ldf
  1863. /rgb/setrgbcolor ldf
  1864. /cmyk[
  1865. /currentcolorspace[/DeviceCMYK]/AGMCORE_gput cvx
  1866. /setcmykcolor load dup type/operatortype ne{/exec cvx}if
  1867. ]cvx bdf
  1868. level3 AGMCORE_host_sep not and{
  1869. /nzopmsc{
  1870. 6 dict begin
  1871. /kk exch def
  1872. /yy exch def
  1873. /mm exch def
  1874. /cc exch def
  1875. /sum 0 def
  1876. cc 0 ne{/sum sum 2#1000 or def cc}if
  1877. mm 0 ne{/sum sum 2#0100 or def mm}if
  1878. yy 0 ne{/sum sum 2#0010 or def yy}if
  1879. kk 0 ne{/sum sum 2#0001 or def kk}if
  1880. AGMCORE_CMYKDeviceNColorspaces sum get setcolorspace
  1881. sum 0 eq{0}if
  1882. end
  1883. setcolor
  1884. }bdf
  1885. }{
  1886. /nzopmsc/cmyk ldf
  1887. }ifelse
  1888. /sep/setsepcolor ldf
  1889. /devn/setdevicencolor ldf
  1890. /idx/setindexedcolor ldf
  1891. /colr/setcolor ldf
  1892. /csacrd/set_csa_crd ldf
  1893. /sepcs/setsepcolorspace ldf
  1894. /devncs/setdevicencolorspace ldf
  1895. /idxcs/setindexedcolorspace ldf
  1896. /cp/closepath ldf
  1897. /clp/clp_npth ldf
  1898. /eclp/eoclp_npth ldf
  1899. /f/fill ldf
  1900. /ef/eofill ldf
  1901. /@/stroke ldf
  1902. /nclp/npth_clp ldf
  1903. /gset/graphic_setup ldf
  1904. /gcln/graphic_cleanup ldf
  1905. /ct/concat ldf
  1906. /cf/currentfile ldf
  1907. /fl/filter ldf
  1908. /rs/readstring ldf
  1909. /AGMCORE_def_ht currenthalftone def
  1910. /clonedict Adobe_AGM_Utils begin/clonedict load end def
  1911. /clonearray Adobe_AGM_Utils begin/clonearray load end def
  1912. currentdict{
  1913. dup xcheck 1 index type dup/arraytype eq exch/packedarraytype eq or and{
  1914. bind
  1915. }if
  1916. def
  1917. }forall
  1918. /getrampcolor
  1919. {
  1920. /indx exch def
  1921. 0 1 NumComp 1 sub
  1922. {
  1923. dup
  1924. Samples exch get
  1925. dup type/stringtype eq{indx get}if
  1926. exch
  1927. Scaling exch get aload pop
  1928. 3 1 roll
  1929. mul add
  1930. }for
  1931. ColorSpaceFamily/Separation eq
  1932. {sep}
  1933. {
  1934. ColorSpaceFamily/DeviceN eq
  1935. {devn}{setcolor}ifelse
  1936. }ifelse
  1937. }bdf
  1938. /sssetbackground{
  1939. aload pop
  1940. ColorSpaceFamily/Separation eq
  1941. {sep}
  1942. {
  1943. ColorSpaceFamily/DeviceN eq
  1944. {devn}{setcolor}ifelse
  1945. }ifelse
  1946. }bdf
  1947. /RadialShade
  1948. {
  1949. 40 dict begin
  1950. /ColorSpaceFamily xdf
  1951. /background xdf
  1952. /ext1 xdf
  1953. /ext0 xdf
  1954. /BBox xdf
  1955. /r2 xdf
  1956. /c2y xdf
  1957. /c2x xdf
  1958. /r1 xdf
  1959. /c1y xdf
  1960. /c1x xdf
  1961. /rampdict xdf
  1962. /setinkoverprint where{pop/setinkoverprint{pop}def}if
  1963. gsave
  1964. BBox length 0 gt
  1965. {
  1966. np
  1967. BBox 0 get BBox 1 get moveto
  1968. BBox 2 get BBox 0 get sub 0 rlineto
  1969. 0 BBox 3 get BBox 1 get sub rlineto
  1970. BBox 2 get BBox 0 get sub neg 0 rlineto
  1971. closepath
  1972. clip
  1973. np
  1974. }if
  1975. c1x c2x eq
  1976. {
  1977. c1y c2y lt{/theta 90 def}{/theta 270 def}ifelse
  1978. }{
  1979. /slope c2y c1y sub c2x c1x sub div def
  1980. /theta slope 1 atan def
  1981. c2x c1x lt c2y c1y ge and{/theta theta 180 sub def}if
  1982. c2x c1x lt c2y c1y lt and{/theta theta 180 add def}if
  1983. }ifelse
  1984. gsave
  1985. clippath
  1986. c1x c1y translate
  1987. theta rotate
  1988. -90 rotate
  1989. {pathbbox}stopped
  1990. {0 0 0 0}if
  1991. /yMax xdf
  1992. /xMax xdf
  1993. /yMin xdf
  1994. /xMin xdf
  1995. grestore
  1996. xMax xMin eq yMax yMin eq or
  1997. {
  1998. grestore
  1999. end
  2000. }{
  2001. /max{2 copy gt{pop}{exch pop}ifelse}bdf
  2002. /min{2 copy lt{pop}{exch pop}ifelse}bdf
  2003. rampdict begin
  2004. 40 dict begin
  2005. background length 0 gt{background sssetbackground gsave clippath fill grestore}if
  2006. gsave
  2007. c1x c1y translate
  2008. theta rotate
  2009. -90 rotate
  2010. /c2y c1x c2x sub dup mul c1y c2y sub dup mul add sqrt def
  2011. /c1y 0 def
  2012. /c1x 0 def
  2013. /c2x 0 def
  2014. ext0
  2015. {
  2016. 0 getrampcolor
  2017. c2y r2 add r1 sub 0.0001 lt
  2018. {
  2019. c1x c1y r1 360 0 arcn
  2020. pathbbox
  2021. /aymax exch def
  2022. /axmax exch def
  2023. /aymin exch def
  2024. /axmin exch def
  2025. /bxMin xMin axmin min def
  2026. /byMin yMin aymin min def
  2027. /bxMax xMax axmax max def
  2028. /byMax yMax aymax max def
  2029. bxMin byMin moveto
  2030. bxMax byMin lineto
  2031. bxMax byMax lineto
  2032. bxMin byMax lineto
  2033. bxMin byMin lineto
  2034. eofill
  2035. }{
  2036. c2y r1 add r2 le
  2037. {
  2038. c1x c1y r1 0 360 arc
  2039. fill
  2040. }
  2041. {
  2042. c2x c2y r2 0 360 arc fill
  2043. r1 r2 eq
  2044. {
  2045. /p1x r1 neg def
  2046. /p1y c1y def
  2047. /p2x r1 def
  2048. /p2y c1y def
  2049. p1x p1y moveto p2x p2y lineto p2x yMin lineto p1x yMin lineto
  2050. fill
  2051. }{
  2052. /AA r2 r1 sub c2y div def
  2053. AA -1 eq
  2054. {/theta 89.99 def}
  2055. {/theta AA 1 AA dup mul sub sqrt div 1 atan def}
  2056. ifelse
  2057. /SS1 90 theta add dup sin exch cos div def
  2058. /p1x r1 SS1 SS1 mul SS1 SS1 mul 1 add div sqrt mul neg def
  2059. /p1y p1x SS1 div neg def
  2060. /SS2 90 theta sub dup sin exch cos div def
  2061. /p2x r1 SS2 SS2 mul SS2 SS2 mul 1 add div sqrt mul def
  2062. /p2y p2x SS2 div neg def
  2063. r1 r2 gt
  2064. {
  2065. /L1maxX p1x yMin p1y sub SS1 div add def
  2066. /L2maxX p2x yMin p2y sub SS2 div add def
  2067. }{
  2068. /L1maxX 0 def
  2069. /L2maxX 0 def
  2070. }ifelse
  2071. p1x p1y moveto p2x p2y lineto L2maxX L2maxX p2x sub SS2 mul p2y add lineto
  2072. L1maxX L1maxX p1x sub SS1 mul p1y add lineto
  2073. fill
  2074. }ifelse
  2075. }ifelse
  2076. }ifelse
  2077. }if
  2078. c1x c2x sub dup mul
  2079. c1y c2y sub dup mul
  2080. add 0.5 exp
  2081. 0 dtransform
  2082. dup mul exch dup mul add 0.5 exp 72 div
  2083. 0 72 matrix defaultmatrix dtransform dup mul exch dup mul add sqrt
  2084. 72 0 matrix defaultmatrix dtransform dup mul exch dup mul add sqrt
  2085. 1 index 1 index lt{exch}if pop
  2086. /hires xdf
  2087. hires mul
  2088. /numpix xdf
  2089. /numsteps NumSamples def
  2090. /rampIndxInc 1 def
  2091. /subsampling false def
  2092. numpix 0 ne
  2093. {
  2094. NumSamples numpix div 0.5 gt
  2095. {
  2096. /numsteps numpix 2 div round cvi dup 1 le{pop 2}if def
  2097. /rampIndxInc NumSamples 1 sub numsteps div def
  2098. /subsampling true def
  2099. }if
  2100. }if
  2101. /xInc c2x c1x sub numsteps div def
  2102. /yInc c2y c1y sub numsteps div def
  2103. /rInc r2 r1 sub numsteps div def
  2104. /cx c1x def
  2105. /cy c1y def
  2106. /radius r1 def
  2107. np
  2108. xInc 0 eq yInc 0 eq rInc 0 eq and and
  2109. {
  2110. 0 getrampcolor
  2111. cx cy radius 0 360 arc
  2112. stroke
  2113. NumSamples 1 sub getrampcolor
  2114. cx cy radius 72 hires div add 0 360 arc
  2115. 0 setlinewidth
  2116. stroke
  2117. }{
  2118. 0
  2119. numsteps
  2120. {
  2121. dup
  2122. subsampling{round cvi}if
  2123. getrampcolor
  2124. cx cy radius 0 360 arc
  2125. /cx cx xInc add def
  2126. /cy cy yInc add def
  2127. /radius radius rInc add def
  2128. cx cy radius 360 0 arcn
  2129. eofill
  2130. rampIndxInc add
  2131. }repeat
  2132. pop
  2133. }ifelse
  2134. ext1
  2135. {
  2136. c2y r2 add r1 lt
  2137. {
  2138. c2x c2y r2 0 360 arc
  2139. fill
  2140. }{
  2141. c2y r1 add r2 sub 0.0001 le
  2142. {
  2143. c2x c2y r2 360 0 arcn
  2144. pathbbox
  2145. /aymax exch def
  2146. /axmax exch def
  2147. /aymin exch def
  2148. /axmin exch def
  2149. /bxMin xMin axmin min def
  2150. /byMin yMin aymin min def
  2151. /bxMax xMax axmax max def
  2152. /byMax yMax aymax max def
  2153. bxMin byMin moveto
  2154. bxMax byMin lineto
  2155. bxMax byMax lineto
  2156. bxMin byMax lineto
  2157. bxMin byMin lineto
  2158. eofill
  2159. }{
  2160. c2x c2y r2 0 360 arc fill