From 740f6b80e4779aa32d4ff1a1cc9f8ee81e9245ec Mon Sep 17 00:00:00 2001 From: Reinhard Kotucha Date: Sun, 23 Aug 2009 23:51:34 +0000 Subject: Master/tlpkg/tlgs update: gs8.64 => gs8.70 git-svn-id: svn://tug.org/texlive/trunk@14835 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/tlgs/lib/EndOfTask.ps | 0 Master/tlpkg/tlgs/lib/FAPIcidfmap | 0 Master/tlpkg/tlgs/lib/FAPIconfig | 0 Master/tlpkg/tlgs/lib/FAPIconfig-FCO | 0 Master/tlpkg/tlgs/lib/FAPIfontmap | 0 Master/tlpkg/tlgs/lib/FCOfontmap-PCLPS3 | 0 Master/tlpkg/tlgs/lib/FCOfontmap-PS3 | 0 Master/tlpkg/tlgs/lib/Fontmap | 4 +- Master/tlpkg/tlgs/lib/Info-macos.plist | 14 - Master/tlpkg/tlgs/lib/PDFA_def.ps | 0 Master/tlpkg/tlgs/lib/PDFX_def.ps | 0 Master/tlpkg/tlgs/lib/acctest.ps | 0 Master/tlpkg/tlgs/lib/addxchar.ps | 0 Master/tlpkg/tlgs/lib/afmdiff.awk | 0 Master/tlpkg/tlgs/lib/align.ps | 0 Master/tlpkg/tlgs/lib/bdftops.ps | 0 Master/tlpkg/tlgs/lib/bj8.rpd | 0 Master/tlpkg/tlgs/lib/caption.ps | 0 Master/tlpkg/tlgs/lib/cat.ps | 74 +++++ Master/tlpkg/tlgs/lib/cbjc600.ppd | 404 ------------------------ Master/tlpkg/tlgs/lib/cbjc800.ppd | 389 ------------------------ Master/tlpkg/tlgs/lib/cid2code.ps | 0 Master/tlpkg/tlgs/lib/decrypt.ps | 0 Master/tlpkg/tlgs/lib/docie.ps | 0 Master/tlpkg/tlgs/lib/dumphint.ps | 0 Master/tlpkg/tlgs/lib/dvipdf | 47 --- Master/tlpkg/tlgs/lib/fixmswrd.pl | 206 ------------- Master/tlpkg/tlgs/lib/font2c.ps | 0 Master/tlpkg/tlgs/lib/font2pcl.ps | 0 Master/tlpkg/tlgs/lib/ghostpdf.inf | 0 Master/tlpkg/tlgs/lib/ghostpdf.ppd | 522 -------------------------------- Master/tlpkg/tlgs/lib/gs_ce_e.ps | 0 Master/tlpkg/tlgs/lib/gs_cmdl.ps | 0 Master/tlpkg/tlgs/lib/gs_fform.ps | 0 Master/tlpkg/tlgs/lib/gs_il2_e.ps | 0 Master/tlpkg/tlgs/lib/gs_kanji.ps | 0 Master/tlpkg/tlgs/lib/gs_ksb_e.ps | 0 Master/tlpkg/tlgs/lib/gs_lgo_e.ps | 0 Master/tlpkg/tlgs/lib/gs_lgx_e.ps | 0 Master/tlpkg/tlgs/lib/gs_pfile.ps | 0 Master/tlpkg/tlgs/lib/gs_rdlin.ps | 0 Master/tlpkg/tlgs/lib/gs_wl1_e.ps | 0 Master/tlpkg/tlgs/lib/gs_wl2_e.ps | 0 Master/tlpkg/tlgs/lib/gs_wl5_e.ps | 0 Master/tlpkg/tlgs/lib/gslp.ps | 0 Master/tlpkg/tlgs/lib/gsnup.ps | 0 Master/tlpkg/tlgs/lib/ht_ccsto.ps | 0 Master/tlpkg/tlgs/lib/image-qa.ps | 0 Master/tlpkg/tlgs/lib/impath.ps | 0 Master/tlpkg/tlgs/lib/jispaper.ps | 0 Master/tlpkg/tlgs/lib/jobseparator.ps | 0 Master/tlpkg/tlgs/lib/landscap.ps | 0 Master/tlpkg/tlgs/lib/level1.ps | 0 Master/tlpkg/tlgs/lib/lines.ps | 0 Master/tlpkg/tlgs/lib/markhint.ps | 0 Master/tlpkg/tlgs/lib/markpath.ps | 0 Master/tlpkg/tlgs/lib/mkcidfm.ps | 0 Master/tlpkg/tlgs/lib/packfile.ps | 0 Master/tlpkg/tlgs/lib/pcharstr.ps | 0 Master/tlpkg/tlgs/lib/pdf2dsc.ps | 0 Master/tlpkg/tlgs/lib/pdf2ps.cmd | 41 --- Master/tlpkg/tlgs/lib/pdfopt.ps | 0 Master/tlpkg/tlgs/lib/pdfwrite.ps | 0 Master/tlpkg/tlgs/lib/pf2afm.ps | 6 +- Master/tlpkg/tlgs/lib/pfbtopfa.ps | 0 Master/tlpkg/tlgs/lib/ppath.ps | 0 Master/tlpkg/tlgs/lib/pphs.ps | 221 ++++++++++++++ Master/tlpkg/tlgs/lib/prfont.ps | 0 Master/tlpkg/tlgs/lib/printafm.ps | 0 Master/tlpkg/tlgs/lib/ps2ai.ps | 152 +++++----- Master/tlpkg/tlgs/lib/ps2ascii.ps | 0 Master/tlpkg/tlgs/lib/ps2epsi.ps | 29 +- Master/tlpkg/tlgs/lib/quit.ps | 0 Master/tlpkg/tlgs/lib/rollconv.ps | 0 Master/tlpkg/tlgs/lib/showchar.ps | 0 Master/tlpkg/tlgs/lib/showpage.ps | 0 Master/tlpkg/tlgs/lib/stcinfo.ps | 0 Master/tlpkg/tlgs/lib/stcolor.ps | 0 Master/tlpkg/tlgs/lib/stocht.ps | 0 Master/tlpkg/tlgs/lib/traceimg.ps | 0 Master/tlpkg/tlgs/lib/traceop.ps | 0 Master/tlpkg/tlgs/lib/type1enc.ps | 0 Master/tlpkg/tlgs/lib/type1ops.ps | 0 Master/tlpkg/tlgs/lib/uninfo.ps | 0 Master/tlpkg/tlgs/lib/unprot.ps | 0 Master/tlpkg/tlgs/lib/viewcmyk.ps | 0 Master/tlpkg/tlgs/lib/viewgif.ps | 0 Master/tlpkg/tlgs/lib/viewjpeg.ps | 0 Master/tlpkg/tlgs/lib/viewmiff.ps | 0 Master/tlpkg/tlgs/lib/viewpbm.ps | 0 Master/tlpkg/tlgs/lib/viewpcx.ps | 0 Master/tlpkg/tlgs/lib/viewps2a.ps | 0 Master/tlpkg/tlgs/lib/viewrgb.ps | 146 +++++++++ Master/tlpkg/tlgs/lib/wftopfa.ps | 0 Master/tlpkg/tlgs/lib/winmaps.ps | 0 Master/tlpkg/tlgs/lib/wrfont.ps | 0 Master/tlpkg/tlgs/lib/zeroline.ps | 0 97 files changed, 535 insertions(+), 1720 deletions(-) mode change 100644 => 100755 Master/tlpkg/tlgs/lib/EndOfTask.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/FAPIcidfmap mode change 100644 => 100755 Master/tlpkg/tlgs/lib/FAPIconfig mode change 100644 => 100755 Master/tlpkg/tlgs/lib/FAPIconfig-FCO mode change 100644 => 100755 Master/tlpkg/tlgs/lib/FAPIfontmap mode change 100644 => 100755 Master/tlpkg/tlgs/lib/FCOfontmap-PCLPS3 mode change 100644 => 100755 Master/tlpkg/tlgs/lib/FCOfontmap-PS3 delete mode 100644 Master/tlpkg/tlgs/lib/Info-macos.plist mode change 100644 => 100755 Master/tlpkg/tlgs/lib/PDFA_def.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/PDFX_def.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/acctest.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/addxchar.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/afmdiff.awk mode change 100644 => 100755 Master/tlpkg/tlgs/lib/align.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/bdftops.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/bj8.rpd mode change 100644 => 100755 Master/tlpkg/tlgs/lib/caption.ps create mode 100755 Master/tlpkg/tlgs/lib/cat.ps delete mode 100644 Master/tlpkg/tlgs/lib/cbjc600.ppd delete mode 100644 Master/tlpkg/tlgs/lib/cbjc800.ppd mode change 100644 => 100755 Master/tlpkg/tlgs/lib/cid2code.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/decrypt.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/docie.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/dumphint.ps delete mode 100644 Master/tlpkg/tlgs/lib/dvipdf delete mode 100644 Master/tlpkg/tlgs/lib/fixmswrd.pl mode change 100644 => 100755 Master/tlpkg/tlgs/lib/font2c.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/font2pcl.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/ghostpdf.inf delete mode 100644 Master/tlpkg/tlgs/lib/ghostpdf.ppd mode change 100644 => 100755 Master/tlpkg/tlgs/lib/gs_ce_e.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/gs_cmdl.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/gs_fform.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/gs_il2_e.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/gs_kanji.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/gs_ksb_e.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/gs_lgo_e.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/gs_lgx_e.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/gs_pfile.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/gs_rdlin.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/gs_wl1_e.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/gs_wl2_e.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/gs_wl5_e.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/gslp.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/gsnup.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/ht_ccsto.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/image-qa.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/impath.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/jispaper.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/jobseparator.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/landscap.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/level1.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/lines.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/markhint.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/markpath.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/mkcidfm.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/packfile.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/pcharstr.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/pdf2dsc.ps delete mode 100644 Master/tlpkg/tlgs/lib/pdf2ps.cmd mode change 100644 => 100755 Master/tlpkg/tlgs/lib/pdfopt.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/pdfwrite.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/pf2afm.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/pfbtopfa.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/ppath.ps create mode 100755 Master/tlpkg/tlgs/lib/pphs.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/prfont.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/printafm.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/ps2ai.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/ps2ascii.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/ps2epsi.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/quit.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/rollconv.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/showchar.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/showpage.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/stcinfo.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/stcolor.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/stocht.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/traceimg.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/traceop.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/type1enc.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/type1ops.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/uninfo.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/unprot.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/viewcmyk.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/viewgif.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/viewjpeg.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/viewmiff.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/viewpbm.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/viewpcx.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/viewps2a.ps create mode 100755 Master/tlpkg/tlgs/lib/viewrgb.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/wftopfa.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/winmaps.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/wrfont.ps mode change 100644 => 100755 Master/tlpkg/tlgs/lib/zeroline.ps (limited to 'Master/tlpkg/tlgs/lib') diff --git a/Master/tlpkg/tlgs/lib/EndOfTask.ps b/Master/tlpkg/tlgs/lib/EndOfTask.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/FAPIcidfmap b/Master/tlpkg/tlgs/lib/FAPIcidfmap old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/FAPIconfig b/Master/tlpkg/tlgs/lib/FAPIconfig old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/FAPIconfig-FCO b/Master/tlpkg/tlgs/lib/FAPIconfig-FCO old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/FAPIfontmap b/Master/tlpkg/tlgs/lib/FAPIfontmap old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/FCOfontmap-PCLPS3 b/Master/tlpkg/tlgs/lib/FCOfontmap-PCLPS3 old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/FCOfontmap-PS3 b/Master/tlpkg/tlgs/lib/FCOfontmap-PS3 old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/Fontmap b/Master/tlpkg/tlgs/lib/Fontmap index 749d5e2b289..04702bb5e72 100644 --- a/Master/tlpkg/tlgs/lib/Fontmap +++ b/Master/tlpkg/tlgs/lib/Fontmap @@ -1,7 +1,7 @@ %! %% $Id: Fontmap 7680 2008-04-27 12:21:15Z reinhardk $ -% See Fontmap.GS for the syntax of real Fontmap files. -%% Replace 1 (Fontmap.GS) +% See Fontmap.TeXLive for the syntax of real Fontmap files. +%% Replace 1 (Fontmap.TeXLive) (Fontmap.TeXLive) .runlibfile diff --git a/Master/tlpkg/tlgs/lib/Info-macos.plist b/Master/tlpkg/tlgs/lib/Info-macos.plist deleted file mode 100644 index 9ece6edc4fa..00000000000 --- a/Master/tlpkg/tlgs/lib/Info-macos.plist +++ /dev/null @@ -1,14 +0,0 @@ - - - - - CFBundleIdentifier - com.ghostscript.Ghostscript - CFBundleName - Ghostscript - CFBundleShortVersionString - 703 - NSExecutable - Ghostscript - - diff --git a/Master/tlpkg/tlgs/lib/PDFA_def.ps b/Master/tlpkg/tlgs/lib/PDFA_def.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/PDFX_def.ps b/Master/tlpkg/tlgs/lib/PDFX_def.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/acctest.ps b/Master/tlpkg/tlgs/lib/acctest.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/addxchar.ps b/Master/tlpkg/tlgs/lib/addxchar.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/afmdiff.awk b/Master/tlpkg/tlgs/lib/afmdiff.awk old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/align.ps b/Master/tlpkg/tlgs/lib/align.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/bdftops.ps b/Master/tlpkg/tlgs/lib/bdftops.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/bj8.rpd b/Master/tlpkg/tlgs/lib/bj8.rpd old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/caption.ps b/Master/tlpkg/tlgs/lib/caption.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/cat.ps b/Master/tlpkg/tlgs/lib/cat.ps new file mode 100755 index 00000000000..973d7fd34a7 --- /dev/null +++ b/Master/tlpkg/tlgs/lib/cat.ps @@ -0,0 +1,74 @@ +% Copyright (C) 1996-2003 Artifex Software, Inc. All rights reserved. +% +% This software is provided AS-IS with no warranty, either express or +% implied. +% +% This software is distributed under license and may not be copied, +% modified or distributed except as expressly authorized under the terms +% of the license contained in the file LICENSE in this distribution. +% +% For more information about licensing, please refer to +% http://www.ghostscript.com/licensing/. For information on +% commercial licensing, go to http://www.artifex.com/licensing/ or +% contact Artifex Software, Inc., 101 Lucas Valley Road #110, +% San Rafael, CA 94903, U.S.A., +1(415)492-9861. +% +% $Id: cat.ps 8331 2008-02-05 11:07:00Z kens $ +% +% Appends one file to another. Primarily used to overcome the +% 'copy' limitation of Windows command shell for ps2epsi +% +% the files to be appended are given by the environament +% variables %infile% and %outfile%. %infile% is appended to +% %outfile% +% + +/datastring 1024 string def + +{ + (outfile) getenv + { + /outfilename exch def + (infile) getenv + { + /infilename exch def + + infilename status + { + pop pop pop pop outfilename status + { + pop pop pop pop + infilename (r) file /infile exch def + outfilename (a+) file /outfile exch def + { + infile datastring readstring + { + outfile exch writestring + } + { + dup length 0 gt + {outfile exch writestring} {pop} ifelse + exit + } ifelse + } loop + infile closefile + outfile closefile + } + { + (Failed to find file ) print outfilename == + } ifelse + } + { + (Failed to find file ) print infilename == + } ifelse + } + { + (Couldn't find %infile% environment variable) == + } ifelse + } + { + (Couldn't find %outfile% environment variable) == + } + ifelse +} bind +exec diff --git a/Master/tlpkg/tlgs/lib/cbjc600.ppd b/Master/tlpkg/tlgs/lib/cbjc600.ppd deleted file mode 100644 index fcd0a4d3469..00000000000 --- a/Master/tlpkg/tlgs/lib/cbjc600.ppd +++ /dev/null @@ -1,404 +0,0 @@ -*PPD-Adobe: "4.1" -*% Adobe Systems PostScript(R) Printer Description File -*% Copyright 1995 Yves Arrouye for AFPL Ghostscript with Level 2 PS. -*% All Rights Reserved. -*% This file may be distributed as part of GNU Ghostscript and/or AFPL -*% Ghostscript, under the same terms and conditions as Ghostscript. -*% End of Copyright statement -*FormatVersion: "4.1" -*FileVersion: "1.0" -*LanguageVersion: English -*PCFileName: "CBJC600.PPD" -*Product: "(Canon Bubble Jet Color 600)" -*PSVersion: "(2010.351) 0" -*ModelName: "Canon Bubble Jet Color 600" -*NickName: "BJC-600" - -*% This file is not complete, and may lack some useful information... - -*% Note: the default transfer function should be set to Null if Ghostscript -*% exhibit a bug making magenta appear while printing in gray levels... -*% Note: if you print on A4 paper by default, change *Default values (the -*% default is Letter here). - -*% ==============Constraints ================= - -*UIConstraints: *BitsPerPixel None *ColorModel DeviceCMYK -*UIConstraints: *BitsPerPixel None *ColorModel DeviceRGB -*UIConstraints: *BitsPerPixel 16 *ColorModel DeviceRGB -*UIConstraints: *BitsPerPixel 16 *ColorModel DeviceGray -*UIConstraints: *BitsPerPixel 24 *ColorModel DeviceGray -*UIConstraints: *BitsPerPixel 32 *ColorModel DeviceRGB -*UIConstraints: *BitsPerPixel 32 *ColorModel DeviceGray - -*UIConstraints: *ColorModel DeviceCMYK *BitsPerPixel None -*UIConstraints: *ColorModel DeviceRGB *BitsPerPixel None -*UIConstraints: *ColorModel DeviceRGB *BitsPerPixel 16 -*UIConstraints: *ColorModel DeviceRGB *BitsPerPixel 32 -*UIConstraints: *ColorModel DeviceGray *BitsPerPixel 16 -*UIConstraints: *ColorModel DeviceGray *BitsPerPixel 24 -*UIConstraints: *ColorModel DeviceGray *BitsPerPixel 32 - -*% =========== Device Capabilities =============== - -*LanguageLevel: "2" -*Protocols: TBCP -*FreeVM: "2124600" -*ColorDevice: True -*DefaultColorSpace: CMYK -*FileSystem: True -*Throughput: "1" - -*Password: "()" - -*% ============Paper Size Information ============== - -*OpenUI *PageSize: PickOne -*OrderDependency: 30 AnySetup *PageSize -*DefaultPageSize: Letter -*PageSize A4: "1 dict dup /PageSize [595 842] put setpagedevice" -*PageSize A5: "1 dict dup /PageSize [421 595] put setpagedevice" -*PageSize A6: "1 dict dup /PageSize [297 421] put setpagedevice" -*PageSize A7: "1 dict dup /PageSize [210 297] put setpagedevice" -*PageSize A8: "1 dict dup /PageSize [148 210] put setpagedevice" -*PageSize A9: "1 dict dup /PageSize [105 148] put setpagedevice" -*PageSize A10: "1 dict dup /PageSize [74 105] put setpagedevice" -*PageSize B5: "1 dict dup /PageSize [501 709] put setpagedevice" -*PageSize Letter/US Letter: "1 dict dup /PageSize [612 792] put setpagedevice" -*CloseUI: *PageSize - -*OpenUI *PageRegion: PickOne -*OrderDependency: 40 AnySetup *PageRegion -*DefaultPageRegion: Letter -*PageRegion A4: "1 dict dup /PageSize [595 842] put setpagedevice" -*PageRegion A5: "1 dict dup /PageSize [421 595] put setpagedevice" -*PageRegion A6: "1 dict dup /PageSize [297 421] put setpagedevice" -*PageRegion A7: "1 dict dup /PageSize [210 297] put setpagedevice" -*PageRegion A8: "1 dict dup /PageSize [148 210] put setpagedevice" -*PageRegion A9: "1 dict dup /PageSize [105 148] put setpagedevice" -*PageRegion A10: "1 dict dup /PageSize [74 105] put setpagedevice" -*PageRegion B5: "1 dict dup /PageSize [501 709] put setpagedevice" -*PageRegion Letter/US Letter: "1 dict dup /PageSize [612 792] put setpagedevice" -*CloseUI: *PageRegion - -*DefaultImageableArea: Letter -*ImageableArea A4: "18.425196 27.096094 576.625183 833.496094" -*ImageableArea A5: "18.425196 27.096045 402.625183 586.496033" -*ImageableArea A6: "18.425196 27.096045 278.625183 412.496033" -*ImageableArea A7: "18.425196 27.096045 191.625198 288.496033" -*ImageableArea A8: "18.425196 27.096045 129.625198 201.496048" -*ImageableArea A9: "18.425196 27.096045 86.625198 139.496048" -*ImageableArea A10: "18.425196 27.096045 55.625195 96.496048" -*ImageableArea B5: "18.425196 27.096045 482.625183 700.496033" -*ImageableArea Letter/US Letter: "18.425196 27.096045 593.625183 783.496033" - -*?ImageableArea: " -save - /cvp {( ) cvs print ( ) print } bind def - /upperright {10000 mul floor 10000 div} bind def - /lowerleft {10000 mul ceiling 10000 div} bind def - newpath clippath pathbbox - 4 -2 roll exch 2 {lowerleft cvp} repeat - exch 2 {upperright cvp} repeat flush - restore -" -*End - -*PaperDimension A4: "595 842" -*PaperDimension A5: "421 595" -*PaperDimension A6: "297 421" -*PaperDimension A7: "210 297" -*PaperDimension A8: "148 210" -*PaperDimension A9: "105 148" -*PaperDimension A10: "74 105" -*PaperDimension B5: "501 709" -*PaperDimension Letter/US Letter: "612 792" - -*HWMargins: "9.637794495 27.042521 9.637794495 8.503937" - -*% =============Halftone Information =============== - -*ScreenFreq: "60.0" -*ScreenAngle: "45.0" - -*DefaultScreenProc: Dot -*ScreenProc Dot: " -{dup mul exch dup mul add 1.0 exch sub } -" -*End -*ScreenProc Line: "{ pop }" -*ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }" - -*DefaultTransfer: Normalized -*Transfer Normalized: "{mark -1.0 1.000 0.955 0.915 0.847 0.765 0.683 0.602 0.500 0.311 0.030 0.0 -counttomark dup 3 add -1 roll exch -2 sub mul dup floor cvi dup 3 1 roll sub exch dup -3 add index exch 2 add index dup 4 1 roll sub mul add -counttomark 1 add 1 roll cleartomark -} bind" -*End -*Transfer Null: "{ }" -*Transfer Null.Inverse: "{ 1 exch sub }" -*End - -*%==================Input Slot==================== - -*OpenUI *InputSlot/Media Source: PickOne -*OrderDependency: 20 AnySetup *InputSlot -*DefaultInputSlot: Feeder -*InputSlot Feeder/Paper Tray: "" -*CloseUI: *InputSlot - -*%=================Manual Feed==================== - -*OpenUI *ManualFeed/Manual Feed: Boolean -*OrderDependency: 20 AnySetup *ManualFeed -*DefaultManualFeed: False -*ManualFeed True/True: "1 dict dup /ManualFeed true put setpagedevice" -*ManualFeed False/False: "1 dict dup /ManualFeed false put setpagedevice" -*?ManualFeed: " - save - currentpagedevice /ManualFeed get - {(True)}{(False)}ifelse = flush - restore" -*End - -*CloseUI: *ManualFeed - -*%===================Resolution==================== - -*OpenUI *Resolution/Resolution: PickOne -*OrderDependency: 10 AnySetup *Resolution -*DefaultResolution: 360x360dpi -*Resolution 90x90dpi/90dpi: " - 1 dict dup /HWResolution [ 90 90 ] - put setpagedevice" -*End - -*Resolution 180x180dpi/180dpi: " - 1 dict dup /HWResolution [ 180 180 ] - put setpagedevice" -*End - -*Resolution 360x360dpi/360dpi: " - 1 dict dup /HWResolution [ 360 360 ] - put setpagedevice" -*End - -*?Resolution: " - save - currentpagedevice /HWResolution get dup - 0 get cvi 10 string cvs print - (x) print - 0 get cvi 10 string print - (dpi) = flush - restore" -*End - -*CloseUI: *Resolution - -*%===================Output Depth==================== - -*OpenUI *BitsPerPixel/Print Depth: PickOne -*OrderDependency: 30 AnySetup *BitsPerPixel -*DefaultBitsPerPixel: 24 -*BitsPerPixel None/1bpp: " - 1 dict dup /BitsPerPixel 1 put - setpagedevice" -*End - -*BitsPerPixel 8/8bpp: " - 1 dict dup /BitsPerPixel 8 put - setpagedevice" -*End - -*BitsPerPixel 16/16bpp: " - 1 dict dup /BitsPerPixel 16 put - setpagedevice" -*End - -*BitsPerPixel 24/24bpp: " - 1 dict dup /BitsPerPixel 24 put - setpagedevice" -*End - -*BitsPerPixel 32/32bpp: " - 1 dict dup /BitsPerPixel 32 put - setpagedevice" -*End - -*?BitsPerPixel: " - save - currentpagedevice /BitsPerPixel get dup 1 eq { pop (None) } if = flush - restore" -*End - -*CloseUI: *BitsPerPixel - -*%=================Media Type============================ - -*OpenUI *MediaType/Media Type: PickOne -*OrderDependency: 50 AnySetup *MediaType -*DefaultMediaType: PlainPaper -*MediaType PlainPaper/Plain Paper: " - 1 dict dup /MediaType (PlainPaper) put setpagedevice" -*End - -*MediaType CoatedPaper/Coated Paper: " - 1 dict dup /MediaType (CoatedPaper) put setpagedevice" -*End - -*MediaType TransparencyFilm/Transparency Film: " - 1 dict dup /MediaType (TransparencyFilm) put setpagedevice" -*End - -*MediaType Envelope/Envelope: " - 1 dict dup /MediaType (Envelope) put setpagedevice" -*End - -*MediaType Card/Card: " - 1 dict dup /MediaType (Card) put setpagedevice" -*End - -*MediaType Other/Other: " - 1 dict dup /MediaType (Other) put setpagedevice" -*End - -*?MediaType: " - save - currentpagedevice /MediaType get - dup null eq {pop (Unknown)} if = flush - restore " -*End - -*CloseUI: *MediaType - -*%===================Printing Quality==================== - -*OpenUI *OutputMode/Print Quality: PickOne -*OrderDependency: 50 AnySetup *OuputMode -*DefaultOutputMode: Normal -*OutputMode Draft/Draft: " - 1 dict dup /PrintQuality (Draft) put setpagedevice" -*End - -*OutputMode Normal/Normal: " - 1 dict dup /PrintQuality (Normal) put setpagedevice" -*End - -*OutputMode High/High: " - 1 dict dup /PrintQuality (High) put setpagedevice" -*End - -*?OutputMode: " - save - currentpagedevice /PrintQuality get - dup null eq {pop (Unknown)} if = flush - restore " -*End - -*CloseUI: *OutputMode - -*%===================Color/Gray Printing==================== - -*OpenUI *ColorModel/Color Processing: PickOne -*OrderDependency: 20 AnySetup *ColorModel -*DefaultColorModel: DeviceCMYK -*ColorModel DeviceGray/Gray: " - 1 dict dup /ProcessColorModel /DeviceGray - put setpagedevice" -*End - -*ColorModel DeviceRGB/RGB: " - 1 dict dup /ProcessColorModel /DeviceRGB - put setpagedevice" -*End - -*ColorModel DeviceCMYK/CMYK: " - 1 dict dup /ProcessColorModel /DeviceCMYK - put setpagedevice" -*End - -*?ColorModel: " - save - currentpagedevice /ProcessColorModel get = flush - restore " -*End - -*CloseUI: *ColorModel - -*%===================Media Weight/Thick Media==================== - -*OpenUI *ThickMedia/Thick Media: PickOne -*OrderDependency: 30 AnySetup *ThickMedia -*Default ThickMedia: Thin -*ThickMedia Thin/No: " - 1 dict dup /MediaWeight 80 - put setpagedevice" -*End - -*ThickMedia Thick/Yes: " - 1 dict dup /ThickMedia 120 - put setpagedevice" -*End - -*?ThickMedia: " - save - currentpagedevice /MediaWeight get 105 gt { (Thick) } { (Thin) } ifelse - = flush - restore " -*End - -*CloseUI: *ThickMedia - -*%===================PrintColors==================== - -*OpenUI *PrintColors/Print Colors: PickOne -*OrderDependency: 20 AnySetup *PrintColors -*DefaultPrintColors: "15" -*PrintColors 0/None: "1 dict dup /PrintColors 0 put setpagedevice" -*End - -*PrintColors 1/Cyan: "1 dict dup /PrintColors 1 put setpagedevice" -*End - -*PrintColors 2/Magenta: "1 dict dup /PrintColors 2 put setpagedevice" -*End - -*PrintColors 4/Yellow: "1 dict dup /PrintColors 4 put setpagedevice" -*End - -*PrintColors 8/Black: "1 dict dup /PrintColors 8 put setpagedevice" -*End - -*PrintColors 15/All: "1 dict dup /PrintColors 15 put setpagedevice" -*End - - -*CloseUI *PrintColors - -*%===================Monochrome Printing==================== - -*OpenUI *MonochromePrint/Monochrome Print: Boolean -*OrderDependency: 50 AnySetup *MonochromePrint -*DefaultMonochromePrint: False -*MonochromePrint True/Yes: " - 1 dict dup /MonochromePrint true - put setpagedevice" -*End - -*MonochromePrint False/No: " - 1 dict dup /MonochromePrint false - put setpagedevice" -*End - -*?MonochromePrint: " - save - currentpagedevice /MonochromePrint get - {(True)}{(False)}ifelse = flush - restore" -*End - -*CloseUI: *MonochromePrint - diff --git a/Master/tlpkg/tlgs/lib/cbjc800.ppd b/Master/tlpkg/tlgs/lib/cbjc800.ppd deleted file mode 100644 index d919bd9ed37..00000000000 --- a/Master/tlpkg/tlgs/lib/cbjc800.ppd +++ /dev/null @@ -1,389 +0,0 @@ -*PPD-Adobe: "4.1" -*% Adobe Systems PostScript(R) Printer Description File -*% Copyright 1995 Yves Arrouye for AFPL Ghostscript with Level 2 PS. -*% All Rights Reserved. -*% This file may be distributed as part of GNU Ghostscript and/or AFPL -*% Ghostscript, under the same terms and conditions as Ghostscript. -*% End of Copyright statement -*FormatVersion: "4.1" -*FileVersion: "1.0" -*LanguageVersion: English -*PCFileName: "CBJC800.PPD" -*Product: "(Canon Bubble Jet Color 800)" -*PSVersion: "(2010.351) 0" -*ModelName: "Canon Bubble Jet Color 800" -*NickName: "BJC-800" - -*% This file is not complete, and may lack some useful information... - -*% Note: the default transfer function should be set to Null if Ghostscript -*% exhibit a bug making magenta appear while printing in gray levels... -*% Note: if you print on A4 paper by default, change *Default values (the -*% default is Letter here). - -*% ==============Constraints ================= - -*UIConstraints: *BitsPerPixel None *ColorModel DeviceCMYK -*UIConstraints: *BitsPerPixel None *ColorModel DeviceRGB -*UIConstraints: *BitsPerPixel 16 *ColorModel DeviceRGB -*UIConstraints: *BitsPerPixel 16 *ColorModel DeviceGray -*UIConstraints: *BitsPerPixel 24 *ColorModel DeviceGray -*UIConstraints: *BitsPerPixel 32 *ColorModel DeviceRGB -*UIConstraints: *BitsPerPixel 32 *ColorModel DeviceGray - -*UIConstraints: *ColorModel DeviceCMYK *BitsPerPixel None -*UIConstraints: *ColorModel DeviceRGB *BitsPerPixel None -*UIConstraints: *ColorModel DeviceRGB *BitsPerPixel 16 -*UIConstraints: *ColorModel DeviceRGB *BitsPerPixel 32 -*UIConstraints: *ColorModel DeviceGray *BitsPerPixel 16 -*UIConstraints: *ColorModel DeviceGray *BitsPerPixel 24 -*UIConstraints: *ColorModel DeviceGray *BitsPerPixel 32 - -*% =========== Device Capabilities =============== - -*LanguageLevel: "2" -*Protocols: TBCP -*FreeVM: "2124600" -*ColorDevice: True -*DefaultColorSpace: CMYK -*FileSystem: True -*Throughput: "1" - -*Password: "()" - -*% ============Paper Size Information ============== - -*OpenUI *PageSize: PickOne -*OrderDependency: 30 AnySetup *PageSize -*DefaultPageSize: Letter -*PageSize A4: "1 dict dup /PageSize [595 842] put setpagedevice" -*PageSize A5: "1 dict dup /PageSize [421 595] put setpagedevice" -*PageSize A6: "1 dict dup /PageSize [297 421] put setpagedevice" -*PageSize A7: "1 dict dup /PageSize [210 297] put setpagedevice" -*PageSize A8: "1 dict dup /PageSize [148 210] put setpagedevice" -*PageSize A9: "1 dict dup /PageSize [105 148] put setpagedevice" -*PageSize A10: "1 dict dup /PageSize [74 105] put setpagedevice" -*PageSize B5: "1 dict dup /PageSize [501 709] put setpagedevice" -*PageSize Letter/US Letter: "1 dict dup /PageSize [612 792] put setpagedevice" -*PageSize 11x17/US 11x17: "1 dict dup /PageSize [792 1224] put setpagedevice" -*PageSize Ledger/US Ledger: "1 dict dup /PageSize [1224 792] put setpagedevice" -*PageSize Legal/US Legal: "1 dict dup /PageSize [612 1008] put setpagedevice" -*CloseUI: *PageSize - -*OpenUI *PageRegion: PickOne -*OrderDependency: 40 AnySetup *PageRegion -*DefaultPageRegion: Letter -*PageRegion A4: "1 dict dup /PageSize [595 842] put setpagedevice" -*PageRegion A5: "1 dict dup /PageSize [421 595] put setpagedevice" -*PageRegion A6: "1 dict dup /PageSize [297 421] put setpagedevice" -*PageRegion A7: "1 dict dup /PageSize [210 297] put setpagedevice" -*PageRegion A8: "1 dict dup /PageSize [148 210] put setpagedevice" -*PageRegion A9: "1 dict dup /PageSize [105 148] put setpagedevice" -*PageRegion A10: "1 dict dup /PageSize [74 105] put setpagedevice" -*PageRegion B5: "1 dict dup /PageSize [501 709] put setpagedevice" -*PageRegion Letter/US Letter: "1 dict dup /PageSize [612 792] put setpagedevice" -*PageRegion 11x17/US 11x17: "1 dict dup /PageSize [792 1224] put setpagedevice" -*PageRegion Ledger/US Ledger: "1 dict dup /PageSize [1224 792] put setpagedevice" -*PageRegion Legal/US Legal: "1 dict dup /PageSize [612 1008] put setpagedevice" -*CloseUI: *PageRegion - -*DefaultImageableArea: Letter -*ImageableArea A3: "9.637793 27.096094 832.437805 1181.496094" -*ImageableArea A4: "18.425196 27.096094 576.625183 833.496094" -*ImageableArea A5: "18.425196 27.096045 402.625183 586.496033" -*ImageableArea A6: "18.425196 27.096045 278.625183 412.496033" -*ImageableArea A7: "18.425196 27.096045 191.625198 288.496033" -*ImageableArea A8: "18.425196 27.096045 129.625198 201.496048" -*ImageableArea A9: "18.425196 27.096045 86.625198 139.496048" -*ImageableArea A10: "18.425196 27.096045 55.625195 96.496048" -*ImageableArea B5: "18.425196 27.096045 482.625183 700.496033" -*ImageableArea Letter/US Letter: "18.425196 27.096045 593.625183 783.496033" -*ImageableArea 11x17/US 11x17: "9.637793 27.096094 782.437805 1215.496094" -*ImageableArea Ledger/US Ledger: "9.637793 27.096045 1214.437744 783.496033" -*ImageableArea Legal/US Legal: "9.637793 27.096094 602.437805 999.496094" - -*?ImageableArea: " -save - /cvp {( ) cvs print ( ) print } bind def - /upperright {10000 mul floor 10000 div} bind def - /lowerleft {10000 mul ceiling 10000 div} bind def - newpath clippath pathbbox - 4 -2 roll exch 2 {lowerleft cvp} repeat - exch 2 {upperright cvp} repeat flush - restore -" -*End - -*PaperDimension A4: "595 842" -*PaperDimension A5: "421 595" -*PaperDimension A6: "297 421" -*PaperDimension A7: "210 297" -*PaperDimension A8: "148 210" -*PaperDimension A9: "105 148" -*PaperDimension A10: "74 105" -*PaperDimension B5: "501 709" -*PaperDimension Letter/US Letter: "612 792" -*PaperDimension 11x17/US 11x17: "792 1224" -*PaperDimension Ledger/US Ledger: "1224 792" -*PaperDimension Legal/US Legal: "612 1008" - -*HWMargins: "9.637794495 19.842518 9.637794495 8.503937" - -*% =============Halftone Information =============== - -*ScreenFreq: "60.0" -*ScreenAngle: "45.0" - -*DefaultScreenProc: Dot -*ScreenProc Dot: " -{dup mul exch dup mul add 1.0 exch sub } -" -*End -*ScreenProc Line: "{ pop }" -*ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }" - -*DefaultTransfer: Normalized -*Transfer Normalized: "{mark -1.0 1.000 0.955 0.915 0.847 0.765 0.683 0.602 0.500 0.311 0.030 0.0 -counttomark dup 3 add -1 roll exch -2 sub mul dup floor cvi dup 3 1 roll sub exch dup -3 add index exch 2 add index dup 4 1 roll sub mul add -counttomark 1 add 1 roll cleartomark -} bind" -*End -*Transfer Null: "{ }" -*Transfer Null.Inverse: "{ 1 exch sub }" -*End - -*%==================Input Slot==================== - -*OpenUI *InputSlot/Media Source: PickOne -*OrderDependency: 20 AnySetup *InputSlot -*DefaultInputSlot: Feeder -*InputSlot Feeder/Paper Tray: "" -*CloseUI: *InputSlot - -*%=================Manual Feed==================== - -*OpenUI *ManualFeed/Manual Feed: Boolean -*OrderDependency: 20 AnySetup *ManualFeed -*DefaultManualFeed: False -*ManualFeed True/True: "1 dict dup /ManualFeed true put setpagedevice" -*ManualFeed False/False: "1 dict dup /ManualFeed false put setpagedevice" -*?ManualFeed: " - save - currentpagedevice /ManualFeed get - {(True)}{(False)}ifelse = flush - restore" -*End - -*CloseUI: *ManualFeed - -*%===================Resolution==================== - -*OpenUI *Resolution/Resolution: PickOne -*OrderDependency: 10 AnySetup *Resolution -*DefaultResolution: 360x360dpi -*Resolution 90x90dpi/90dpi: " - 1 dict dup /HWResolution [ 90 90 ] - put setpagedevice" -*End - -*Resolution 180x180dpi/180dpi: " - 1 dict dup /HWResolution [ 180 180 ] - put setpagedevice" -*End - -*Resolution 360x360dpi/360dpi: " - 1 dict dup /HWResolution [ 360 360 ] - put setpagedevice" -*End - -*?Resolution: " - save - currentpagedevice /HWResolution get dup - 0 get cvi 10 string cvs print - (x) print - 0 get cvi 10 string print - (dpi) = flush - restore" -*End - -*CloseUI: *Resolution - -*%===================Output Depth==================== - -*OpenUI *BitsPerPixel/Print Depth: PickOne -*OrderDependency: 30 AnySetup *BitsPerPixel -*DefaultBitsPerPixel: 24 -*BitsPerPixel None/1bpp: " - 1 dict dup /BitsPerPixel 1 put - setpagedevice" -*End - -*BitsPerPixel 8/8bpp: " - 1 dict dup /BitsPerPixel 8 put - setpagedevice" -*End - -*BitsPerPixel 16/16bpp: " - 1 dict dup /BitsPerPixel 16 put - setpagedevice" -*End - -*BitsPerPixel 24/24bpp: " - 1 dict dup /BitsPerPixel 24 put - setpagedevice" -*End - -*BitsPerPixel 32/32bpp: " - 1 dict dup /BitsPerPixel 32 put - setpagedevice" -*End - -*?BitsPerPixel: " - save - currentpagedevice /BitsPerPixel get dup 1 eq { pop (None) } if = flush - restore" -*End - -*CloseUI: *BitsPerPixel - -*%=================Media Type============================ - -*OpenUI *MediaType/Media Type: PickOne -*OrderDependency: 50 AnySetup *MediaType -*DefaultMediaType: PlainPaper -*MediaType PlainPaper/Plain Paper: " - 1 dict dup /MediaType (PlainPaper) put setpagedevice" -*End - -*MediaType CoatedPaper/Coated Paper: " - 1 dict dup /MediaType (CoatedPaper) put setpagedevice" -*End - -*MediaType TransparencyFilm/Transparency Film: " - 1 dict dup /MediaType (TransparencyFilm) put setpagedevice" -*End - -*MediaType Envelope/Envelope: " - 1 dict dup /MediaType (Envelope) put setpagedevice" -*End - -*MediaType Card/Card: " - 1 dict dup /MediaType (Card) put setpagedevice" -*End - -*MediaType Other/Other: " - 1 dict dup /MediaType (Other) put setpagedevice" -*End - -*?MediaType: " - save - currentpagedevice /MediaType get - dup null eq {pop (Unknown)} if = flush - restore " -*End - -*CloseUI: *MediaType - -*%===================Printing Quality==================== - -*OpenUI *OutputMode/Print Quality: PickOne -*OrderDependency: 10 AnySetup *OuputMode -*DefaultOutputMode: Normal -*OutputMode Draft/Draft: " - 1 dict dup /PrintQuality (Draft) put setpagedevice" -*End - -*OutputMode Low/Low: " - 1 dict dup /PrintQuality (Low) put setpagedevice" -*End - -*OutputMode Normal/Normal: " - 1 dict dup /PrintQuality (Normal) put setpagedevice" -*End - -*OutputMode High/High: " - 1 dict dup /PrintQuality (High) put setpagedevice" -*End - -*CloseUI: *OutputMode - -*%===================Color/Gray Printing==================== - -*OpenUI *ColorModel/Color Processing: PickOne -*OrderDependency: 20 AnySetup *ColorModel -*DefaultColorModel: DeviceCMYK -*ColorModel DeviceGray/Gray: " - 1 dict dup /ProcessColorModel /DeviceGray - put setpagedevice" -*End - -*ColorModel DeviceRGB/RGB: " - 1 dict dup /ProcessColorModel /DeviceRGB - put setpagedevice" -*End - -*ColorModel DeviceCMYK/CMYK: " - 1 dict dup /ProcessColorModel /DeviceCMYK - put setpagedevice" -*End - -*?ColorModel: " - save - currentpagedevice /ProcessColorModel get = flush - restore " -*End - -*CloseUI: *ColorModel - -*%===================Media Weight/Thick Media==================== - -*OpenUI *ThickMedia/Thick Media: PickOne -*OrderDependency: 30 AnySetup *ThickMedia -*Default ThickMedia: Thin -*ThickMedia Thin/No: " - 1 dict dup /MediaWeight 80 - put setpagedevice" -*End - -*ThickMedia Thick/Yes: " - 1 dict dup /ThickMedia 120 - put setpagedevice" -*End - -*?ThickMedia: " - save - currentpagedevice /MediaWeight get 105 gt { (Thick) } { (Thin) } ifelse - = flush - restore " -*End - -*CloseUI: *ThickMedia - -*%===================PrintColors==================== - -*OpenUI *PrintColors/Print Colors: PickOne -*OrderDependency: 20 AnySetup *PrintColors -*DefaultPrintColors: "15" -*PrintColors 0/None: "1 dict dup /PrintColors 0 put setpagedevice" -*End - -*PrintColors 1/Cyan: "1 dict dup /PrintColors 1 put setpagedevice" -*End - -*PrintColors 2/Magenta: "1 dict dup /PrintColors 2 put setpagedevice" -*End - -*PrintColors 4/Yellow: "1 dict dup /PrintColors 4 put setpagedevice" -*End - -*PrintColors 8/Black: "1 dict dup /PrintColors 8 put setpagedevice" -*End - -*PrintColors 15/All: "1 dict dup /PrintColors 15 put setpagedevice" -*End - - -*CloseUI *PrintColors diff --git a/Master/tlpkg/tlgs/lib/cid2code.ps b/Master/tlpkg/tlgs/lib/cid2code.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/decrypt.ps b/Master/tlpkg/tlgs/lib/decrypt.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/docie.ps b/Master/tlpkg/tlgs/lib/docie.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/dumphint.ps b/Master/tlpkg/tlgs/lib/dumphint.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/dvipdf b/Master/tlpkg/tlgs/lib/dvipdf deleted file mode 100644 index 8e06a743967..00000000000 --- a/Master/tlpkg/tlgs/lib/dvipdf +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh -# $Id: dvipdf 9344 2009-01-10 22:11:18Z till $ -# Convert DVI to PDF. -# -# Please contact Andrew Ford with any questions -# about this file. -# -# Based on ps2pdf - -# This definition is changed on install to match the -# executable name set in the makefile -GS_EXECUTABLE=gs - - -OPTIONS="" -DVIPSOPTIONS="" -while true -do - case "$1" in - -R*) DVIPSOPTIONS="$DVIPSOPTIONS $1";; - -?*) OPTIONS="$OPTIONS $1" ;; - *) break ;; - esac - shift -done - -if [ $# -lt 1 -o $# -gt 2 ]; then - echo "Usage: `basename $0` [options...] input.dvi [output.pdf]" 1>&2 - exit 1 -fi - -infile=$1; - -if [ $# -eq 1 ] -then - case "${infile}" in - *.dvi) base=`basename "${infile}" .dvi` ;; - *) base=`basename "${infile}"` ;; - esac - outfile="${base}".pdf -else - outfile=$2 -fi - -# We have to include the options twice because -I only takes effect if it -# appears before other options. -exec dvips -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite - diff --git a/Master/tlpkg/tlgs/lib/fixmswrd.pl b/Master/tlpkg/tlgs/lib/fixmswrd.pl deleted file mode 100644 index 521aaeabd4b..00000000000 --- a/Master/tlpkg/tlgs/lib/fixmswrd.pl +++ /dev/null @@ -1,206 +0,0 @@ -#!/usr/bin/perl -# $Id: fixmswrd.pl 6300 2005-12-28 19:56:24Z giles $ - -# (C) 1997 Anthony Shipman -# -# This software is provided 'as-is', without any express or implied -# warranty. In no event will the authors be held liable for any damages -# arising from the use of this software. -# -# Permission is granted to anyone to use this software for any purpose, -# including commercial applications, and to alter it and redistribute it -# freely, subject to the following restrictions: -# -# 1. The origin of this software must not be misrepresented; you must not -# claim that you wrote the original software. If you use this software -# in a product, an acknowledgment in the product documentation would be -# appreciated but is not required. -# 2. Altered source versions must be plainly marked as such, and must not be -# misrepresented as being the original software. -# 3. This notice may not be removed or altered from any source distribution. -# -# Anthony Shipman shipmana@acm.org - -# This program patches the postscript generated by MS Word printer drivers -# so that they work with ghostview 1.5. The problem is that the document -# structuring conventions are not followed by Word. The pages are supposed -# to be independent but they depend on a dictionary being opened outside -# of the pages. The erroneous structure is -# -# %%EndSetup -# NTPSOct95 begin -# %%Page: 1 1 -# -# showpage -# %%Page: 2 2 -# -# showpage -# ...... -# %%Trailer -# ... -# end -# %%EOF -# -# This only works if the all of the structure around the pages is preserved. -# The opening of NTPSOct95 happens outside of any structured section so -# it is never seen by ghostview. We change the structure to -# -# %%EndSetup -# %%Page: 1 1 -# NTPSOct95 begin -# -# showpage -# end -# %%Page: 2 2 -# NTPSOct95 begin -# -# showpage -# end -# ...... -# %%Trailer -# ... -# %%EOF -# -# That is the dictionary opening is repeated inside each page. -# -# We add a comment to the document to mark that it has been converted. -# This has the form -# %LOCALGhostviewPatched -# -# Usage: -# fixmswrd [-v] [file [output-file]] - -require 'getopts.pl'; - -#================================================================= - -$program = "fixmswrd"; - -sub usage { - die "Usage: $program [-v] [file [output-file]]\n"; -} - -#================================================================= - -&Getopts("v") || &usage; - -$verbose = $opt_v; - - -$infile = shift(@ARGV); -if ($infile) -{ - open(INFILE, $infile) || die "$program: Cannot read from $infile\n"; - $handle = "INFILE"; -} -else -{ - $handle = "STDIN"; -} - - -$outfile = shift(@ARGV); -if ($outfile) -{ - open(OUTFILE, ">$outfile") || die "$program: Cannot write to $outfile\n"; - select(OUTFILE); -} - -# This reads the header comments and detects the presence of the marker. -$have_marker = 0; - -undef $dict_name; -undef $dict_line; - -&read_comments; -&put_comments; - -if ($have_marker) -{ - $verbose && print STDERR "$program: Warning - already converted\n"; - - while(<$handle>) # pass the file through unchanged. - { - print; - } -} -else -{ - $seen_trailer = 0; - - while(<$handle>) # massage the file - { - if ($dict_line) - { - next if (/$dict_line/o); # drop the old begin line - $seen_trailer = 1 if (/^%%Trailer/); - next if ($seen_trailer and /^end/); # drop the old end line - } - - print; - - if (/^%%Page:/) - { - print "$dict_name begin\n"; # add at the start of the page - } - elsif (/^showpage/) - { - print "end\n"; # add at the end of the page - } - elsif (/^%%BeginResource: procset (\S+)/) - { - $dict_name = $1; - $dict_line = "^$dict_name begin"; - } - elsif (/^%%BeginProcSet: (\S+)/) # for older document versions - { - $dict_name = $1; - $dict_line = "^$dict_name begin"; - } - elsif (/^%%EndProlog:/) - { - unless ($dict_line) - { - $verbose && - print STDERR "$program: Warning - unrecognised document structure\n"; - } - } - } -} - -exit 0; - -#================================================================= - - -# This reads all of the header comments into an array which we can write -# out again later. In addition we detect the presence of the marker comment. - -sub read_comments -{ - @headers = (); - - while (<$handle>) - { # without chopping - push(@headers, $_); - if (/^%LOCALGhostviewPatched/) - { - $have_marker = 1; - } - last if /^%%EndComments/; - } -} - - - -sub put_comments -{ - foreach $h (@headers) - { - if (!$have_marker and ($h =~ /^%%EndComments/)) - { - print "%LOCALGhostviewPatched\n"; - } - print $h; # contains the newline - } -} diff --git a/Master/tlpkg/tlgs/lib/font2c.ps b/Master/tlpkg/tlgs/lib/font2c.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/font2pcl.ps b/Master/tlpkg/tlgs/lib/font2pcl.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/ghostpdf.inf b/Master/tlpkg/tlgs/lib/ghostpdf.inf old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/ghostpdf.ppd b/Master/tlpkg/tlgs/lib/ghostpdf.ppd deleted file mode 100644 index 502f6f10337..00000000000 --- a/Master/tlpkg/tlgs/lib/ghostpdf.ppd +++ /dev/null @@ -1,522 +0,0 @@ -*PPD-Adobe: "4.3" -*FileVersion: "1.1" -*FormatVersion: "4.3" -*LanguageEncoding: ISOLatin1 -*LanguageVersion: English -*Manufacturer: "Ghostscript" -*ModelName: "Ghostscript PDF Writer" -*ShortNickName: "Ghostscript" -*NickName: "Ghostscript" -*% PCFileName should be of the form XXNNNNNN.PPD where XX is an assigned -*% manufacturer code. -*PCFileName: "GHOSTPDF.PPD" -*Product: "(Ghostscript)" -*Product: "(AFPL Ghostscript)" -*Product: "(GNU Ghostscript)" -*Product: "(GPL Ghostscript)" -*PSVersion: "(3010) 815" - -*% *DefaultImageableArea: -*% *DefaultPageRegion: -*% *PageRegion: -*% *ImageableArea: -*% *DefaultPageSize: -*% *PageSize: -*% *DefaultPaperDimension: -*% *PaperDimension: - -*% == Above are required - -*Copyright: "2004-2006 Ghostgum Software Pty Ltd" -*% -*% Copyright (C) 2004-2006, Ghostgum Software Pty Ltd. All rights reserved. -*% -*% Permission is hereby granted, free of charge, to any person obtaining -*% a copy of this file ("Software"), to deal in the Software without -*% restriction, including without limitation the rights to use, copy, -*% modify, merge, publish, distribute, sublicense, and/or sell copies of -*% this Software, and to permit persons to whom this file is furnished to -*% do so, subject to the following conditions: -*% -*% This Software is distributed with NO WARRANTY OF ANY KIND. No author -*% or distributor accepts any responsibility for the consequences of using it, -*% or for whether it serves any particular purpose or works at all, unless he -*% or she says so in writing. -*% -*% The above copyright notice and this permission notice shall be included -*% in all copies or substantial portions of the Software. - -*% There is an accompanying file ghostpdf.inf that is used to -*% install this PPD on Windows 2k/XP. -*% This PPD includes configuration items specific to generating -*% PDF files with ghostscript. -*% If you are not using the ghostscript pdfwrite device, -*% all items in the PDF group should be left as "Default". - - -*% == Basic Capabilities -*LanguageLevel: "3" -*ColorDevice: True -*DefaultColorSpace: RGB -*FileSystem: True -*Extensions: CMYK FileSystem Composite -*TTRasterizer: Type42 -*FreeVM: "10000000" -*PrintPSErrors: True -*ContoneOnly: True -*% AccurateScreensSupport: True - -*% order dependency -*% 10 HWResolution -*% 20 PageSize and other page device parameters -*% 30 PDFSETTINGS -*% 40 distiller parameters - -*% == Resolution -*OpenUI *Resolution: PickOne -*DefaultResolution: 600dpi -*OrderDependency: 10 AnySetup *Resolution -*Resolution 72dpi: "<< /HWResolution [72 72] >> setpagedevice" -*Resolution 96dpi: "<< /HWResolution [96 96] >> setpagedevice" -*Resolution 144dpi: "<< /HWResolution [144 144] >> setpagedevice" -*Resolution 150dpi: "<< /HWResolution [150 150] >> setpagedevice" -*Resolution 300dpi: "<< /HWResolution [300 300] >> setpagedevice" -*Resolution 600dpi: "<< /HWResolution [600 600] >> setpagedevice" -*Resolution 720dpi: "<< /HWResolution [720 720] >> setpagedevice" -*Resolution 1200dpi: "<< /HWResolution [1200 1200] >> setpagedevice" -*Resolution 2400dpi: "<< /HWResolution [2400 2400] >> setpagedevice" -*Resolution 3600dpi: "<< /HWResolution [3600 3600] >> setpagedevice" -*Resolution 4000dpi: "<< /HWResolution [4000 4000] >> setpagedevice" -*CloseUI: *Resolution - - -*% == Paper stuff -*% Page sizes taken from ghostscript gs_statd.ps. -*% Ghostscript pdfwrite ignores Orientation, so set the -*% custom page width/height and then use an Install procedure -*% to rotate the image. - -*HWMargins: 0 0 0 0 -*ParamCustomPageSize Width: 1 points 1 5670 -*ParamCustomPageSize Height: 2 points 1 5670 -*ParamCustomPageSize WidthOffset/Width Margin: 3 points 0 5670 -*ParamCustomPageSize HeightOffset/Height Margin: 4 points 0 5670 -*ParamCustomPageSize Orientation: 5 int 0 3 -*NonUIOrderDependency: 20 AnySetup *CustomPageSize -*CustomPageSize True: " - 5 -2 roll exch 5 2 roll - 3 -2 roll exch 3 2 roll - [ {} - {90 rotate 0 currentpagedevice /PageSize get 0 get neg translate} - {180 rotate currentpagedevice /PageSize get - dup 0 get neg exch 1 get neg translate} - {270 rotate currentpagedevice /PageSize get 1 get neg 0 translate} - ] exch get - 4 dict dup begin 6 1 roll - /Install exch def - 2 array astore /PageOffset exch def - 2 array astore /PageSize exch def - /ImagingBBox null def - end setpagedevice" -*End -*MaxMediaWidth: "5670" -*MaxMediaHeight: "5670" - -*LandscapeOrientation: Any - -*OpenUI *PageSize: PickOne -*DefaultPageSize: Letter -*OrderDependency: 20 AnySetup *PageSize -*PageSize Tabloid: "<< /PageSize [792 1224] /ImagingBBox null >> setpagedevice" -*PageSize Ledger: "<< /PageSize [1224 792] /ImagingBBox null >> setpagedevice" -*PageSize Legal: "<< /PageSize [612 1008] /ImagingBBox null >> setpagedevice" -*PageSize Letter: "<< /PageSize [612 792] /ImagingBBox null >> setpagedevice" -*PageSize LetterSmall: "<< /PageSize [612 792] /ImagingBBox [25 25 587 767] >> setpagedevice" -*PageSize Statement: "<< /PageSize [396 612] /ImagingBBox null >> setpagedevice" -*PageSize Note: "<< /PageSize [612 792] /ImagingBBox [25 25 587 767] >> setpagedevice" -*PageSize A0: "<< /PageSize [2384 3370] /ImagingBBox null >> setpagedevice" -*PageSize A1: "<< /PageSize [1684 2384] /ImagingBBox null >> setpagedevice" -*PageSize A2: "<< /PageSize [1191 1684] /ImagingBBox null >> setpagedevice" -*PageSize A3: "<< /PageSize [842 1191] /ImagingBBox null >> setpagedevice" -*PageSize A4: "<< /PageSize [595 842] /ImagingBBox null >> setpagedevice" -*PageSize A4Small: "<< /PageSize [595 842] /ImagingBBox [25 25 750 817] >> setpagedevice" -*PageSize A5: "<< /PageSize [420 595] /ImagingBBox null >> setpagedevice" -*PageSize A6: "<< /PageSize [297 420] /ImagingBBox null >> setpagedevice" -*PageSize A7: "<< /PageSize [210 297] /ImagingBBox null >> setpagedevice" -*PageSize A8: "<< /PageSize [148 210] /ImagingBBox null >> setpagedevice" -*PageSize A9: "<< /PageSize [105 148] /ImagingBBox null >> setpagedevice" -*PageSize A10: "<< /PageSize [73 105] /ImagingBBox null >> setpagedevice" -*PageSize ISOB0/ISO B0: "<< /PageSize [2835 4008] /ImagingBBox null >> setpagedevice" -*PageSize ISOB1/ISO B1: "<< /PageSize [2004 2835] /ImagingBBox null >> setpagedevice" -*PageSize ISOB2/ISO B2: "<< /PageSize [1417 2004] /ImagingBBox null >> setpagedevice" -*PageSize ISOB3/ISO B3: "<< /PageSize [1001 1417] /ImagingBBox null >> setpagedevice" -*PageSize ISOB4/ISO B4: "<< /PageSize [709 1001] /ImagingBBox null >> setpagedevice" -*PageSize ISOB5/ISO B5: "<< /PageSize [499 709] /ImagingBBox null >> setpagedevice" -*PageSize ISOB6/ISO B6: "<< /PageSize [354 499] /ImagingBBox null >> setpagedevice" -*PageSize B0/JIS B0: "<< /PageSize [2920 4127] /ImagingBBox null >> setpagedevice" -*PageSize B1/JIS B1: "<< /PageSize [2064 2920] /ImagingBBox null >> setpagedevice" -*PageSize B2/JIS B2: "<< /PageSize [1460 2064] /ImagingBBox null >> setpagedevice" -*PageSize B3/JIS B3: "<< /PageSize [1032 1460] /ImagingBBox null >> setpagedevice" -*PageSize B4/JIS B4: "<< /PageSize [729 1032] /ImagingBBox null >> setpagedevice" -*PageSize B5/JIS B5: "<< /PageSize [516 729] /ImagingBBox null >> setpagedevice" -*PageSize B6/JIS B6: "<< /PageSize [363 516] /ImagingBBox null >> setpagedevice" -*PageSize EnvC0/Envelope C0: "<< /PageSize [2599 3677] /ImagingBBox null >> setpagedevice" -*PageSize EnvC1/Envelope C1: "<< /PageSize [1837 2599] /ImagingBBox null >> setpagedevice" -*PageSize EnvC2/Envelope C2: "<< /PageSize [1296 1837] /ImagingBBox null >> setpagedevice" -*PageSize EnvC3/Envelope C3: "<< /PageSize [918 1296] /ImagingBBox null >> setpagedevice" -*PageSize EnvC4/Envelope C4: "<< /PageSize [649 918] /ImagingBBox null >> setpagedevice" -*PageSize EnvC5/Envelope C5: "<< /PageSize [459 649] /ImagingBBox null >> setpagedevice" -*PageSize EnvC6/Envelope C6: "<< /PageSize [323 459] /ImagingBBox null >> setpagedevice" -*PageSize ARCHE: "<< /PageSize [2592 3456] /ImagingBBox null >> setpagedevice" -*PageSize ARCHD: "<< /PageSize [1728 2592] /ImagingBBox null >> setpagedevice" -*PageSize ARCHC: "<< /PageSize [1296 1728] /ImagingBBox null >> setpagedevice" -*PageSize ARCHB: "<< /PageSize [864 1296] /ImagingBBox null >> setpagedevice" -*PageSize ARCHA: "<< /PageSize [648 864] /ImagingBBox null >> setpagedevice" -*PageSize FLSA: "<< /PageSize [612 936] /ImagingBBox null >> setpagedevice" -*PageSize FLSE: "<< /PageSize [612 936] /ImagingBBox null >> setpagedevice" -*PageSize PA4: "<< /PageSize [595 792] /ImagingBBox null >> setpagedevice" -*CloseUI: *PageSize - -*OpenUI *PageRegion: PickOne -*DefaultPageRegion: Letter -*OrderDependency: 20 AnySetup *PageRegion -*PageRegion Tabloid: "<< /PageSize [792 1224] /ImagingBBox null >> setpagedevice" -*PageRegion Ledger: "<< /PageSize [1224 792] /ImagingBBox null >> setpagedevice" -*PageRegion Legal: "<< /PageSize [612 1008] /ImagingBBox null >> setpagedevice" -*PageRegion Letter: "<< /PageSize [612 792] /ImagingBBox null >> setpagedevice" -*PageRegion LetterSmall: "<< /PageSize [612 792] /ImagingBBox [25 25 587 767] >> setpagedevice" -*PageRegion Note: "<< /PageSize [612 792] /ImagingBBox [25 25 587 767] >> setpagedevice" -*PageRegion Statement: "<< /PageSize [396 612] /ImagingBBox null >> setpagedevice" -*PageRegion A0: "<< /PageSize [2384 3370] /ImagingBBox null >> setpagedevice" -*PageRegion A1: "<< /PageSize [1684 2384] /ImagingBBox null >> setpagedevice" -*PageRegion A2: "<< /PageSize [1191 1684] /ImagingBBox null >> setpagedevice" -*PageRegion A3: "<< /PageSize [842 1191] /ImagingBBox null >> setpagedevice" -*PageRegion A4: "<< /PageSize [595 842] /ImagingBBox null >> setpagedevice" -*PageRegion A4Small: "<< /PageSize [595 842] /ImagingBBox [25 25 750 817] >> setpagedevice" -*PageRegion A5: "<< /PageSize [420 595] /ImagingBBox null >> setpagedevice" -*PageRegion A6: "<< /PageSize [297 420] /ImagingBBox null >> setpagedevice" -*PageRegion A7: "<< /PageSize [210 297] /ImagingBBox null >> setpagedevice" -*PageRegion A8: "<< /PageSize [148 210] /ImagingBBox null >> setpagedevice" -*PageRegion A9: "<< /PageSize [105 148] /ImagingBBox null >> setpagedevice" -*PageRegion A10: "<< /PageSize [73 105] /ImagingBBox null >> setpagedevice" -*PageRegion ISOB0/ISO B0: "<< /PageSize [2835 4008] /ImagingBBox null >> setpagedevice" -*PageRegion ISOB1/ISO B1: "<< /PageSize [2004 2835] /ImagingBBox null >> setpagedevice" -*PageRegion ISOB2/ISO B2: "<< /PageSize [1417 2004] /ImagingBBox null >> setpagedevice" -*PageRegion ISOB3/ISO B3: "<< /PageSize [1001 1417] /ImagingBBox null >> setpagedevice" -*PageRegion ISOB4/ISO B4: "<< /PageSize [709 1001] /ImagingBBox null >> setpagedevice" -*PageRegion ISOB5/ISO B5: "<< /PageSize [499 709] /ImagingBBox null >> setpagedevice" -*PageRegion ISOB6/ISO B6: "<< /PageSize [354 499] /ImagingBBox null >> setpagedevice" -*PageRegion B0/JIS B0: "<< /PageSize [2920 4127] /ImagingBBox null >> setpagedevice" -*PageRegion B1/JIS B1: "<< /PageSize [2064 2920] /ImagingBBox null >> setpagedevice" -*PageRegion B2/JIS B2: "<< /PageSize [1460 2064] /ImagingBBox null >> setpagedevice" -*PageRegion B3/JIS B3: "<< /PageSize [1032 1460] /ImagingBBox null >> setpagedevice" -*PageRegion B4/JIS B4: "<< /PageSize [729 1032] /ImagingBBox null >> setpagedevice" -*PageRegion B5/JIS B5: "<< /PageSize [516 729] /ImagingBBox null >> setpagedevice" -*PageRegion B6/JIS B6: "<< /PageSize [363 516] /ImagingBBox null >> setpagedevice" -*PageRegion EnvC0/Envelope C0: "<< /PageSize [2599 3677] /ImagingBBox null >> setpagedevice" -*PageRegion EnvC1/Envelope C1: "<< /PageSize [1837 2599] /ImagingBBox null >> setpagedevice" -*PageRegion EnvC2/Envelope C2: "<< /PageSize [1296 1837] /ImagingBBox null >> setpagedevice" -*PageRegion EnvC3/Envelope C3: "<< /PageSize [918 1296] /ImagingBBox null >> setpagedevice" -*PageRegion EnvC4/Envelope C4: "<< /PageSize [649 918] /ImagingBBox null >> setpagedevice" -*PageRegion EnvC5/Envelope C5: "<< /PageSize [459 649] /ImagingBBox null >> setpagedevice" -*PageRegion EnvC6/Envelope C6: "<< /PageSize [323 459] /ImagingBBox null >> setpagedevice" -*PageRegion ARCHE: "<< /PageSize [2592 3456] /ImagingBBox null >> setpagedevice" -*PageRegion ARCHD: "<< /PageSize [1728 2592] /ImagingBBox null >> setpagedevice" -*PageRegion ARCHC: "<< /PageSize [1296 1728] /ImagingBBox null >> setpagedevice" -*PageRegion ARCHB: "<< /PageSize [864 1296] /ImagingBBox null >> setpagedevice" -*PageRegion ARCHA: "<< /PageSize [648 864] /ImagingBBox null >> setpagedevice" -*PageRegion FLSA: "<< /PageSize [612 936] /ImagingBBox null >> setpagedevice" -*PageRegion FLSE: "<< /PageSize [612 936] /ImagingBBox null >> setpagedevice" -*PageRegion PA4: "<< /PageSize [595 792] /ImagingBBox null >> setpagedevice" -*CloseUI: *PageRegion - -*DefaultImageableArea: Letter -*ImageableArea Tabloid: "0 0 792 1224" -*ImageableArea Ledger: "0 0 1224 792" -*ImageableArea Legal: "0 0 612 1008" -*ImageableArea Letter: "0 0 612 792" -*ImageableArea LetterSmall: "25 25 587 767" -*ImageableArea Note: "25 25 587 767" -*ImageableArea Statement: "0 0 396 612" -*ImageableArea A0: "0 0 2384 3370" -*ImageableArea A1: "0 0 1684 2384" -*ImageableArea A2: "0 0 1191 1684" -*ImageableArea A3: "0 0 842 1191" -*ImageableArea A4: "0 0 595 842" -*ImageableArea A4Small: "25 25 750 817" -*ImageableArea A5: "0 0 420 595" -*ImageableArea A6: "0 0 297 420" -*ImageableArea A7: "0 0 210 297" -*ImageableArea A8: "0 0 148 210" -*ImageableArea A9: "0 0 105 148" -*ImageableArea A10: "0 0 73 105" -*ImageableArea ISOB0/ISO B0: "0 0 2835 4008" -*ImageableArea ISOB1/ISO B1: "0 0 2004 2835" -*ImageableArea ISOB2/ISO B2: "0 0 1417 2004" -*ImageableArea ISOB3/ISO B3: "0 0 1001 1417" -*ImageableArea ISOB4/ISO B4: "0 0 709 1001" -*ImageableArea ISOB5/ISO B5: "0 0 499 709" -*ImageableArea ISOB6/ISO B6: "0 0 354 499" -*ImageableArea B0/JIS B0: "0 0 2920 4127" -*ImageableArea B1/JIS B1: "0 0 2064 2920" -*ImageableArea B2/JIS B2: "0 0 1460 2064" -*ImageableArea B3/JIS B3: "0 0 1032 1460" -*ImageableArea B4/JIS B4: "0 0 729 1032" -*ImageableArea B5/JIS B5: "0 0 516 729" -*ImageableArea B6/JIS B6: "0 0 363 516" -*ImageableArea EnvC0/Envelope C0: "0 0 2599 3677" -*ImageableArea EnvC1/Envelope C1: "0 0 1837 2599" -*ImageableArea EnvC2/Envelope C2: "0 0 1296 1837" -*ImageableArea EnvC3/Envelope C3: "0 0 918 1296" -*ImageableArea EnvC4/Envelope C4: "0 0 649 918" -*ImageableArea EnvC5/Envelope C5: "0 0 459 649" -*ImageableArea EnvC6/Envelope C6: "0 0 323 459" -*ImageableArea ARCHE: "0 0 2592 3456" -*ImageableArea ARCHD: "0 0 1728 2592" -*ImageableArea ARCHC: "0 0 1296 1728" -*ImageableArea ARCHB: "0 0 864 1296" -*ImageableArea ARCHA: "0 0 648 864" -*ImageableArea FLSA: "0 0 612 936" -*ImageableArea FLSE: "0 0 612 936" -*ImageableArea PA4: "0 0 595 792" - -*DefaultPaperDimension: Letter -*PaperDimension Tabloid: "792 1224" -*PaperDimension Ledger: "1224 792" -*PaperDimension Legal: "612 1008" -*PaperDimension Letter: "612 792" -*PaperDimension LetterSmall: "612 792" -*PaperDimension Note: "612 792" -*PaperDimension Statement: "396 612" -*PaperDimension A0: "2384 3370" -*PaperDimension A1: "1684 2384" -*PaperDimension A2: "1191 1684" -*PaperDimension A3: "842 1191" -*PaperDimension A4: "595 842" -*PaperDimension A4Small: "595 842" -*PaperDimension A5: "420 595" -*PaperDimension A6: "297 420" -*PaperDimension A7: "210 297" -*PaperDimension A8: "148 210" -*PaperDimension A9: "105 148" -*PaperDimension A10: "73 105" -*PaperDimension ISOB0/ISO B0: "2835 4008" -*PaperDimension ISOB1/ISO B1: "2004 2835" -*PaperDimension ISOB2/ISO B2: "1417 2004" -*PaperDimension ISOB3/ISO B3: "1001 1417" -*PaperDimension ISOB4/ISO B4: "709 1001" -*PaperDimension ISOB5/ISO B5: "499 709" -*PaperDimension ISOB6/ISO B6: "354 499" -*PaperDimension B0/JIS B0: "2920 4127" -*PaperDimension B1/JIS B1: "2064 2920" -*PaperDimension B2/JIS B2: "1460 2064" -*PaperDimension B3/JIS B3: "1032 1460" -*PaperDimension B4/JIS B4: "729 1032" -*PaperDimension B5/JIS B5: "516 729" -*PaperDimension B6/JIS B6: "363 516" -*PaperDimension EnvC0/Envelope C0: "2599 3677" -*PaperDimension EnvC1/Envelope C1: "1837 2599" -*PaperDimension EnvC2/Envelope C2: "1296 1837" -*PaperDimension EnvC3/Envelope C3: "918 1296" -*PaperDimension EnvC4/Envelope C4: "649 918" -*PaperDimension EnvC5/Envelope C5: "459 649" -*PaperDimension EnvC6/Envelope C6: "323 459" -*PaperDimension ARCHE: "2592 3456" -*PaperDimension ARCHD: "1728 2592" -*PaperDimension ARCHC: "1296 1728" -*PaperDimension ARCHB: "864 1296" -*PaperDimension ARCHA: "648 864" -*PaperDimension FLSA: "612 936" -*PaperDimension FLSE: "612 936" -*PaperDimension PA4: "595 792" - - -*% == Fonts -*DefaultFont: Courier -*% First the standard 35 aliases with the actual fonts commented out. -*Font Bookman-Demi: Standard "(1.05)" Standard ROM -*% *Font URWBookmanL-DemiBold: Standard "(1.05)" Standard ROM -*Font Bookman-DemiItalic: Standard "(1.05)" Standard ROM -*% *Font URWBookmanL-DemiBoldItal: Standard "(1.05)" Standard ROM -*Font Bookman-Light: Standard "(1.05)" Standard ROM -*% *Font URWBookmanL-Ligh: Standard "(1.05)" Standard ROM -*Font Bookman-LightItalic: Standard "(1.05)" Standard ROM -*% *Font URWBookmanL-LighItal: Standard "(1.05)" Standard ROM -*Font Courier: Standard "(1.05)" Standard ROM -*% *Font NimbusMonL-Regu: Standard "(1.05)" Standard ROM -*Font Courier-Oblique: Standard "(1.05)" Standard ROM -*% *Font NimbusMonL-ReguObli: Standard "(1.05)" Standard ROM -*Font Courier-Bold: Standard "(1.05)" Standard ROM -*% *Font NimbusMonL-Bold: Standard "(1.05)" Standard ROM -*Font Courier-BoldOblique: Standard "(1.05)" Standard ROM -*% *Font NimbusMonL-BoldObli: Standard "(1.05)" Standard ROM -*Font AvantGarde-Book: Standard "(1.05)" Standard ROM -*% *Font URWGothicL-Book: Standard "(1.05)" Standard ROM -*Font AvantGarde-BookOblique: Standard "(1.05)" Standard ROM -*% *Font URWGothicL-BookObli: Standard "(1.05)" Standard ROM -*Font AvantGarde-Demi: Standard "(1.05)" Standard ROM -*% *Font URWGothicL-Demi: Standard "(1.05)" Standard ROM -*Font AvantGarde-DemiOblique: Standard "(1.05)" Standard ROM -*% *Font URWGothicL-DemiObli: Standard "(1.05)" Standard ROM -*Font Helvetica: Standard "(1.05)" Standard ROM -*% *Font NimbusSanL-Regu: Standard "(1.05)" Standard ROM -*Font Helvetica-Oblique: Standard "(1.05)" Standard ROM -*% *Font NimbusSanL-ReguItal: Standard "(1.05)" Standard ROM -*Font Helvetica-Bold: Standard "(1.05)" Standard ROM -*% *Font NimbusSanL-Bold: Standard "(1.05)" Standard ROM -*Font Helvetica-BoldOblique: Standard "(1.05)" Standard ROM -*% *Font NimbusSanL-BoldItal: Standard "(1.05)" Standard ROM -*Font Helvetica-Narrow: Standard "(1.05)" Standard ROM -*% *Font NimbusSanL-ReguCond: Standard "(1.05)" Standard ROM -*Font Helvetica-Narrow-Oblique: Standard "(1.05)" Standard ROM -*% *Font NimbusSanL-ReguCondItal: Standard "(1.05)" Standard ROM -*Font Helvetica-Narrow-Bold: Standard "(1.05)" Standard ROM -*% *Font NimbusSanL-BoldCond: Standard "(1.05)" Standard ROM -*Font Helvetica-Narrow-BoldOblique: Standard "(1.05)" Standard ROM -*% *Font NimbusSanL-BoldCondItal: Standard "(1.05)" Standard ROM -*Font Palatino-Roman: Standard "(1.05)" Standard ROM -*% *Font URWPalladioL-Roma: Standard "(1.05)" Standard ROM -*Font Palatino-Italic: Standard "(1.05)" Standard ROM -*% *Font URWPalladioL-Ital: Standard "(1.05)" Standard ROM -*Font Palatino-Bold: Standard "(1.05)" Standard ROM -*% *Font URWPalladioL-Bold: Standard "(1.05)" Standard ROM -*Font Palatino-BoldItalic: Standard "(1.05)" Standard ROM -*% *Font URWPalladioL-BoldItal: Standard "(1.05)" Standard ROM -*Font NewCenturySchlbk-Roman: Standard "(1.05)" Standard ROM -*% *Font CenturySchL-Roma: Standard "(1.05)" Standard ROM -*Font NewCenturySchlbk-Italic: Standard "(1.05)" Standard ROM -*% *Font CenturySchL-Ital: Standard "(1.05)" Standard ROM -*Font NewCenturySchlbk-Bold: Standard "(1.05)" Standard ROM -*% *Font CenturySchL-Bold: Standard "(1.05)" Standard ROM -*Font NewCenturySchlbk-BoldItalic: Standard "(1.05)" Standard ROM -*% *Font CenturySchL-BoldItal: Standard "(1.05)" Standard ROM -*Font Times-Roman: Standard "(1.05)" Standard ROM -*% *Font NimbusRomNo9L-Regu: Standard "(1.05)" Standard ROM -*Font Times-Italic: Standard "(1.05)" Standard ROM -*% *Font NimbusRomNo9L-ReguItal: Standard "(1.05)" Standard ROM -*Font Times-Bold: Standard "(1.05)" Standard ROM -*% *Font NimbusRomNo9L-Medi: Standard "(1.05)" Standard ROM -*Font Times-BoldItalic: Standard "(1.05)" Standard ROM -*% *Font NimbusRomNo9L-MediItal: Standard "(1.05)" Standard ROM -*Font Symbol: Special "(001.005)" Special ROM -*% *Font StandardSymL: Special (001.005)" Special ROM -*Font ZapfChancery-MediumItalic: Standard "(1.05)" Standard ROM -*% *Font URWChanceryL-MediItal: Standard "(1.05)" Standard ROM -*Font ZapfDingbats: Special (001.005)" Special ROM -*% *Font Dingbats: Special (001.005)" Special ROM -*% Then a few ghostscript extras -*Font Charter-Roman: Standard "(2.0-1.0)" Standard ROM -*Font CharterBT-Roman: Standard "(2.0-1.0)" Standard ROM -*Font Charter-Italic: Standard "(2.0-1.0)" Standard ROM -*Font CharterBT-Italic: Standard "(2.0-1.0)" Standard ROM -*Font Charter-Bold: Standard "(2.0-1.0)" Standard ROM -*Font CharterBT-Bold: Standard "(2.0-1.0)" Standard ROM -*Font Charter-BoldItalic: Standard "(2.0-1.0)" Standard ROM -*Font CharterBT-BoldItalic: Standard "(2.0-1.0)" Standard ROM -*Font Utopia-Regular: Standard "(001.001)" Standard ROM -*Font Utopia-Italic: Standard "(001.001)" Standard ROM -*Font Utopia-Bold: Standard "(001.001)" Standard ROM -*Font Utopia-BoldItalic: Standard "(001.001)" Standard ROM - -*% == Most of these set distiller parameters -*% If the target device is not the Ghostscript pdfwrite device, -*% then these should all be left at "Default" -*OpenGroup: PDF - -*% == The pdfwrite device can select different color spaces -*OpenUI *ColorModel/PDF Colour Model: PickOne -*DefaultColorModel: Default -*OrderDependency: 20 AnySetup *ColorModel -*ColorModel Default: "" -*ColorModel Grey: "<< /ProcessColorModel /DeviceGray >> setpagedevice" -*ColorModel RGB: "<< /ProcessColorModel /DeviceRGB >> setpagedevice" -*ColorModel CMYK: "<< /ProcessColorModel /DeviceCMYK >> setpagedevice" -*CloseUI: *ColorModel - -*OpenUI *PDFSettings/PDF Settings: PickOne -*DefaultPDFSettings: Default -*OrderDependency: 30 AnySetup *PDFSettings -*PDFSettings Default: "" -*PDFSettings Screen: ".distillersettings /screen get setdistillerparams" -*PDFSettings Ebook: ".distillersettings /ebook get setdistillerparams" -*PDFSettings Printer: ".distillersettings /printer get setdistillerparams" -*PDFSettings Prepress: ".distillersettings /prepress get setdistillerparams" -*CloseUI: *PDFSettings - -*OpenUI *ColorImageFilter/PDF Colour Image Compression: PickOne -*DefaultColorImageFilter: Default -*OrderDependency: 40 AnySetup *ColorImageFilter -*ColorImageFilter Default: "" -*ColorImageFilter JPEG: "<< /AutoFilterColorImages false /ColorImageFilter /DCTEncode >> setdistillerparams" -*ColorImageFilter Flate: "<< /AutoFilterColorImages false /ColorImageFilter /FlateEncode >> setdistillerparams" -*CloseUI: *ColorImageFilter - -*OpenUI *GrayImageFilter/PDF Grey Image Compression: PickOne -*DefaultGrayImageFilter: Default -*OrderDependency: 40 AnySetup *GrayImageFilter -*GrayImageFilter Default: "" -*GrayImageFilter JPEG: "<< /AutoFilterGrayImages false /GrayImageFilter /DCTEncode >> setdistillerparams" -*GrayImageFilter Flate: "<< /AutoFilterGrayImages false /GrayImageFilter /FlateEncode >> setdistillerparams" -*CloseUI: *GrayImageFilter - -*OpenUI *MonoImageFilter/PDF Monochrome Image Compression: PickOne -*DefaultMonoImageFilter: Default -*OrderDependency: 40 AnySetup *MonoImageFilter -*MonoImageFilter Default: "" -*MonoImageFilter FaxG3/Fax G3: "<< /AutoFilterMonoImages false /MonoImageFilter /CCITTFaxEncode >> setdistillerparams" -*MonoImageFilter Flate: "<< /AutoFilterMonoImages false /MonoImageFilter /FlateEncode >> setdistillerparams" -*CloseUI: *MonoImageFilter - -*OpenUI *CompatibilityLevel/PDF Compatibility: PickOne -*DefaultCompatibilityLevel: Default -*OrderDependency: 40 AnySetup *CompatibilityLevel -*CompatibilityLevel Default: "" -*CompatibilityLevel 1.2: "<< /CompatibilityLevel 1.2 >> setdistillerparams" -*CompatibilityLevel 1.3: "<< /CompatibilityLevel 1.3 >> setdistillerparams" -*CompatibilityLevel 1.4: "<< /CompatibilityLevel 1.4 >> setdistillerparams" -*CloseUI: *CompatibilityLevel - -*OpenUI *AutoRotatePages/PDF AutoRotatePages: PickOne -*DefaultAutoRotatePages: Default -*OrderDependency: 40 AnySetup *AutoRotatePages -*AutoRotatePages Default: "" -*AutoRotatePages None: "<< /AutoRotatePages /None >> setdistillerparams" -*AutoRotatePages PageByPage: "<< /AutoRotatePages /PageByPage >> setdistillerparams" -*AutoRotatePages All: "<< /AutoRotatePages /All >> setdistillerparams" -*CloseUI: *AutoRotatePages - -*OpenUI *ParseDSCComments/PDF ParseDSCComments: PickOne -*DefaultParseDSCComments: Default -*OrderDependency: 40 AnySetup *ParseDSCComments -*ParseDSCComments Default: "" -*ParseDSCComments True: "<< /ParseDSCComments true >> setdistillerparams" -*ParseDSCComments False: "<< /ParseDSCComments false >> setdistillerparams" -*CloseUI: *ParseDSCComments - -*OpenUI *EmbedAllFonts/PDF EmbedAllFonts: PickOne -*DefaultEmbedAllFonts: Default -*OrderDependency: 40 AnySetup *EmbedAllFonts -*EmbedAllFonts Default: "" -*EmbedAllFonts True: "<< /EmbedAllFonts true >> setdistillerparams" -*EmbedAllFonts False: "<< /EmbedAllFonts false >> setdistillerparams" -*CloseUI: *EmbedAllFonts - -*OpenUI *SubsetFonts/PDF SubsetFonts: PickOne -*DefaultSubsetFonts: Default -*OrderDependency: 40 AnySetup *SubsetFonts -*SubsetFonts Default: "" -*SubsetFonts True: "<< /SubsetFonts true >> setdistillerparams" -*SubsetFonts False: "<< /SubsetFonts false >> setdistillerparams" -*CloseUI: *SubsetFonts - -*OpenUI *CompressPages/PDF Compress Pages: PickOne -*DefaultCompressPages: Default -*OrderDependency: 40 AnySetup *CompressPages -*CompressPages Default: "" -*CompressPages True: "<< /CompressPages true >> setdistillerparams" -*CompressPages False: "<< /CompressPages false >> setdistillerparams" -*CloseUI: *CompressPages - -*CloseGroup: PDF - -*% End of Ghostscript PDF Writer PPD file diff --git a/Master/tlpkg/tlgs/lib/gs_ce_e.ps b/Master/tlpkg/tlgs/lib/gs_ce_e.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/gs_cmdl.ps b/Master/tlpkg/tlgs/lib/gs_cmdl.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/gs_fform.ps b/Master/tlpkg/tlgs/lib/gs_fform.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/gs_il2_e.ps b/Master/tlpkg/tlgs/lib/gs_il2_e.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/gs_kanji.ps b/Master/tlpkg/tlgs/lib/gs_kanji.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/gs_ksb_e.ps b/Master/tlpkg/tlgs/lib/gs_ksb_e.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/gs_lgo_e.ps b/Master/tlpkg/tlgs/lib/gs_lgo_e.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/gs_lgx_e.ps b/Master/tlpkg/tlgs/lib/gs_lgx_e.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/gs_pfile.ps b/Master/tlpkg/tlgs/lib/gs_pfile.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/gs_rdlin.ps b/Master/tlpkg/tlgs/lib/gs_rdlin.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/gs_wl1_e.ps b/Master/tlpkg/tlgs/lib/gs_wl1_e.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/gs_wl2_e.ps b/Master/tlpkg/tlgs/lib/gs_wl2_e.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/gs_wl5_e.ps b/Master/tlpkg/tlgs/lib/gs_wl5_e.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/gslp.ps b/Master/tlpkg/tlgs/lib/gslp.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/gsnup.ps b/Master/tlpkg/tlgs/lib/gsnup.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/ht_ccsto.ps b/Master/tlpkg/tlgs/lib/ht_ccsto.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/image-qa.ps b/Master/tlpkg/tlgs/lib/image-qa.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/impath.ps b/Master/tlpkg/tlgs/lib/impath.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/jispaper.ps b/Master/tlpkg/tlgs/lib/jispaper.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/jobseparator.ps b/Master/tlpkg/tlgs/lib/jobseparator.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/landscap.ps b/Master/tlpkg/tlgs/lib/landscap.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/level1.ps b/Master/tlpkg/tlgs/lib/level1.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/lines.ps b/Master/tlpkg/tlgs/lib/lines.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/markhint.ps b/Master/tlpkg/tlgs/lib/markhint.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/markpath.ps b/Master/tlpkg/tlgs/lib/markpath.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/mkcidfm.ps b/Master/tlpkg/tlgs/lib/mkcidfm.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/packfile.ps b/Master/tlpkg/tlgs/lib/packfile.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/pcharstr.ps b/Master/tlpkg/tlgs/lib/pcharstr.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/pdf2dsc.ps b/Master/tlpkg/tlgs/lib/pdf2dsc.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/pdf2ps.cmd b/Master/tlpkg/tlgs/lib/pdf2ps.cmd deleted file mode 100644 index 725cf6da4ef..00000000000 --- a/Master/tlpkg/tlgs/lib/pdf2ps.cmd +++ /dev/null @@ -1,41 +0,0 @@ -/* $Id: pdf2ps.cmd 6300 2005-12-28 19:56:24Z giles $ */ -/* - * This file is maintained by a user: if you have any questions about it, - * please contact Mark Hale (mark.hale@physics.org). - */ - -/* Convert PDF to PostScript. */ - -parse arg params - -gs='@gsos2' -inext='.pdf' -outext='.ps' - -if params='' then call usage - -options='-dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite' - -/* extract options from command line */ -i=1 -param=word(params,i) -do while substr(param,1,1)='-' - options=options param - i=i+1 - param=word(params,i) -end - -infile=param -if infile='' then call usage -outfile=word(params,i+1) -if outfile='' then do - outfile=infile''outext - infile=infile''inext -end - -gs '-q -sOutputFile='outfile options infile -exit - -usage: -say 'Usage: pdf2ps [-dASCII85DecodePages=false] [-dLanguageLevel=n] input[.pdf output.ps]' -exit diff --git a/Master/tlpkg/tlgs/lib/pdfopt.ps b/Master/tlpkg/tlgs/lib/pdfopt.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/pdfwrite.ps b/Master/tlpkg/tlgs/lib/pdfwrite.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/pf2afm.ps b/Master/tlpkg/tlgs/lib/pf2afm.ps old mode 100644 new mode 100755 index c95151bc946..3eb26f092d1 --- a/Master/tlpkg/tlgs/lib/pf2afm.ps +++ b/Master/tlpkg/tlgs/lib/pf2afm.ps @@ -24,7 +24,7 @@ % parameters, usually absent from Type 1 fonts. % Tribute: -% $Id: pf2afm.ps 8674 2008-04-29 00:31:25Z alexcher $ +% $Id: pf2afm.ps 9792 2009-06-13 14:33:18Z alexcher $ % The program is based on James Clark's printafm.ps % (with alterations by d.love@dl.ac.uk and L. Peter Deutsch) from % Ghostscript 5.10 distribution. @@ -458,7 +458,9 @@ % i.e., it analyses the supplied names, appends extensions if needed, % and check files: /pfbn () def /pfan () def /pfmn () def % initialisation - + [ t1_glyph_equivalence { pop } forall ] { % disable glyph substitution + t1_glyph_equivalence exch undef + } forall ifn pfa_or_pfb? { ifn dup length string copy def ifn dup length 4 sub 0 exch getinterval /ifn edef diff --git a/Master/tlpkg/tlgs/lib/pfbtopfa.ps b/Master/tlpkg/tlgs/lib/pfbtopfa.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/ppath.ps b/Master/tlpkg/tlgs/lib/ppath.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/pphs.ps b/Master/tlpkg/tlgs/lib/pphs.ps new file mode 100755 index 00000000000..2d97c224ff1 --- /dev/null +++ b/Master/tlpkg/tlgs/lib/pphs.ps @@ -0,0 +1,221 @@ +% Copyright (C) 2001 Aladdin Enterprises. All rights reserved. +% +% This software is provided AS-IS with no warranty, either express or +% implied. +% +% This software is distributed under license and may not be copied, +% modified or distributed except as expressly authorized under the terms +% of the license contained in the file LICENSE in this distribution. +% +% For more information about licensing, please refer to +% http://www.ghostscript.com/licensing/. For information on +% commercial licensing, go to http://www.artifex.com/licensing/ or +% contact Artifex Software, Inc., 101 Lucas Valley Road #110, +% San Rafael, CA 94903, U.S.A., +1(415)492-9861. + +% $Id: pphs.ps 6300 2005-12-28 19:56:24Z giles $ +% Print Linearized PDF hint streams + +% Utilities +/read1 { % read1 + read not { + (**** Unexpected EOF) = flush quit + } if +} bind def +/read2 { % read2 + dup read1 8 bitshift exch read1 add +} bind def +/read4 { % read4 + dup read2 16 bitshift exch read2 add +} bind def +% Free variables: Bits, Bitsleft +/readninit { % - - + /Bits 0 def + /Bitsleft 0 def +} bind def + +/pdftoken { % pdftoken + dup token pop + dup type /nametype eq 1 index xcheck and { + dup dup (<<) cvn eq exch ([) eq or { + exec exch { + dup pdftoken dup dup (>>) cvn eq exch (]) eq or { + exch pop exec exit + } if exch + } loop + } { + exch pop + } ifelse + } { + exch pop + } ifelse +} bind def +/makemask { % makemask + 1 exch bitshift 1 sub +} bind def +/readn { % readn + dup Bitsleft le { + exch pop + /Bitsleft Bitsleft 2 index sub def + makemask Bits Bitsleft neg bitshift and + } { + Bitsleft makemask Bits and + exch Bitsleft sub exch 1 index bitshift 3 1 roll + /Bits 2 index read1 def /Bitsleft 8 def + readn add + } ifelse +} bind def +/sread { % sread + 0 () /SubFileDecode filter +} bind def + +/ptag { % ptag - + 3 -1 roll print (: ) print + exch exec + ( % ) print = +} bind def + +% Print the linearization parameters dictionary. +/plpkeys << + /E (end of p. 1 objects) + /L (total file length) + /H (PHS start + length) + /N (# of pages) + /O (p. 1 object #) + /T (offset of first main xref entry) +>> def +/plpdict { % plpdict - + (<<) = plpkeys { + 2 index 2 index .knownget { + % Stack: dict key label value + ( ) print 3 -1 roll ===only ( ) print ===only + ( % ) print = + } { + pop pop + } ifelse + } forall { + plpkeys 2 index known { + pop pop + } { + ( ) print exch ===only ( ) print === + } ifelse + } forall (>>) = +} bind def + +% Print the Page Offset Hint Table. +/ppoht { % ppoht - + + 20 dict begin + /f exch def + /npages exch def + readninit + + (1) { f read4 =only } (least # objs/page) ptag + (2) { f read4 =only } (offset of p. 1 object (+PHS length if beyond PHS)) ptag + (3) { f read2 dup =only /nb3 exch def } (# bits for # objs/page delta) ptag + (4) { f read4 =only } (least # bytes/page) ptag + (5) { f read2 dup =only /nb5 exch def } (# bits for # bytes/page delta) ptag + (6) { f read4 =only } (least content stream offset-in-page) ptag + (7) { f read2 dup =only /nb7 exch def } (# bits for content stream offset delta) ptag + (8) { f read4 =only } (least content stream length) ptag + (9) { f read2 dup =only /nb9 exch def } (# bits for content stream length delta) ptag + (10) { f read2 dup =only /nb10 exch def } (# bits for # of shared obj refs) ptag + (11) { f read2 dup =only /nb11 exch def } (# bits for shared obj indices) ptag + (12) { f read2 dup =only /nb12 exch def } (# bits for shared obj ref pos numerators) ptag + (13) { f read2 =only } (shared obj ref pos denominator) ptag + + (*1) { [ npages { f nb3 readn } repeat ] ==only } (# objs/page deltas (see 1,3)) ptag + (*2) { [ npages { f nb5 readn } repeat ] ==only } (# bytes/page deltas (see 4,5)) ptag + (*3) { [ npages { f nb10 readn } repeat ] dup ==only /nso exch def } (# of shared obj refs (see 10)) ptag + (*4) { [ nso { [ exch { f nb11 readn } repeat ] } forall ] ==only } (shared obj indices (see 11)) ptag + (*5) { [ nso { [ exch { f nb12 readn } repeat ] } forall ] ==only } (shared obj ref pos numerators (see 12)) ptag + (*6) { [ npages { f nb7 readn } repeat ] ==only } (content stream offset-in-page deltas (see 6,7)) ptag + (*7) { [ npages { f nb9 readn } repeat ] ==only } (content stream length deltas (see 8,9)) ptag + + end % temp dict + +} bind def + +% Print the Shared Objects Hint Table. +/psoht { % psoht - + + 20 dict begin + /f exch def + readninit + + (1) { f read4 =only } (first shared obj #) ptag + (2) { f read4 =only } (first shared obj offset (+PHS length if beyond PHS)) ptag + (3) { f read4 dup =only /n3 exch def } (# of p. 1 shared objs) ptag + (4) { f read4 dup =only /n4 exch def } (total # of shared objs) ptag + (5) { f read2 dup =only /nb5 exch def } (# bits for # of shared objs/group) ptag + (6) { f read4 =only } (least shared obj group length) ptag + (7) { f read2 dup =only /nb7 exch def } (# bits for shared obj group length delta) ptag + + /nse n4 def + (*1) { [ nse { f nb7 readn } repeat ] ==only } (shared obj group length deltas (see 6,7)) ptag + (*2) { [ nse { f 1 readn } repeat ] dup ==only /md5s exch def } (MD5 present?) ptag + (*3:) = md5s { + 0 ne { + ( ) print f 16 string readstring pop + (%stdout) (w) file dup 3 -1 roll writehexstring closefile () = + } if + } forall + (*4) { [ nse { f nb5 readn } repeat ] ==only } (# objs/group (see 5)) ptag + + end % temp dict + +} bind def + +% Print the Primary Hint Stream of a PDF file. +/pphs { % pphs - + /pdf exch def + + % Read the linearization parameter dictionary. + { pdf pdftoken /obj eq { exit } if } loop + pdf pdftoken /lpdict exch def + /lpdict type /dicttype eq { lpdict /Linearized known } { false } ifelse { + (Not a linearized PDF file.) = stop + } if + + lpdict plpdict flush + + % Read the primary hint stream. + null { + pdf pdftoken dup /stream eq { pop exit } if + exch pop + } loop + /phsdict exch def + % Remove Length if indirect reference. + phsdict 0 known { + phsdict 0 undef phsdict /Length undef + } if + (PHS: ) print phsdict === flush + pdf 0 (endstream) /SubFileDecode filter + dup 64000 string readstring pop exch closefile + sread /phsdata exch def + + % Decode the hint stream data if necessary. + phsdict /Filter .knownget { + phsdata exch filter + dup 5000 string readstring pop exch closefile + sread /phsdata exch def + } if + + % Adobe says we can assume /P = 0. + (Page Offset Hint Table:) = + lpdict /N get + phsdata phsdict /S get string readstring pop sread + ppoht + (Shared Objects Hint Table:) = + phsdata psoht +} bind def + +% Check for command line arguments. +[ shellarguments + { ] dup length 1 eq + { 0 get (r) file dup pphs closefile } + { (Usage: pphs filename.pdf\n) print flush } + ifelse + } + { pop } +ifelse diff --git a/Master/tlpkg/tlgs/lib/prfont.ps b/Master/tlpkg/tlgs/lib/prfont.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/printafm.ps b/Master/tlpkg/tlgs/lib/printafm.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/ps2ai.ps b/Master/tlpkg/tlgs/lib/ps2ai.ps old mode 100644 new mode 100755 index 8f0a3ab7c7b..89847185ea9 --- a/Master/tlpkg/tlgs/lib/ps2ai.ps +++ b/Master/tlpkg/tlgs/lib/ps2ai.ps @@ -14,7 +14,7 @@ % contact Artifex Software, Inc., 101 Lucas Valley Road #110, % San Rafael, CA 94903, U.S.A., +1(415)492-9861. -% $Id: ps2ai.ps 6300 2005-12-28 19:56:24Z giles $ +% $Id: ps2ai.ps 9743 2009-05-16 15:29:35Z alexcher $ %xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx % % ps2ai.ps - a postscript to editable adobe illustrator file filter @@ -25,7 +25,7 @@ % redefine it. This can be used by other programs to overwrite % some settings from externally % -/cdef { 1 index where { pop pop pop } { def } ifelse } def +/cdef { 1 index where { pop pop pop } { def } ifelse } bind def % %xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx % @@ -131,18 +131,19 @@ % Nothing of Interest below here %xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx matrix identmatrix setmatrix % make ctm [1 0 0 1 0 0] +/bdef {bind def} bind def /oldgsave {} def /oldgrestore {} def /initgraphics {} def /initmatrix {} def % undefine PPD PageSizes to be more printer independant /letter {} def /legal {} def /a4 {} def /b5 {} def /lettersmall {} def -/setpagedevice { pop } def % for level 2 PPD PageSizes +/setpagedevice { pop } bdef % for level 2 PPD PageSizes /Courier findfont 12 scalefont setfont % handle no setfont /initclip {0 0 moveto 0 792 lineto 612 792 lineto 612 0 lineto closepath - clip newpath } def -/xdef {exch def} def -/trx {transform exch} def -/cbdef {cvx bind def} def -/jltz {dup abs 0.0001 lt {pop 0} if} def % get rid of scientific notation bug + clip newpath } bdef +/xdef {exch def} bdef +/trx {transform exch} bdef +/cbdef {cvx bind def} bdef +/jltz {dup abs 0.0001 lt {pop 0} if} bdef % get rid of scientific notation bug /clstate false def % closepath state /dpth false def % destroy path (ie newpath) /fclp false def % first paint after clip @@ -165,7 +166,7 @@ matrix identmatrix setmatrix % make ctm [1 0 0 1 0 0] /green {1 mag blk ccomp sub} def /blue {1 yel blk ccomp sub} def red green blue setrgbcolor - } def + } bdef } ifelse /currentcmykcolor where {pop} {/currentcmykcolor { @@ -180,7 +181,7 @@ matrix identmatrix setmatrix % make ctm [1 0 0 1 0 0] /yel rawY blk sub def /blk blk def cyan mag yel blk - } def + } bdef } ifelse % If using Mac Ghostscript jMacGS { @@ -193,10 +194,9 @@ jout {joutput (w) file /joutput xdef} if % % Output % -jout {/jp { joutput exch writestring } bind def }{/jp {print}bind def} ifelse -/jpnum {jltz ( ) jp =string cvs jp } bind def -/jpmat { dup /jarry exch def length 1 sub /j_num exch def - (\[) jp 0 1 j_num {jarry exch get jpnum} for (\]) jp } def +jout {/jp { joutput exch writestring } bdef }{/jp {print} bdef} ifelse +/jpnum {jltz ( ) jp =string cvs jp } bdef +/jpmat { (\[) jp { jpnum } forall (\]) jp } bdef % % Stack to Paths converters % @@ -207,20 +207,20 @@ jout {/jp { joutput exch writestring } bind def }{/jp {print}bind def} ifelse spth 1 eq {clstate {(s\n) jp }{(S\n) jp } ifelse} if spth 2 eq {clstate {(f\n) jp }{(F\n) jp } ifelse} if } if -} def +} bdef /jpm { ckpnt /dpth true def - transform 2 copy /yst xdef /xst xdef exch jpnum jpnum ( m\n) jp } bind def -/jpl { trx jpnum jpnum ( l\n) jp } bind def + transform 2 copy /yst xdef /xst xdef exch jpnum jpnum ( m\n) jp } bdef +/jpl { trx jpnum jpnum ( l\n) jp } bdef /jpc { 6 4 roll trx jpnum jpnum 4 2 roll trx jpnum jpnum trx - jpnum jpnum ( c\n) jp } bind def -/jpp {xst jpnum yst jpnum ( l\n) jp /clstate true def} def + jpnum jpnum ( c\n) jp } bdef +/jpp {xst jpnum yst jpnum ( l\n) jp /clstate true def} bdef /cntpaths { % count paths on stack oldgsave {pop pop /jnump jnump 1 add def} {pop pop} {6 {pop} repeat}{} pathforall oldgrestore -} def +} bdef /ppforall { cntpaths % find out how many paths are on the stack jnump 1 gt { (*u\n) jp } if @@ -229,34 +229,34 @@ jout {/jp { joutput exch writestring } bind def }{/jp {print}bind def} ifelse jnump 1 gt { (*U\n) jp } if /jnump 0 def /clstate false def /dpth false def /fclp false def oldnewpath -} bind def +} bdef % % Painting Operators % /oldnewpath [/newpath load] cbdef -/newpath { (\n) jp /spth 0 def ppforall} def -/stroke { (\n) jp /spth 1 def ppforall } def -/fill {(\n) jp /spth 2 def ppforall } def -/eofill {(1 D\n) jp fill (0 D\n) jp} def +/newpath { (\n) jp /spth 0 def ppforall} bdef +/stroke { (\n) jp /spth 1 def ppforall } bdef +/fill {(\n) jp /spth 2 def ppforall } bdef +/eofill {(1 D\n) jp fill (0 D\n) jp} bdef /clip {clarry gcnt get {(Q\nq\n) jp}{(q\n) jp} ifelse - /fclp true def clarry gcnt true put} def -/eoclip {(1 D\n) jp clip (0 D\n) jp} def + /fclp true def clarry gcnt true put} bdef +/eoclip {(1 D\n) jp clip (0 D\n) jp} bdef % % Text Operators % /oldshow [/show load] cbdef -/curpt {stringwidth pop jx add jy} def +/curpt {stringwidth pop jx add jy} bdef /jNN {dup 0 eq {pop oldgsave currentfont /FontMatrix get setmatrix kscl oldgrestore} if -} def +} bdef /curftmatrix { currentfont /FontMatrix get dup 0 get jNN abs /norm exch def dup 0 get norm div exch dup 1 get norm div exch dup 2 get norm div exch dup 3 get norm div exch dup 4 get exch 5 get 6 array astore matrix currentmatrix matrix concatmatrix -} def +} bdef % AI does not support negitive font sizes -/curftsize {currentfont /FontMatrix get 0 get jNN abs 1000 mul} def +/curftsize {currentfont /FontMatrix get 0 get jNN abs 1000 mul} bdef /hstr (X) def /vbar (|) 0 get def /undsc (_) 0 get def /ftnamefix { % handle font names with |,_ (previously encoded) @@ -268,10 +268,10 @@ jstr cvs } ifelse } ifelse } forall flush -} bind def -%/curftname {currentfont /FontName get ftnamefix}def +} bdef +%/curftname {currentfont /FontName get ftnamefix} bdef /curftname { currentfont /FontName known {currentfont /FontName get} - { (Times-Roman)} ifelse ftnamefix } def + { (Times-Roman)} ifelse ftnamefix } bdef /lftpar (\() 0 get def /rhtpar (\)) 0 get def /bckslsh (\\) 0 get def @@ -286,11 +286,11 @@ jstr cvs } ifelse } ifelse } forall (\)) jp flush -} bind def +} bdef % AI 3 text format pieces jtxt3 { /j3txt { j3ftxt {(0 Ts 100 Tz 0 Tt 0 TA 0 0 5 TC 100 100 200 TW 0 0 0 Ti\n) jp - (0 Ta 0 Tq 0 0 TI 0 Tc 0 Tw\n) jp} if } def + (0 Ta 0 Tq 0 0 TI 0 Tc 0 Tw\n) jp} if } bdef /show {oldgsave (0 To\n) jp currentpoint 2 copy /jy exch def /jx exch def translate curftmatrix /jitm exch def @@ -299,8 +299,8 @@ jtxt3 { (0) jp j_ax curftsize div 100 mul jpnum ( 100 TC\n) jp % percent(?) dup curpt moveto mark exch handft ( Tx\n) jp (TO\n) jp /j3ftxt false def cleartomark currentpoint oldgrestore moveto -} def -/ashow {exch pop exch /j_ax exch def show /j_ax {0} def } def +} bdef +/ashow {exch pop exch /j_ax exch def show /j_ax {0} def } bdef } { /show {oldgsave (u\n) jp currentpoint 2 copy /jy exch def /jx exch def translate @@ -308,19 +308,19 @@ jtxt3 { curftsize dup jpnum jpnum ( 0 0 z\n) jp curftmatrix jpmat ( e\n) jp dup curpt moveto mark exch handft ( t T U\n) jp - cleartomark currentpoint oldgrestore moveto} def + cleartomark currentpoint oldgrestore moveto} bdef /ashow {oldgsave (u\n) jp currentpoint translate (\/) jp curftname jstr cvs jp curftsize dup jpnum jpnum exch kscl mul jpnum ( 0 z\n) jp curftmatrix jpmat ( e\n) jp dup curpt moveto mark exch handft - ( t T U\n) jp cleartomark currentpoint oldgrestore moveto} def + ( t T U\n) jp cleartomark currentpoint oldgrestore moveto} bdef } ifelse -/widthshow { show pop pop pop} def -/awidthshow {ashow pop pop pop} def -/kshow {show pop} def -%/show {true charpath fill} bind def % get outline of charactor +/widthshow { show pop pop pop} bdef +/awidthshow {ashow pop pop pop} bdef +/kshow {show pop} bdef +%/show {true charpath fill} bdef % get outline of charactor joutln {/show { true charpath currentpoint - /jy exch def /jx exch def fill jx jy moveto} bind def} if -%/show {oldshow} def % do nothing different + /jy exch def /jx exch def fill jx jy moveto} bdef} if +%/show {oldshow} bdef % do nothing different % % Color Operators % @@ -328,11 +328,11 @@ joutln {/show { true charpath currentpoint /setcmykcolor {oldsetcmykcolor currentcmykcolor 4 -1 roll jpnum 3 -1 roll jpnum 2 -1 roll jpnum jpnum ( k\n) jp currentcmykcolor 4 -1 roll jpnum 3 -1 roll jpnum 2 -1 roll jpnum jpnum ( K\n) jp - } def + } bdef /oldsetgray [/setgray load] cbdef -/setgray {0 0 0 4 -1 roll 1 exch sub setcmykcolor} def +/setgray {0 0 0 4 -1 roll 1 exch sub setcmykcolor} bdef /oldsethsbcolor [/sethsbcolor load] cbdef -/sethsbcolor {oldsethsbcolor currentcmykcolor setcmykcolor} def +/sethsbcolor {oldsethsbcolor currentcmykcolor setcmykcolor} bdef /oldsetrgbcolor [/setrgbcolor load] cbdef /setrgbcolor {oldsetrgbcolor currentrgbcolor /bval xdef /gval xdef /rval xdef /rawC 1 rval sub def /rawM 1 gval sub def /rawY 1 bval sub def @@ -344,24 +344,24 @@ currentcmykcolor 4 -1 roll jpnum 3 -1 roll jpnum 2 -1 roll jpnum jpnum ( K\n) jp /mag rawM blk sub def /yel rawY blk sub def /blk blk def - cyan mag yel blk setcmykcolor } def + cyan mag yel blk setcmykcolor } bdef % % State Operators % /oldsetlinewidth [/setlinewidth load] cbdef /setlinewidth {kscl abs mul jltz oldsetlinewidth - currentlinewidth jpnum ( w\n) jp } def + currentlinewidth jpnum ( w\n) jp } bdef /oldsetlinecap [/setlinecap load] cbdef -/setlinecap {dup oldsetlinecap jpnum ( J\n) jp} def +/setlinecap {dup oldsetlinecap jpnum ( J\n) jp} bdef /oldsetlinejoin [/setlinejoin load] cbdef -/setlinejoin {dup oldsetlinejoin jpnum ( j\n) jp} def +/setlinejoin {dup oldsetlinejoin jpnum ( j\n) jp} bdef /oldsetmiterlimit [/setmiterlimit load] cbdef -/setmiterlimit {dup oldsetmiterlimit jpnum ( M\n) jp}def +/setmiterlimit {dup oldsetmiterlimit jpnum ( M\n) jp}bdef /oldsetdash [/setdash load] cbdef /setdash {exch [ exch {kscl abs mul} forall ] exch kscl abs mul oldsetdash - currentdash exch jpmat jpnum ( d\n) jp } def + currentdash exch jpmat jpnum ( d\n) jp } bdef /oldsetflat [/setflat load] cbdef -/setflat {dup oldsetflat jpnum ( i\n) jp } def +/setflat {dup oldsetflat jpnum ( i\n) jp } bdef % % More State Operators % @@ -372,12 +372,12 @@ currentcmykcolor 4 -1 roll jpnum 3 -1 roll jpnum 2 -1 roll jpnum jpnum ( K\n) jp 1 0 moveto currentpoint transform dup mul exch dup mul add sqrt 10000 mul round 10000 div oldgrestore -} def +} bdef /currentstate {currentcmykcolor setcmykcolor currentflat jpnum ( i) jp currentlinecap jpnum ( J) jp currentlinejoin jpnum ( j) jp currentlinewidth jpnum ( w) jp currentmiterlimit jpnum ( M ) jp currentdash exch jpmat jpnum ( d\n) jp -} def +} bdef /jdifG { currentcmykcolor /jok xdef /joy xdef /jom xdef /joc xdef currentflat /jof xdef currentlinecap /jolc xdef currentlinejoin /jolj xdef @@ -394,18 +394,18 @@ currentcmykcolor 4 -1 roll jpnum 3 -1 roll jpnum 2 -1 roll jpnum jpnum ( K\n) jp false joad {true exit} forall {pop pop true}{false} ifelse false jnad {true exit} forall {pop pop true}{false} ifelse ne jood jnod ne 10 {or} repeat {currentstate} if -} def +} bdef /oldgsave [/gsave load] cbdef -/gsave {oldgsave /gcnt gcnt 1 add def } def % clarry gcnt false put} def -% (%%Note:gsave ) jp gcnt jpnum (\n) jp} def +/gsave {oldgsave /gcnt gcnt 1 add def } bdef % clarry gcnt false put} bdef +% (%%Note:gsave ) jp gcnt jpnum (\n) jp} bdef /oldgrestore [/grestore load] cbdef /grestore {dpth {newpath} if clarry gcnt get {(Q\n) jp clarry gcnt false put} if - jdifG /gcnt gcnt 1 sub def } def -% oldgrestore currentstate } def -% (%%Note:grestore ) jp gcnt 1 add jpnum (\n) jp} def + jdifG /gcnt gcnt 1 sub def } bdef +% oldgrestore currentstate } bdef +% (%%Note:grestore ) jp gcnt 1 add jpnum (\n) jp} bdef /oldrestore [/restore load] cbdef % a kludgy way of saving the clipping path status information -/restore {clarry aload pop 11 -1 roll oldrestore clarry astore pop} def +/restore {clarry aload pop 11 -1 roll oldrestore clarry astore pop} bdef /showpage { 0 1 9 {clarry exch get {(Q\n) jp} if } for (%%Note: If Error, make sure there are matched pairs of 'q's and 'Q's\n) jp (%%Note: in the file. Add 'Q's before '%%Trailer' until equal\n) jp @@ -424,7 +424,7 @@ currentcmykcolor 4 -1 roll jpnum 3 -1 roll jpnum 2 -1 roll jpnum jpnum ( K\n) jp (Adobe_packedarray /terminate get exec\n) jp } ifelse ( showpage\n%EOF\n%%EndDocument\n) jp - jout {joutput closefile} if jMacGS not {quit} if /j3ftxt true def } def + jout {joutput closefile} if jMacGS not {quit} if /j3ftxt true def } bdef % % Error handling % @@ -432,13 +432,13 @@ errordict begin % Attempt to handle the error caused by bitmap fonts (TeX,Windows.ps,etc) % this is a big-time kludge jbiterr { - /undefined {pop pop (Times-Roman)} def - /typecheck {pop pop} def + /undefined {pop pop (Times-Roman)} bdef + /typecheck {pop pop} bdef } if jerr { /handleerror { (%%Note: ps2ai error, aborting rest of conversion\n) jp showpage - } def + } bdef } if end % @@ -447,22 +447,22 @@ end /jmacimp { % stroked line instead of thin filled boxes /@a { 3 -1 roll 2 div dup 3 -1 roll add exch 3 -1 roll add exch moveto 3 -1 roll 2 div dup 3 -1 roll add exch 3 -1 roll exch sub exch lineto - abs setlinewidth stroke pop pop} def + abs setlinewidth stroke pop pop} bdef /@b { 3 -1 roll 2 div dup 3 -1 roll add exch 3 -1 roll add exch moveto pop 3 -1 roll 2 div dup 3 -1 roll add exch 3 -1 roll add exch lineto - abs setlinewidth stroke} def - /endp {showpage pm restore} def % because the restore stops clean up -} def + abs setlinewidth stroke} bdef + /endp {showpage pm restore} bdef % because the restore stops clean up +} bdef % % Handle (some) PS Level 2 % /rectstroke { 4 2 roll moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto - closepath stroke} def + closepath stroke} bdef /rectfill { 4 2 roll moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto - fill } def + fill } bdef /rectclip { 4 2 roll moveto 1 index 0 rlineto 0 exch rlineto neg 0 rlineto - closepath clip newpath jMacfix {jmacimp} if } def + closepath clip newpath jMacfix {jmacimp} if } bdef % % Add a header prolog to the output file so it is still view/print-able % diff --git a/Master/tlpkg/tlgs/lib/ps2ascii.ps b/Master/tlpkg/tlgs/lib/ps2ascii.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/ps2epsi.ps b/Master/tlpkg/tlgs/lib/ps2epsi.ps old mode 100644 new mode 100755 index 66d4ad6618a..615bb15544c --- a/Master/tlpkg/tlgs/lib/ps2epsi.ps +++ b/Master/tlpkg/tlgs/lib/ps2epsi.ps @@ -1,3 +1,4 @@ + % Copyright (C) 1990, 2000 Aladdin Enterprises. All rights reserved. % % This software is provided AS-IS with no warranty, either express or @@ -13,7 +14,7 @@ % contact Artifex Software, Inc., 101 Lucas Valley Road #110, % San Rafael, CA 94903, U.S.A., +1(415)492-9861. -% $Id: ps2epsi.ps 8726 2008-05-11 17:00:17Z alexcher $ +% $Id: ps2epsi.ps 9619 2009-04-07 10:20:02Z ken $ % Convert an arbitrary PostScript file to an EPSI file. % % Please do not contact these users if you have questions. They no longer @@ -53,7 +54,13 @@ ps2edict begin % The main procedure /ps2epsi - { % Open the file + { + % bbox written to outfile by bbox device from ps2epsi command file + outfile (r) file /epsifile exch def + /BBoxString epsifile 256 string readline pop def + /HiresBBoxString epsifile 256 string readline pop def + epsifile closefile + % Open the file outfile (w) file /epsifile exch def % Get the device parameters currentdevice getdeviceprops .dicttomark @@ -160,18 +167,9 @@ ps2edict begin dup rm gt % If the new index is greater, we save index and element { /rm exch def } { pop } ifelse - } { - pop - } ifelse + } if } for - % Calculate the bounding box values. - % Note that these must be corrected to produce closed-open intervals. - /llx lm def - /lly devheight bm sub 1 sub def - /urx rm 1 add def - /ury devheight tm sub def - % Write out the magic string and bounding box information epsifile (%!PS-Adobe-2.0 EPSF-1.2\n) writestring /epsititle where { pop epsifile epsititle writestring } if @@ -195,11 +193,8 @@ ps2edict begin epsifile (\n) writestring epsifile flushfile - epsifile (%%BoundingBox: ) writestring - epsifile llx write==only epsifile ( ) writestring - epsifile lly write==only epsifile ( ) writestring - epsifile urx write==only epsifile ( ) writestring - epsifile ury write== + epsifile BBoxString writestring epsifile (\r) writestring + epsifile HiresBBoxString writestring epsifile (\r) writestring % Define character and bit widths for the output line buffer: /cwidth rm lm sub 1 add def diff --git a/Master/tlpkg/tlgs/lib/quit.ps b/Master/tlpkg/tlgs/lib/quit.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/rollconv.ps b/Master/tlpkg/tlgs/lib/rollconv.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/showchar.ps b/Master/tlpkg/tlgs/lib/showchar.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/showpage.ps b/Master/tlpkg/tlgs/lib/showpage.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/stcinfo.ps b/Master/tlpkg/tlgs/lib/stcinfo.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/stcolor.ps b/Master/tlpkg/tlgs/lib/stcolor.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/stocht.ps b/Master/tlpkg/tlgs/lib/stocht.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/traceimg.ps b/Master/tlpkg/tlgs/lib/traceimg.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/traceop.ps b/Master/tlpkg/tlgs/lib/traceop.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/type1enc.ps b/Master/tlpkg/tlgs/lib/type1enc.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/type1ops.ps b/Master/tlpkg/tlgs/lib/type1ops.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/uninfo.ps b/Master/tlpkg/tlgs/lib/uninfo.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/unprot.ps b/Master/tlpkg/tlgs/lib/unprot.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/viewcmyk.ps b/Master/tlpkg/tlgs/lib/viewcmyk.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/viewgif.ps b/Master/tlpkg/tlgs/lib/viewgif.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/viewjpeg.ps b/Master/tlpkg/tlgs/lib/viewjpeg.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/viewmiff.ps b/Master/tlpkg/tlgs/lib/viewmiff.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/viewpbm.ps b/Master/tlpkg/tlgs/lib/viewpbm.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/viewpcx.ps b/Master/tlpkg/tlgs/lib/viewpcx.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/viewps2a.ps b/Master/tlpkg/tlgs/lib/viewps2a.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/viewrgb.ps b/Master/tlpkg/tlgs/lib/viewrgb.ps new file mode 100755 index 00000000000..5e3fc529fa9 --- /dev/null +++ b/Master/tlpkg/tlgs/lib/viewrgb.ps @@ -0,0 +1,146 @@ +% Copyright (C) 2009 Artifex Software, Inc. All rights reserved. +% +% This software is provided AS-IS with no warranty, either express or +% implied. +% +% This software is distributed under license and may not be copied, modified +% or distributed except as expressly authorized under the terms of that +% license. Refer to licensing information at http://www.artifex.com/ +% or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, +% San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. + +% $Id: viewrgb.ps 9517 2009-03-02 19:47:28Z giles $ + +% viewrgb.ps +% Display a raw RGB file created by -sDEVICE=bitrgb. +% If SCALE is defined, maps input pixels to output pixels with that scale; +% if SCALE is undefined, scales the image to fit the page. +% If BITS is defined, it is the number of bits per sample (1,2,8,12). +% NB: BITS=1 (corresponding to -dGrayValues=16) is not supported. +% if BITS is undefined, its default value is 1. + +/viewrgb { % viewrgb - + 20 dict begin + /w exch def + /fname exch def + /bpc /BITS where { pop BITS } { 1 } ifelse def + /f fname (r) file def + mark fname status pop pop pop /flen exch def cleartomark + /h flen + w [ 0 4 8 0 0 0 0 0 24 ] bpc get + dup 0 eq { + (*** -dBITS=) print bpc =print ( is not supported. ***) = flush + quit + } if + mul 7 add 8 idiv idiv def + QUIET not { (Dimensions: ) print [w h] == flush } if + % Set up scaling. + /SCALE where { + pop + % Map pixels SCALE-for-1. Assume orthogonal transformation. + SCALE 1 0 dtransform add abs div + SCALE 0 1 dtransform add abs div + } { + % Scale the image (uniformly) to fit the page. + clippath pathbbox pop pop translate + pathbbox 3 -1 roll sub h div + 3 1 roll exch sub w div .min dup + } ifelse scale + bpc 1 eq { + [ /Indexed /DeviceRGB 15 < + 000000 + 0000FF + 00FF00 + 00FFFF + FF0000 + FF00FF + FFFF00 + FFFFFF + 000000 + 0000FF + 00FF00 + 00FFFF + FF0000 + FF00FF + FFFF00 + FFFFFF + > + ] setcolorspace + /BPC 4 def % change to 4 bit indexed + } { + bpc 2 eq { + [ /Indexed /DeviceRGB 255 < + 000000 000055 0000AA 0000FF + 005500 005555 0055AA 0055FF + 00AA00 00AA55 00AAAA 00AAFF + 00FF00 00FF55 00FFAA 00FFFF + 550000 550055 5500AA 5500FF + 555500 555555 5555AA 5555FF + 55AA00 55AA55 55AAAA 55AAFF + 55FF00 55FF55 55FFAA 55FFFF + AA0000 AA0055 AA00AA AA00FF + AA5500 AA5555 AA55AA AA55FF + AAAA00 AAAA55 AAAAAA AAAAFF + AAFF00 AAFF55 AAFFAA AAFFFF + FF0000 FF0055 FF00AA FF00FF + FF5500 FF5555 FF55AA FF55FF + FFAA00 FFAA55 FFAAAA FFAAFF + FFFF00 FFFF55 FFFFAA FFFFFF + + 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 + 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 + 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 + 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 + + 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 + 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 + 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 + 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 + + 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 + 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 + 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 + 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 + + 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 + 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 + 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 + 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 000000 + > + ] setcolorspace + /BPC 8 def % change to 4 bit indexed + } { + /DeviceRGB setcolorspace + /BPC bpc def + } + ifelse + } + ifelse + << /ImageType 1 + /Width w + /Height h + /BitsPerComponent BPC + /ImageMatrix [1 0 0 -1 0 h] + /DataSource f + /MultipleDataSources false + bpc 4 lt { /Decode [ 0 [ 0 15 255 ] bpc get ] } { /Decode [ 0 1 0 1 0 1 ] } ifelse + >> image + showpage + f closefile + end +} bind def + +% If the program was invoked from the command line, run it now. +[ shellarguments { + counttomark 2 eq { + cvi viewrgb + } { + cleartomark + (\nUsage: gs -- viewrgb.ps filename.rgb width\n) print + ( e.g.: gs -- viewrgb.ps my.rgb 2550\n) print flush + ( -dSCALE=### sets specific scaling \(default = 1.0\)) = flush + ( -dBITS=# sets the BitsPerComponent \(1, 2, 8, 12] \(default = 1\)) = flush + } ifelse +} { + pop +} ifelse diff --git a/Master/tlpkg/tlgs/lib/wftopfa.ps b/Master/tlpkg/tlgs/lib/wftopfa.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/winmaps.ps b/Master/tlpkg/tlgs/lib/winmaps.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/wrfont.ps b/Master/tlpkg/tlgs/lib/wrfont.ps old mode 100644 new mode 100755 diff --git a/Master/tlpkg/tlgs/lib/zeroline.ps b/Master/tlpkg/tlgs/lib/zeroline.ps old mode 100644 new mode 100755 -- cgit v1.2.3