diff options
Diffstat (limited to 'Master/tlpkg/tlgs/lib')
-rw-r--r-- | Master/tlpkg/tlgs/lib/Fontmap | 7 | ||||
-rw-r--r-- | Master/tlpkg/tlgs/lib/Fontmap.GS | 108 | ||||
-rw-r--r-- | Master/tlpkg/tlgs/lib/Fontmap.TeXLive | 108 | ||||
-rw-r--r-- | Master/tlpkg/tlgs/lib/cidfmap | 9 | ||||
-rw-r--r-- | Master/tlpkg/tlgs/lib/cidfmap.TeXLive | 312 | ||||
-rw-r--r-- | Master/tlpkg/tlgs/lib/pdf_info.ps | 160 | ||||
-rw-r--r-- | Master/tlpkg/tlgs/lib/viewcmyk.ps | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlgs/lib/viewjpeg.ps | 3 | ||||
-rw-r--r-- | Master/tlpkg/tlgs/lib/viewpbm.ps | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlgs/lib/viewpcx.ps | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlgs/lib/viewraw.ps | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlgs/lib/viewrgb.ps | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlgs/lib/zugferd.ps | 2 |
13 files changed, 173 insertions, 546 deletions
diff --git a/Master/tlpkg/tlgs/lib/Fontmap b/Master/tlpkg/tlgs/lib/Fontmap deleted file mode 100644 index 04702bb5e72..00000000000 --- a/Master/tlpkg/tlgs/lib/Fontmap +++ /dev/null @@ -1,7 +0,0 @@ -%!
-%% $Id: Fontmap 7680 2008-04-27 12:21:15Z reinhardk $
-
-% See Fontmap.TeXLive for the syntax of real Fontmap files.
-%% Replace 1 (Fontmap.TeXLive)
-
-(Fontmap.TeXLive) .runlibfile
diff --git a/Master/tlpkg/tlgs/lib/Fontmap.GS b/Master/tlpkg/tlgs/lib/Fontmap.GS deleted file mode 100644 index 044457ac7c3..00000000000 --- a/Master/tlpkg/tlgs/lib/Fontmap.GS +++ /dev/null @@ -1,108 +0,0 @@ -%% Fontmap.TeXLive -%% $Id: Fontmap.TeXLive 7680 2008-04-27 12:21:15Z reinhardk $ - -%% This file is part of TeXLive. -%% You may freely use, modify and/or distribute this file. - -%% Bitstream Charter - -/CharterBT-Bold /bchb8a.pfb ; -/CharterBT-BoldItalic /bchbi8a.pfb ; -/CharterBT-Roman /bchr8a.pfb ; -/CharterBT-Italic /bchri8a.pfb ; - -%% Adobe Utopia - -/Utopia-Bold /putb8a.pfb ; -/Utopia-BoldItalic /putbi8a.pfb ; -/Utopia-Regular /putr8a.pfb ; -/Utopia-Italic /putri8a.pfb ; - -%% URW LW35 Fonts - -/URWGothicL-Demi /uagd8a.pfb ; -/URWGothicL-DemiObli /uagdo8a.pfb ; -/URWGothicL-Book /uagk8a.pfb ; -/URWGothicL-BookObli /uagko8a.pfb ; -/URWBookmanL-DemiBold /ubkd8a.pfb ; -/URWBookmanL-DemiBoldItal /ubkdi8a.pfb ; -/URWBookmanL-Ligh /ubkl8a.pfb ; -/URWBookmanL-LighItal /ubkli8a.pfb ; -/NimbusMonL-Bold /ucrb8a.pfb ; -/NimbusMonL-BoldObli /ucrbo8a.pfb ; -/NimbusMonL-Regu /ucrr8a.pfb ; -/NimbusMonL-ReguObli /ucrro8a.pfb ; -/NimbusSanL-Bold /uhvb8a.pfb ; -/NimbusSanL-BoldCond /uhvb8ac.pfb ; -/NimbusSanL-BoldItal /uhvbo8a.pfb ; -/NimbusSanL-BoldCondItal /uhvbo8ac.pfb ; -%%%/NimbusSanL-Regu /uhvr8a-105.pfb ; -/NimbusSanL-Regu /uhvr8a.pfb ; -/NimbusSanL-ReguCond /uhvr8ac.pfb ; -%%%/NimbusSanL-ReguItal /uhvro8a-105.pfb ; -/NimbusSanL-ReguItal /uhvro8a.pfb ; -/NimbusSanL-ReguCondItal /uhvro8ac.pfb ; -/CenturySchL-Bold /uncb8a.pfb ; -/CenturySchL-BoldItal /uncbi8a.pfb ; -/CenturySchL-Roma /uncr8a.pfb ; -/CenturySchL-Ital /uncri8a.pfb ; -/URWPalladioL-Bold /uplb8a.pfb ; -/URWPalladioL-BoldItal /uplbi8a.pfb ; -/URWPalladioL-Roma /uplr8a.pfb ; -/URWPalladioL-Ital /uplri8a.pfb ; -/StandardSymL /usyr.pfb ; -/NimbusRomNo9L-Medi /utmb8a.pfb ; -/NimbusRomNo9L-MediItal /utmbi8a.pfb ; -/NimbusRomNo9L-Regu /utmr8a.pfb ; -/NimbusRomNo9L-ReguItal /utmri8a.pfb ; -/URWChanceryL-MediItal /uzcmi8a.pfb ; -/Dingbats /uzdr.pfb ; - - -% Aliases - -/Bookman-Demi /URWBookmanL-DemiBold ; -/Bookman-DemiItalic /URWBookmanL-DemiBoldItal ; -/Bookman-Light /URWBookmanL-Ligh ; -/Bookman-LightItalic /URWBookmanL-LighItal ; - -/Courier /NimbusMonL-Regu ; -/Courier-Oblique /NimbusMonL-ReguObli ; -/Courier-Bold /NimbusMonL-Bold ; -/Courier-BoldOblique /NimbusMonL-BoldObli ; - -/AvantGarde-Book /URWGothicL-Book ; -/AvantGarde-BookOblique /URWGothicL-BookObli ; -/AvantGarde-Demi /URWGothicL-Demi ; -/AvantGarde-DemiOblique /URWGothicL-DemiObli ; - -/Helvetica /NimbusSanL-Regu ; -/Helvetica-Oblique /NimbusSanL-ReguItal ; -/Helvetica-Bold /NimbusSanL-Bold ; -/Helvetica-BoldOblique /NimbusSanL-BoldItal ; - -/Helvetica-Narrow /NimbusSanL-ReguCond ; -/Helvetica-Narrow-Oblique /NimbusSanL-ReguCondItal ; -/Helvetica-Narrow-Bold /NimbusSanL-BoldCond ; -/Helvetica-Narrow-BoldOblique /NimbusSanL-BoldCondItal ; - -/Palatino-Roman /URWPalladioL-Roma ; -/Palatino-Italic /URWPalladioL-Ital ; -/Palatino-Bold /URWPalladioL-Bold ; -/Palatino-BoldItalic /URWPalladioL-BoldItal ; - -/NewCenturySchlbk-Roman /CenturySchL-Roma ; -/NewCenturySchlbk-Italic /CenturySchL-Ital ; -/NewCenturySchlbk-Bold /CenturySchL-Bold ; -/NewCenturySchlbk-BoldItalic /CenturySchL-BoldItal ; - -/Times-Roman /NimbusRomNo9L-Regu ; -/Times-Italic /NimbusRomNo9L-ReguItal ; -/Times-Bold /NimbusRomNo9L-Medi ; -/Times-BoldItalic /NimbusRomNo9L-MediItal ; - -/Symbol /StandardSymL ; - -/ZapfChancery-MediumItalic /URWChanceryL-MediItal ; - -/ZapfDingbats /Dingbats ; diff --git a/Master/tlpkg/tlgs/lib/Fontmap.TeXLive b/Master/tlpkg/tlgs/lib/Fontmap.TeXLive deleted file mode 100644 index ed079d50fc1..00000000000 --- a/Master/tlpkg/tlgs/lib/Fontmap.TeXLive +++ /dev/null @@ -1,108 +0,0 @@ -%% Fontmap.TeXLive -%% $Id: Fontmap.TeXLive 7680 2008-04-27 12:21:15Z reinhardk $ - -%% This file is part of TeXLive. -%% You may freely use, modify and/or distribute this file. - -%% Bitstream Charter - -/CharterBT-Bold (bchb8a.pfb) ; -/CharterBT-BoldItalic (bchbi8a.pfb) ; -/CharterBT-Roman (bchr8a.pfb) ; -/CharterBT-Italic (bchri8a.pfb) ; - -%% Adobe Utopia - -/Utopia-Bold (putb8a.pfb) ; -/Utopia-BoldItalic (putbi8a.pfb) ; -/Utopia-Regular (putr8a.pfb) ; -/Utopia-Italic (putri8a.pfb) ; - -%% URW LW35 Fonts - -/URWGothicL-Demi (uagd8a.pfb) ; -/URWGothicL-DemiObli (uagdo8a.pfb) ; -/URWGothicL-Book (uagk8a.pfb) ; -/URWGothicL-BookObli (uagko8a.pfb) ; -/URWBookmanL-DemiBold (ubkd8a.pfb) ; -/URWBookmanL-DemiBoldItal (ubkdi8a.pfb) ; -/URWBookmanL-Ligh (ubkl8a.pfb) ; -/URWBookmanL-LighItal (ubkli8a.pfb) ; -/NimbusMonL-Bold (ucrb8a.pfb) ; -/NimbusMonL-BoldObli (ucrbo8a.pfb) ; -/NimbusMonL-Regu (ucrr8a.pfb) ; -/NimbusMonL-ReguObli (ucrro8a.pfb) ; -/NimbusSanL-Bold (uhvb8a.pfb) ; -/NimbusSanL-BoldCond (uhvb8ac.pfb) ; -/NimbusSanL-BoldItal (uhvbo8a.pfb) ; -/NimbusSanL-BoldCondItal (uhvbo8ac.pfb) ; -%%%/NimbusSanL-Regu (uhvr8a-105.pfb) ; -/NimbusSanL-Regu (uhvr8a.pfb) ; -/NimbusSanL-ReguCond (uhvr8ac.pfb) ; -%%%/NimbusSanL-ReguItal (uhvro8a-105.pfb) ; -/NimbusSanL-ReguItal (uhvro8a.pfb) ; -/NimbusSanL-ReguCondItal (uhvro8ac.pfb) ; -/CenturySchL-Bold (uncb8a.pfb) ; -/CenturySchL-BoldItal (uncbi8a.pfb) ; -/CenturySchL-Roma (uncr8a.pfb) ; -/CenturySchL-Ital (uncri8a.pfb) ; -/URWPalladioL-Bold (uplb8a.pfb) ; -/URWPalladioL-BoldItal (uplbi8a.pfb) ; -/URWPalladioL-Roma (uplr8a.pfb) ; -/URWPalladioL-Ital (uplri8a.pfb) ; -/StandardSymL (usyr.pfb) ; -/NimbusRomNo9L-Medi (utmb8a.pfb) ; -/NimbusRomNo9L-MediItal (utmbi8a.pfb) ; -/NimbusRomNo9L-Regu (utmr8a.pfb) ; -/NimbusRomNo9L-ReguItal (utmri8a.pfb) ; -/URWChanceryL-MediItal (uzcmi8a.pfb) ; -/Dingbats (uzdr.pfb) ; - - -% Aliases - -/Bookman-Demi /URWBookmanL-DemiBold ; -/Bookman-DemiItalic /URWBookmanL-DemiBoldItal ; -/Bookman-Light /URWBookmanL-Ligh ; -/Bookman-LightItalic /URWBookmanL-LighItal ; - -/Courier /NimbusMonL-Regu ; -/Courier-Oblique /NimbusMonL-ReguObli ; -/Courier-Bold /NimbusMonL-Bold ; -/Courier-BoldOblique /NimbusMonL-BoldObli ; - -/AvantGarde-Book /URWGothicL-Book ; -/AvantGarde-BookOblique /URWGothicL-BookObli ; -/AvantGarde-Demi /URWGothicL-Demi ; -/AvantGarde-DemiOblique /URWGothicL-DemiObli ; - -/Helvetica /NimbusSanL-Regu ; -/Helvetica-Oblique /NimbusSanL-ReguItal ; -/Helvetica-Bold /NimbusSanL-Bold ; -/Helvetica-BoldOblique /NimbusSanL-BoldItal ; - -/Helvetica-Narrow /NimbusSanL-ReguCond ; -/Helvetica-Narrow-Oblique /NimbusSanL-ReguCondItal ; -/Helvetica-Narrow-Bold /NimbusSanL-BoldCond ; -/Helvetica-Narrow-BoldOblique /NimbusSanL-BoldCondItal ; - -/Palatino-Roman /URWPalladioL-Roma ; -/Palatino-Italic /URWPalladioL-Ital ; -/Palatino-Bold /URWPalladioL-Bold ; -/Palatino-BoldItalic /URWPalladioL-BoldItal ; - -/NewCenturySchlbk-Roman /CenturySchL-Roma ; -/NewCenturySchlbk-Italic /CenturySchL-Ital ; -/NewCenturySchlbk-Bold /CenturySchL-Bold ; -/NewCenturySchlbk-BoldItalic /CenturySchL-BoldItal ; - -/Times-Roman /NimbusRomNo9L-Regu ; -/Times-Italic /NimbusRomNo9L-ReguItal ; -/Times-Bold /NimbusRomNo9L-Medi ; -/Times-BoldItalic /NimbusRomNo9L-MediItal ; - -/Symbol /StandardSymL ; - -/ZapfChancery-MediumItalic /URWChanceryL-MediItal ; - -/ZapfDingbats /Dingbats ; diff --git a/Master/tlpkg/tlgs/lib/cidfmap b/Master/tlpkg/tlgs/lib/cidfmap deleted file mode 100644 index 8905898db4d..00000000000 --- a/Master/tlpkg/tlgs/lib/cidfmap +++ /dev/null @@ -1,9 +0,0 @@ -%! -% $Id: $ -% -% This file is part of TeX Live. -% Don't edit this file. It will be overwritten by TeX Live updates. - -(cidfmap.TeXLive) .runlibfile - -%EOF diff --git a/Master/tlpkg/tlgs/lib/cidfmap.TeXLive b/Master/tlpkg/tlgs/lib/cidfmap.TeXLive deleted file mode 100644 index d0cda3eeb28..00000000000 --- a/Master/tlpkg/tlgs/lib/cidfmap.TeXLive +++ /dev/null @@ -1,312 +0,0 @@ -% cidfmap.TeXLive -% $Id: $ - -% This file is part of TeXLive. -% You may freely use, modify and/or distribute this file. - -% Don't edit this file. It will be overwritten by TeX Live updates. - -% This file has been composed from cidfmap files created under Windows XP -% and Windows 7 using tlgs/lib/mkcidfm.ps. It supports fonts provided by -% Microsoft. Fonts installed by 3rd-party software are not supported. -% The Japanese IPA fonts which are part of TeX Live are supported too. - -% Substitutions -% ============= - -% The comments to the right of the semicolon denote availability. -% Please note that fonts introduced in the listed versions of Windows -% are also available in later versions. - - -% Chinese, simplified -% ------------------- - -/ArialUnicodeMS-GB << - /FileType /TrueType - /SubfontID 0 - /CSI [(GB1) 2] - /Path (ARIALUNI.TTF) >> ; % W7 - -/FangSong << - /FileType /TrueType - /SubfontID 0 - /CSI [(GB1) 2] - /Path (simfang.ttf) >> ; % Vista - -/KaiTi << - /FileType /TrueType - /SubfontID 0 - /CSI [(GB1) 2] - /Path (simkai.ttf) >> ; % Vista - -/MicrosoftYaHei << - /FileType /TrueType - /SubfontID 0 - /CSI [(GB1) 2] - /Path (msyh.ttf) >> ; % Vista - -/MicrosoftYaHeiBold << - /FileType /TrueType - /SubfontID 0 - /CSI [(GB1) 2] - /Path (msyhbd.ttf) >> ; % Vista - -/NSimSun << - /FileType /TrueType - /SubfontID 1 - /CSI [(GB1) 2] - /Path (simsun.ttc) >> ; % XP - -/SimHei << - /FileType /TrueType - /SubfontID 0 - /CSI [(GB1) 2] - /Path (simhei.ttf) >> ; % XP - -/SimSun << - /FileType /TrueType - /SubfontID 0 - /CSI [(GB1) 2] - /Path (simsun.ttc) >> ; % XP - - -% Chinese, traditional -% -------------------- - -/ArialUnicodeMS-CNS << - /FileType /TrueType - /SubfontID 0 - /CSI [(CNS1) 2] - /Path (ARIALUNI.TTF) >> ; % W7 - -/DFKaiShu-SB-Estd-BF << - /FileType /TrueType - /SubfontID 0 - /CSI [(CNS1) 2] - /Path (kaiu.ttf) >> ; % Vista - -/MicrosoftJhengHeiBold << - /FileType /TrueType - /SubfontID 0 - /CSI [(CNS1) 2] - /Path (msjhbd.ttf) >> ; % Vista - -/MicrosoftJhengHeiRegular << - /FileType /TrueType - /SubfontID 0 - /CSI [(CNS1) 2] - /Path (msjh.ttf) >> ; % Vista - -/MingLiU << - /FileType /TrueType - /SubfontID 0 - /CSI [(CNS1) 2] - /Path (mingliu.ttc) >> ; % XP - -/PMingLiU << - /FileType /TrueType - /SubfontID 1 - /CSI [(CNS1) 2] - /Path (mingliu.ttc) >> ; % XP - - -% Japanese -% -------- - -/ArialUnicodeMS-JP << - /FileType /TrueType - /SubfontID 0 - /CSI [(Japan1) 3] - /Path (ARIALUNI.TTF) >> ; % W7 - -/MS-Gothic << - /FileType /TrueType - /SubfontID 0 - /CSI [(Japan1) 3] - /Path (msgothic.ttc) >> ; % XP - -/MS-Mincho << - /FileType /TrueType - /SubfontID 0 - /CSI [(Japan1) 3] - /Path (msmincho.ttc) >> ; % XP - -/MS-PGothic << - /FileType /TrueType - /SubfontID 1 - /CSI [(Japan1) 3] - /Path (msgothic.ttc) >> ; % XP - -/MS-PMincho << - /FileType /TrueType - /SubfontID 1 - /CSI [(Japan1) 3] - /Path (msmincho.ttc) >> ; % XP - -/MS-UI-Gothic << - /FileType /TrueType - /SubfontID 2 - /CSI [(Japan1) 3] - /Path (msgothic.ttc) >> ; % XP - -/Meiryo << - /FileType /TrueType - /SubfontID 0 - /CSI [(Japan1) 3] - /Path (meiryo.ttc) >> ; % Vista - -/Meiryo-Bold << - /FileType /TrueType - /SubfontID 0 - /CSI [(Japan1) 3] - /Path (meiryob.ttc) >> ; % Vista - -/Meiryo-BoldItalic << - /FileType /TrueType - /SubfontID 1 - /CSI [(Japan1) 3] - /Path (meiryob.ttc) >> ; % Vista - -/Meiryo-Italic << - /FileType /TrueType - /SubfontID 1 - /CSI [(Japan1) 3] - /Path (meiryo.ttc) >> ; % Vista - -/IPAexMincho << - /FileType /TrueType - /SubfontID 0 - /CSI [(Japan1) 6] - /Path (truetype/public/ipaex/ipaexm.ttf) >> ; % TeX Live - -/IPAexGothic << - /FileType /TrueType - /SubfontID 0 - /CSI [(Japan1) 6] - /Path (truetype/public/ipaex/ipaexg.ttf) >> ; % TeX Live - -/IPAMincho << - /FileType /TrueType - /SubfontID 0 - /CSI [(Japan1) 6] - /Path (truetype/public/ipaex/ipam.ttf) >> ; % TeX Live - -/IPAGothic << - /FileType /TrueType - /SubfontID 0 - /CSI [(Japan1) 6] - /Path (truetype/public/ipaex/ipag.ttf) >> ; % TeX Live - - -% Korean -% ------ - -/ArialUnicodeMS-KR << - /FileType /TrueType - /SubfontID 0 - /CSI [(Korea1) 3] - /Path (ARIALUNI.TTF) >> ; % W7 - -/Batang << - /FileType /TrueType - /SubfontID 0 - /CSI [(Korea1) 3] - /Path (batang.ttc) >> ; % XP - -/BatangChe << - /FileType /TrueType - /SubfontID 1 - /CSI [(Korea1) 3] - /Path (batang.ttc) >> ; % XP - -/Dotum << - /FileType /TrueType - /SubfontID 2 - /CSI [(Korea1) 3] - /Path (gulim.ttc) >> ; % XP - -/DotumChe << - /FileType /TrueType - /SubfontID 3 - /CSI [(Korea1) 3] - /Path (gulim.ttc) >> ; % XP - -/Gulim << - /FileType /TrueType - /SubfontID 0 - /CSI [(Korea1) 3] - /Path (gulim.ttc) >> ; % XP - -/GulimChe << - /FileType /TrueType - /SubfontID 1 - /CSI [(Korea1) 3] - /Path (gulim.ttc) >> ; % XP - -/Gungsuh << - /FileType /TrueType - /SubfontID 2 - /CSI [(Korea1) 3] - /Path (batang.ttc) >> ; % XP - -/GungsuhChe << - /FileType /TrueType - /SubfontID 3 - /CSI [(Korea1) 3] - /Path (batang.ttc) >> ; % XP - -/MalgunGothicBold << - /FileType /TrueType - /SubfontID 0 - /CSI [(Korea1) 3] - /Path (malgunbd.ttf) >> ; % Vista - -/MalgunGothicRegular << - /FileType /TrueType - /SubfontID 0 - /CSI [(Korea1) 3] - /Path (malgun.ttf) >> ; % Vista - - -% Aliases for Windows XP and later versions -% ========================================= - -% Chinese, simplified -% ------------------- - -/AdobeHeitiStd-Regular /SimHei ; -/AdobeSongStd-Light /SimSun ; -/STFangsong-Light /SimSun ; -/STHeiti-Regular /SimHei ; -/STKaiti-Regular /SimHei ; -/STSong-Light /SimSun ; - -% Chinese, traditional -% -------------------- - -/AdobeMingStd-Light /MingLiU ; -/MHei-Medium /MingLiU ; -/MKai-Medium /MingLiU ; -/MSung-Light /MingLiU ; -/MSung-Medium /MingLiU ; - -% Japanese -% -------- - -/GothicBBB-Medium /MS-Gothic ; -/HeiseiKakuGo-W5 /MS-Gothic ; -/HeiseiMin-W3 /MS-Mincho ; -/KozMinPr6N-Regular /MS-Mincho ; -/Ryumin-Light /MS-Mincho ; -/Ryumin-Medium /MS-Mincho ; - -% Korean -% ------ - -/AdobeMyungjoStd-Medium /Batang ; -/HYGoThic-Medium /Dotum ; -/HYRGoThic-Medium /Gulim ; -/HYSMyeongJo-Medium /Batang ; - -%%EOF diff --git a/Master/tlpkg/tlgs/lib/pdf_info.ps b/Master/tlpkg/tlgs/lib/pdf_info.ps index 35951e9a736..2a5f5796658 100644 --- a/Master/tlpkg/tlgs/lib/pdf_info.ps +++ b/Master/tlpkg/tlgs/lib/pdf_info.ps @@ -527,6 +527,164 @@ systemdict /.sort known not { } ifelse } bind def -enum-pdfs +/NEWPDF where {/NEWPDF get}{false}ifelse +{ + /knownoget + { + 2 copy known { + get + true + }{ + pop pop false + } ifelse + }bind def + + /PDFContext << >> .PDFInit def + {File (r) file PDFContext .PDFStream} stopped not + { + + PDFContext .PDFInfo + File + () = ( ) print print ( has ) print + dup /NumPages get dup =print 10 mod 1 eq { ( page.\n) } { ( pages\n) } ifelse = flush + + /DumpXML where {/DumpXML get}{//false}ifelse + { + (\n*** DumpXML is no longer supported. ***\n\n) print + }if + + dup /Title knownoget { (Title: ) print write-doc-string () = flush } if + dup /Author knownoget { (Author: ) print write-doc-string () = flush } if + dup /Subject knownoget { (Subject: ) print write-doc-string () = flush } if + dup /Keywords knownoget { (Keywords: ) print write-doc-string () = flush } if + dup /Creator knownoget { (Creator: ) print write-doc-string () = flush } if + dup /Producer knownoget { (Producer: ) print write-doc-string () = flush } if + dup /CreationDate knownoget { (CreationDate: ) print write-doc-string () = flush } if + dup /ModDate knownoget { (ModDate: ) print write-doc-string () = flush } if + dup /Trapped knownoget { (Trapped: ) print write-doc-string () = flush } if + (\n) print flush + + /EmbeddedFonts 10 dict def + /UnEmbeddedFonts 10 dict def + /FontNumbers 10 dict def + + /NumPages get 0 1 3 -1 roll 1 sub + { + dup + PDFContext exch .PDFPageInfoExt exch + DumpMediaSizes { + (Page ) print 1 add =print + dup /UserUnit knownoget {( UserUnit: ) print =print} if + dup /MediaBox knownoget {( MediaBox: ) print ==only} if + dup /CropBox knownoget {( CropBox: ) print ==only} if + dup /BleedBox knownoget {( BleedBox: ) print ==only} if + dup /TrimBox knownoget {( TrimBox: ) print ==only} if + dup /ArtBox knownoget {( ArtBox: ) print ==only} if + dup /Rotate knownoget not {0}if ( Rotate = ) print =print + dup /Annots knownoget {{( Page contains Annotations) print} if} if + dup /UsesTransparency knownoget {{( Page uses transparency features) print} if} if + dup /Spots knownoget { + (\n Page Spot colors: ) = + {( ) print (') print 256 string cvs print (') =} forall + } if + (\n) print flush + (\n) print flush + } + { + pop + } ifelse + + /Fonts knownoget + { + { + dup /ObjectNum known + { + %% Fonts with an ObjectNumber may have been previously referenced on another page + dup /ObjectNum get + dup FontNumbers exch known + { + pop + %% found the ObjectNumber in the FontNumbers dictionary so we've seen this one. + //false + } + { + %% Not seen before, add the number to the array and process this font + FontNumbers exch dup put + //true + }ifelse + }{ + %% Fonts without an ObjectNumber are defined inline and so must be unique + //true + } ifelse + { + % First time we've seen the font + dup /Descendants known + { + dup /BaseFont get + EmbeddedFonts exch dup put % We class the Type 0 font as 'embedded', but it's really the descendant which is embedded or not. + dup /Descendants get + 1 index /BaseFont get + 2 index /Embedded get + { + EmbeddedFonts exch dup put + } + { + UnEmbeddedFonts exch dup put + }ifelse + pop + } + { + dup /BaseFont get + 1 index /Embedded get + { + EmbeddedFonts exch dup put + } + { + UnEmbeddedFonts exch dup put + } ifelse + }ifelse + pop + } + { + pop + } ifelse + }forall + } if + } for + + /DumpFontsUsed where {/DumpFontsUsed get}{//false}ifelse + { + [ + UnEmbeddedFonts {pop} forall + /ShowEmbeddedFonts where {/ShowEmbeddedFonts get}{//false}ifelse + { + EmbeddedFonts {pop} forall + } if + ] + dup length 0 gt { + { 100 string cvs exch 100 string cvs exch lt } .sort + (\nFont or CIDFont resources used (plain name and ASCIIHEX string representation):) = + { 128 string cvs dup print ( ) print (<) print 128 string cvs {16 8 string cvrs print} forall (>) print (\n) print} forall + } if + } + { + [ + DumpFontsNeeded + { + UnEmbeddedFonts {pop} forall + } if + ] + dup length 0 gt { + { 100 string cvs exch 100 string cvs exch lt } .sort + (\nFonts Needed that are not embedded \(system fonts required\):) = + { ( ) print 128 string cvs dup print ( ) print (<) print {16 8 string cvrs print} forall (>) print (\n) print} forall + } if + }ifelse + } if + PDFContext .PDFClose +} +{ + enum-pdfs +} ifelse end quit diff --git a/Master/tlpkg/tlgs/lib/viewcmyk.ps b/Master/tlpkg/tlgs/lib/viewcmyk.ps index e8034e53346..33c5bdceb15 100644 --- a/Master/tlpkg/tlgs/lib/viewcmyk.ps +++ b/Master/tlpkg/tlgs/lib/viewcmyk.ps @@ -56,6 +56,8 @@ cleartomark (Usage: gs -- viewcmyk.ps filename.cmyk width\n) print ( e.g.: gs -- viewcmyk.ps my.cmyk 2550\n) print flush + (From version 9.50 you must supply permissions for this program to read the input file(s)\n) print flush + (either by using -dNOSAFER or by supplying --permit-file-read=<filename>\n) = flush } ifelse } { pop diff --git a/Master/tlpkg/tlgs/lib/viewjpeg.ps b/Master/tlpkg/tlgs/lib/viewjpeg.ps index 71cb5d44131..54453fe4d83 100644 --- a/Master/tlpkg/tlgs/lib/viewjpeg.ps +++ b/Master/tlpkg/tlgs/lib/viewjpeg.ps @@ -35,6 +35,9 @@ % Usage example: % (jpeg-6/testimg.jpg) viewJPEG +% From version 9.50 you must supply permissions for this program +% to read the input file(s) either by using -dNOSAFER or by +% supplying --permit-file-read=<filename> /languagelevel where {pop languagelevel 2 lt}{true} ifelse { (JPEG needs PostScript Level 2!\n) print flush stop diff --git a/Master/tlpkg/tlgs/lib/viewpbm.ps b/Master/tlpkg/tlgs/lib/viewpbm.ps index c8d3f86bc84..143a056a68a 100644 --- a/Master/tlpkg/tlgs/lib/viewpbm.ps +++ b/Master/tlpkg/tlgs/lib/viewpbm.ps @@ -327,6 +327,8 @@ ( e.g.: gs [-dSCALE=#.#] [-dFITPAGE] [--] viewpbm.ps my.ppm another.ppm\n) print flush ( also -dTAG option can be used to show the pseudo-color tag image from a\n) print flush ( P7 RGB_TAG PAM file created by the bitrgbtags device.\n) print flush + (From version 9.50 you must supply permissions for this program to read the input file(s)\n) print flush + (either by using -dNOSAFER or by supplying --permit-file-read=<filename>\n) = flush } ifelse } diff --git a/Master/tlpkg/tlgs/lib/viewpcx.ps b/Master/tlpkg/tlgs/lib/viewpcx.ps index 76bfdfae6eb..0b549ad90fe 100644 --- a/Master/tlpkg/tlgs/lib/viewpcx.ps +++ b/Master/tlpkg/tlgs/lib/viewpcx.ps @@ -183,6 +183,8 @@ { cleartomark (Usage: gs -- viewpcx.ps filename.pcx ...\n) print ( e.g.: gs -- viewpcx.ps my.pcx another.pcx\n) print flush + (From version 9.50 you must supply permissions for this program to read the input file(s)\n) print flush + (either by using -dNOSAFER or by supplying --permit-file-read=<filename>\n) = flush } ifelse } diff --git a/Master/tlpkg/tlgs/lib/viewraw.ps b/Master/tlpkg/tlgs/lib/viewraw.ps index dee86e02300..85438ffa103 100644 --- a/Master/tlpkg/tlgs/lib/viewraw.ps +++ b/Master/tlpkg/tlgs/lib/viewraw.ps @@ -181,6 +181,8 @@ cleartomark (Usage: gs -- viewraw filename.raw width\n) print ( e.g.: gs -- viewraw my.raw 2550\n) print flush + (From version 9.50 you must supply permissions for this program to read the input file(s)\n) print flush + (either by using -dNOSAFER or by supplying --permit-file-read=<filename>\n) = flush } ifelse } { pop diff --git a/Master/tlpkg/tlgs/lib/viewrgb.ps b/Master/tlpkg/tlgs/lib/viewrgb.ps index ab2f6d82c4a..c2c34fec635 100644 --- a/Master/tlpkg/tlgs/lib/viewrgb.ps +++ b/Master/tlpkg/tlgs/lib/viewrgb.ps @@ -143,6 +143,8 @@ ( 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 + (From version 9.50 you must supply permissions for this program to read the input file(s)\n) print flush + (either by using -dNOSAFER or by supplying --permit-file-read=<filename>\n) = flush } ifelse } { pop diff --git a/Master/tlpkg/tlgs/lib/zugferd.ps b/Master/tlpkg/tlgs/lib/zugferd.ps index 97d33d4d2b4..d20c39edc0c 100644 --- a/Master/tlpkg/tlgs/lib/zugferd.ps +++ b/Master/tlpkg/tlgs/lib/zugferd.ps @@ -455,7 +455,7 @@ ZUGFeRDVersion (2p1) eq { [ /_objdef {FSDict} /type /dict /OBJ pdfmark % Fill in the required dictionary elements [ {FSDict} << - /Type /FileSpec + /Type /Filespec /F ZUGFeRDDocumentFileName /UF ZUGFeRDDocumentFileName SimpleUTF16BE /Desc (ZUGFeRD electronic invoice) |