Browse Source

zhao:提交点阵笔引用dll

tags/录制修改前
耀 3 years ago
parent
commit
74326f4c8a
100 changed files with 8334 additions and 0 deletions
  1. BIN
      XHWK.WKTool/bin/Debug/AxInterop.AcroPDFLib.dll
  2. BIN
      XHWK.WKTool/bin/Debug/BouncyCastle.Crypto.dll
  3. BIN
      XHWK.WKTool/bin/Debug/DocumentTools.dll
  4. BIN
      XHWK.WKTool/bin/Debug/DrawToolsLib.dll
  5. BIN
      XHWK.WKTool/bin/Debug/O2S.Components.PDFRender4NET.dll
  6. 3
    0
      XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/AppVersionType.ini
  7. 3
    0
      XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/OID PG.ini
  8. BIN
      XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/OIDPDFFileGenerator.dll
  9. BIN
      XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/OIDPGHelper.dll
  10. BIN
      XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/OIDPatternGenerator.bin
  11. BIN
      XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/OIDPatternGenerator.dll
  12. BIN
      XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/OIDPublishImageGenerator.dll
  13. BIN
      XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/OIDScanConverter.dll
  14. BIN
      XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/OIDTiffConvertor.dll
  15. BIN
      XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/OIDVectorDiagramGenerator.dll
  16. BIN
      XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/PDFReader.dll
  17. 10
    0
      XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/PluginEntry.xml
  18. BIN
      XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/certifyforDll.dll
  19. BIN
      XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/libeay32.dll
  20. 20
    0
      XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/oida.bin
  21. BIN
      XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/ssleay32.dll
  22. BIN
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/bin/bin/gsdll32.dll
  23. BIN
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/bin/bin/gswin32c.exe
  24. BIN
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/bin/gsdll32.dll
  25. BIN
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/bin/gsdll32_1.dll
  26. BIN
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/bin/gswin32c.exe
  27. 1
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/EndOfTask.ps
  28. 32
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/FAPIcidfmap
  29. 14
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/FAPIconfig
  30. 14
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/FAPIconfig-FCO
  31. 33
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/FAPIfontmap
  32. 107
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/FCOfontmap-PCLPS2
  33. 198
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/FCOfontmap-PCLPS3
  34. 159
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/FCOfontmap-PS3
  35. 4
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap
  36. 168
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap.ATB
  37. 185
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap.ATM
  38. 354
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap.GS
  39. 214
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap.OS2
  40. 163
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap.OSF
  41. 405
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap.SGI
  42. 486
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap.Sol
  43. 146
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap.Ult
  44. 424
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap.VMS
  45. 14
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Info-macos.plist
  46. 43
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/PDFA_def.ps
  47. 51
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/PDFX_def.ps
  48. 100
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/acctest.ps
  49. 357
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/addxchar.ps
  50. 151
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/afmdiff.awk
  51. 73
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/align.ps
  52. 13
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bdftops
  53. 5
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bdftops.bat
  54. 7
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bdftops.cmd
  55. 795
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bdftops.ps
  56. 17
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bj8.rpd
  57. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bj8gc12f.upp
  58. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bj8hg12f.upp
  59. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bj8oh06n.upp
  60. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bj8pa06n.upp
  61. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bj8pp12f.upp
  62. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bj8ts06n.upp
  63. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610a0.upp
  64. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610a1.upp
  65. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610a2.upp
  66. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610a3.upp
  67. 45
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610a4.upp
  68. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610a5.upp
  69. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610a6.upp
  70. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610a7.upp
  71. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610a8.upp
  72. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610b1.upp
  73. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610b2.upp
  74. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610b3.upp
  75. 45
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610b4.upp
  76. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610b6.upp
  77. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610b7.upp
  78. 44
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610b8.upp
  79. 56
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/caption.ps
  80. 74
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/cat.ps
  81. 404
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/cbjc600.ppd
  82. 389
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/cbjc800.ppd
  83. 48
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/cdj550.upp
  84. 52
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/cdj690.upp
  85. 54
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/cdj690ec.upp
  86. 160
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/cid2code.ps
  87. 43
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/cidfmap
  88. 28
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/cidfmap.bak
  89. 15
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/decrypt.ps
  90. 47
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/dnj750c.upp
  91. 59
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/dnj750m.upp
  92. 220
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/docie.ps
  93. 30
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/dumphint
  94. 22
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/dumphint.bat
  95. 756
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/dumphint.ps
  96. 47
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/dvipdf
  97. 29
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/eps2eps
  98. 26
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/eps2eps.bat
  99. 36
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/eps2eps.cmd
  100. 0
    0
      XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/fixmswrd.pl

BIN
XHWK.WKTool/bin/Debug/AxInterop.AcroPDFLib.dll View File


BIN
XHWK.WKTool/bin/Debug/BouncyCastle.Crypto.dll View File


BIN
XHWK.WKTool/bin/Debug/DocumentTools.dll View File


BIN
XHWK.WKTool/bin/Debug/DrawToolsLib.dll View File


BIN
XHWK.WKTool/bin/Debug/O2S.Components.PDFRender4NET.dll View File


+ 3
- 0
XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/AppVersionType.ini View File

@@ -0,0 +1,3 @@
1
+[General]
2
+VertionType=TQL
3
+CodeType=OID4

+ 3
- 0
XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/OID PG.ini View File

@@ -0,0 +1,3 @@
1
+[General]
2
+Product = IW.6.COM-SONIX.STD0
3
+CodeType = OID4.0

BIN
XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/OIDPDFFileGenerator.dll View File


BIN
XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/OIDPGHelper.dll View File


BIN
XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/OIDPatternGenerator.bin View File


BIN
XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/OIDPatternGenerator.dll View File


BIN
XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/OIDPublishImageGenerator.dll View File


BIN
XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/OIDScanConverter.dll View File


BIN
XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/OIDTiffConvertor.dll View File


BIN
XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/OIDVectorDiagramGenerator.dll View File


BIN
XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/PDFReader.dll View File


+ 10
- 0
XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/PluginEntry.xml View File

@@ -0,0 +1,10 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+
3
+<File Version="1.0">
4
+	<ExtensionPoint ID="I_OIDPGHelper" Enable="1">
5
+		<Plugin ID="OIDPGHelper" Bundle="OIDPGHelper.dll" Enable="1"/>
6
+	</ExtensionPoint>
7
+	<ExtensionPoint ID="I_OIDTiffConvertor" Enable="1">
8
+		<Plugin ID="OIDTiffConvertor" Bundle="OIDTiffConvertor.dll" Enable="1"/>
9
+	</ExtensionPoint>
10
+</File>

BIN
XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/certifyforDll.dll View File


BIN
XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/libeay32.dll View File


+ 20
- 0
XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/oida.bin View File

@@ -0,0 +1,20 @@
1
+-----BEGIN CERTIFICATE-----
2
+MIIDTTCCAjWgAwIBAgIJALSlTPHWayS7MA0GCSqGSIb3DQEBCwUAMB4xHDAaBgNV
3
+BAMTE1NPTmlYIENsb3VkIFNlcnZpY2UwHhcNMTUwMTA5MDg1OTAzWhcNMjUwMTA2
4
+MDg1OTAzWjAeMRwwGgYDVQQDExNTT05pWCBDbG91ZCBTZXJ2aWNlMIIBIjANBgkq
5
+hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzZ3v3VyrPlkaUhdHXGuklJ67m9wrb0My
6
+RBLRCo9Z0x7FAKMfyXolSPT4KpdGYTbJOhMhxt3j3DiVCklUjHuoGTMDj7vKqCQ8
7
+eqtTIBz7LUOPAAOdUU/0mIFEu0rdOXDk31qNYGnwqjOiY5HOSSFgFh3jE46YlN/P
8
+6r23QL0IIymOkZfl6GJsT7IJ5lM2P1esezc81dM/PqFi3712Vyuk3p8GJcC2OqPT
9
+D68wKhOgxcJQ2sgPx+uAUNV6WgzKijT/59mmmSbm98srGSECjx+G1oHfUUIqlB2l
10
+t3aAjExNNtUHCXMEcd14ynwZML3b1bm1TB6/k7lNAKctRn0+DiW3SQIDAQABo4GN
11
+MIGKMB0GA1UdDgQWBBQhOz3/VjYsb/6r4KjenczQjRiMCzBOBgNVHSMERzBFgBQh
12
+Oz3/VjYsb/6r4KjenczQjRiMC6EipCAwHjEcMBoGA1UEAxMTU09OaVggQ2xvdWQg
13
+U2VydmljZYIJALSlTPHWayS7MAwGA1UdEwQFMAMBAf8wCwYDVR0PBAQDAgEGMA0G
14
+CSqGSIb3DQEBCwUAA4IBAQDHvbfp+1CSGD6XQJ3ULk+wKOmTr7r7rGT0HOQQOCYp
15
+Fw4mKHmgYUlASdcP5YMbJM+UmOhJKu6uOAhRNt+0S3luf3udhjc56UrMkbdAyS7W
16
+KrYoVb8b+iSym72T9uQ6ADlsq7W+I6O0Eiju8gsBYQL9P2Q6dATz4ZaUW4/1fgpL
17
+pqSF8LnC42n7uwlLuve94renNv/duqBy1StilbNFD6GzPJX+bRxffzmBEE6nAUzD
18
+h2QZyVWBXAkKOmjKClqWmKhkfDsNks60rzvypikQynLhi/Ik4NYs5B/m3XfD964E
19
+ZGYfpFCbcSp/s3wjDa83mC4HFtBHUE1AgcmJVXfdl1t4
20
+-----END CERTIFICATE-----

BIN
XHWK.WKTool/bin/Debug/OIDPublishImageGenerator/ssleay32.dll View File


BIN
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/bin/bin/gsdll32.dll View File


BIN
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/bin/bin/gswin32c.exe View File


BIN
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/bin/gsdll32.dll View File


BIN
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/bin/gsdll32_1.dll View File


BIN
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/bin/gswin32c.exe View File


+ 1
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/EndOfTask.ps View File

@@ -0,0 +1 @@
1
+

+ 32
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/FAPIcidfmap View File

@@ -0,0 +1,32 @@
1
+%!
2
+% $Id: FAPIcidfmap 6826 2006-05-31 15:29:52Z leonardo $
3
+% This is a sample map file for FAPI CID fonts.
4
+
5
+%
6
+% The map is a set of records like this :
7
+%
8
+%  /CIDfont_name options_dict ;
9
+%
10
+% where options_dict is a dictionary with the following entries :
11
+%
12
+% Key         Type      Description  
13
+% Path        string    Absolute path to font file, or relative path to font file from
14
+%                       the GS_EXTFONTPATH value.  
15
+% CIDFontType interger  PostScript type for this CID font. Only 0 is currently allowed.
16
+%                       Note that this is unrelated to the real type of the font file -
17
+%                       the bridge will perform format conversion.
18
+% FAPI        name      Name of the renderer to be used with the font. Only /UFST is now allowed.
19
+% SubfontId   integer   (optional) Index of the font in font collection, such as FCO or TTC.
20
+%                       It is being ignored if /Path doesn't specify a collection.
21
+%                       Default value is 0.
22
+% CSI         array     Must have strongly 2 elements.
23
+%                       The first element of the array specifies Ordering of CIDSystemInfo.
24
+%                       The second element specifies Supplement of CIDSystemInfo.
25
+%
26
+% Use regular Postscript syntax.
27
+%
28
+% Examples :
29
+%
30
+%  /Ryumin-Medium     << /Path (msgothic.ttc) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
31
+%  /HeiseiKakuGo-W5   << /Path (F:/WIN2000/Fonts/BATANG.TTC) /CIDFontType 0 /FAPI /UFST /CSI [(Japan1) 2] >> ;
32
+

+ 14
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/FAPIconfig View File

@@ -0,0 +1,14 @@
1
+%!
2
+% $Id: FAPIconfig 6870 2006-06-20 16:31:15Z leonardo $
3
+% This is configuration file for FAPI client.
4
+
5
+/FontPath             (/Fonts)     % A default directory for FAPI-handled font files path in FAPIfontmap.
6
+/CIDFontPath          (/CIDFonts)  % A default directory for FAPI-handled CID font files path in FAPIcidfmap.
7
+/HookDiskFonts        [1 2 9 11 42]  % FontType values for disk PS fonts to be redirected to FAPI.
8
+/HookEmbeddedFonts    [1 2 9 11 42]  % FontType values for embedded PS fonts to be redirected to FAPI.
9
+
10
+% Values allowed for HookDiskFonts and HookEmbeddedFonts are 1, 2, 9, 11, 42.
11
+% "Disk fonts" are fonts being installed to Ghostscript with 'lib/Fontmap' or with GS_FONTPATH,
12
+% and CID font resource files.
13
+% "Embedded fonts" are fonts and CID fonts being embedded into a document.
14
+

+ 14
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/FAPIconfig-FCO View File

@@ -0,0 +1,14 @@
1
+%!
2
+% $Id: FAPIconfig-FCO 6998 2006-08-18 04:42:11Z ray $
3
+% This is configuration file for FAPI client.
4
+
5
+/FontPath             () % A default directory for FAPI-handled font files path in FAPIfontmap.
6
+/CIDFontPath          () % A default directory for FAPI-handled CID font files path in FAPIcidfmap.
7
+/HookDiskFonts        []  % FontType values for disk PS fonts to be redirected to FAPI.
8
+/HookEmbeddedFonts    []  % FontType values for embedded PS fonts to be redirected to FAPI.
9
+
10
+% Values allowed for HookDiskFonts and HookEmbeddedFonts are 1, 2, 9, 11, 42.
11
+% "Disk fonts" are fonts being installed to Ghostscript with 'lib/Fontmap' or with GS_FONTPATH,
12
+% and CID font resource files.
13
+% "Embedded fonts" are fonts and CID fonts being embedded into a document.
14
+

+ 33
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/FAPIfontmap View File

@@ -0,0 +1,33 @@
1
+%!
2
+% $Id: FAPIfontmap 6870 2006-06-20 16:31:15Z leonardo $
3
+% This is a sample map file for FAPI fonts.
4
+
5
+%
6
+% The map is a set of records like this :
7
+%
8
+%  /font_name options_dict ;
9
+%
10
+% where options_dict is a dictionary with the following entries :
11
+%
12
+% Key       Type      Description  
13
+% Path      string    Absolute path to font file, or relative path to font file from
14
+%                     the GS_EXTFONTPATH value.  
15
+% FontType  interger  PostScript type for this font. Only 1 and 42 are currently allowed.
16
+%                     Note that this is unrelated to the real type of the font file -
17
+%                     the bridge will perform format conversion.
18
+% FAPI      name      Name of the renderer to be used with the font. Only /AgfaUFST is now allowed.
19
+% SubfontId integer   (optional) Index of the font in font collection, such as FCO or TTC.
20
+%                     It is being ignored if /Path doesn't specify a collection.
21
+%                     Default value is 0.
22
+% Decoding  name      (optional) The name of a Decoding resource to be used with the font.
23
+%                     If specified, "xlatmap" doesn't work for this font.
24
+%
25
+% Use regular Postscript syntax.
26
+%
27
+% Examples :
28
+%
29
+%  /ArialTT     << /Path (arial.ttf) /FontType 1 /FAPI /UFST >> ;
30
+%  /CourierTT   << /Path (F:/WIN2000/Fonts/cour.ttf) /FontType 1 /FAPI /UFST >> ;
31
+%  /FCO1        << /Path (F:/AFPL/ufst/fontdata/MTFONTS/PCLPS3/MT1/PCLP3__G.FCO) /FontType 42 /FAPI /UFST /SubfontId 10 >> ;
32
+%
33
+

+ 107
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/FCOfontmap-PCLPS2 View File

@@ -0,0 +1,107 @@
1
+%    Copyright (C) 2001, 2002 Aladdin Enterprises.  All rights reserved.
2
+% 
3
+% This software is provided AS-IS with no warranty, either express or
4
+% implied.
5
+% 
6
+% This software is distributed under license and may not be copied,
7
+% modified or distributed except as expressly authorized under the terms
8
+% of the license contained in the file LICENSE in this distribution.
9
+% 
10
+% For more information about licensing, please refer to
11
+% http://www.ghostscript.com/licensing/. For information on
12
+% commercial licensing, go to http://www.artifex.com/licensing/ or
13
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
+% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
+
16
+% $Id: FCOfontmap-PCLPS2 8954 2008-08-08 04:22:38Z ray $
17
+
18
+% May add general FAPIfontmap records here like this :
19
+/Wingdings-Regular << /Path FCOfontfile2 /FontType 1 /FAPI /UFST /SubfontId 0 /Encoding /Wingdings /Decoding /FCO_Wingdings>> ;
20
+
21
+% Mapping Postscript fonts to pclp2_xj.fco FCO members :
22
+FCOfontfile ReadFCOfontmap:
23
+0     Albertus-Medium
24
+1     Albertus-ExtraBold
25
+2     AntiqueOlive
26
+3     AntiqueOlive-Italic
27
+4     AntiqueOlive-Bold
28
+5     Arial
29
+6     Arial-Italic
30
+7     Arial-Bold
31
+8     Arial-BoldItalic
32
+9     Clarendon-Condensed-Bold
33
+10    Coronet
34
+11    CourierHP
35
+12    CourierHP-Italic
36
+13    CourierHP-Bold
37
+14    CourierHP-BoldItalic
38
+15    Garamond-Antiqua
39
+16    Garamond-Kursiv
40
+17    Garamond-Halbfett
41
+18    Garamond-KursivHalbfett
42
+19    LetterGothic
43
+20    LetterGothic-Italic
44
+21    LetterGothic-Bold
45
+22    Marigold
46
+23    CGOmega
47
+24    CGOmega-Italic
48
+25    CGOmega-Bold
49
+26    CGOmega-BoldItalic
50
+27    SymbolMT  SymbolEncoding  FCO_Symbol
51
+28    CGTimes
52
+29    CGTimes-Italic
53
+30    CGTimes-Bold
54
+31    CGTimes-BoldItalic
55
+32    TimesNewRoman
56
+33    TimesNewRoman-Italic
57
+34    TimesNewRoman-Bold
58
+35    TimesNewRoman-BoldItalic
59
+36    UniversMedium
60
+37    UniversMedium-Italic
61
+38    Univers-Bold
62
+39    Univers-BoldItalic
63
+40    Univers-Condensed-Medium
64
+41    Univers-Condensed-MediumItalic
65
+42    Univers-Condensed-Bold
66
+43    Univers-Condensed-BoldItalic
67
+44    Courier-
68
+45    Courier-Italic
69
+46    Courier-Bold-
70
+47    Courier-BoldItalic
71
+48    AvantGarde-Book
72
+49    AvantGarde-BookOblique
73
+50    AvantGarde-Demi
74
+51    AvantGarde-DemiOblique
75
+52    Bookman-Light
76
+53    Bookman-LightItalic
77
+54    Bookman-Demi
78
+55    Bookman-DemiItalic
79
+56    Courier
80
+57    Courier-Oblique
81
+58    Courier-Bold
82
+59    Courier-BoldOblique
83
+60    Helvetica
84
+61    Helvetica-Oblique
85
+62    Helvetica-Bold
86
+63    Helvetica-BoldOblique
87
+64    Helvetica-Narrow
88
+65    Helvetica-Narrow-Oblique
89
+66    Helvetica-Narrow-Bold
90
+67    Helvetica-Narrow-BoldOblique
91
+68    NewCenturySchlbk-Roman
92
+69    NewCenturySchlbk-Italic
93
+70    NewCenturySchlbk-Bold
94
+71    NewCenturySchlbk-BoldItalic
95
+72    Palatino-Roman
96
+73    Palatino-Italic
97
+74    Palatino-Bold
98
+75    Palatino-BoldItalic
99
+76    Symbol  SymbolEncoding  FCO_Symbol
100
+77    Times-Roman
101
+78    Times-Italic
102
+79    Times-Bold
103
+80    Times-BoldItalic
104
+81    ZapfChancery-MediumItalic
105
+82    ZapfDingbats DingbatsEncoding FCO_Dingbats
106
+EndFCOfontmap
107
+%EOF

+ 198
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/FCOfontmap-PCLPS3 View File

@@ -0,0 +1,198 @@
1
+%    Copyright (C) 2001, 2002 Aladdin Enterprises.  All rights reserved.
2
+% 
3
+% This software is provided AS-IS with no warranty, either express or
4
+% implied.
5
+% 
6
+% This software is distributed under license and may not be copied,
7
+% modified or distributed except as expressly authorized under the terms
8
+% of the license contained in the file LICENSE in this distribution.
9
+% 
10
+% For more information about licensing, please refer to
11
+% http://www.ghostscript.com/licensing/. For information on
12
+% commercial licensing, go to http://www.artifex.com/licensing/ or
13
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
+% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
+
16
+% $Id: FCOfontmap-PCLPS3 8269 2007-10-03 17:37:35Z ray $
17
+
18
+% May add general FAPIfontmap records here like this :
19
+/Wingdings-Regular << /Path FCOfontfile2 /FontType 1 /FAPI /UFST /SubfontId 0 /Encoding /Wingdings /Decoding /FCO_Wingdings>> ;
20
+
21
+% Mapping Postscript fonts to pclp2_xj.fco FCO members :
22
+FCOfontfile ReadFCOfontmap:
23
+0         Albertus-Medium
24
+1         Albertus-ExtraBold
25
+2         AntiqueOlive
26
+3         AntiqueOlive-Italic
27
+4         AntiqueOlive-Bold
28
+5         Arial
29
+6         Arial-Italic
30
+7         Arial-Bold
31
+8         Arial-BoldItalic
32
+9         Clarendon-Condensed-Bold
33
+10        Coronet
34
+11        CourierHP
35
+12        CourierHP-Italic
36
+13        CourierHP-Bold
37
+14        CourierHP-BoldItalic
38
+15        Garamond-Antiqua
39
+16        Garamond-Kursiv
40
+17        Garamond-Halbfett
41
+18        Garamond-KursivHalbfett
42
+19        LetterGothic
43
+20        LetterGothic-Italic
44
+21        LetterGothic-Bold
45
+22        Marigold
46
+23        CGOmega
47
+24        CGOmega-Italic
48
+25        CGOmega-Bold
49
+26        CGOmega-BoldItalic
50
+27        SymbolMT  SymbolEncoding  FCO_Symbol
51
+28        CGTimes
52
+29        CGTimes-Italic
53
+30        CGTimes-Bold
54
+31        CGTimes-BoldItalic
55
+32        TimesNewRoman
56
+33        TimesNewRoman-Italic
57
+34        TimesNewRoman-Bold
58
+35        TimesNewRoman-BoldItalic
59
+36        Univers-Medium
60
+37        Univers-MediumItalic
61
+38        Univers-Bold
62
+39        Univers-BoldItalic
63
+40        Univers-Condensed-Medium
64
+41        Univers-Condensed-MediumItalic
65
+42        Univers-Condensed-Bold
66
+43        Univers-Condensed-BoldItalic
67
+44        Courier
68
+45        Courier-Italic
69
+46        Courier-Bold
70
+47        Courier-BoldItalic
71
+48        AlbertusMT-Light
72
+49        AlbertusMT
73
+50        AlbertusMT-Italic
74
+51        AntiqueOlive-Roman
75
+52        AntiqueOlive-Italic
76
+53        AntiqueOlive-Bold
77
+54        AntiqueOlive-Compact
78
+55        AvantGarde-Book
79
+56        AvantGarde-BookOblique
80
+57        AvantGarde-Demi
81
+58        AvantGarde-DemiOblique
82
+59        Bodoni
83
+60        Bodoni-Italic
84
+61        Bodoni-Bold
85
+62        Bodoni-BoldItalic
86
+63        Bodoni-Poster
87
+64        Bodoni-PosterCompressed
88
+65        Bookman-Light
89
+66        Bookman-LightItalic
90
+67        Bookman-Demi
91
+68        Bookman-DemiItalic
92
+69        Candid
93
+70        Apple-Chancery
94
+71        Chicago
95
+72        Clarendon-Light
96
+73        Clarendon
97
+74        Clarendon-Bold
98
+75        CooperBlack
99
+76        CooperBlack-Italic
100
+77        Copperplate-ThirtyTwoBC
101
+78        Copperplate-ThirtyThreeBC
102
+79        Coronet-Regular
103
+80        Courier
104
+81        Courier-Oblique
105
+82        Courier-Bold
106
+83        Courier-BoldOblique
107
+84        Eurostile
108
+85        Eurostile-Bold
109
+86        Eurostile-ExtendedTwo
110
+87        Eurostile-BoldExtendedTwo
111
+88        StempelGaramond-Roman
112
+89        StempelGaramond-Italic
113
+90        StempelGaramond-Bold
114
+91        StempelGaramond-BoldItalic
115
+92        Geneva
116
+93        GillSans-Light
117
+94        GillSans-LightItalic
118
+95        GillSans
119
+96        GillSans-Italic
120
+97        GillSans-Bold
121
+98        GillSans-BoldItalic
122
+99        GillSans-ExtraBold
123
+100       GillSans-Condensed
124
+101       GillSans-BoldCondensed
125
+102       Goudy
126
+103       Goudy-Italic
127
+104       Goudy-Bold
128
+105       Goudy-BoldItalic
129
+106       Goudy-ExtraBold
130
+107       Helvetica-Condensed
131
+108       Helvetica-Condensed-Oblique
132
+109       Helvetica-Condensed-Bold
133
+110       Helvetica-Condensed-BoldObl
134
+111       Helvetica
135
+112       Helvetica-Oblique
136
+113       Helvetica-Bold
137
+114       Helvetica-BoldOblique
138
+115       Helvetica-Narrow
139
+116       Helvetica-Narrow-Oblique
140
+117       Helvetica-Narrow-Bold
141
+118       Helvetica-Narrow-BoldOblique
142
+119       HoeflerText-Regular
143
+120       HoeflerText-Italic
144
+121       HoeflerText-Black
145
+122       HoeflerText-BlackItalic
146
+123       HoeflerText-Ornaments
147
+124       JoannaMT
148
+125       JoannaMT-Italic
149
+126       JoannaMT-Bold
150
+127       JoannaMT-BoldItalic
151
+128       LetterGothic
152
+129       LetterGothic-Slanted
153
+130       LetterGothic-Bold
154
+131       LetterGothic-BoldSlanted
155
+132       LubalinGraph-Book
156
+133       LubalinGraph-BookOblique
157
+134       LubalinGraph-Demi
158
+135       LubalinGraph-DemiOblique
159
+136       Monaco
160
+137       MonaLisa-Recut
161
+138       NewYork
162
+139       NewCenturySchlbk-Roman
163
+140       NewCenturySchlbk-Italic
164
+141       NewCenturySchlbk-Bold
165
+142       NewCenturySchlbk-BoldItalic
166
+143       Optima
167
+144       Optima-Italic
168
+145       Optima-Bold
169
+146       Optima-BoldItalic
170
+147       Oxford
171
+148       Palatino-Roman
172
+149       Palatino-Italic
173
+150       Palatino-Bold
174
+151       Palatino-BoldItalic
175
+152    Symbol  SymbolEncoding  FCO_Symbol
176
+153       Taffy
177
+154       Times-Roman
178
+155       Times-Italic
179
+156       Times-Bold
180
+157       Times-BoldItalic
181
+158       Univers
182
+159       Univers-Oblique
183
+160       Univers-Bold
184
+161       Univers-BoldOblique
185
+162       Univers-Condensed
186
+163       Univers-CondensedOblique
187
+164       Univers-CondensedBold
188
+165       Univers-CondensedBoldOblique
189
+166       Univers-Light
190
+167       Univers-LightOblique
191
+168       Univers-Extended
192
+169       Univers-ExtendedObl
193
+170       Univers-BoldExt
194
+171       Univers-BoldExtObl
195
+172       ZapfChancery-MediumItalic
196
+173       ZapfDingbats DingbatsEncoding FCO_Dingbats
197
+EndFCOfontmap
198
+%EOF

+ 159
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/FCOfontmap-PS3 View File

@@ -0,0 +1,159 @@
1
+%    Copyright (C) 2001, 2002 Aladdin Enterprises.  All rights reserved.
2
+% 
3
+% This software is provided AS-IS with no warranty, either express or
4
+% implied.
5
+% 
6
+% This software is distributed under license and may not be copied,
7
+% modified or distributed except as expressly authorized under the terms
8
+% of the license contained in the file LICENSE in this distribution.
9
+% 
10
+% For more information about licensing, please refer to
11
+% http://www.ghostscript.com/licensing/. For information on
12
+% commercial licensing, go to http://www.artifex.com/licensing/ or
13
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
+% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
+
16
+% $Id: FCOfontmap-PS3 8269 2007-10-03 17:37:35Z ray $
17
+
18
+% May add general FAPIfontmap records here like this :
19
+/Wingdings-Regular << /Path FCOfontfile2 /FontType 1 /FAPI /UFST /SubfontId 0 /Encoding /Wingdings /Decoding /FCO_Wingdings>> ;
20
+
21
+% Mapping Postscript fonts to ps3___xh.fco FCO members :
22
+FCOfontfile ReadFCOfontmap:
23
+0      AlbertusMT-Light
24
+1      AlbertusMT
25
+2      AlbertusMT-Italic
26
+3      AntiqueOlive-Roman
27
+4      AntiqueOlive-Italic
28
+5      AntiqueOlive-Bold
29
+6      AntiqueOlive-Compact
30
+7      ArialMT
31
+8      Arial-ItalicMT
32
+9      Arial-BoldMT
33
+10     Arial-BoldItalicMT
34
+11     AvantGarde-Book
35
+12     AvantGarde-BookOblique
36
+13     AvantGarde-Demi
37
+14     AvantGarde-DemiOblique
38
+15     Bodoni
39
+16     Bodoni-Italic
40
+17     Bodoni-Bold
41
+18     Bodoni-BoldItalic
42
+19     Bodoni-Poster
43
+20     Bodoni-PosterCompressed
44
+21     Bookman-Light
45
+22     Bookman-LightItalic
46
+23     Bookman-Demi
47
+24     Bookman-DemiItalic
48
+%   25     Candid       % Disabled due to unknown glyph names.
49
+26     Apple-Chancery
50
+27     Chicago
51
+28     Clarendon-Light
52
+29     Clarendon
53
+30     Clarendon-Bold
54
+31     CooperBlack
55
+32     CooperBlack-Italic
56
+33     Copperplate-ThirtyTwoBC
57
+34     Copperplate-ThirtyThreeBC
58
+35     Coronet-Regular
59
+36     Courier
60
+37     Courier-Oblique
61
+38     Courier-Bold
62
+39     Courier-BoldOblique
63
+40     Eurostile
64
+41     Eurostile-Bold
65
+42     Eurostile-ExtendedTwo
66
+43     Eurostile-BoldExtendedTwo
67
+44     StempelGaramond-Roman
68
+45     StempelGaramond-Italic
69
+46     StempelGaramond-Bold
70
+47     StempelGaramond-BoldItalic
71
+48     Geneva
72
+49     GillSans-Light
73
+50     GillSans-LightItalic
74
+51     GillSans
75
+52     GillSans-Italic
76
+53     GillSans-Bold
77
+54     GillSans-BoldItalic
78
+55     GillSans-ExtraBold
79
+56     GillSans-Condensed
80
+57     GillSans-BoldCondensed
81
+58     Goudy
82
+59     Goudy-Italic
83
+60     Goudy-Bold
84
+61     Goudy-BoldItalic
85
+62     Goudy-ExtraBold
86
+63     Helvetica-Condensed
87
+64     Helvetica-Condensed-Oblique
88
+65     Helvetica-Condensed-Bold
89
+66     Helvetica-Condensed-BoldObl
90
+67     Helvetica
91
+68     Helvetica-Oblique
92
+69     Helvetica-Bold
93
+70     Helvetica-BoldOblique
94
+71     Helvetica-Narrow
95
+72     Helvetica-Narrow-Oblique
96
+73     Helvetica-Narrow-Bold
97
+74     Helvetica-Narrow-BdOblique
98
+75     HoeflerText-Regular
99
+76     HoeflerText-Italic
100
+77     HoeflerText-Black
101
+78     HoeflerText-BlackItalic
102
+79     HoeflerText-Ornaments
103
+80     JoannaMT
104
+81     JoannaMT-Italic
105
+82     JoannaMT-Bold
106
+83     JoannaMT-BoldItalic
107
+84     LetterGothic
108
+85     LetterGothic-Slanted
109
+86     LetterGothic-Bold
110
+87     LetterGothic-BoldSlanted
111
+88     LubalinGraph-Book
112
+89     LubalinGraph-BookOblique
113
+90     LubalinGraph-Demi
114
+91     LubalinGraph-DemiOblique
115
+92     Marigold
116
+93     Monaco
117
+94     MonaLisa-Recut
118
+95     NewYork
119
+96     NewCenturySchlbk-Roman
120
+97     NewCenturySchlbk-Italic
121
+98     NewCenturySchlbk-Bold
122
+99     NewCenturySchlbk-BoldItalic
123
+100    Optima
124
+101    Optima-Italic
125
+102    Optima-Bold
126
+103    Optima-BoldItalic
127
+104    Oxford
128
+105    Palatino-Roman
129
+106    Palatino-Italic
130
+107    Palatino-Bold
131
+108    Palatino-BoldItalic
132
+109    Symbol  SymbolEncoding  FCO_Symbol
133
+110    Taffy
134
+111    Times-Roman
135
+112    Times-Italic
136
+113    Times-Bold
137
+114    Times-BoldItalic
138
+115    TimesNewRomanPSMT
139
+116    TimesNewRomanPS-ItalicMT
140
+117    TimesNewRomanPS-BoldMT
141
+118    TimesNewRomanPS-BdItMT
142
+119    Univers
143
+120    Univers-Oblique
144
+121    Univers-Bold
145
+122    Univers-BoldOblique
146
+123    Univers-Condensed
147
+124    Univers-CondensedOblique
148
+125    Univers-CondensedBold
149
+126    Univers-CondensedBdOblique
150
+127    Univers-Light
151
+128    Univers-LightOblique
152
+129    Univers-Extended
153
+130    Univers-ExtendedObl
154
+131    Univers-BoldExt
155
+132    Univers-BoldExtObl
156
+133    ZapfChancery-MediumItalic
157
+134    ZapfDingbats DingbatsEncoding FCO_Dingbats
158
+EndFCOfontmap
159
+%EOF

+ 4
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap View File

@@ -0,0 +1,4 @@
1
+%!
2
+% See Fontmap.GS for the syntax of real Fontmap files.
3
+%% Replace 1 (Fontmap.GS)
4
+(Fontmap.GS) .runlibfile

+ 168
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap.ATB View File

@@ -0,0 +1,168 @@
1
+%    Copyright (C) 1994 Aladdin Enterprises.  All rights reserved.
2
+% 
3
+% This software is provided AS-IS with no warranty, either express or
4
+% implied.
5
+% 
6
+% This software is distributed under license and may not be copied,
7
+% modified or distributed except as expressly authorized under the terms
8
+% of the license contained in the file LICENSE in this distribution.
9
+% 
10
+% For more information about licensing, please refer to
11
+% http://www.ghostscript.com/licensing/. For information on
12
+% commercial licensing, go to http://www.artifex.com/licensing/ or
13
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
+% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
+
16
+% $Id: Fontmap.ATB 6300 2005-12-28 19:56:24Z giles $
17
+% Fontmap.ATB - an alternative Fontmap for Ghostscript,
18
+% suitable for use with the 65 Adobe Type Manager fonts 
19
+% supplied with Adobe Type Basics.
20
+
21
+% Before you use ATM fonts with Ghostscript, please read carefully
22
+% the license that accompanies the ATM fonts; neither Aladdin Enterprises
23
+% nor any other distributor of Ghostscript takes any responsibility for
24
+% any possible violations of such licenses.
25
+
26
+% The 65 Adobe Type Basics ATM fonts
27
+
28
+%disk 1
29
+/Bookman-Light			(bkl_____.pfb)	;
30
+/Bookman-Demi			(bkd_____.pfb)	;
31
+/Bookman-DemiItalic		(bkdi____.pfb)	;
32
+/Bookman-LightItalic		(bkli____.pfb)	;
33
+/Courier			(com_____.pfb)	;
34
+/Courier-Bold			(cob_____.pfb)	;
35
+/Courier-BoldOblique		(cobo____.pfb)	;
36
+/Courier-Oblique		(coo_____.pfb)	;
37
+/Helvetica			(hv______.pfb)	;
38
+/Helvetica-Bold			(hvb_____.pfb)	;
39
+/Helvetica-BoldOblique		(hvbo____.pfb)	;
40
+/Helvetica-Oblique		(hvo_____.pfb)	;
41
+/Helvetica-Narrow		(hvn_____.pfb)	;
42
+/Helvetica-Narrow-Bold		(hvnb____.pfb)	;
43
+/Helvetica-Narrow-BoldOblique	(hvnbo___.pfb)	;
44
+/Helvetica-Narrow-Oblique	(hvno____.pfb)	;
45
+/Palatino-Roman			(por_____.pfb)	;
46
+/Palatino-Bold			(pob_____.pfb)	;
47
+/Palatino-BoldItalic		(pobi____.pfb)	;
48
+/Palatino-Italic		(poi_____.pfb)	;
49
+/Symbol				(sy______.pfb)	;
50
+/Times-Roman			(tir_____.pfb)	;
51
+/Times-Bold			(tib_____.pfb)	;
52
+/Times-BoldItalic		(tibi____.pfb)	;
53
+/Times-Italic			(tii_____.pfb)	;
54
+
55
+% disk2
56
+/AGaramond-Regular		(gdrg____.pfb)	;
57
+/AGaramond-Italic		(gdi_____.pfb)	;
58
+/AGaramond-Bold			(gdb_____.pfb)	;
59
+/AGaramond-BoldItalic		(gdbi____.pfb)	;
60
+/Americana			(am______.pfb)	;
61
+/Americana-ExtraBold		(ameb____.pfb)	;
62
+/AvantGarde-Book		(agw_____.pfb)	;
63
+/AvantGarde-Demi		(agd_____.pfb)	;
64
+/AvantGarde-DemiOblique		(agdo____.pfb)	;
65
+/AvantGarde-BookOblique		(agwo____.pfb)	;
66
+/Carta				(cr______.pfb)	;
67
+/Kaufmann			(kf______.pfb)	;
68
+/Lithos-Regular			(lorg____.pfb)	;
69
+/Lithos-Black			(lobl____.pfb)	;
70
+/NewCenturySchlbk-Roman		(ncr_____.pfb)	;
71
+/NewCenturySchlbk-Bold		(ncb_____.pfb)	;
72
+/NewCenturySchlbk-BoldItalic	(ncbi____.pfb)	;
73
+/NewCenturySchlbk-Italic	(nci_____.pfb)	;
74
+/Parisian			(pn______.pfb)	;
75
+/ParkAvenue			(pa______.pfb)	;
76
+/Tekton				(tkrg____.pfb)	;
77
+/Tekton-Bold			(tkb_____.pfb)	;
78
+/Trajan-Bold			(tjb_____.pfb)	;
79
+/ZapfChancery-MediumItalic	(zcmi____.pfb)	;
80
+/ZapfDingbats			(zd______.pfb)	;
81
+
82
+%disk 3
83
+/ACaslon-Regular		(awrg____.pfb)	;
84
+/ACaslon-Semibold		(awsb____.pfb)	;
85
+/ACaslon-SemiboldItalic		(awsbi___.pfb)	;
86
+/ACaslon-Italic			(awi_____.pfb)	;
87
+/Barmeno-Regular		(bfrg____.pfb)	;
88
+/Barmeno-Medium			(bfm_____.pfb)	;
89
+/Barmeno-Bold			(bfb_____.pfb)	;
90
+/Barmeno-ExtraBold		(bfeb____.pfb)	;
91
+/Blackoak			(bo______.pfb)	;
92
+/Formata-Regular		(fmrg____.pfb)	;
93
+/Formata-Medium			(fmm_____.pfb)	;
94
+/Formata-MediumItalic		(fmmi____.pfb)	;
95
+/Formata-Italic			(fmi_____.pfb)	;
96
+/Poetica-SuppOrnaments		(pvor____.pfb)	;
97
+/WoodtypeOrnaments-Two		(woor2___.pfb)	;
98
+
99
+
100
+% Fonts converted from bitmaps.
101
+
102
+/Charter-Roman			(bchr.gsf)	;
103
+/Charter-Italic			(bchri.gsf)	;
104
+/Charter-Bold			(bchb.gsf)	;
105
+/Charter-BoldItalic		(bchbi.gsf)	;
106
+
107
+/ZapfChancery			(zcr.gsf)	;
108
+/ZapfChancery-Oblique		(zcro.gsf)	;
109
+/ZapfChancery-Bold		(zcb.gsf)	;
110
+
111
+% Fonts from the X11R5 distribution.
112
+
113
+/Utopia-Regular		(putr.gsf)	;
114
+/Utopia-Italic		(putri.gsf)	;
115
+/Utopia-Bold		(putb.gsf)	;
116
+/Utopia-BoldItalic	(putbi.gsf)	;
117
+
118
+% Shareware fonts.  See FONTMAP.GS for the copyright statements.
119
+
120
+/Shareware-Cyrillic-Regular	(fcyr.gsf)	;
121
+/Shareware-Cyrillic-Italic	(fcyri.gsf)	;
122
+% Aliases
123
+/Cyrillic			/Cyrillic-Regular	;
124
+/Cyrillic-Regular		/Shareware-Cyrillic-Regular	;
125
+/Cyrillic-Italic		/Shareware-Cyrillic-Italic	;
126
+
127
+/Calligraphic-Hiragana		(fhirw.gsf)	;
128
+/Calligraphic-Katakana		(fkarw.gsf)	;
129
+
130
+% Fonts converted from Hershey outlines.
131
+
132
+/Hershey-Gothic-English		(hrge_r.gsf)	4290000 ;
133
+/Hershey-Gothic-English-Bold	(hrge_rb.gsf)	4290030 ;
134
+/Hershey-Gothic-English-Oblique	(hrge_ro.gsf)	4290010 ;
135
+
136
+/Hershey-Gothic-German		(hrgr_r.gsf)	4291000 ;
137
+/Hershey-Gothic-German-Bold	(hrgr_rb.gsf)	4291030 ;
138
+/Hershey-Gothic-German-Oblique	(hrgr_ro.gsf)	4291010 ;
139
+
140
+/Hershey-Gothic-Italian		(hrit_r.gsf)	4292000 ; 
141
+/Hershey-Gothic-Italian-Bold	(hrit_rb.gsf)	4292030 ;
142
+/Hershey-Gothic-Italian-Oblique	(hrit_ro.gsf)	4292010 ;
143
+
144
+/Hershey-Greek-Complex		(hrgk_c.gsf)	4293200 ;
145
+/Hershey-Greek-Simplex		(hrgk_s.gsf)	4293100 ;
146
+
147
+/Hershey-Plain			(hrpl_r.gsf)	4294000 ;
148
+/Hershey-Plain-Bold		(hrpl_rb.gsf)	4294030 ;
149
+/Hershey-Plain-Oblique		(hrpl_ro.gsf)	4294010 ;
150
+/Hershey-Plain-Simplex		(hrpl_s.gsf)	4294100 ;
151
+/Hershey-Plain-Simplex-Bold	(hrpl_sb.gsf)	4294130 ;
152
+/Hershey-Plain-Simplex-Bold-Oblique (hrpl_sbo.gsf) 4294140 ;
153
+/Hershey-Plain-Simplex-Oblique	(hrpl_so.gsf)	4294110 ;
154
+/Hershey-Plain-Triplex		(hrpl_t.gsf)	4294300 ;
155
+/Hershey-Plain-Triplex-Italic	(hrpl_ti.gsf)	4294320 ;
156
+/Hershey-Plain-Triplex-Bold	(hrpl_tb.gsf)	4294330 ;
157
+/Hershey-Plain-Triplex-Bold-Italic (hrpl_tbi.gsf) 4294350 ;
158
+
159
+/Hershey-Script-Complex		(hrsc_c.gsf)	4295200 ;
160
+/Hershey-Script-Complex-Bold	(hrsc_cb.gsf)	4295230 ;
161
+/Hershey-Script-Complex-Oblique	(hrsc_co.gsf)	4295210 ;
162
+/Hershey-Script-Simplex		(hrsc_s.gsf)	4295100 ;
163
+/Hershey-Script-Simplex-Bold	(hrsc_sb.gsf)	4295130 ;
164
+/Hershey-Script-Simplex-Oblique	(hrsc_so.gsf)	4295110 ;
165
+
166
+% This font, and only this font among the Hershey fonts, uses
167
+% the SymbolEncoding.
168
+/Hershey-Symbol			(hrsy_r.gsf)	4296000 ;

+ 185
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap.ATM View File

@@ -0,0 +1,185 @@
1
+%    Copyright (C) 1990, 1992, 1994, 1996 Aladdin Enterprises.  All rights reserved.
2
+% 
3
+% This software is provided AS-IS with no warranty, either express or
4
+% implied.
5
+% 
6
+% This software is distributed under license and may not be copied,
7
+% modified or distributed except as expressly authorized under the terms
8
+% of the license contained in the file LICENSE in this distribution.
9
+% 
10
+% For more information about licensing, please refer to
11
+% http://www.ghostscript.com/licensing/. For information on
12
+% commercial licensing, go to http://www.artifex.com/licensing/ or
13
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
+% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
+
16
+% $Id: Fontmap.ATM 6300 2005-12-28 19:56:24Z giles $
17
+% Fontmap.ATM - an alternative Fontmap for Ghostscript,
18
+% suitable for use with Adobe Type Manager fonts.
19
+
20
+% Before you use ATM fonts with Ghostscript, please read carefully
21
+% the license that accompanies the ATM fonts; neither Aladdin Enterprises
22
+% nor any other distributor of Ghostscript takes any responsibility for
23
+% any possible violations of such licenses.
24
+
25
+% 
26
+%
27
+% Fonts contributed by:
28
+%	URW++ Design and Development Incorporated
29
+%	Poppenbuetteler Bogen 29A
30
+%	D-22399 Hamburg
31
+%	Germany
32
+%	tel. +49 (40) 60 60 50
33
+%	fax +49 (40) 60 60 51 11
34
+%	http://www.urwpp.de
35
+% for distribution under the GNU License and Aladdin Free Public License.
36
+% See the notice at the head of this Fontmap file for licensing terms.
37
+% Each of these fonts is individually covered by the license:
38
+% for licensing purposes, they are not "part of" any larger entity.
39
+% The following notice applies to these fonts:
40
+%
41
+%	Copyright URW Software, Copyright 1994 by URW.
42
+%
43
+
44
+% Actual fonts
45
+
46
+/URWBookmanL-DemiBold	(b018015l.pfb)	;
47
+/URWBookmanL-DemiBoldItal	(b018035l.pfb)	;
48
+/URWBookmanL-Ligh	(b018012l.pfb)	;
49
+/URWBookmanL-LighItal	(b018032l.pfb)	;
50
+
51
+/NimbusMonL-Regu	(n022003l.pfb)	;
52
+/NimbusMonL-ReguObli	(n022023l.pfb)	;
53
+/NimbusMonL-Bold	(n022004l.pfb)	;
54
+/NimbusMonL-BoldObli	(n022024l.pfb)	;
55
+
56
+/URWGothicL-Book	(a010013l.pfb)	;
57
+/URWGothicL-BookObli	(a010033l.pfb)	;
58
+/URWGothicL-Demi	(a010015l.pfb)	;
59
+/URWGothicL-DemiObli	(a010035l.pfb)	;
60
+
61
+/NimbusSanL-Regu	(n019003l.pfb)	;
62
+/NimbusSanL-ReguItal	(n019023l.pfb)	;
63
+/NimbusSanL-Bold	(n019004l.pfb)	;
64
+/NimbusSanL-BoldItal	(n019024l.pfb)	;
65
+
66
+/NimbusSanL-ReguCond	(n019043l.pfb)	;
67
+/NimbusSanL-ReguCondItal	(n019063l.pfb)	;
68
+/NimbusSanL-BoldCond	(n019044l.pfb)	;
69
+/NimbusSanL-BoldCondItal	(n019064l.pfb)	;
70
+
71
+/URWPalladioL-Roma	(p052003l.pfb)	;
72
+/URWPalladioL-Ital	(p052023l.pfb)	;
73
+/URWPalladioL-Bold	(p052004l.pfb)	;
74
+/URWPalladioL-BoldItal	(p052024l.pfb)	;
75
+
76
+/CenturySchL-Roma	(c059013l.pfb)	;
77
+/CenturySchL-Ital	(c059033l.pfb)	;
78
+/CenturySchL-Bold	(c059016l.pfb)	;
79
+/CenturySchL-BoldItal	(c059036l.pfb)	;
80
+
81
+/NimbusRomNo9L-Regu	(n021003l.pfb)	;
82
+/NimbusRomNo9L-ReguItal	(n021023l.pfb)	;
83
+/NimbusRomNo9L-Medi	(n021004l.pfb)	;
84
+/NimbusRomNo9L-MediItal	(n021024l.pfb)	;
85
+
86
+/StandardSymL	(s050000l.pfb)	;
87
+
88
+/URWChanceryL-MediItal	(z003034l.pfb)	;
89
+
90
+/Dingbats	(d050000l.pfb)	;
91
+
92
+% Aliases
93
+
94
+/Bookman-Demi			/URWBookmanL-DemiBold	;
95
+/Bookman-DemiItalic		/URWBookmanL-DemiBoldItal	;
96
+/Bookman-Light			/URWBookmanL-Ligh	;
97
+/Bookman-LightItalic		/URWBookmanL-LighItal	;
98
+
99
+/Courier			/NimbusMonL-Regu	;
100
+/Courier-Oblique		/NimbusMonL-ReguObli	;
101
+/Courier-Bold			/NimbusMonL-Bold	;
102
+/Courier-BoldOblique		/NimbusMonL-BoldObli	;
103
+
104
+/AvantGarde-Book		/URWGothicL-Book	;
105
+/AvantGarde-BookOblique		/URWGothicL-BookObli	;
106
+/AvantGarde-Demi		/URWGothicL-Demi	;
107
+/AvantGarde-DemiOblique		/URWGothicL-DemiObli	;
108
+
109
+/Helvetica			/NimbusSanL-Regu	;
110
+/Helvetica-Oblique		/NimbusSanL-ReguItal	;
111
+/Helvetica-Bold			/NimbusSanL-Bold	;
112
+/Helvetica-BoldOblique		/NimbusSanL-BoldItal	;
113
+
114
+/Helvetica-Narrow		/NimbusSanL-ReguCond	;
115
+/Helvetica-Narrow-Oblique	/NimbusSanL-ReguCondItal	;
116
+/Helvetica-Narrow-Bold		/NimbusSanL-BoldCond	;
117
+/Helvetica-Narrow-BoldOblique	/NimbusSanL-BoldCondItal	;
118
+
119
+/Palatino-Roman			/URWPalladioL-Roma	;
120
+/Palatino-Italic		/URWPalladioL-Ital	;
121
+/Palatino-Bold			/URWPalladioL-Bold	;
122
+/Palatino-BoldItalic		/URWPalladioL-BoldItal	;
123
+
124
+/NewCenturySchlbk-Roman		/CenturySchL-Roma	;
125
+/NewCenturySchlbk-Italic	/CenturySchL-Ital	;
126
+/NewCenturySchlbk-Bold		/CenturySchL-Bold	;
127
+/NewCenturySchlbk-BoldItalic	/CenturySchL-BoldItal	;
128
+
129
+/Times-Roman			/NimbusRomNo9L-Regu	;
130
+/Times-Italic			/NimbusRomNo9L-ReguItal	;
131
+/Times-Bold			/NimbusRomNo9L-Medi	;
132
+/Times-BoldItalic		/NimbusRomNo9L-MediItal	;
133
+
134
+/Symbol				/StandardSymL	;
135
+
136
+/ZapfChancery-MediumItalic	/URWChanceryL-MediItal	;
137
+
138
+/ZapfDingbats			/Dingbats	;
139
+
140
+
141
+% ATM fonts.
142
+
143
+/Courier			(com_____.pfb)	;
144
+/Courier-Oblique		(coo_____.pfb)	;
145
+/Courier-Bold			(cob_____.pfb)	;
146
+/Courier-BoldOblique		(cobo____.pfb)	;
147
+
148
+/Helvetica			(hv______.pfb)	;
149
+/Helvetica-Oblique		(hvo_____.pfb)	;
150
+/Helvetica-Bold			(hvb_____.pfb)	;
151
+/Helvetica-BoldOblique		(hvbo____.pfb)	;
152
+
153
+/Symbol				(sy______.pfb)	;
154
+
155
+/Times-Roman			(tir_____.pfb)	;
156
+/Times-Italic			(tii_____.pfb)	;
157
+/Times-Bold			(tib_____.pfb)	;
158
+/Times-BoldItalic		(tibi____.pfb)	;
159
+
160
+
161
+% More fonts from Adobe Type Manager for MS Windows.
162
+
163
+/TektonMM                               (zjrg____.pfb)  ;
164
+
165
+/Boulevard				(qtrg____.pfb)  ;
166
+/Anna					(iarg____.pfb)  ;
167
+
168
+/PopplLaudatio-Regular			(pyrg____.pfb)  ;
169
+/PopplLaudatio-Medium			(pym_____.pfb)  ;
170
+/PopplLaudatio-Italic			(pyi_____.pfb)  ;
171
+/PopplLaudatio-MediumItalic		(pymi____.pfb)  ;
172
+
173
+/Boton-Regular				(tnr_____.pfb)  ;
174
+/Boton-Medium				(tnm_____.pfb)  ;
175
+/Boton-Italic				(tni_____.pfb)  ;
176
+/Boton-MediumItalic			(tnmi____.pfb)  ;
177
+
178
+/BaskervilleBE-Regular			(virg____.pfb)  ;
179
+/BaskervilleBE-Medium			(vim_____.pfb)  ;
180
+/BaskervilleBE-Italic			(vii_____.pfb)  ;
181
+/BaskervilleBE-MediumItalic		(vimi____.pfb)  ;
182
+
183
+/Giddyup				(wg______.pfb)  ;
184
+/Giddyup-Thangs				(wgtha___.pfb)  ;
185
+

+ 354
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap.GS View File

@@ -0,0 +1,354 @@
1
+% Copyright (C) 1996, 1999 Aladdin Enterprises.  All rights reserved.
2
+% 
3
+% This software is provided AS-IS with no warranty, either express or
4
+% implied.
5
+% 
6
+% This software is distributed under license and may not be copied,
7
+% modified or distributed except as expressly authorized under the terms
8
+% of the license contained in the file LICENSE in this distribution.
9
+% 
10
+% For more information about licensing, please refer to
11
+% http://www.ghostscript.com/licensing/. For information on
12
+% commercial licensing, go to http://www.artifex.com/licensing/ or
13
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
+% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
+
16
+% $Id: Fontmap.GS 8978 2008-08-12 23:44:53Z ray $
17
+% Fontmap - standard font catalog for Ghostscript.
18
+
19
+% ----------------------------------------------------------------
20
+
21
+% This file is a catalog of fonts known to Ghostscript.  Any font
22
+% that is to be loaded automatically when named must be in this catalog,
23
+% except for fonts that Ghostscript finds automatically in directories
24
+% named in the GS_FONTPATH environment variable.
25
+
26
+% Each font has an entry consisting of three items:
27
+%
28
+%	- The name by which the font is known inside Ghostscript
29
+%	(a Ghostscript name preceded by a `/', or a string enclosed
30
+%	in parentheses).  This is used to find the file from which
31
+%	a font of a given name should be loaded.
32
+%
33
+%	- Information depending on whether this is a real font or a
34
+%	font alias:
35
+%
36
+%		- For real fonts, the name of the Ghostscript font
37
+%		file (a Ghostscript string, enclosed in parentheses).
38
+%		The filename should include the extension, which (by
39
+%		convention) is `.gsf'.  `.pfa' and `.pfb' files are
40
+%		also usable as fonts for Ghostscript.
41
+%
42
+%		- For font aliases, the name of the font which should
43
+%		be used when this one is requested, preceded by a
44
+%		`/'.  See the entry for Charter below for an example.
45
+%		Note that an alias name cannot be enclosed in parentheses.
46
+%
47
+%	- At least one space or tab, and a terminating semicolon.
48
+
49
+% The following table is executed as a PostScript file.
50
+% If you add new entries, be sure to copy the punctuation accurately;
51
+% in particular, you must leave at least one space or tab between each
52
+% field in the entry.  Also, please read fonts.doc for important information
53
+% about font names.
54
+
55
+% PDF interpreter evaluates hexadecimal escapes in PDF font names before
56
+% looking up the font. When the resulting name cannot be represented using
57
+% PostScript name syntax, the string can be used instead of the name.
58
+
59
+% Note that .pfa and .pfb fonts are compatible with Adobe Type Manager
60
+% and other programs that don't include full PostScript interpreters,
61
+% as well as with PostScript interpreters; .gsf fonts are compatible with
62
+% PostScript interpreters, but not with ATM or similar programs.
63
+
64
+% 
65
+%
66
+% Fonts contributed by:
67
+%	URW++ Design and Development Incorporated
68
+%	Poppenbuetteler Bogen 29A
69
+%	D-22399 Hamburg
70
+%	Germany
71
+%	tel. +49 (40) 60 60 50
72
+%	fax +49 (40) 60 60 51 11
73
+%	http://www.urwpp.de
74
+% for distribution under the GNU License and Aladdin Free Public License.
75
+% See the notice at the head of this Fontmap file for licensing terms.
76
+% Each of these fonts is individually covered by the license:
77
+% for licensing purposes, they are not "part of" any larger entity.
78
+% The following notice applies to these fonts:
79
+%
80
+%	Copyright URW Software, Copyright 1994 by URW.
81
+%
82
+
83
+% Aliases
84
+
85
+/Bookman-Demi			/URWBookmanL-DemiBold	;
86
+/Bookman-DemiItalic		/URWBookmanL-DemiBoldItal	;
87
+/Bookman-Light			/URWBookmanL-Ligh	;
88
+/Bookman-LightItalic		/URWBookmanL-LighItal	;
89
+
90
+/Courier			/NimbusMonL-Regu	;
91
+/Courier-Oblique		/NimbusMonL-ReguObli	;
92
+/Courier-Bold			/NimbusMonL-Bold	;
93
+/Courier-BoldOblique		/NimbusMonL-BoldObli	;
94
+
95
+/AvantGarde-Book		/URWGothicL-Book	;
96
+/AvantGarde-BookOblique		/URWGothicL-BookObli	;
97
+/AvantGarde-Demi		/URWGothicL-Demi	;
98
+/AvantGarde-DemiOblique		/URWGothicL-DemiObli	;
99
+
100
+/Helvetica			/NimbusSanL-Regu	;
101
+/Helvetica-Oblique		/NimbusSanL-ReguItal	;
102
+/Helvetica-Bold			/NimbusSanL-Bold	;
103
+/Helvetica-BoldOblique		/NimbusSanL-BoldItal	;
104
+
105
+/Helvetica-Narrow		/NimbusSanL-ReguCond	;
106
+/Helvetica-Narrow-Oblique	/NimbusSanL-ReguCondItal	;
107
+/Helvetica-Narrow-Bold		/NimbusSanL-BoldCond	;
108
+/Helvetica-Narrow-BoldOblique	/NimbusSanL-BoldCondItal	;
109
+
110
+/Palatino-Roman			/URWPalladioL-Roma	;
111
+/Palatino-Italic		/URWPalladioL-Ital	;
112
+/Palatino-Bold			/URWPalladioL-Bold	;
113
+/Palatino-BoldItalic		/URWPalladioL-BoldItal	;
114
+
115
+/NewCenturySchlbk-Roman		/CenturySchL-Roma	;
116
+/NewCenturySchlbk-Italic	/CenturySchL-Ital	;
117
+/NewCenturySchlbk-Bold		/CenturySchL-Bold	;
118
+/NewCenturySchlbk-BoldItalic	/CenturySchL-BoldItal	;
119
+
120
+/Times-Roman			/NimbusRomNo9L-Regu	;
121
+/Times-Italic			/NimbusRomNo9L-ReguItal	;
122
+/Times-Bold			/NimbusRomNo9L-Medi	;
123
+/Times-BoldItalic		/NimbusRomNo9L-MediItal	;
124
+
125
+/Symbol				/StandardSymL	;
126
+
127
+/ZapfChancery-MediumItalic	/URWChanceryL-MediItal	;
128
+
129
+/ZapfDingbats			/Dingbats	;
130
+
131
+% 
132
+%
133
+% Type 1 fonts contributed to the X11R5 distribution.
134
+%
135
+
136
+% The following notice accompanied the Charter fonts.
137
+%
138
+% (c) Copyright 1989-1992, Bitstream Inc., Cambridge, MA.
139
+%
140
+% You are hereby granted permission under all Bitstream propriety rights
141
+% to use, copy, modify, sublicense, sell, and redistribute the 4 Bitstream
142
+% Charter (r) Type 1 outline fonts and the 4 Courier Type 1 outline fonts
143
+% for any purpose and without restriction; provided, that this notice is
144
+% left intact on all copies of such fonts and that Bitstream's trademark
145
+% is acknowledged as shown below on all unmodified copies of the 4 Charter
146
+% Type 1 fonts.
147
+%
148
+% BITSTREAM CHARTER is a registered trademark of Bitstream Inc.
149
+
150
+/CharterBT-Roman		(bchr.pfa)	;
151
+/CharterBT-Italic		(bchri.pfa)	;
152
+/CharterBT-Bold			(bchb.pfa)	;
153
+/CharterBT-BoldItalic		(bchbi.pfa)	;
154
+
155
+% Aliases
156
+
157
+/Charter-Roman			/CharterBT-Roman	;
158
+/Charter-Italic			/CharterBT-Italic	;
159
+/Charter-Bold			/CharterBT-Bold		;
160
+/Charter-BoldItalic		/CharterBT-BoldItalic	;
161
+
162
+% The following notice accompanied the Utopia font:
163
+%
164
+%   Permission to use, reproduce, display and distribute the listed
165
+%   typefaces is hereby granted, provided that the Adobe Copyright notice
166
+%   appears in all whole and partial copies of the software and that the
167
+%   following trademark symbol and attribution appear in all unmodified
168
+%   copies of the software:
169
+%
170
+%           Copyright (c) 1989 Adobe Systems Incorporated
171
+%           Utopia (R)
172
+%           Utopia is a registered trademark of Adobe Systems Incorporated
173
+%
174
+%   The Adobe typefaces (Type 1 font program, bitmaps and Adobe Font
175
+%   Metric files) donated are:
176
+%
177
+%           Utopia Regular
178
+%           Utopia Italic
179
+%           Utopia Bold
180
+%           Utopia Bold Italic
181
+
182
+/Utopia-Regular		(putr.pfa)	;
183
+/Utopia-Italic		(putri.pfa)	;
184
+/Utopia-Bold		(putb.pfa)	;
185
+/Utopia-BoldItalic	(putbi.pfa)	;
186
+
187
+% 
188
+%
189
+% Fonts contributed by URW GmbH for distribution under the GNU License.
190
+% The following notice accompanied these fonts:
191
+%
192
+% U004006T URW Grotesk 2031 Bold PostScript Type 1 Font Program
193
+% U003043T URW Antiqua 2051 Regular Condensed PostScript Type 1 Font Program
194
+%
195
+% Copyright (c) 1992 URW GmbH, Hamburg, Germany
196
+%
197
+% This program is free software; you can redistribute it and/or modify
198
+% it under the terms of the GNU General Public License as published by
199
+% the Free Software Foundation; either version 2 of the License, or
200
+% (at your option) later version.
201
+%
202
+% This program is distributed in the hope that it will be useful,
203
+% but WITHOUT ANY WARRANTY; wihtout even the implied warranty of
204
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
205
+% See the GNU General Public License for more details.
206
+%
207
+% You should have received a copy of the GNU General Public License
208
+% along with this program; if not, write to the Free Software
209
+% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 U.S.A.
210
+%
211
+% Address:
212
+% URW GmbH
213
+% PC Support
214
+% Harksheider Strasse 102
215
+% 2000 Hamburg 65
216
+% Germany
217
+% Phone: +49 40 60 60 50       (Reception)
218
+% Phone: +49 40 60 60 52 30   (PC Support)
219
+% Fax    : +49 40 60 60 52 52
220
+%
221
+
222
+/URWAntiquaT-RegularCondensed	(u003043t.gsf)	;
223
+/URWGroteskT-Bold		(u004006t.gsf)	;
224
+
225
+% 
226
+%
227
+% Calligraphic Kana fonts.  These are distributed under the OFL 1.1:
228
+%
229
+% Copyright (c) 1993, Kevin Hartig (kevin.hartig@gmail.com),
230
+% with Reserved Font Name Calligraphic-Hiragana and Calligraphic-Katakana.
231
+% This Font Software is licensed under the SIL Open Font License, Version 1.1.
232
+% This license is available with an FAQ at:  http://scripts.sil.org/OFL
233
+
234
+% Hiragana and Katakana fonts.  The character names are inappropriate,
235
+% and the encoding is probably not related to any known standard.
236
+
237
+/Calligraphic-Hiragana		(fhirw.gsf)	;
238
+/Calligraphic-Katakana		(fkarw.gsf)	;
239
+
240
+% 
241
+%
242
+% Public-domain fonts.  These have no copyright, and are of unknown quality.
243
+
244
+% Cyrillic fonts.  The character names are inappropriate,
245
+% and the encoding is probably not related to any known standard.
246
+
247
+/Shareware-Cyrillic-Regular	(fcyr.gsf)	;
248
+/Shareware-Cyrillic-Italic	(fcyri.gsf)	;
249
+
250
+% Aliases
251
+/Cyrillic			/Cyrillic-Regular	;
252
+/Cyrillic-Regular		/Shareware-Cyrillic-Regular	;
253
+/Cyrillic-Italic		/Shareware-Cyrillic-Italic	;
254
+
255
+% 
256
+%
257
+% Fonts converted from Hershey outlines.  These are constructed and
258
+% maintained manually.  These are also in the public domain.
259
+%
260
+% The suggested UniqueID's and filenames are constructed differently for
261
+% these than for the ones above, because of the strange way that the Hershey
262
+% fonts were constructed.  The scheme for these looks like:
263
+%
264
+% 42TTXY0
265
+%
266
+% TT = typeface, X = ``class'', Y = variation
267
+%
268
+% The typeface names and numbers are listed in fonts.mak.
269
+%
270
+% class:
271
+% 0 = normal			= r
272
+% 1 = simplex			= s
273
+% 2 = complex			= c
274
+% 3 = triplex			= t
275
+% 4 = duplex			= d
276
+%
277
+% variation:
278
+% 0 = normal			(omitted)
279
+% 1 = oblique			= o
280
+% 2 = italic			= i
281
+% 3 = bold			= b
282
+% 4 = bold oblique		= bo
283
+% 5 = bold italic		= bi
284
+%
285
+
286
+% Fonts created by Thomas Wolff <wolff@inf.fu-berlin.de>, by adding
287
+% accents, accented characters, and various other non-alphabetics
288
+% to the original Hershey fonts.  These are "freeware", not to be sold.
289
+
290
+/Hershey-Gothic-English		(hrger.pfa)	;	% 5066533
291
+/Hershey-Gothic-German		(hrgrr.pfa)	;
292
+/Hershey-Gothic-Italian		(hritr.pfa)	; 
293
+
294
+/Hershey-Plain-Duplex		(hrpld.pfa)	;
295
+/Hershey-Plain-Duplex-Italic	(hrpldi.pfa)	;
296
+/Hershey-Plain-Triplex		(hrplt.pfa)	;
297
+/Hershey-Plain-Triplex-Italic	(hrplti.pfa)	;
298
+
299
+/Hershey-Script-Complex		(hrscc.pfa)	;
300
+/Hershey-Script-Simplex		(hrscs.pfa)	;	% 5066541
301
+
302
+% Fonts created algorithmically from the above.
303
+
304
+/Hershey-Gothic-English-Bold		(hrgerb.gsf)	;	% 5066542
305
+/Hershey-Gothic-English-Oblique		(hrgero.gsf)	;
306
+/Hershey-Gothic-English-SemiBold	(hrgerd.gsf)	;
307
+/Hershey-Gothic-German-Bold		(hrgrrb.gsf)	;
308
+/Hershey-Gothic-German-Oblique		(hrgrro.gsf)	;
309
+/Hershey-Gothic-Italian-Bold		(hritrb.gsf)	;
310
+/Hershey-Gothic-Italian-Oblique		(hritro.gsf)	;
311
+
312
+/Hershey-Plain-Duplex-Bold		(hrpldb.gsf)	;
313
+/Hershey-Plain-Duplex-Bold-Italic	(hrpldbi.gsf)	;
314
+/Hershey-Plain-Triplex-Bold		(hrpltb.gsf)	;
315
+/Hershey-Plain-Triplex-Bold-Italic	(hrpltbi.gsf)	;
316
+
317
+/Hershey-Script-Complex-Bold		(hrsccb.gsf)	;
318
+/Hershey-Script-Complex-Oblique		(hrscco.gsf)	;
319
+/Hershey-Script-Simplex-Bold		(hrscsb.gsf)	;
320
+/Hershey-Script-Simplex-Oblique		(hrscso.gsf)	;	% 5066556
321
+
322
+% Fonts consisting only of characters from the original Hershey
323
+% distribution.  These are Type 3 fonts.
324
+
325
+/Hershey-Greek-Complex			(hrgkc.gsf)	;	% 5066557
326
+/Hershey-Greek-Simplex			(hrgks.gsf)	;
327
+
328
+/Hershey-Plain				(hrplr.gsf)	;
329
+/Hershey-Plain-Simplex			(hrpls.gsf)	;	% 5066560
330
+
331
+% Fonts created algorithmically from the above.
332
+
333
+/Hershey-Plain-Bold			(hrplrb.gsf)	;	% 5066561
334
+/Hershey-Plain-Bold-Oblique		(hrplrbo.gsf)	;
335
+/Hershey-Plain-Oblique			(hrplro.gsf)	;
336
+/Hershey-Plain-Simplex-Bold		(hrplsb.gsf)	;
337
+/Hershey-Plain-Simplex-Bold-Oblique	(hrplsbo.gsf)	;
338
+/Hershey-Plain-Simplex-Oblique		(hrplso.gsf)	;	% 5066566
339
+
340
+% This font, and only this font among the Hershey fonts, uses
341
+% the SymbolEncoding.
342
+
343
+/Hershey-Symbol				(hrsyr.gsf)	;	% 5066567
344
+
345
+/Arial					/ArialMT		;
346
+/Arial,Bold				/Arial-BoldMT		;
347
+/Arial,Italic				/Arial-ItalicMT		;
348
+/Arial,BoldItalic			/Arial-BoldItalicMT	;
349
+
350
+/TimesNewRoman				/TimesNewRomanPSMT		;
351
+/TimesNewRoman,Bold			/TimesNewRomanPS-BoldMT		;
352
+/TimesNewRoman,Italic			/TimesNewRomanPS-ItalicMT	;
353
+/TimesNewRoman,BoldItalic		/TimesNewRomanPS-BoldItalicMT	;
354
+

+ 214
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap.OS2 View File

@@ -0,0 +1,214 @@
1
+%    Copyright (C) 1990, 1992, 1993, 1996 Aladdin Enterprises.  All rights reserved.
2
+% 
3
+% This software is provided AS-IS with no warranty, either express or
4
+% implied.
5
+% 
6
+% This software is distributed under license and may not be copied,
7
+% modified or distributed except as expressly authorized under the terms
8
+% of the license contained in the file LICENSE in this distribution.
9
+% 
10
+% For more information about licensing, please refer to
11
+% http://www.ghostscript.com/licensing/. For information on
12
+% commercial licensing, go to http://www.artifex.com/licensing/ or
13
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
+% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
+
16
+% $Id: Fontmap.OS2 6300 2005-12-28 19:56:24Z giles $
17
+% fontmap.os2 aka Fontmap.OS2 - OS/2 font catalog for Ghostscript.
18
+
19
+% ----------------------------------------------------------------
20
+
21
+% This file is a catalog of fonts known to Ghostscript.  Any font
22
+% that is to be loaded automatically when named must be in this catalog,
23
+% except for fonts that Ghostscript finds automatically in directories
24
+% named in the GS_FONTPATH environment variable.
25
+
26
+% Each font has an entry consisting of three items:
27
+%
28
+%	- The name by which the font is known inside Ghostscript
29
+%	(a Ghostscript name preceded by a `/', or a string enclosed
30
+%	in parentheses).  This is used to find the file from which
31
+%	a font of a given name should be loaded.
32
+%
33
+%	- Information depending on whether this is a real font or a
34
+%	font alias:
35
+%
36
+%		- For real fonts, the name of the Ghostscript font
37
+%		file (a Ghostscript string, enclosed in parentheses).
38
+%		The filename should include the extension, which (by
39
+%		convention) is `.gsf'.  `.pfa' and `.pfb' files are
40
+%		also usable as fonts for Ghostscript.
41
+%
42
+%		- For font aliases, the name of the font which should
43
+%		be used when this one is requested, preceded by a
44
+%		`/'.  See the entry for Charter below for an example.
45
+%
46
+%	- A terminating semicolon.
47
+
48
+% Because of limitations in the MS-DOS environment, Ghostscript font
49
+% file names must be no more than 8 characters long, must consist only
50
+% of LOWER CASE letters, digits, and underscores, and must start with a
51
+% letter.  Font names, on the other hand, need only obey the syntax of
52
+% names in the Ghostscript language, which is much more liberal.
53
+
54
+% Most of the Ghostscript fonts were created automatically from freely
55
+% available bitmaps.  There is a makefile (fonts.mak) that specifies
56
+% how this conversion was done.  fonts.mak also specifies, for each such
57
+% converted font, its uniqueID (an integer used to identify distinct fonts
58
+% within the Ghostscript font machinery), and its encoding (the mapping
59
+% from character codes in a string to character names).  For more detailed
60
+% information, read fonts.mak.
61
+
62
+% The following table is actually a Ghostscript data structure.
63
+% If you add new entries, be sure to copy the punctuation accurately;
64
+% in particular, you must leave at least one space or tab between each
65
+% field in the entry.  Also, please read fonts.doc for important information
66
+% about font names.
67
+
68
+
69
+% 
70
+%
71
+% Fonts contributed by:
72
+%	URW++ Design and Development Incorporated
73
+%	Poppenbuetteler Bogen 29A
74
+%	D-22399 Hamburg
75
+%	Germany
76
+%	tel. +49 (40) 60 60 50
77
+%	fax +49 (40) 60 60 51 11
78
+%	http://www.urwpp.de
79
+% for distribution under the GNU License and Aladdin Free Public License.
80
+% See the notice at the head of this Fontmap file for licensing terms.
81
+% Each of these fonts is individually covered by the license:
82
+% for licensing purposes, they are not "part of" any larger entity.
83
+% The following notice applies to these fonts:
84
+%
85
+%	Copyright URW Software, Copyright 1994 by URW.
86
+%
87
+
88
+% Actual fonts
89
+
90
+/URWBookmanL-DemiBold	(b018015l.pfb)	;
91
+/URWBookmanL-DemiBoldItal	(b018035l.pfb)	;
92
+/URWBookmanL-Ligh	(b018012l.pfb)	;
93
+/URWBookmanL-LighItal	(b018032l.pfb)	;
94
+
95
+/NimbusMonL-Regu	(n022003l.pfb)	;
96
+/NimbusMonL-ReguObli	(n022023l.pfb)	;
97
+/NimbusMonL-Bold	(n022004l.pfb)	;
98
+/NimbusMonL-BoldObli	(n022024l.pfb)	;
99
+
100
+/URWGothicL-Book	(a010013l.pfb)	;
101
+/URWGothicL-BookObli	(a010033l.pfb)	;
102
+/URWGothicL-Demi	(a010015l.pfb)	;
103
+/URWGothicL-DemiObli	(a010035l.pfb)	;
104
+
105
+/NimbusSanL-Regu	(n019003l.pfb)	;
106
+/NimbusSanL-ReguItal	(n019023l.pfb)	;
107
+/NimbusSanL-Bold	(n019004l.pfb)	;
108
+/NimbusSanL-BoldItal	(n019024l.pfb)	;
109
+
110
+/NimbusSanL-ReguCond	(n019043l.pfb)	;
111
+/NimbusSanL-ReguCondItal	(n019063l.pfb)	;
112
+/NimbusSanL-BoldCond	(n019044l.pfb)	;
113
+/NimbusSanL-BoldCondItal	(n019064l.pfb)	;
114
+
115
+/URWPalladioL-Roma	(p052003l.pfb)	;
116
+/URWPalladioL-Ital	(p052023l.pfb)	;
117
+/URWPalladioL-Bold	(p052004l.pfb)	;
118
+/URWPalladioL-BoldItal	(p052024l.pfb)	;
119
+
120
+/CenturySchL-Roma	(c059013l.pfb)	;
121
+/CenturySchL-Ital	(c059033l.pfb)	;
122
+/CenturySchL-Bold	(c059016l.pfb)	;
123
+/CenturySchL-BoldItal	(c059036l.pfb)	;
124
+
125
+/NimbusRomNo9L-Regu	(n021003l.pfb)	;
126
+/NimbusRomNo9L-ReguItal	(n021023l.pfb)	;
127
+/NimbusRomNo9L-Medi	(n021004l.pfb)	;
128
+/NimbusRomNo9L-MediItal	(n021024l.pfb)	;
129
+
130
+/StandardSymL	(s050000l.pfb)	;
131
+
132
+/URWChanceryL-MediItal	(z003034l.pfb)	;
133
+
134
+/Dingbats	(d050000l.pfb)	;
135
+
136
+% Aliases
137
+
138
+/Bookman-Demi			/URWBookmanL-DemiBold	;
139
+/Bookman-DemiItalic		/URWBookmanL-DemiBoldItal	;
140
+/Bookman-Light			/URWBookmanL-Ligh	;
141
+/Bookman-LightItalic		/URWBookmanL-LighItal	;
142
+
143
+/Courier			/NimbusMonL-Regu	;
144
+/Courier-Oblique		/NimbusMonL-ReguObli	;
145
+/Courier-Bold			/NimbusMonL-Bold	;
146
+/Courier-BoldOblique		/NimbusMonL-BoldObli	;
147
+
148
+/AvantGarde-Book		/URWGothicL-Book	;
149
+/AvantGarde-BookOblique		/URWGothicL-BookObli	;
150
+/AvantGarde-Demi		/URWGothicL-Demi	;
151
+/AvantGarde-DemiOblique		/URWGothicL-DemiObli	;
152
+
153
+/Helvetica			/NimbusSanL-Regu	;
154
+/Helvetica-Oblique		/NimbusSanL-ReguItal	;
155
+/Helvetica-Bold			/NimbusSanL-Bold	;
156
+/Helvetica-BoldOblique		/NimbusSanL-BoldItal	;
157
+
158
+/Helvetica-Narrow		/NimbusSanL-ReguCond	;
159
+/Helvetica-Narrow-Oblique	/NimbusSanL-ReguCondItal	;
160
+/Helvetica-Narrow-Bold		/NimbusSanL-BoldCond	;
161
+/Helvetica-Narrow-BoldOblique	/NimbusSanL-BoldCondItal	;
162
+
163
+/Palatino-Roman			/URWPalladioL-Roma	;
164
+/Palatino-Italic		/URWPalladioL-Ital	;
165
+/Palatino-Bold			/URWPalladioL-Bold	;
166
+/Palatino-BoldItalic		/URWPalladioL-BoldItal	;
167
+
168
+/NewCenturySchlbk-Roman		/CenturySchL-Roma	;
169
+/NewCenturySchlbk-Italic	/CenturySchL-Ital	;
170
+/NewCenturySchlbk-Bold		/CenturySchL-Bold	;
171
+/NewCenturySchlbk-BoldItalic	/CenturySchL-BoldItal	;
172
+
173
+/Times-Roman			/NimbusRomNo9L-Regu	;
174
+/Times-Italic			/NimbusRomNo9L-ReguItal	;
175
+/Times-Bold			/NimbusRomNo9L-Medi	;
176
+/Times-BoldItalic		/NimbusRomNo9L-MediItal	;
177
+
178
+/Symbol				/StandardSymL	;
179
+
180
+/ZapfChancery-MediumItalic	/URWChanceryL-MediItal	;
181
+
182
+/ZapfDingbats			/Dingbats	;
183
+
184
+
185
+% 
186
+% ATM fonts that come with OS/2.
187
+
188
+/Courier			(cour.pfb)	;
189
+/Courier-Oblique		/Courier-Italic	;
190
+/Courier-Italic			(couri.pfb)	;
191
+/Courier-Bold			(courb.pfb)	;
192
+/Courier-BoldOblique		/Courier-BoldItalic	;
193
+/Courier-BoldItalic		(courbi.pfb)	;
194
+
195
+/Helvetica			(helv.pfb)	;
196
+/Helvetica-Oblique		/Helvetica-Italic	;
197
+/Helvetica-Italic		(helvi.pfb)	;
198
+/Helvetica-Bold			(helvb.pfb)	;
199
+/Helvetica-BoldOblique		/Helvetica-BoldItalic	;
200
+/Helvetica-BoldItalic		(helvbi.pfb)	;
201
+
202
+/Symbol				/SymbolSet	;
203
+/SymbolSet			(symb.pfb)	;
204
+
205
+/Times-Roman			/TimesNewRoman	;
206
+/TimesNewRoman			(tnr.pfb)	;
207
+/Times-Italic			/TimesNewRoman-Italic	;
208
+/TimesNewRoman-Italic		(tnri.pfb)	;
209
+/Times-Bold			/TimesNewRoman-Bold	;
210
+/TimesNewRoman-Bold		(tnrb.pfb)	;
211
+/Times-BoldItalic		/TimesNewRoman-BoldItalic	;
212
+/TimesNewRoman-BoldItalic	(tnrbi.pfb)	;
213
+
214
+

+ 163
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap.OSF View File

@@ -0,0 +1,163 @@
1
+% fontmap.osf aka Fontmap.OSF1 - Ghostscript fontmap for DEC OSF/1 systems.
2
+%
3
+% UNIX systems from Digital Equipment Corporation are bundled with a license
4
+% for Display PostScript, including certain fonts.  Using their font outlines
5
+% (which on OSF/1 systems are found in /usr/lib/X11/fonts/Type1Adobe)
6
+% improves the visual quality of documents displayed on screen.  To do that,
7
+% use this file as your Fontmap file and add /usr/lib/X11/fonts/Type1Adobe
8
+% as the second argument to GS_LIB_DEFAULT in your makefile
9
+% in your makefile.
10
+%
11
+% This file is Pete Kaiser's original Ultrix file as modified by
12
+% Bjorn S. Nilsson (nilsson@nbi.dk) first for Ultrix 4.3 and then
13
+% for OSF/1 version 1.3.
14
+%
15
+
16
+%/AvantGarde-Book			(AvantGarde-Book)	;
17
+%/AvantGarde-BookOblique		(AvantGarde-BookOblique);
18
+%/AvantGarde-Demi			(AvantGarde-Demi)	;
19
+%/AvantGarde-DemiOblique		(AvantGarde-DemiOblique);
20
+
21
+%/Courier-BoldItalic			/Courier-BoldOblique	;
22
+%/Courier-Italic			/Courier-Oblique	;
23
+
24
+%/Courier				(Courier)		;
25
+%/Courier-Bold				(Courier-Bold)		;
26
+%/Courier-BoldOblique			(Courier-BoldOblique)	;
27
+%/Courier-Oblique			(Courier-Oblique)	;
28
+
29
+%/Helvetica				(Helvetica)		;
30
+%/Helvetica-Bold			(Helvetica-Bold)	;
31
+%/Helvetica-BoldOblique			(Helvetica-BoldOblique)	;
32
+%/Helvetica-Oblique			(Helvetica-Oblique)	;
33
+
34
+%/LubalinGraph-Book			(LubalinGraph-Book)	;
35
+%/LubalinGraph-BookOblique		(LubalinGraph-BookOblique);
36
+%/LubalinGraph-Demi			(LubalinGraph-Demi)	;
37
+%/LubalinGraph-DemiOblique		(LubalinGraph-DemiOblique);
38
+
39
+%/NewCenturySchlbk-Bold			(NewCenturySchlbk-Bold)	;
40
+%/NewCenturySchlbk-BoldItalic		(NewCenturySchlbk-BoldItalic);
41
+%/NewCenturySchlbk-Italic		(NewCenturySchlbk-Italic);
42
+%/NewCenturySchlbk-Roman		(NewCenturySchlbk-Roman);
43
+
44
+%/Souvenir-Demi				(Souvenir-Demi)		;
45
+%/Souvenir-DemiItalic			(Souvenir-DemiItalic)	;
46
+%/Souvenir-Light			(Souvenir-Light)	;
47
+%/Souvenir-LightItalic			(Souvenir-LightItalic)	;
48
+
49
+%/Symbol				(Symbol)		;
50
+
51
+%/Times-Bold				(Times-Bold)		;
52
+%/Times-BoldItalic			(Times-BoldItalic)	;
53
+%/Times-Italic				(Times-Italic)		;
54
+%/Times-Roman				(Times-Roman)		;
55
+
56
+%/ZapfDingbats				(ZapfDingbats)		;
57
+
58
+/AvantGarde-Book		(AvantGarde-Book.pfa)		;
59
+/AvantGarde-BookOblique		(AvantGarde-BookOblique.pfa)	;
60
+/AvantGarde-Demi		(AvantGarde-Demi.pfa)		;
61
+/AvantGarde-DemiOblique		(AvantGarde-DemiOblique.pfa)	;
62
+/Bookman-Demi			(pbkd.gsf)			;
63
+/Bookman-DemiItalic		(pbkdi.gsf)			;
64
+/Bookman-Light			(pbkl.gsf)			;
65
+/Bookman-LightItalic		(pbkli.gsf)			;
66
+/Calligraphic-Hiragana		(fhirw.gsf)			;
67
+/Calligraphic-Katakana		(fkarw.gsf)			;
68
+/CharterBT-Bold			(bchb.gsf)			;
69
+/CharterBT-BoldItalic		(bchbi.gsf)			;
70
+/CharterBT-Italic		(bchri.gsf)			;
71
+/CharterBT-Roman		(bchr.gsf)			;
72
+/Courier			(Courier.pfa)			;
73
+/Courier-Bold			(Courier-Bold.pfa)		;
74
+/Courier-BoldOblique		(Courier-BoldOblique.pfa)	;
75
+/Courier-Oblique		(Courier-Oblique.pfa)		;
76
+/Helvetica			(Helvetica.pfa)			;
77
+/Helvetica-Bold			(Helvetica-Bold.pfa)		;
78
+/Helvetica-BoldOblique		(Helvetica-BoldOblique.pfa)	;
79
+/Helvetica-Oblique		(Helvetica-Oblique.pfa)		;
80
+/Hershey-Gothic-English		(hrger.gsf)			;
81
+/Hershey-Gothic-German		(hrgrr.gsf)			;
82
+/Hershey-Gothic-Italian		(hritr.gsf)			; 
83
+/Hershey-Plain-Duplex		(hrpld.gsf)			;
84
+/Hershey-Plain-Duplex-Italic	(hrpldi.gsf)			;
85
+/Hershey-Plain-Triplex		(hrplt.gsf)			;
86
+/Hershey-Plain-Triplex-Italic	(hrplti.gsf)			;
87
+/Hershey-Script-Complex		(hrscc.gsf)			;
88
+/Hershey-Script-Simplex		(hrscs.gsf)			;
89
+/Hershey-Gothic-English-Bold	(hrgerb.gsf)			;
90
+/Hershey-Gothic-English-Oblique	(hrgero.gsf)			;
91
+/Hershey-Gothic-English-Semibold (hrgerd.gsf)			;
92
+/Hershey-Gothic-German-Bold	(hrgrrb.gsf)			;
93
+/Hershey-Gothic-German-Oblique	(hrgrro.gsf)			;
94
+/Hershey-Gothic-Italian-Bold	(hritrb.gsf)			;
95
+/Hershey-Gothic-Italian-Oblique	(hritro.gsf)			;
96
+/Hershey-Plain-Duplex-Bold	(hrpldb.gsf)			;
97
+/Hershey-Plain-Duplex-Bold-Italic (hrpldbi.gsf)			;
98
+/Hershey-Plain-Triplex-Bold	(hrpltb.gsf)			;
99
+/Hershey-Plain-Triplex-Bold-Italic (hrpltbi.gsf)		;
100
+/Hershey-Script-Complex-Bold	(hrsccb.gsf)			;
101
+/Hershey-Script-Complex-Oblique	(hrscco.gsf)			;
102
+/Hershey-Script-Simplex-Bold	(hrscsb.gsf)			;
103
+/Hershey-Script-Simplex-Oblique	(hrscso.gsf)			;
104
+/Hershey-Greek-Complex		(hrgkc.gsf)			;
105
+/Hershey-Greek-Simplex		(hrgks.gsf)			;
106
+/Hershey-Plain			(hrplr.gsf)			;
107
+/Hershey-Plain-Simplex		(hrpls.gsf)			;
108
+/Hershey-Plain-Bold		(hrplrb.gsf)			;
109
+/Hershey-Plain-Bold-Oblique	(hrplrbo.gsf)			;
110
+/Hershey-Plain-Oblique		(hrplro.gsf)			;
111
+/Hershey-Plain-Simplex-Bold	(hrplsb.gsf)			;
112
+/Hershey-Plain-Simplex-Bold-Oblique (hrplsbo.gsf)		;
113
+/Hershey-Plain-Simplex-Oblique	(hrplso.gsf)			;
114
+/Hershey-Symbol			(hrsy_r.gsf)			;
115
+/LubalinGraph-Book		(LubalinGraph-Book.pfa)		;
116
+/LubalinGraph-BookOblique	(LubalinGraph-BookOblique.pfa)	;
117
+/LubalinGraph-Demi		(LubalinGraph-Demi.pfa)		;
118
+/LubalinGraph-DemiOblique	(LubalinGraph-DemiOblique.pfa)	;
119
+/NewCenturySchlbk-Bold		(NewCenturySchlbk-Bold.pfa)	;
120
+/NewCenturySchlbk-BoldItalic	(NewCenturySchlbk-BoldItalic.pfa) ;
121
+/NewCenturySchlbk-Italic	(NewCenturySchlbk-Italic.pfa)	;
122
+/NewCenturySchlbk-Roman		(NewCenturySchlbk-Roman.pfa)	;
123
+/NimbusRomanNo9L-Regular	(n021003l.gsf)			;
124
+/NimbusSansL-Regular		(n019003l.gsf)			;
125
+/Palatino-Bold			(pplb.gsf)			;
126
+/Palatino-BoldItalic		(pplbi.gsf)			;
127
+/Palatino-Italic		(pplri.gsf)			;
128
+/Palatino-Roman			(pplr.gsf)			;
129
+/Shareware-Cyrillic-Regular	(fcyr.gsf)			;
130
+/Shareware-Cyrillic-Italic	(fcyri.gsf)			;
131
+/Souvenir-Demi			(Souvenir-Demi.pfa)		;
132
+/Souvenir-DemiItalic		(Souvenir-DemiItalic.pfa)	;
133
+/Souvenir-Light			(Souvenir-Light.pfa)		;
134
+/Souvenir-LightItalic		(Souvenir-LightItalic.pfa)	;
135
+/Symbol				(Symbol.pfa)			;
136
+/Times-Bold			(Times-Bold.pfa)		;
137
+/Times-BoldItalic		(Times-BoldItalic.pfa)		;
138
+/Times-Italic			(Times-Italic.pfa)		;
139
+/Times-Roman			(Times-Roman.pfa)		;
140
+/URWAntiquaT-RegularCondensed	(u003043t.gsf)			;
141
+/URWGroteskT-Bold		(u004006t.gsf)			;
142
+/Utopia-Bold			(putb.gsf)			;
143
+/Utopia-BoldItalic		(putbi.gsf)			;
144
+/Utopia-Italic			(putri.gsf)			;
145
+/Utopia-Regular			(putr.gsf)			;
146
+/ZapfChancery			(zcr.gsf)			;
147
+/ZapfChancery-Bold		(zcb.gsf)			;
148
+/ZapfChancery-Oblique		(zcro.gsf)			;
149
+/ZapfDingbats			(ZapfDingbats.pfa)		;
150
+/Cyrillic			/Cyrillic-Regular		;
151
+/Cyrillic-Regular		/Shareware-Cyrillic-Regular	;
152
+/Cyrillic-Italic		/Shareware-Cyrillic-Italic	;
153
+
154
+% BSN additions from original Fontmap file and some more aliases
155
+
156
+/Helvetica-Narrow-Bold		/Helvetica-Narrow	;
157
+/ZapfChancery-MediumItalic	/ZapfChancery-Oblique	;
158
+/Charter-Roman			/CharterBT-Roman	;
159
+/Charter-Italic			/CharterBT-Italic	;
160
+/Charter-Bold			/CharterBT-Bold		;
161
+/Charter-BoldItalic		/CharterBT-BoldItalic	;
162
+/Courier-Italic			/Courier-Oblique	;
163
+/Courier-BoldItalic		/Courier-BoldOblique	;

+ 405
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap.SGI View File

@@ -0,0 +1,405 @@
1
+% Copyright (C) 1996, 1999 Aladdin Enterprises.  All rights reserved.
2
+% 
3
+% This software is provided AS-IS with no warranty, either express or
4
+% implied.
5
+% 
6
+% This software is distributed under license and may not be copied,
7
+% modified or distributed except as expressly authorized under the terms
8
+% of the license contained in the file LICENSE in this distribution.
9
+% 
10
+% For more information about licensing, please refer to
11
+% http://www.ghostscript.com/licensing/. For information on
12
+% commercial licensing, go to http://www.artifex.com/licensing/ or
13
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
+% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
+
16
+% $Id: Fontmap.SGI 6300 2005-12-28 19:56:24Z giles $
17
+%
18
+% Fontmap.SGI - standard font catalog for Ghostscript, modified for IRIX 5.3
19
+% with the DPS fonts installed (dps_eoe.sw.dpsfonts).
20
+% by H. Gohel, gohel@acm.org. 1999-09-10
21
+
22
+% ----------------------------------------------------------------
23
+
24
+% This file is a catalog of fonts known to Ghostscript.  Any font
25
+% that is to be loaded automatically when named must be in this catalog,
26
+% except for fonts that Ghostscript finds automatically in directories
27
+% named in the GS_FONTPATH environment variable.
28
+
29
+% Each font has an entry consisting of three items:
30
+%
31
+%	- The name by which the font is known inside Ghostscript
32
+%	(a Ghostscript name preceded by a `/', or a string enclosed
33
+%	in parentheses).  This is used to find the file from which
34
+%	a font of a given name should be loaded.
35
+%
36
+%	- Information depending on whether this is a real font or a
37
+%	font alias:
38
+%
39
+%		- For real fonts, the name of the Ghostscript font
40
+%		file (a Ghostscript string, enclosed in parentheses).
41
+%		The filename should include the extension, which (by
42
+%		convention) is `.gsf'.  `.pfa' and `.pfb' files are
43
+%		also usable as fonts for Ghostscript.
44
+%
45
+%		- For font aliases, the name of the font which should
46
+%		be used when this one is requested, preceded by a
47
+%		`/'.  See the entry for Charter below for an example.
48
+%		Note that an alias name cannot be enclosed in parentheses.
49
+%
50
+%	- At least one space or tab, and a terminating semicolon.
51
+
52
+% Because of limitations in the MS-DOS environment, Ghostscript font
53
+% file names must be no more than 8 characters long, must consist only
54
+% of LOWER CASE letters, digits, and underscores, and must start with a
55
+% letter.  Font names, on the other hand, need only obey the syntax of
56
+% names in the Ghostscript language, which is much more liberal.
57
+
58
+% The following table is actually a Ghostscript data structure.
59
+% If you add new entries, be sure to copy the punctuation accurately;
60
+% in particular, you must leave at least one space or tab between each
61
+% field in the entry.  Also, please read fonts.doc for important information
62
+% about font names.
63
+
64
+% Note that .pfa and .pfb fonts are compatible with Adobe Type Manager
65
+% and other programs that don't include full PostScript interpreters,
66
+% as well as with PostScript interpreters; .gsf fonts are compatible with
67
+% PostScript interpreters, but not with ATM or similar programs.
68
+
69
+% 
70
+%
71
+% Fonts contributed by:
72
+%	URW++ Design and Development Incorporated
73
+%	Poppenbuetteler Bogen 29A
74
+%	D-22399 Hamburg
75
+%	Germany
76
+%	tel. +49 (40) 60 60 50
77
+%	fax +49 (40) 60 60 51 11
78
+%	http://www.urwpp.de
79
+% for distribution under the GNU License and Aladdin Free Public License.
80
+% See the notice at the head of this Fontmap file for licensing terms.
81
+% Each of these fonts is individually covered by the license:
82
+% for licensing purposes, they are not "part of" any larger entity.
83
+% The following notice applies to these fonts:
84
+%
85
+%	Copyright URW Software, Copyright 1994 by URW.
86
+%
87
+
88
+% Actual fonts
89
+
90
+/URWBookmanL-DemiBold	(b018015l.pfb)	;
91
+/URWBookmanL-DemiBoldItal	(b018035l.pfb)	;
92
+/URWBookmanL-Ligh	(b018012l.pfb)	;
93
+/URWBookmanL-LighItal	(b018032l.pfb)	;
94
+
95
+/NimbusMonL-Regu	(n022003l.pfb)	;
96
+/NimbusMonL-ReguObli	(n022023l.pfb)	;
97
+/NimbusMonL-Bold	(n022004l.pfb)	;
98
+/NimbusMonL-BoldObli	(n022024l.pfb)	;
99
+
100
+/URWGothicL-Book	(a010013l.pfb)	;
101
+/URWGothicL-BookObli	(a010033l.pfb)	;
102
+/URWGothicL-Demi	(a010015l.pfb)	;
103
+/URWGothicL-DemiObli	(a010035l.pfb)	;
104
+
105
+/NimbusSanL-Regu	(n019003l.pfb)	;
106
+/NimbusSanL-ReguItal	(n019023l.pfb)	;
107
+/NimbusSanL-Bold	(n019004l.pfb)	;
108
+/NimbusSanL-BoldItal	(n019024l.pfb)	;
109
+
110
+/NimbusSanL-ReguCond	(n019043l.pfb)	;
111
+/NimbusSanL-ReguCondItal	(n019063l.pfb)	;
112
+/NimbusSanL-BoldCond	(n019044l.pfb)	;
113
+/NimbusSanL-BoldCondItal	(n019064l.pfb)	;
114
+
115
+/URWPalladioL-Roma	(p052003l.pfb)	;
116
+/URWPalladioL-Ital	(p052023l.pfb)	;
117
+/URWPalladioL-Bold	(p052004l.pfb)	;
118
+/URWPalladioL-BoldItal	(p052024l.pfb)	;
119
+
120
+/CenturySchL-Roma	(c059013l.pfb)	;
121
+/CenturySchL-Ital	(c059033l.pfb)	;
122
+/CenturySchL-Bold	(c059016l.pfb)	;
123
+/CenturySchL-BoldItal	(c059036l.pfb)	;
124
+
125
+/NimbusRomNo9L-Regu	(n021003l.pfb)	;
126
+/NimbusRomNo9L-ReguItal	(n021023l.pfb)	;
127
+/NimbusRomNo9L-Medi	(n021004l.pfb)	;
128
+/NimbusRomNo9L-MediItal	(n021024l.pfb)	;
129
+
130
+/StandardSymL	(s050000l.pfb)	;
131
+
132
+/URWChanceryL-MediItal	(z003034l.pfb)	;
133
+
134
+/Dingbats	(d050000l.pfb)	;
135
+
136
+% Aliases
137
+% These Adobe fonts are available with DPS on IRIX, so they commented out:
138
+
139
+%/Bookman-Demi			/URWBookmanL-DemiBold	;
140
+%/Bookman-DemiItalic		/URWBookmanL-DemiBoldItal	;
141
+%/Bookman-Light			/URWBookmanL-Ligh	;
142
+%/Bookman-LightItalic		/URWBookmanL-LighItal	;
143
+
144
+%/Courier			/NimbusMonL-Regu	;
145
+%/Courier-Oblique		/NimbusMonL-ReguObli	;
146
+%/Courier-Bold			/NimbusMonL-Bold	;
147
+%/Courier-BoldOblique		/NimbusMonL-BoldObli	;
148
+
149
+%/AvantGarde-Book		/URWGothicL-Book	;
150
+%/AvantGarde-BookOblique		/URWGothicL-BookObli	;
151
+%/AvantGarde-Demi		/URWGothicL-Demi	;
152
+%/AvantGarde-DemiOblique		/URWGothicL-DemiObli	;
153
+
154
+%/Helvetica			/NimbusSanL-Regu	;
155
+%/Helvetica-Oblique		/NimbusSanL-ReguItal	;
156
+%/Helvetica-Bold			/NimbusSanL-Bold	;
157
+%/Helvetica-BoldOblique		/NimbusSanL-BoldItal	;
158
+
159
+%/Helvetica-Narrow		/NimbusSanL-ReguCond	;
160
+%/Helvetica-Narrow-Oblique	/NimbusSanL-ReguCondItal	;
161
+%/Helvetica-Narrow-Bold		/NimbusSanL-BoldCond	;
162
+%/Helvetica-Narrow-BoldOblique	/NimbusSanL-BoldCondItal	;
163
+
164
+%/Palatino-Roman			/URWPalladioL-Roma	;
165
+%/Palatino-Italic		/URWPalladioL-Ital	;
166
+%/Palatino-Bold			/URWPalladioL-Bold	;
167
+%/Palatino-BoldItalic		/URWPalladioL-BoldItal	;
168
+
169
+%/NewCenturySchlbk-Roman		/CenturySchL-Roma	;
170
+%/NewCenturySchlbk-Italic	/CenturySchL-Ital	;
171
+%/NewCenturySchlbk-Bold		/CenturySchL-Bold	;
172
+%/NewCenturySchlbk-BoldItalic	/CenturySchL-BoldItal	;
173
+
174
+%/Times-Roman			/NimbusRomNo9L-Regu	;
175
+%/Times-Italic			/NimbusRomNo9L-ReguItal	;
176
+%/Times-Bold			/NimbusRomNo9L-Medi	;
177
+%/Times-BoldItalic		/NimbusRomNo9L-MediItal	;
178
+
179
+%/Symbol				/StandardSymL	;
180
+
181
+%/ZapfChancery-MediumItalic	/URWChanceryL-MediItal	;
182
+
183
+%/ZapfDingbats			/Dingbats	;
184
+
185
+% 
186
+%
187
+% Type 1 fonts contributed to the X11R5 distribution.
188
+%
189
+
190
+% The following notice accompanied the Charter fonts.
191
+%
192
+% (c) Copyright 1989-1992, Bitstream Inc., Cambridge, MA.
193
+%
194
+% You are hereby granted permission under all Bitstream propriety rights
195
+% to use, copy, modify, sublicense, sell, and redistribute the 4 Bitstream
196
+% Charter (r) Type 1 outline fonts and the 4 Courier Type 1 outline fonts
197
+% for any purpose and without restriction; provided, that this notice is
198
+% left intact on all copies of such fonts and that Bitstream's trademark
199
+% is acknowledged as shown below on all unmodified copies of the 4 Charter
200
+% Type 1 fonts.
201
+%
202
+% BITSTREAM CHARTER is a registered trademark of Bitstream Inc.
203
+
204
+% The Bitstream Charter fonts have different names (CharterBT-
205
+% instead of Charter-), but Ghostscript doesn't care.
206
+/Charter-Roman			(bchr.pfa)	;
207
+/Charter-Italic			(bchri.pfa)	;
208
+/Charter-Bold			(bchb.pfa)	;
209
+/Charter-BoldItalic		(bchbi.pfa)	;
210
+
211
+% The following notice accompanied the Utopia font:
212
+%
213
+%   Permission to use, reproduce, display and distribute the listed
214
+%   typefaces is hereby granted, provided that the Adobe Copyright notice
215
+%   appears in all whole and partial copies of the software and that the
216
+%   following trademark symbol and attribution appear in all unmodified
217
+%   copies of the software:
218
+%
219
+%           Copyright (c) 1989 Adobe Systems Incorporated
220
+%           Utopia (R)
221
+%           Utopia is a registered trademark of Adobe Systems Incorporated
222
+%
223
+%   The Adobe typefaces (Type 1 font program, bitmaps and Adobe Font
224
+%   Metric files) donated are:
225
+%
226
+%           Utopia Regular
227
+%           Utopia Italic
228
+%           Utopia Bold
229
+%           Utopia Bold Italic
230
+
231
+% The original Utopia files are available with IRIX and DPS so need
232
+% for aliases, HJG.
233
+
234
+%/Utopia-Regular		(putr.pfa)	;
235
+%/Utopia-Italic		(putri.pfa)	;
236
+%/Utopia-Bold		(putb.pfa)	;
237
+%/Utopia-BoldItalic	(putbi.pfa)	;
238
+
239
+% 
240
+%
241
+% Fonts contributed by URW GmbH for distribution under the GNU License.
242
+% The following notice accompanied these fonts:
243
+%
244
+% U004006T URW Grotesk 2031 Bold PostScript Type 1 Font Program
245
+% U003043T URW Antiqua 2051 Regular Condensed PostScript Type 1 Font Program
246
+%
247
+% Copyright (c) 1992 URW GmbH, Hamburg, Germany
248
+%
249
+% This program is free software; you can redistribute it and/or modify
250
+% it under the terms of the GNU General Public License as published by
251
+% the Free Software Foundation; either version 2 of the License, or
252
+% (at your option) later version.
253
+%
254
+% This program is distributed in the hope that it will be useful,
255
+% but WITHOUT ANY WARRANTY; wihtout even the implied warranty of
256
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
257
+% See the GNU General Public License for more details.
258
+%
259
+% You should have received a copy of the GNU General Public License
260
+% along with this program; if not, write to the Free Software
261
+% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
262
+%
263
+% Address:
264
+% URW GmbH
265
+% PC Support
266
+% Harksheider Strasse 102
267
+% 2000 Hamburg 65
268
+% Germany
269
+% Phone: +49 40 60 60 50       (Reception)
270
+% Phone: +49 40 60 60 52 30   (PC Support)
271
+% Fax    : +49 40 60 60 52 52
272
+%
273
+
274
+/URWAntiquaT-RegularCondensed	(u003043t.gsf)	;
275
+/URWGroteskT-Bold		(u004006t.gsf)	;
276
+
277
+% 
278
+%
279
+% Shareware Kana fonts.  These are subject to the following notice:
280
+%
281
+% These copyrighted fonts were developed by Kevin Hartig. Permission is
282
+% granted to freely distribute them in entirety along with this statement.
283
+% This is shareware. If you decide to use these fonts please contribute
284
+% $10 US to help support further freeware and shareware software development.
285
+% Questions and comments may be sent to:
286
+%
287
+% hartig@fsl.noaa.gov
288
+% khartig@nyx.cs.du.edu
289
+%
290
+% Kevin Hartig
291
+% 1126 Collyer Street
292
+% Longmont, CO 80501 USA
293
+% 
294
+% copyright 1993.
295
+
296
+% Hiragana and Katakana fonts.  The character names are inappropriate,
297
+% and the encoding is probably not related to any known standard.
298
+
299
+/Calligraphic-Hiragana		(fhirw.gsf)	;
300
+/Calligraphic-Katakana		(fkarw.gsf)	;
301
+
302
+% 
303
+%
304
+% Public-domain fonts.  These have no copyright, and are of unknown quality.
305
+
306
+% Cyrillic fonts.  The character names are inappropriate,
307
+% and the encoding is probably not related to any known standard.
308
+
309
+/Shareware-Cyrillic-Regular	(fcyr.gsf)	;
310
+/Shareware-Cyrillic-Italic	(fcyri.gsf)	;
311
+
312
+% Aliases
313
+/Cyrillic			/Cyrillic-Regular	;
314
+/Cyrillic-Regular		/Shareware-Cyrillic-Regular	;
315
+/Cyrillic-Italic		/Shareware-Cyrillic-Italic	;
316
+
317
+% 
318
+%
319
+% Fonts converted from Hershey outlines.  These are constructed and
320
+% maintained manually.  These are also in the public domain.
321
+%
322
+% The suggested UniqueID's and filenames are constructed differently for
323
+% these than for the ones above, because of the strange way that the Hershey
324
+% fonts were constructed.  The scheme for these looks like:
325
+%
326
+% 42TTXY0
327
+%
328
+% TT = typeface, X = ``class'', Y = variation
329
+%
330
+% The typeface names and numbers are listed in fonts.mak.
331
+%
332
+% class:
333
+% 0 = normal			= r
334
+% 1 = simplex			= s
335
+% 2 = complex			= c
336
+% 3 = triplex			= t
337
+% 4 = duplex			= d
338
+%
339
+% variation:
340
+% 0 = normal			(omitted)
341
+% 1 = oblique			= o
342
+% 2 = italic			= i
343
+% 3 = bold			= b
344
+% 4 = bold oblique		= bo
345
+% 5 = bold italic		= bi
346
+%
347
+
348
+% Fonts created by Thomas Wolff <wolff@inf.fu-berlin.de>, by adding
349
+% accents, accented characters, and various other non-alphabetics
350
+% to the original Hershey fonts.  These are "freeware", not to be sold.
351
+
352
+/Hershey-Gothic-English		(hrger.pfa)	;	% 5066533
353
+/Hershey-Gothic-German		(hrgrr.pfa)	;
354
+/Hershey-Gothic-Italian		(hritr.pfa)	; 
355
+
356
+/Hershey-Plain-Duplex		(hrpld.pfa)	;
357
+/Hershey-Plain-Duplex-Italic	(hrpldi.pfa)	;
358
+/Hershey-Plain-Triplex		(hrplt.pfa)	;
359
+/Hershey-Plain-Triplex-Italic	(hrplti.pfa)	;
360
+
361
+/Hershey-Script-Complex		(hrscc.pfa)	;
362
+/Hershey-Script-Simplex		(hrscs.pfa)	;	% 5066541
363
+
364
+% Fonts created algorithmically from the above.
365
+
366
+/Hershey-Gothic-English-Bold		(hrgerb.gsf)	;	% 5066542
367
+/Hershey-Gothic-English-Oblique		(hrgero.gsf)	;
368
+/Hershey-Gothic-English-SemiBold	(hrgerd.gsf)	;
369
+/Hershey-Gothic-German-Bold		(hrgrrb.gsf)	;
370
+/Hershey-Gothic-German-Oblique		(hrgrro.gsf)	;
371
+/Hershey-Gothic-Italian-Bold		(hritrb.gsf)	;
372
+/Hershey-Gothic-Italian-Oblique		(hritro.gsf)	;
373
+
374
+/Hershey-Plain-Duplex-Bold		(hrpldb.gsf)	;
375
+/Hershey-Plain-Duplex-Bold-Italic	(hrpldbi.gsf)	;
376
+/Hershey-Plain-Triplex-Bold		(hrpltb.gsf)	;
377
+/Hershey-Plain-Triplex-Bold-Italic	(hrpltbi.gsf)	;
378
+
379
+/Hershey-Script-Complex-Bold		(hrsccb.gsf)	;
380
+/Hershey-Script-Complex-Oblique		(hrscco.gsf)	;
381
+/Hershey-Script-Simplex-Bold		(hrscsb.gsf)	;
382
+/Hershey-Script-Simplex-Oblique		(hrscso.gsf)	;	% 5066556
383
+
384
+% Fonts consisting only of characters from the original Hershey
385
+% distribution.  These are Type 3 fonts.
386
+
387
+/Hershey-Greek-Complex			(hrgkc.gsf)	;	% 5066557
388
+/Hershey-Greek-Simplex			(hrgks.gsf)	;
389
+
390
+/Hershey-Plain				(hrplr.gsf)	;
391
+/Hershey-Plain-Simplex			(hrpls.gsf)	;	% 5066560
392
+
393
+% Fonts created algorithmically from the above.
394
+
395
+/Hershey-Plain-Bold			(hrplrb.gsf)	;	% 5066561
396
+/Hershey-Plain-Bold-Oblique		(hrplrbo.gsf)	;
397
+/Hershey-Plain-Oblique			(hrplro.gsf)	;
398
+/Hershey-Plain-Simplex-Bold		(hrplsb.gsf)	;
399
+/Hershey-Plain-Simplex-Bold-Oblique	(hrplsbo.gsf)	;
400
+/Hershey-Plain-Simplex-Oblique		(hrplso.gsf)	;	% 5066566
401
+
402
+% This font, and only this font among the Hershey fonts, uses
403
+% the SymbolEncoding.
404
+
405
+/Hershey-Symbol				(hrsyr.gsf)	;	% 5066567

+ 486
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap.Sol View File

@@ -0,0 +1,486 @@
1
+% Copyright (C) 1996, 1999 Aladdin Enterprises.  All rights reserved.
2
+% 
3
+% This software is provided AS-IS with no warranty, either express or
4
+% implied.
5
+% 
6
+% This software is distributed under license and may not be copied,
7
+% modified or distributed except as expressly authorized under the terms
8
+% of the license contained in the file LICENSE in this distribution.
9
+% 
10
+% For more information about licensing, please refer to
11
+% http://www.ghostscript.com/licensing/. For information on
12
+% commercial licensing, go to http://www.artifex.com/licensing/ or
13
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
+% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
+
16
+% $Id: Fontmap.Sol 6300 2005-12-28 19:56:24Z giles $
17
+% Fontmap.Solaris - Ghostscript Fontmap for Solaris 2.3 and above
18
+% ===============================================================
19
+%
20
+% The Solaris 2.3 (and above) operating system from Sun Microsystems comes with
21
+% Display Postscript (DPS), including certain Type1 and Type3 PostScript fonts.
22
+% Using these fonts instead of the default Ghostscript fonts greatly improves
23
+% the visual quality of Ghostscript rendered documents, especially at larger
24
+% font sizes. You should definately use these fonts if you have Solaris 2.3 or
25
+% above.
26
+%
27
+% To use the Solaris 2 DPS fonts, simply copy this file (Fontmap.Solaris) to
28
+%
29
+%   /usr/local/lib/Ghostscript/VERSION/Fontmap
30
+%   (where VERSION is the version number of Ghostscript, eg: 3.33)
31
+%
32
+% and set the environment variable GS_LIB as follows:
33
+%
34
+%   GS_LIB=/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/Type3
35
+%   export GS_LIB
36
+%
37
+% You can use /usr/openwin/lib/fonts/Type1/outline instead if you like, it
38
+% makes no difference (the files in /usr/openwin/lib/fonts/Type1 are symlinks
39
+% into /usr/openwin/lib/fonts/Type1/outline).
40
+%
41
+% Instead of setting GS_LIB, you could add the above directories to
42
+% GS_LIB_DEFAULT in your makefile before building Ghostscript.
43
+%
44
+%
45
+% IMPORTANT NOTE
46
+% ==============
47
+%
48
+% Note that simply setting GS_FONTPATH may not work, because for some reason
49
+% some versions of gs can't seem to find any fonts in
50
+% /usr/openwin/lib/X11/fonts/Type1/outline.
51
+% It says: "15 files, 15 scanned, 0 new fonts".
52
+%
53
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
54
+
55
+% ----------------------------------------------------------------
56
+
57
+% This file is a catalog of fonts known to Ghostscript.  Any font
58
+% that is to be loaded automatically when named must be in this catalog,
59
+% except for fonts that Ghostscript finds automatically in directories
60
+% named in the GS_FONTPATH environment variable.
61
+
62
+% Each font has an entry consisting of three items:
63
+%
64
+%	- The name by which the font is known inside Ghostscript
65
+%	(a Ghostscript name preceded by a `/', or a string enclosed
66
+%	in parentheses).  This is used to find the file from which
67
+%	a font of a given name should be loaded.
68
+%
69
+%	- Information depending on whether this is a real font or a
70
+%	font alias:
71
+%
72
+%		- For real fonts, the name of the Ghostscript font
73
+%		file (a Ghostscript string, enclosed in parentheses).
74
+%		The filename should include the extension, which (by
75
+%		convention) is `.gsf'.  `.pfa' and `.pfb' files are
76
+%		also usable as fonts for Ghostscript.
77
+%
78
+%		- For font aliases, the name of the font which should
79
+%		be used when this one is requested, preceded by a
80
+%		`/'.  See the entry for Charter below for an example.
81
+%		Note that an alias name cannot be enclosed in parentheses.
82
+%
83
+%	- At least one space or tab, and a terminating semicolon.
84
+
85
+% Because of limitations in the MS-DOS environment, Ghostscript font
86
+% file names must be no more than 8 characters long, must consist only
87
+% of LOWER CASE letters, digits, and underscores, and must start with a
88
+% letter.  Font names, on the other hand, need only obey the syntax of
89
+% names in the Ghostscript language, which is much more liberal.
90
+
91
+% The following table is actually a Ghostscript data structure.
92
+% If you add new entries, be sure to copy the punctuation accurately;
93
+% in particular, you must leave at least one space or tab between each
94
+% field in the entry.  Also, please read fonts.doc for important information
95
+% about font names.
96
+
97
+% Note that .pfa and .pfb fonts are compatible with Adobe Type Manager
98
+% and other programs that don't include full PostScript interpreters,
99
+% as well as with PostScript interpreters; .gsf fonts are compatible with
100
+% PostScript interpreters, but not with ATM or similar programs.
101
+
102
+% 
103
+%
104
+% Fonts contributed by:
105
+%	URW++ Design and Development Incorporated
106
+%	Poppenbuetteler Bogen 29A
107
+%	D-22399 Hamburg
108
+%	Germany
109
+%	tel. +49 (40) 60 60 50
110
+%	fax +49 (40) 60 60 51 11
111
+%	http://www.urwpp.de
112
+% for distribution under the GNU License and Aladdin Free Public License.
113
+% See the notice at the head of this Fontmap file for licensing terms.
114
+% Each of these fonts is individually covered by the license:
115
+% for licensing purposes, they are not "part of" any larger entity.
116
+% The following notice applies to these fonts:
117
+%
118
+%	Copyright URW Software, Copyright 1994 by URW.
119
+%
120
+
121
+% Actual fonts
122
+
123
+/URWBookmanL-DemiBold	(b018015l.pfb)	;
124
+/URWBookmanL-DemiBoldItal	(b018035l.pfb)	;
125
+/URWBookmanL-Ligh	(b018012l.pfb)	;
126
+/URWBookmanL-LighItal	(b018032l.pfb)	;
127
+
128
+/NimbusMonL-Regu	(n022003l.pfb)	;
129
+/NimbusMonL-ReguObli	(n022023l.pfb)	;
130
+/NimbusMonL-Bold	(n022004l.pfb)	;
131
+/NimbusMonL-BoldObli	(n022024l.pfb)	;
132
+
133
+/URWGothicL-Book	(a010013l.pfb)	;
134
+/URWGothicL-BookObli	(a010033l.pfb)	;
135
+/URWGothicL-Demi	(a010015l.pfb)	;
136
+/URWGothicL-DemiObli	(a010035l.pfb)	;
137
+
138
+/NimbusSanL-Regu	(n019003l.pfb)	;
139
+/NimbusSanL-ReguItal	(n019023l.pfb)	;
140
+/NimbusSanL-Bold	(n019004l.pfb)	;
141
+/NimbusSanL-BoldItal	(n019024l.pfb)	;
142
+
143
+/NimbusSanL-ReguCond	(n019043l.pfb)	;
144
+/NimbusSanL-ReguCondItal	(n019063l.pfb)	;
145
+/NimbusSanL-BoldCond	(n019044l.pfb)	;
146
+/NimbusSanL-BoldCondItal	(n019064l.pfb)	;
147
+
148
+/URWPalladioL-Roma	(p052003l.pfb)	;
149
+/URWPalladioL-Ital	(p052023l.pfb)	;
150
+/URWPalladioL-Bold	(p052004l.pfb)	;
151
+/URWPalladioL-BoldItal	(p052024l.pfb)	;
152
+
153
+/CenturySchL-Roma	(c059013l.pfb)	;
154
+/CenturySchL-Ital	(c059033l.pfb)	;
155
+/CenturySchL-Bold	(c059016l.pfb)	;
156
+/CenturySchL-BoldItal	(c059036l.pfb)	;
157
+
158
+/NimbusRomNo9L-Regu	(n021003l.pfb)	;
159
+/NimbusRomNo9L-ReguItal	(n021023l.pfb)	;
160
+/NimbusRomNo9L-Medi	(n021004l.pfb)	;
161
+/NimbusRomNo9L-MediItal	(n021024l.pfb)	;
162
+
163
+/StandardSymL	(s050000l.pfb)	;
164
+
165
+/URWChanceryL-MediItal	(z003034l.pfb)	;
166
+
167
+/Dingbats	(d050000l.pfb)	;
168
+
169
+% Aliases
170
+
171
+/Bookman-Demi			/URWBookmanL-DemiBold	;
172
+/Bookman-DemiItalic		/URWBookmanL-DemiBoldItal	;
173
+/Bookman-Light			/URWBookmanL-Ligh	;
174
+/Bookman-LightItalic		/URWBookmanL-LighItal	;
175
+
176
+/Courier			/NimbusMonL-Regu	;
177
+/Courier-Oblique		/NimbusMonL-ReguObli	;
178
+/Courier-Bold			/NimbusMonL-Bold	;
179
+/Courier-BoldOblique		/NimbusMonL-BoldObli	;
180
+
181
+/AvantGarde-Book		/URWGothicL-Book	;
182
+/AvantGarde-BookOblique		/URWGothicL-BookObli	;
183
+/AvantGarde-Demi		/URWGothicL-Demi	;
184
+/AvantGarde-DemiOblique		/URWGothicL-DemiObli	;
185
+
186
+% Solaris 2 DPS has Helvetica as a Type1 font.
187
+%/Helvetica			/NimbusSanL-Regu	;
188
+%/Helvetica-Oblique		/NimbusSanL-ReguItal	;
189
+%/Helvetica-Bold			/NimbusSanL-Bold	;
190
+%/Helvetica-BoldOblique		/NimbusSanL-BoldItal	;
191
+
192
+/Helvetica-Narrow		/NimbusSanL-ReguCond	;
193
+/Helvetica-Narrow-Oblique	/NimbusSanL-ReguCondItal	;
194
+/Helvetica-Narrow-Bold		/NimbusSanL-BoldCond	;
195
+/Helvetica-Narrow-BoldOblique	/NimbusSanL-BoldCondItal	;
196
+
197
+/Palatino-Roman			/URWPalladioL-Roma	;
198
+/Palatino-Italic		/URWPalladioL-Ital	;
199
+/Palatino-Bold			/URWPalladioL-Bold	;
200
+/Palatino-BoldItalic		/URWPalladioL-BoldItal	;
201
+
202
+/NewCenturySchlbk-Roman		/CenturySchL-Roma	;
203
+/NewCenturySchlbk-Italic	/CenturySchL-Ital	;
204
+/NewCenturySchlbk-Bold		/CenturySchL-Bold	;
205
+/NewCenturySchlbk-BoldItalic	/CenturySchL-BoldItal	;
206
+
207
+% Solaris 2 DPS has Times as a Type1 font.
208
+%/Times-Roman			/NimbusRomNo9L-Regu	;
209
+%/Times-Italic			/NimbusRomNo9L-ReguItal	;
210
+%/Times-Bold			/NimbusRomNo9L-Medi	;
211
+%/Times-BoldItalic		/NimbusRomNo9L-MediItal	;
212
+
213
+% Solaris 2 DPS has Symbol as a Type1 font.
214
+%/Symbol				/StandardSymL	;
215
+
216
+/ZapfChancery-MediumItalic	/URWChanceryL-MediItal	;
217
+
218
+/ZapfDingbats			/Dingbats	;
219
+
220
+% 
221
+%
222
+% Type 1 fonts contributed to the X11R5 distribution.
223
+%
224
+
225
+% The following notice accompanied the Charter fonts.
226
+%
227
+% (c) Copyright 1989-1992, Bitstream Inc., Cambridge, MA.
228
+%
229
+% You are hereby granted permission under all Bitstream propriety rights
230
+% to use, copy, modify, sublicense, sell, and redistribute the 4 Bitstream
231
+% Charter (r) Type 1 outline fonts and the 4 Courier Type 1 outline fonts
232
+% for any purpose and without restriction; provided, that this notice is
233
+% left intact on all copies of such fonts and that Bitstream's trademark
234
+% is acknowledged as shown below on all unmodified copies of the 4 Charter
235
+% Type 1 fonts.
236
+%
237
+% BITSTREAM CHARTER is a registered trademark of Bitstream Inc.
238
+
239
+/CharterBT-Roman		(bchr.pfa)	;
240
+/CharterBT-Italic		(bchri.pfa)	;
241
+/CharterBT-Bold			(bchb.pfa)	;
242
+/CharterBT-BoldItalic		(bchbi.pfa)	;
243
+
244
+% Aliases
245
+
246
+/Charter-Roman			/CharterBT-Roman	;
247
+/Charter-Italic			/CharterBT-Italic	;
248
+/Charter-Bold			/CharterBT-Bold		;
249
+/Charter-BoldItalic		/CharterBT-BoldItalic	;
250
+
251
+% The following notice accompanied the Utopia font:
252
+%
253
+%   Permission to use, reproduce, display and distribute the listed
254
+%   typefaces is hereby granted, provided that the Adobe Copyright notice
255
+%   appears in all whole and partial copies of the software and that the
256
+%   following trademark symbol and attribution appear in all unmodified
257
+%   copies of the software:
258
+%
259
+%           Copyright (c) 1989 Adobe Systems Incorporated
260
+%           Utopia (R)
261
+%           Utopia is a registered trademark of Adobe Systems Incorporated
262
+%
263
+%   The Adobe typefaces (Type 1 font program, bitmaps and Adobe Font
264
+%   Metric files) donated are:
265
+%
266
+%           Utopia Regular
267
+%           Utopia Italic
268
+%           Utopia Bold
269
+%           Utopia Bold Italic
270
+
271
+/Utopia-Regular		(putr.pfa)	;
272
+/Utopia-Italic		(putri.pfa)	;
273
+/Utopia-Bold		(putb.pfa)	;
274
+/Utopia-BoldItalic	(putbi.pfa)	;
275
+
276
+% 
277
+%
278
+% Fonts contributed by URW GmbH for distribution under the GNU License.
279
+% The following notice accompanied these fonts:
280
+%
281
+% U004006T URW Grotesk 2031 Bold PostScript Type 1 Font Program
282
+% U003043T URW Antiqua 2051 Regular Condensed PostScript Type 1 Font Program
283
+%
284
+% Copyright (c) 1992 URW GmbH, Hamburg, Germany
285
+%
286
+% This program is free software; you can redistribute it and/or modify
287
+% it under the terms of the GNU General Public License as published by
288
+% the Free Software Foundation; either version 2 of the License, or
289
+% (at your option) later version.
290
+%
291
+% This program is distributed in the hope that it will be useful,
292
+% but WITHOUT ANY WARRANTY; wihtout even the implied warranty of
293
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
294
+% See the GNU General Public License for more details.
295
+%
296
+% You should have received a copy of the GNU General Public License
297
+% along with this program; if not, write to the Free Software
298
+% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 U.S.A.
299
+%
300
+% Address:
301
+% URW GmbH
302
+% PC Support
303
+% Harksheider Strasse 102
304
+% 2000 Hamburg 65
305
+% Germany
306
+% Phone: +49 40 60 60 50       (Reception)
307
+% Phone: +49 40 60 60 52 30   (PC Support)
308
+% Fax    : +49 40 60 60 52 52
309
+%
310
+
311
+/URWAntiquaT-RegularCondensed	(u003043t.gsf)	;
312
+/URWGroteskT-Bold		(u004006t.gsf)	;
313
+
314
+% 
315
+%
316
+% Shareware Kana fonts.  These are subject to the following notice:
317
+%
318
+% These copyrighted fonts were developed by Kevin Hartig. Permission is
319
+% granted to freely distribute them in entirety along with this statement.
320
+% This is shareware. If you decide to use these fonts please contribute
321
+% $10 US to help support further freeware and shareware software development.
322
+% Questions and comments may be sent to:
323
+%
324
+% hartig@fsl.noaa.gov
325
+% khartig@nyx.cs.du.edu
326
+%
327
+% Kevin Hartig
328
+% 1126 Collyer Street
329
+% Longmont, CO 80501 USA
330
+% 
331
+% copyright 1993.
332
+
333
+% Hiragana and Katakana fonts.  The character names are inappropriate,
334
+% and the encoding is probably not related to any known standard.
335
+
336
+/Calligraphic-Hiragana		(fhirw.gsf)	;
337
+/Calligraphic-Katakana		(fkarw.gsf)	;
338
+
339
+% 
340
+%
341
+% Public-domain fonts.  These have no copyright, and are of unknown quality.
342
+
343
+% Cyrillic fonts.  The character names are inappropriate,
344
+% and the encoding is probably not related to any known standard.
345
+
346
+/Shareware-Cyrillic-Regular	(fcyr.gsf)	;
347
+/Shareware-Cyrillic-Italic	(fcyri.gsf)	;
348
+
349
+% Aliases
350
+/Cyrillic			/Cyrillic-Regular	;
351
+/Cyrillic-Regular		/Shareware-Cyrillic-Regular	;
352
+/Cyrillic-Italic		/Shareware-Cyrillic-Italic	;
353
+
354
+% 
355
+%
356
+% Fonts converted from Hershey outlines.  These are constructed and
357
+% maintained manually.  These are also in the public domain.
358
+%
359
+% The suggested UniqueID's and filenames are constructed differently for
360
+% these than for the ones above, because of the strange way that the Hershey
361
+% fonts were constructed.  The scheme for these looks like:
362
+%
363
+% 42TTXY0
364
+%
365
+% TT = typeface, X = ``class'', Y = variation
366
+%
367
+% The typeface names and numbers are listed in fonts.mak.
368
+%
369
+% class:
370
+% 0 = normal			= r
371
+% 1 = simplex			= s
372
+% 2 = complex			= c
373
+% 3 = triplex			= t
374
+% 4 = duplex			= d
375
+%
376
+% variation:
377
+% 0 = normal			(omitted)
378
+% 1 = oblique			= o
379
+% 2 = italic			= i
380
+% 3 = bold			= b
381
+% 4 = bold oblique		= bo
382
+% 5 = bold italic		= bi
383
+%
384
+
385
+% Fonts created by Thomas Wolff <wolff@inf.fu-berlin.de>, by adding
386
+% accents, accented characters, and various other non-alphabetics
387
+% to the original Hershey fonts.  These are "freeware", not to be sold.
388
+
389
+/Hershey-Gothic-English		(hrger.pfa)	;	% 5066533
390
+/Hershey-Gothic-German		(hrgrr.pfa)	;
391
+/Hershey-Gothic-Italian		(hritr.pfa)	; 
392
+
393
+/Hershey-Plain-Duplex		(hrpld.pfa)	;
394
+/Hershey-Plain-Duplex-Italic	(hrpldi.pfa)	;
395
+/Hershey-Plain-Triplex		(hrplt.pfa)	;
396
+/Hershey-Plain-Triplex-Italic	(hrplti.pfa)	;
397
+
398
+/Hershey-Script-Complex		(hrscc.pfa)	;
399
+/Hershey-Script-Simplex		(hrscs.pfa)	;	% 5066541
400
+
401
+% Fonts created algorithmically from the above.
402
+
403
+/Hershey-Gothic-English-Bold		(hrgerb.gsf)	;	% 5066542
404
+/Hershey-Gothic-English-Oblique		(hrgero.gsf)	;
405
+/Hershey-Gothic-English-SemiBold	(hrgerd.gsf)	;
406
+/Hershey-Gothic-German-Bold		(hrgrrb.gsf)	;
407
+/Hershey-Gothic-German-Oblique		(hrgrro.gsf)	;
408
+/Hershey-Gothic-Italian-Bold		(hritrb.gsf)	;
409
+/Hershey-Gothic-Italian-Oblique		(hritro.gsf)	;
410
+
411
+/Hershey-Plain-Duplex-Bold		(hrpldb.gsf)	;
412
+/Hershey-Plain-Duplex-Bold-Italic	(hrpldbi.gsf)	;
413
+/Hershey-Plain-Triplex-Bold		(hrpltb.gsf)	;
414
+/Hershey-Plain-Triplex-Bold-Italic	(hrpltbi.gsf)	;
415
+
416
+/Hershey-Script-Complex-Bold		(hrsccb.gsf)	;
417
+/Hershey-Script-Complex-Oblique		(hrscco.gsf)	;
418
+/Hershey-Script-Simplex-Bold		(hrscsb.gsf)	;
419
+/Hershey-Script-Simplex-Oblique		(hrscso.gsf)	;	% 5066556
420
+
421
+% Fonts consisting only of characters from the original Hershey
422
+% distribution.  These are Type 3 fonts.
423
+
424
+/Hershey-Greek-Complex			(hrgkc.gsf)	;	% 5066557
425
+/Hershey-Greek-Simplex			(hrgks.gsf)	;
426
+
427
+/Hershey-Plain				(hrplr.gsf)	;
428
+/Hershey-Plain-Simplex			(hrpls.gsf)	;	% 5066560
429
+
430
+% Fonts created algorithmically from the above.
431
+
432
+/Hershey-Plain-Bold			(hrplrb.gsf)	;	% 5066561
433
+/Hershey-Plain-Bold-Oblique		(hrplrbo.gsf)	;
434
+/Hershey-Plain-Oblique			(hrplro.gsf)	;
435
+/Hershey-Plain-Simplex-Bold		(hrplsb.gsf)	;
436
+/Hershey-Plain-Simplex-Bold-Oblique	(hrplsbo.gsf)	;
437
+/Hershey-Plain-Simplex-Oblique		(hrplso.gsf)	;	% 5066566
438
+
439
+% This font, and only this font among the Hershey fonts, uses
440
+% the SymbolEncoding.
441
+
442
+/Hershey-Symbol				(hrsyr.gsf)	;	% 5066567
443
+% 
444
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
445
+%
446
+%  Solaris 2 Display PostScript Type1 and Type3 fonts...
447
+%
448
+
449
+/Helvetica			(Helvetica.pfa)			;
450
+/Helvetica-Bold			(Helvetica-Bold.pfa)		;
451
+/Helvetica-BoldOblique		(Helvetica-BoldOblique.pfa)	;
452
+/Helvetica-Oblique		(Helvetica-Oblique.pfa)		;
453
+
454
+/Symbol				(Symbol.pfa)			;
455
+/SymbolSet			/Symbol				;
456
+
457
+/Times-Bold			(Times-Bold.pfa)		;
458
+/Times-BoldItalic		(Times-BoldItalic.pfa)		;
459
+/Times-Italic			(Times-Italic.pfa)		;
460
+/Times-Roman			(Times-Roman.pfa)		;
461
+/TimesNewRoman			/Times-Roman			;
462
+/TimesNewRoman-Bold		/Times-Bold			;
463
+/TimesNewRoman-BoldItalic	/Times-BoldItalic		;
464
+/TimesNewRoman-Italic		/Times-Italic			;
465
+
466
+/Dijkstra			(Dijkstra.ps)			;
467
+
468
+/Hershey-Cyrillic		(HrshCyr.ps)			;
469
+
470
+/Hershey-Gothic			(HrshGoth.ps)			;
471
+
472
+/Hershey-Greek			(HrshGrk.ps)			;
473
+/Hershey-Greek-Narrow		(HrshGrkN.ps)			;
474
+/Hershey-Greekp			(HrshGrkp.ps)			;
475
+
476
+/Hershey-Italic			(HrshI.ps)			;
477
+/Hershey-Italic-Narrow		(HrshIN.ps)			;
478
+/Hershey-Italic-Wide		(HrshIW.ps)			;
479
+/Hershey-Roman			(HrshRom.ps)			;
480
+/Hershey-Roman-Narrow		(HrshRomN.ps)			;
481
+/Hershey-Roman-Wide		(HrshRomW.ps)			;
482
+/Hershey-Romand			(HrshRomd.ps)			;
483
+/Hershey-Romanp			(HrshRomp.ps)			;
484
+
485
+/Hershey-Script			(HrshScr.ps)			;
486
+/Hershey-Script-Narrow		(HrshScrN.ps)			;

+ 146
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap.Ult View File

@@ -0,0 +1,146 @@
1
+%    Copyright (C) 1990, 1995, 1999 Aladdin Enterprises.  All rights reserved.
2
+%
3
+% This software is provided AS-IS with no warranty, either express or
4
+% implied.
5
+% 
6
+% This software is distributed under license and may not be copied,
7
+% modified or distributed except as expressly authorized under the terms
8
+% of the license contained in the file LICENSE in this distribution.
9
+% 
10
+% For more information about licensing, please refer to
11
+% http://www.ghostscript.com/licensing/. For information on
12
+% commercial licensing, go to http://www.artifex.com/licensing/ or
13
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
+% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
+
16
+% $Id: Fontmap.Ult 6300 2005-12-28 19:56:24Z giles $
17
+% Fontmap.Ult is derived from the standard Fontmap file distributed with
18
+% ghostscript; for credits and sources see that file.  The modifications here
19
+% are valid for ULTRIX 4.3, and consist of defining some fonts and font
20
+% aliases as the licensed fontfiles included in ULTRIX for use on ULTRIX
21
+% workstations, which give better quality than the free fontfiles available
22
+% for ghostscript.  Under ULTRIX 4.3 the licensed fontfiles are found in
23
+%
24
+%	/usr/lib/DPS/outline/decwin
25
+%
26
+% so that directory must either be built into ghostscript by redefining
27
+% GS_LIB_DEFAULT when ghostscript is compiled, or else by defining an
28
+% environmental variable GS_LIB_DEFAULT, which contains it as an element of
29
+% the path, when running ghostscript.  For instance, under the KornShell
30
+%
31
+%	GS_LIB_DEFAULT=/usr/gs:/usr/lib/DPS/outline/decwin:/usr/gs/fonts
32
+%	export GS_LIB_DEFAULT
33
+%
34
+% Peter Kaiser (kaiser@acm.org) 27 January 1995
35
+% Updated by L. Peter Deutsch (ghost@aladdin.com) 5 January 1999
36
+%   to include correct aliasing for the Bitstream Charter fonts
37
+
38
+/AvantGarde-Book			(AvantGarde-Book)		;
39
+/AvantGarde-BookOblique			(AvantGarde-BookOblique)	;
40
+/AvantGarde-Demi			(AvantGarde-Demi)		;
41
+/AvantGarde-DemiOblique			(AvantGarde-DemiOblique)	;
42
+/Courier				(Courier)			;
43
+/Courier-Bold				(Courier-Bold)			;
44
+/Courier-BoldOblique			(Courier-BoldOblique)		;
45
+/Courier-Oblique			(Courier-Oblique)		;
46
+/Helvetica				(Helvetica)			;
47
+/Helvetica-Bold				(Helvetica-Bold)		;
48
+/Helvetica-BoldOblique			(Helvetica-BoldOblique)		;
49
+/Helvetica-Oblique			(Helvetica-Oblique)		;
50
+/LubalinGraph-Book			(LubalinGraph-Book)		;
51
+/LubalinGraph-BookOblique		(LubalinGraph-BookOblique)	;
52
+/LubalinGraph-Demi			(LubalinGraph-Demi)		;
53
+/LubalinGraph-DemiOblique		(LubalinGraph-DemiOblique)	;
54
+/NewCenturySchlbk-Bold			(NewCenturySchlbk-Bold)		;
55
+/NewCenturySchlbk-BoldItalic		(NewCenturySchlbk-BoldItalic)	;
56
+/NewCenturySchlbk-Italic		(NewCenturySchlbk-Italic)	;
57
+/NewCenturySchlbk-Roman			(NewCenturySchlbk-Roman)	;
58
+/Souvenir-Demi				(Souvenir-Demi)			;
59
+/Souvenir-DemiItalic			(Souvenir-DemiItalic)		;
60
+/Souvenir-Light				(Souvenir-Light)		;
61
+/Souvenir-LightItalic			(Souvenir-LightItalic)		;
62
+/Symbol					(Symbol)			;
63
+/Times-Bold				(Times-Bold)			;
64
+/Times-BoldItalic			(Times-BoldItalic)		;
65
+/Times-Italic				(Times-Italic)			;
66
+/Times-Roman				(Times-Roman)			;
67
+
68
+% Fonts distributed as part of ghostscript
69
+
70
+/Bookman-Demi				(pbkd.gsf)	;
71
+/Bookman-DemiItalic			(pbkdi.gsf)	;
72
+/Bookman-Light				(pbkl.gsf)	;
73
+/Bookman-LightItalic			(pbkli.gsf)	;
74
+/Calligraphic-Hiragana			(fhirw.gsf)	;
75
+/Calligraphic-Katakana			(fkarw.gsf)	;
76
+/CharterBT-Bold				(bchb.pfa)	;
77
+/CharterBT-BoldItalic			(bchbi.pfa)	;
78
+/CharterBT-Italic			(bchri.pfa)	;
79
+/CharterBT-Roman			(bchr.pfa)	;
80
+/Hershey-Gothic-English			(hrger.pfa)	;
81
+/Hershey-Gothic-English-Bold		(hrgerb.gsf)	;
82
+/Hershey-Gothic-English-Oblique		(hrgero.gsf)	;
83
+/Hershey-Gothic-English-SemiBold	(hrgerd.gsf)	;
84
+/Hershey-Gothic-German			(hrgrr.pfa)	;
85
+/Hershey-Gothic-German-Bold		(hrgrrb.gsf)	;
86
+/Hershey-Gothic-German-Oblique		(hrgrro.gsf)	;
87
+/Hershey-Gothic-Italian			(hritr.pfa)	;
88
+/Hershey-Gothic-Italian-Bold		(hritrb.gsf)	;
89
+/Hershey-Gothic-Italian-Oblique		(hritro.gsf)	;
90
+/Hershey-Greek-Complex			(hrgkc.gsf)	;
91
+/Hershey-Greek-Simplex			(hrgks.gsf)	;
92
+/Hershey-Plain				(hrplr.gsf)	;
93
+/Hershey-Plain-Bold			(hrplrb.gsf)	;
94
+/Hershey-Plain-Bold-Oblique		(hrplrbo.gsf)	;
95
+/Hershey-Plain-Duplex			(hrpld.pfa)	;
96
+/Hershey-Plain-Duplex-Bold		(hrpldb.gsf)	;
97
+/Hershey-Plain-Duplex-Bold-Italic	(hrpldbi.gsf)	;
98
+/Hershey-Plain-Duplex-Italic		(hrpldi.pfa)	;
99
+/Hershey-Plain-Oblique			(hrplro.gsf)	;
100
+/Hershey-Plain-Simplex			(hrpls.gsf)	;
101
+/Hershey-Plain-Simplex-Bold		(hrplsb.gsf)	;
102
+/Hershey-Plain-Simplex-Bold-Oblique	(hrplsbo.gsf)	;
103
+/Hershey-Plain-Simplex-Oblique		(hrplso.gsf)	;
104
+/Hershey-Plain-Triplex			(hrplt.pfa)	;
105
+/Hershey-Plain-Triplex-Bold		(hrpltb.gsf)	;
106
+/Hershey-Plain-Triplex-Bold-Italic	(hrpltbi.gsf)	;
107
+/Hershey-Plain-Triplex-Italic		(hrplti.pfa)	;
108
+/Hershey-Script-Complex			(hrscc.pfa)	;
109
+/Hershey-Script-Complex-Bold		(hrsccb.gsf)	;
110
+/Hershey-Script-Complex-Oblique		(hrscco.gsf)	;
111
+/Hershey-Script-Simplex			(hrscs.pfa)	;
112
+/Hershey-Script-Simplex-Bold		(hrscsb.gsf)	;
113
+/Hershey-Script-Simplex-Oblique		(hrscso.gsf)	;
114
+/Hershey-Symbol				(hrsyr.gsf)	;
115
+/NimbusRomanNo9L-Regular		(n021003l.gsf)	;
116
+/NimbusSansL-Regular			(n019003l.gsf)	;
117
+/Palatino-Bold				(pplb.gsf)	;
118
+/Palatino-BoldItalic			(pplbi.gsf)	;
119
+/Palatino-Italic			(pplri.gsf)	;
120
+/Palatino-Roman				(pplr.gsf)	;
121
+/Shareware-Cyrillic-Italic		(fcyri.gsf)	;
122
+/Shareware-Cyrillic-Regular		(fcyr.gsf)	;
123
+/URWAntiquaT-RegularCondensed		(u003043t.gsf)	;
124
+/URWGroteskT-Bold			(u004006t.gsf)	;
125
+/Utopia-Bold				(putb.pfa)	;
126
+/Utopia-BoldItalic			(putbi.pfa)	;
127
+/Utopia-Italic				(putri.pfa)	;
128
+/Utopia-Regular				(putr.pfa)	;
129
+/ZapfChancery				(zcr.gsf)	;
130
+/ZapfChancery-Bold			(zcb.gsf)	;
131
+/ZapfChancery-Oblique			(zcro.gsf)	;
132
+/ZapfDingbats				(pzdr.gsf)	;
133
+
134
+% Font aliases
135
+
136
+/Charter-Roman			/CharterBT-Roman	;
137
+/Charter-Italic			/CharterBT-Italic	;
138
+/Charter-Bold			/CharterBT-Bold		;
139
+/Charter-BoldItalic		/CharterBT-BoldItalic	;
140
+/Courier-BoldItalic			/Courier-BoldOblique		;
141
+/Courier-Italic				/Courier-Oblique		;
142
+/Cyrillic				/Shareware-Cyrillic-Regular	;
143
+/Cyrillic-Italic			/Shareware-Cyrillic-Italic	;
144
+/Cyrillic-Regular			/Shareware-Cyrillic-Regular	;
145
+/Helvetica-Narrow-Bold			/Helvetica-Narrow		;
146
+/ZapfChancery-MediumItalic		/ZapfChancery-Oblique		;

+ 424
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Fontmap.VMS View File

@@ -0,0 +1,424 @@
1
+% fontmap.vms - Ghostscript fontmap for VAX/VMS systems with DECwindows/Motif.
2
+%
3
+% Mathog, 14-SEP-2000.  Modified slightly from that provided by 6.01.
4
+% Changed to use Courier font from Decwindows instead of Ghostscript
5
+% The hershey fonts are listed, but they are not constructed during a regular
6
+% build of the package.
7
+%
8
+% **************************
9
+%Uses all the XDPS Outline fonts (Type 1 fonts) provided with Motif.
10
+%
11
+%XDPS on VAX/VMS does not have Bookman, Palatino and ZapfChancery fonts, so
12
+%we still have to use the Ghostscript fonts for those. Helvetica-Narrow is also
13
+%missing. But then you get the LubalinGraph and Souvenir fonts which are just
14
+%beautiful!
15
+
16
+/AvantGarde-Book
17
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]AVANTGARDE-BOOK.XDPS$OUTLINE) ;
18
+/AvantGarde-BookOblique
19
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]AVANTGARDE-BOOKOBLIQUE.XDPS$OUTLINE) ;
20
+/AvantGarde-Demi
21
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]AVANTGARDE-DEMI.XDPS$OUTLINE) ;
22
+/AvantGarde-DemiOblique
23
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]AVANTGARDE-DEMIOBLIQUE.XDPS$OUTLINE) ;
24
+/Courier-Bold
25
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]COURIER-BOLD.XDPS$OUTLINE) ;
26
+/Courier-BoldOblique
27
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]COURIER-BOLDOBLIQUE.XDPS$OUTLINE) ;
28
+/Courier-Oblique
29
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]COURIER-OBLIQUE.XDPS$OUTLINE) ;
30
+/Courier
31
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]COURIER.XDPS$OUTLINE) ;
32
+/Helvetica-Bold
33
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]HELVETICA-BOLD.XDPS$OUTLINE) ;
34
+/Helvetica-BoldOblique
35
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]HELVETICA-BOLDOBLIQUE.XDPS$OUTLINE) ;
36
+/Helvetica-Oblique
37
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]HELVETICA-OBLIQUE.XDPS$OUTLINE) ;
38
+/Helvetica
39
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]HELVETICA.XDPS$OUTLINE) ;
40
+/LubalinGraph-Book
41
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]LUBALINGRAPH-BOOK.XDPS$OUTLINE) ;
42
+/LubalinGraph-BookOblique
43
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]LUBALINGRAPH-BOOKOBLIQUE.XDPS$OUTLINE) ;
44
+/LubalinGraph-Demi
45
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]LUBALINGRAPH-DEMI.XDPS$OUTLINE) ;
46
+/LubalinGraph-DemiOblique
47
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]LUBALINGRAPH-DEMIOBLIQUE.XDPS$OUTLINE) ;
48
+/NewCenturySchlbk-Roman
49
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]NEWCENTURYSCHLBK-ROMAN.XDPS$OUTLINE) ;
50
+/NewCenturySchlbk-Italic
51
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]NEWCENTURYSCHLBK-ITALIC.XDPS$OUTLINE) ;
52
+/NewCenturySchlbk-Bold
53
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]NEWCENTURYSCHLBK-BOLD.XDPS$OUTLINE) ;
54
+/NewCenturySchlbk-BoldItalic
55
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]NEWCENTURYSCHLBK-BOLDITALIC.XDPS$OUTLINE) ;
56
+/Souvenir-Light
57
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]SOUVENIR-LIGHT.XDPS$OUTLINE) ;
58
+/Souvenir-LightItalic
59
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]SOUVENIR-LIGHTITALIC.XDPS$OUTLINE) ;
60
+/Souvenir-Demi
61
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]SOUVENIR-DEMI.XDPS$OUTLINE) ;
62
+/Souvenir-DemiItalic
63
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]SOUVENIR-DEMIITALIC.XDPS$OUTLINE) ;
64
+%If you want the Apple symbol (SIC!) then remove the comment (%)
65
+%in front of character 240 in the following file (he he he)
66
+/Symbol
67
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]SYMBOL.XDPS$OUTLINE) ;
68
+/Times-Roman
69
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]TIMES-ROMAN.XDPS$OUTLINE) ;
70
+/Times-Italic
71
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]TIMES-ITALIC.XDPS$OUTLINE) ;
72
+/Times-Bold
73
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]TIMES-BOLD.XDPS$OUTLINE) ;
74
+/Times-BoldItalic
75
+    (SYS$COMMON:[SYSFONT.XDPS.OUTLINE]TIMES-BOLDITALIC.XDPS$OUTLINE) ;
76
+
77
+% 
78
+%
79
+% Fonts contributed by:
80
+%	URW++ Design and Development Incorporated
81
+%	Poppenbuetteler Bogen 29A
82
+%	D-22399 Hamburg
83
+%	Germany
84
+%	tel. +49 (40) 60 60 50
85
+%	fax +49 (40) 60 60 51 11
86
+%	http://www.urwpp.de
87
+% for distribution under the GNU License and Aladdin Free Public License.
88
+% See the notice at the head of this Fontmap file for licensing terms.
89
+% Each of these fonts is individually covered by the license:
90
+% for licensing purposes, they are not "part of" any larger entity.
91
+% The following notice applies to these fonts:
92
+%
93
+%	Copyright URW Software, Copyright 1994 by URW.
94
+%
95
+
96
+% Actual fonts
97
+
98
+/URWBookmanL-DemiBold	(b018015l.pfb)	;
99
+/URWBookmanL-DemiBoldItal	(b018035l.pfb)	;
100
+/URWBookmanL-Ligh	(b018012l.pfb)	;
101
+/URWBookmanL-LighItal	(b018032l.pfb)	;
102
+
103
+/NimbusMonL-Regu	(n022003l.pfb)	;
104
+/NimbusMonL-ReguObli	(n022023l.pfb)	;
105
+/NimbusMonL-Bold	(n022004l.pfb)	;
106
+/NimbusMonL-BoldObli	(n022024l.pfb)	;
107
+
108
+/URWGothicL-Book	(a010013l.pfb)	;
109
+/URWGothicL-BookObli	(a010033l.pfb)	;
110
+/URWGothicL-Demi	(a010015l.pfb)	;
111
+/URWGothicL-DemiObli	(a010035l.pfb)	;
112
+
113
+/NimbusSanL-Regu	(n019003l.pfb)	;
114
+/NimbusSanL-ReguItal	(n019023l.pfb)	;
115
+/NimbusSanL-Bold	(n019004l.pfb)	;
116
+/NimbusSanL-BoldItal	(n019024l.pfb)	;
117
+
118
+/NimbusSanL-ReguCond	(n019043l.pfb)	;
119
+/NimbusSanL-ReguCondItal	(n019063l.pfb)	;
120
+/NimbusSanL-BoldCond	(n019044l.pfb)	;
121
+/NimbusSanL-BoldCondItal	(n019064l.pfb)	;
122
+
123
+/URWPalladioL-Roma	(p052003l.pfb)	;
124
+/URWPalladioL-Ital	(p052023l.pfb)	;
125
+/URWPalladioL-Bold	(p052004l.pfb)	;
126
+/URWPalladioL-BoldItal	(p052024l.pfb)	;
127
+
128
+/CenturySchL-Roma	(c059013l.pfb)	;
129
+/CenturySchL-Ital	(c059033l.pfb)	;
130
+/CenturySchL-Bold	(c059016l.pfb)	;
131
+/CenturySchL-BoldItal	(c059036l.pfb)	;
132
+
133
+/NimbusRomNo9L-Regu	(n021003l.pfb)	;
134
+/NimbusRomNo9L-ReguItal	(n021023l.pfb)	;
135
+/NimbusRomNo9L-Medi	(n021004l.pfb)	;
136
+/NimbusRomNo9L-MediItal	(n021024l.pfb)	;
137
+
138
+/StandardSymL	(s050000l.pfb)	;
139
+
140
+/URWChanceryL-MediItal	(z003034l.pfb)	;
141
+
142
+/Dingbats	(d050000l.pfb)	;
143
+
144
+
145
+% Aliases
146
+
147
+/Bookman-Demi			/URWBookmanL-DemiBold	;
148
+/Bookman-DemiItalic		/URWBookmanL-DemiBoldItal	;
149
+/Bookman-Light			/URWBookmanL-Ligh	;
150
+/Bookman-LightItalic		/URWBookmanL-LighItal	;
151
+
152
+%/Courier			/NimbusMonL-Regu	;
153
+%/Courier-Oblique		/NimbusMonL-ReguObli	;
154
+%/Courier-Bold			/NimbusMonL-Bold	;
155
+%/Courier-BoldOblique		/NimbusMonL-BoldObli	;
156
+
157
+%/AvantGarde-Book		/URWGothicL-Book	;
158
+%/AvantGarde-BookOblique		/URWGothicL-BookObli	;
159
+%/AvantGarde-Demi		/URWGothicL-Demi	;
160
+%/AvantGarde-DemiOblique		/URWGothicL-DemiObli	;
161
+
162
+%/Helvetica			/NimbusSanL-Regu	;
163
+%/Helvetica-Oblique		/NimbusSanL-ReguItal	;
164
+%/Helvetica-Bold			/NimbusSanL-Bold	;
165
+%/Helvetica-BoldOblique		/NimbusSanL-BoldItal	;
166
+
167
+/Helvetica-Narrow		/NimbusSanL-ReguCond	;
168
+/Helvetica-Narrow-Oblique	/NimbusSanL-ReguCondItal	;
169
+/Helvetica-Narrow-Bold		/NimbusSanL-BoldCond	;
170
+/Helvetica-Narrow-BoldOblique	/NimbusSanL-BoldCondItal	;
171
+
172
+/Palatino-Roman			/URWPalladioL-Roma	;
173
+/Palatino-Italic		/URWPalladioL-Ital	;
174
+/Palatino-Bold			/URWPalladioL-Bold	;
175
+/Palatino-BoldItalic		/URWPalladioL-BoldItal	;
176
+
177
+%/NewCenturySchlbk-Roman		/CenturySchL-Roma	;
178
+%/NewCenturySchlbk-Italic	/CenturySchL-Ital	;
179
+%/NewCenturySchlbk-Bold		/CenturySchL-Bold	;
180
+%/NewCenturySchlbk-BoldItalic	/CenturySchL-BoldItal	;
181
+
182
+%/Times-Roman			/NimbusRomNo9L-Regu	;
183
+%/Times-Italic			/NimbusRomNo9L-ReguItal	;
184
+%/Times-Bold			/NimbusRomNo9L-Medi	;
185
+%/Times-BoldItalic		/NimbusRomNo9L-MediItal	;
186
+
187
+%/Symbol				/StandardSymL	;
188
+
189
+/ZapfChancery-MediumItalic	/URWChanceryL-MediItal	;
190
+
191
+/ZapfDingbats			/Dingbats	;
192
+
193
+
194
+% 
195
+%
196
+% Type 1 fonts contributed to the X11R5 distribution.
197
+%
198
+
199
+% The following notice accompanied the Charter fonts.
200
+%
201
+% (c) Copyright 1989-1992, Bitstream Inc., Cambridge, MA.
202
+%
203
+% You are hereby granted permission under all Bitstream propriety rights
204
+% to use, copy, modify, sublicense, sell, and redistribute the 4 Bitstream
205
+% Charter (r) Type 1 outline fonts and the 4 Courier Type 1 outline fonts
206
+% for any purpose and without restriction; provided, that this notice is
207
+% left intact on all copies of such fonts and that Bitstream's trademark
208
+% is acknowledged as shown below on all unmodified copies of the 4 Charter
209
+% Type 1 fonts.
210
+%
211
+% BITSTREAM CHARTER is a registered trademark of Bitstream Inc.
212
+/CharterBT-Roman		(bchr.pfa)	;
213
+/CharterBT-Italic		(bchri.pfa)	;
214
+/CharterBT-Bold			(bchb.pfa)	;
215
+/CharterBT-BoldItalic		(bchbi.pfa)	;
216
+%Charter to CharterBT aliasing
217
+/Charter-Roman			/CharterBT-Roman	;
218
+/Charter-Italic			/CharterBT-Italic	;
219
+/Charter-Bold			/CharterBT-Bold		;
220
+/Charter-BoldItalic		/CharterBT-BoldItalic	;
221
+
222
+% IBM Courier - Copyright (c) IBM Corporation 1990, 1991
223
+%/Courier		(ncrr.pfa)	;
224
+%/Courier-Italic		(ncrri.pfa)	;
225
+%/Courier-Bold		(ncrb.pfa)	;
226
+%/Courier-BoldItalic	(ncrbi.pfa)	;
227
+%Oblique to Italic aliasing
228
+%/Courier-Oblique		/Courier-Italic		;
229
+%/Courier-BoldOblique		/Courier-BoldItalic	;
230
+/Courier-Italic			/Courier-Oblique	;
231
+/Courier-BoldItalic		/Courier-BoldOblique	;
232
+
233
+% The following notice accompanied the Utopia font:
234
+%
235
+%   Permission to use, reproduce, display and distribute the listed
236
+%   typefaces is hereby granted, provided that the Adobe Copyright notice
237
+%   appears in all whole and partial copies of the software and that the
238
+%   following trademark symbol and attribution appear in all unmodified
239
+%   copies of the software:
240
+%
241
+%           Copyright (c) 1989 Adobe Systems Incorporated
242
+%           Utopia (R)
243
+%           Utopia is a registered trademark of Adobe Systems Incorporated
244
+%
245
+%   The Adobe typefaces (Type 1 font program, bitmaps and Adobe Font
246
+%   Metric files) donated are:
247
+%
248
+%           Utopia Regular
249
+%           Utopia Italic
250
+%           Utopia Bold
251
+%           Utopia Bold Italic
252
+
253
+/Utopia-Regular		(putr.gsf)	;
254
+/Utopia-Italic		(putri.gsf)	;
255
+/Utopia-Bold		(putb.gsf)	;
256
+/Utopia-BoldItalic	(putbi.gsf)	;
257
+
258
+% 
259
+%
260
+% Fonts contributed by URW GmbH for distribution under the GNU License.
261
+% The following notice accompanied these fonts:
262
+%
263
+% U004006T URW Grotesk 2031 Bold PostScript Type 1 Font Program
264
+% U003043T URW Antiqua 2051 Regular Condensed PostScript Type 1 Font Program
265
+%
266
+% Copyright (c) 1992 URW GmbH, Hamburg, Germany
267
+%
268
+% This program is free software; you can redistribute it and/or modify
269
+% it under the terms of the GNU General Public License as published by
270
+% the Free Software Foundation; either version 2 of the License, or
271
+% (at your option) later version.
272
+%
273
+% This program is distributed in the hope that it will be useful,
274
+% but WITHOUT ANY WARRANTY; wihtout even the implied warranty of
275
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
276
+% See the GNU General Public License for more details.
277
+%
278
+% You should have received a copy of the GNU General Public License
279
+% along with this program; if not, write to the Free Software
280
+% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 U.S.A.
281
+%
282
+% Address:
283
+% URW GmbH
284
+% PC Support
285
+% Harksheider Strasse 102
286
+% 2000 Hamburg 65
287
+% Germany
288
+% Phone: +49 40 60 60 50       (Reception)
289
+% Phone: +49 40 60 60 52 30   (PC Support)
290
+% Fax    : +49 40 60 60 52 52
291
+%
292
+
293
+/URWAntiquaT-RegularCondensed	(u003043t.gsf)	;
294
+/URWGroteskT-Bold		(u004006t.gsf)	;
295
+
296
+% 
297
+%
298
+% Shareware Kana fonts.  These are subject to the following notice:
299
+%
300
+% These copyrighted fonts were developed by Kevin Hartig. Permission is
301
+% granted to freely distribute them in entirety along with this statement.
302
+% This is shareware. If you decide to use these fonts please contribute
303
+% $10 US to help support further freeware and shareware software development.
304
+% Questions and comments may be sent to:
305
+%
306
+% hartig@fsl.noaa.gov
307
+% khartig@nyx.cs.du.edu
308
+%
309
+% Kevin Hartig
310
+% 1126 Collyer Street
311
+% Longmont, CO 80501 USA
312
+% 
313
+% copyright 1993.
314
+
315
+% Hiragana and Katakana fonts.  The character names are inappropriate,
316
+% and the encoding is probably not related to any known standard.
317
+
318
+/Calligraphic-Hiragana		(fhirw.gsf)	;
319
+/Calligraphic-Katakana		(fkarw.gsf)	;
320
+
321
+% 
322
+%
323
+% Public-domain fonts.  These have no copyright, and are of unknown quality.
324
+
325
+% Cyrillic fonts.  The character names are inappropriate,
326
+% and the encoding is probably not related to any known standard.
327
+
328
+/Shareware-Cyrillic-Regular	(fcyr.gsf)	;
329
+/Shareware-Cyrillic-Italic	(fcyri.gsf)	;
330
+
331
+% Aliases
332
+/Cyrillic			/Cyrillic-Regular	;
333
+/Cyrillic-Regular		/Shareware-Cyrillic-Regular	;
334
+/Cyrillic-Italic		/Shareware-Cyrillic-Italic	;
335
+
336
+% 
337
+%
338
+% Fonts converted from Hershey outlines.  These are constructed and
339
+% maintained manually.  These are also in the public domain.
340
+%
341
+% The suggested UniqueID's and filenames are constructed differently for
342
+% these than for the ones above, because of the strange way that the Hershey
343
+% fonts were constructed.  The scheme for these looks like:
344
+%
345
+% 42TTXY0
346
+%
347
+% TT = typeface, X = ``class'', Y = variation
348
+%
349
+% The typeface names and numbers are listed in fonts.mak.
350
+%
351
+% class:
352
+% 0 = normal			= r
353
+% 1 = simplex			= s
354
+% 2 = complex			= c
355
+% 3 = triplex			= t
356
+% 4 = duplex			= d
357
+%
358
+% variation:
359
+% 0 = normal			(omitted)
360
+% 1 = oblique			= o
361
+% 2 = italic			= i
362
+% 3 = bold			= b
363
+% 4 = bold oblique		= bo
364
+% 5 = bold italic		= bi
365
+%
366
+
367
+% Fonts created by Thomas Wolff <wolff@inf.fu-berlin.de>, by adding
368
+% accents, accented characters, and various other non-alphabetics
369
+% to the original Hershey fonts.  These are "freeware", not to be sold.
370
+
371
+/Hershey-Gothic-English		(hrger.pfa)	;	% 5066533
372
+/Hershey-Gothic-German		(hrgrr.pfa)	;
373
+/Hershey-Gothic-Italian		(hritr.pfa)	; 
374
+
375
+/Hershey-Plain-Duplex		(hrpld.pfa)	;
376
+/Hershey-Plain-Duplex-Italic	(hrpldi.pfa)	;
377
+/Hershey-Plain-Triplex		(hrplt.pfa)	;
378
+/Hershey-Plain-Triplex-Italic	(hrplti.pfa)	;
379
+
380
+/Hershey-Script-Complex		(hrscc.pfa)	;
381
+/Hershey-Script-Simplex		(hrscs.pfa)	;	% 5066541
382
+
383
+% Fonts created algorithmically from the above.
384
+
385
+/Hershey-Gothic-English-Bold		(hrgerb.gsf)	;	% 5066542
386
+/Hershey-Gothic-English-Oblique		(hrgero.gsf)	;
387
+/Hershey-Gothic-English-SemiBold	(hrgerd.gsf)	;
388
+/Hershey-Gothic-German-Bold		(hrgrrb.gsf)	;
389
+/Hershey-Gothic-German-Oblique		(hrgrro.gsf)	;
390
+/Hershey-Gothic-Italian-Bold		(hritrb.gsf)	;
391
+/Hershey-Gothic-Italian-Oblique		(hritro.gsf)	;
392
+
393
+/Hershey-Plain-Duplex-Bold		(hrpldb.gsf)	;
394
+/Hershey-Plain-Duplex-Bold-Italic	(hrpldbi.gsf)	;
395
+/Hershey-Plain-Triplex-Bold		(hrpltb.gsf)	;
396
+/Hershey-Plain-Triplex-Bold-Italic	(hrpltbi.gsf)	;
397
+
398
+/Hershey-Script-Complex-Bold		(hrsccb.gsf)	;
399
+/Hershey-Script-Complex-Oblique		(hrscco.gsf)	;
400
+/Hershey-Script-Simplex-Bold		(hrscsb.gsf)	;
401
+/Hershey-Script-Simplex-Oblique		(hrscso.gsf)	;	% 5066556
402
+
403
+% Fonts consisting only of characters from the original Hershey
404
+% distribution.  These are Type 3 fonts.
405
+
406
+/Hershey-Greek-Complex			(hrgkc.gsf)	;	% 5066557
407
+/Hershey-Greek-Simplex			(hrgks.gsf)	;
408
+
409
+/Hershey-Plain				(hrplr.gsf)	;
410
+/Hershey-Plain-Simplex			(hrpls.gsf)	;	% 5066560
411
+
412
+% Fonts created algorithmically from the above.
413
+
414
+/Hershey-Plain-Bold			(hrplrb.gsf)	;	% 5066561
415
+/Hershey-Plain-Bold-Oblique		(hrplrbo.gsf)	;
416
+/Hershey-Plain-Oblique			(hrplro.gsf)	;
417
+/Hershey-Plain-Simplex-Bold		(hrplsb.gsf)	;
418
+/Hershey-Plain-Simplex-Bold-Oblique	(hrplsbo.gsf)	;
419
+/Hershey-Plain-Simplex-Oblique		(hrplso.gsf)	;	% 5066566
420
+
421
+% This font, and only this font among the Hershey fonts, uses
422
+% the SymbolEncoding.
423
+
424
+/Hershey-Symbol				(hrsyr.gsf)	;	% 5066567

+ 14
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/Info-macos.plist View File

@@ -0,0 +1,14 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
3
+<plist version="0.9">
4
+<dict>
5
+        <key>CFBundleIdentifier</key>
6
+        <string>com.ghostscript.Ghostscript</string>
7
+        <key>CFBundleName</key>
8
+        <string>Ghostscript</string>
9
+        <key>CFBundleShortVersionString</key>
10
+        <string>703</string>
11
+        <key>NSExecutable</key>
12
+        <string>Ghostscript</string>
13
+</dict>
14
+</plist>

+ 43
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/PDFA_def.ps View File

@@ -0,0 +1,43 @@
1
+%!
2
+% $Id: PDFA_def.ps 8284 2007-10-10 17:40:38Z giles $
3
+% This is a sample prefix file for creating a PDF/A document.
4
+% Feel free to modify entries marked with "Customize".
5
+
6
+% This assumes an ICC profile to reside in the file (ISO Coated sb.icc),
7
+% unless the user modifies the corresponding line below.
8
+
9
+
10
+systemdict /ProcessColorModel known {
11
+  systemdict /ProcessColorModel get dup /DeviceGray ne exch /DeviceCMYK ne and
12
+} {
13
+  true
14
+} ifelse 
15
+{ (ERROR: ProcessColorModel must be /DeviceGray or DeviceCMYK.)=
16
+  /ProcessColorModel cvx /rangecheck signalerror
17
+} if
18
+
19
+
20
+% Define entries to the document Info dictionary :
21
+
22
+/ICCProfile (ISO Coated sb.icc)   % Customize.
23
+def
24
+
25
+[ /Title (Title)                  % Customize.
26
+  /DOCINFO pdfmark
27
+
28
+% Define an ICC profile :
29
+
30
+[/_objdef {icc_PDFA} /type /stream /OBJ pdfmark
31
+[{icc_PDFA} <</N systemdict /ProcessColorModel get /DeviceGray eq {1} {4} ifelse >> /PUT pdfmark
32
+[{icc_PDFA} ICCProfile (r) file /PUT pdfmark
33
+
34
+% Define the output intent dictionary :
35
+
36
+[/_objdef {OutputIntent_PDFA} /type /dict /OBJ pdfmark
37
+[{OutputIntent_PDFA} <<
38
+  /Type /OutputIntent             % Must be so (the standard requires).
39
+  /S /GTS_PDFA1                   % Must be so (the standard requires).
40
+  /DestOutputProfile {icc_PDFA}            % Must be so (see above).
41
+  /OutputConditionIdentifier (CGATS TR001)      % Customize
42
+>> /PUT pdfmark
43
+[{Catalog} <</OutputIntents [ {OutputIntent_PDFA} ]>> /PUT pdfmark

+ 51
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/PDFX_def.ps View File

@@ -0,0 +1,51 @@
1
+%!
2
+% $Id: PDFX_def.ps 8284 2007-10-10 17:40:38Z giles $
3
+% This is a sample prefix file for creating a PDF/X-3 document.
4
+% Feel free to modify entries marked with "Customize".
5
+
6
+% This assumes an ICC profile to reside in the file (ISO Coated sb.icc),
7
+% unless the user modifies the corresponding line below.
8
+
9
+
10
+systemdict /ProcessColorModel known {
11
+  systemdict /ProcessColorModel get dup /DeviceGray ne exch /DeviceCMYK ne and
12
+} {
13
+  true
14
+} ifelse 
15
+{ (ERROR: ProcessColorModel must be /DeviceGray or DeviceCMYK.)=
16
+  /ProcessColorModel cvx /rangecheck signalerror
17
+} if
18
+
19
+
20
+% Define entries to the document Info dictionary :
21
+
22
+/ICCProfile (ISO Coated sb.icc) def  % Customize or remove.
23
+
24
+[ /GTS_PDFXVersion (PDF/X-3:2002) % Must be so (the standard requires).
25
+  /Title (Title)                  % Customize.
26
+  /Trapped /False                 % Must be so (Ghostscript doesn't provide other).
27
+  /DOCINFO pdfmark
28
+
29
+% Define an ICC profile :
30
+
31
+currentdict /ICCProfile known {
32
+  [/_objdef {icc_PDFX} /type /stream /OBJ pdfmark
33
+  [{icc_PDFX} <</N systemdict /ProcessColorModel get /DeviceGray eq {1} {4} ifelse >> /PUT pdfmark
34
+  [{icc_PDFX} ICCProfile (r) file /PUT pdfmark
35
+} if
36
+
37
+% Define the output intent dictionary :
38
+
39
+[/_objdef {OutputIntent_PDFX} /type /dict /OBJ pdfmark
40
+[{OutputIntent_PDFX} <<
41
+  /Type /OutputIntent              % Must be so (the standard requires).
42
+  /S /GTS_PDFX                     % Must be so (the standard requires).
43
+  /OutputCondition (Commercial and specialty printing) % Customize
44
+  /Info (none)                     % Customize
45
+  /OutputConditionIdentifier (CGATS TR001)      % Customize
46
+  /RegistryName (http://www.color.org)   % Must be so (the standard requires).
47
+  currentdict /ICCProfile known {
48
+    /DestOutputProfile {icc_PDFX}  % Must be so (see above).
49
+  } if
50
+>> /PUT pdfmark
51
+[{Catalog} <</OutputIntents [ {OutputIntent_PDFX} ]>> /PUT pdfmark

+ 100
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/acctest.ps View File

@@ -0,0 +1,100 @@
1
+%!
2
+% Check that operators do their access tests correctly.
3
+% $Id: acctest.ps 6300 2005-12-28 19:56:24Z giles $
4
+
5
+% proc dotest => .
6
+/dotest
7
+  {
8
+    dup
9
+    mark
10
+    exch
11
+    stopped not % False if error, true if no error.
12
+    { (Allowed access: ) print cleartomark == }
13
+    if
14
+    clear
15
+  }
16
+def
17
+
18
+0 0 moveto % So the show commands don't bomb because of nocurrentpoint.
19
+
20
+{ [1 2] executeonly aload }					dotest 
21
+{ (string) executeonly (seek) anchorsearch }			dotest
22
+{ (string) (seek) executeonly anchorsearch }			dotest
23
+{ 100 101 (string) noaccess ashow}				dotest
24
+{ 100 1 array readonly astore }					dotest
25
+{ 100 101 102 103 104 (string) noaccess awidthshow }		dotest
26
+{ 1 dict noacess begin }					dotest
27
+{ 1 array executeonly 1 array copy }				dotest
28
+{ 1 array 1 array readonly copy }				dotest
29
+{ 1 dict noaccess 1 dict copy }					dotest
30
+{ 1 dict 1 dict readonly copy }					dotest
31
+{ 1 string executeonly 1 string copy }				dotest
32
+{ 1 string 1 string readonly copy }				dotest
33
+{ (100) executeonly cvi }					dotest
34
+{ (string) executeonly cvn }					dotest
35
+{ (100.001) executeonly cvr }					dotest
36
+{ 1 10 1 string readonly cvrs }					dotest
37
+{ true 5 string readonly cvs }					dotest
38
+{ 1 dict readonly begin /foo true def }				dotest
39
+{ 10 array readonly dictstack }					dotest 
40
+{ 1 string executeonly 1 string eq }				dotest
41
+{ 1 string 1 string executeonly eq }				dotest
42
+{ 10 array readonly execstack }					dotest
43
+{ 1 string noaccess executeonly }				dotest
44
+{ 1 array noaccess executeonly }				dotest
45
+{ 1 array executeonly { pop } forall }				dotest
46
+{ 1 dict noaccess { pop pop } forall }				dotest
47
+{ 1 string executeonly { pop } forall }				dotest
48
+{ (string1) executeonly (string2) ge }				dotest
49
+{ (string1) (string2) executeonly ge }				dotest
50
+{ 1 array executeonly 0 get }					dotest
51
+{ 1 dict noaccess /key get }					dotest
52
+{ 1 string executeonly 0 get }					dotest
53
+{ 1 array executeonly 0 1 getinterval }				dotest
54
+{ 1 string executeonly 0 1 getinterval }			dotest
55
+{ (string1) executeonly (string2) gt }				dotest
56
+{ (string1) (string2) executeonly gt }				dotest
57
+{ 1 dict noaccess /key known }					dotest
58
+{ {} (string) executeonly kshow }				dotest
59
+{ (string1) executeonly (string2) le }				dotest
60
+{ (string1) (string2) executeonly le }				dotest
61
+{ 1 array executeonly length }					dotest
62
+{ 1 dict noaccess length }					dotest
63
+{ 1 string executeonly length }					dotest
64
+%%{ /foo 1 dict def foo begin /bar foo def bar noaccess pop /key load } dotest
65
+{ (string1) executeonly (string2) lt }				dotest
66
+{ (string1) (string2) executeonly lt }				dotest
67
+{ 1 dict noaccess maxlength }					dotest
68
+{ 1 string executeonly 1 string ne }				dotest
69
+{ 1 string 1 string executeonly ne }				dotest
70
+%{ newpath 0 0 moveto (a) false charpath 
71
+%  {} {} {} {} pathforall closepath }				dotest
72
+{ 1 array executeonly 0 put }					dotest
73
+{ 1 dict noaccess /key put }					dotest
74
+{ 1 string executeonly 0 put }					dotest
75
+{ 1 array executeonly 0 1 putinterval }				dotest
76
+{ 1 string executeonly 0 1 putinterval }			dotest
77
+{ (access.ps) (r) file executeonly read }			dotest
78
+{ (access.ps) (r) file executeonly 10 string readhexstring }	dotest
79
+{ (access.ps) (r) file 10 string readonly readhexstring }	dotest
80
+{ (access.ps) (r) file executeonly 100 string readline }	dotest
81
+{ (access.ps) (r) file 100 string readonly readline }		dotest
82
+{ (access.ps) (r) file executeonly 10 string readstring }	dotest
83
+{ (access.ps) (r) file 10 string readonly readstring }		dotest
84
+% run does not check for no read access?
85
+{ (string) executeonly (seek) search }				dotest
86
+{ (string) (seek) executeonly search }				dotest
87
+{ (string) executeonly show }
88
+%% some test for store.
89
+{ (string) executeonly stringwidth }				dotest
90
+{ (access.ps) (r) file executeonly token }			dotest
91
+{ (10) executeonly token }					dotest
92
+{ /foo 1 dict def foo begin /bar foo def bar noaccess pop /key where } dotest
93
+{ 100 101 102 (string) noaccess widthshow }			dotest
94
+{ (/tmp/_.ps) noaccess (w) file closefile }			dotest
95
+{ (/tmp/_.ps) (w) noaccess file closefile }			dotest
96
+{ (/tmp/_.ps) (w) file executeonly 100 write }			dotest
97
+{ (/tmp/_.ps) (w) file executeonly 10 string writehexstring }	dotest
98
+{ (/tmp/_.ps) (w) file 10 string executeonly writehexstring }	dotest
99
+{ (/tmp/_.ps) (w) file executeonly 10 string writestring }	dotest
100
+{ (/tmp/_.ps) (w) file 10 string executeonly writestring }	dotest

+ 357
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/addxchar.ps View File

@@ -0,0 +1,357 @@
1
+%    Copyright (C) 1999 Aladdin Enterprises.  All rights reserved.
2
+% 
3
+% This software is provided AS-IS with no warranty, either express or
4
+% implied.
5
+% 
6
+% This software is distributed under license and may not be copied,
7
+% modified or distributed except as expressly authorized under the terms
8
+% of the license contained in the file LICENSE in this distribution.
9
+% 
10
+% For more information about licensing, please refer to
11
+% http://www.ghostscript.com/licensing/. For information on
12
+% commercial licensing, go to http://www.artifex.com/licensing/ or
13
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
+% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
+
16
+% $Id: addxchar.ps 6300 2005-12-28 19:56:24Z giles $
17
+% Add the Central European and other Adobe extended Latin characters to a
18
+% Type 1 font.
19
+% Requires -dWRITESYSTEMDICT to disable access protection.
20
+
21
+(type1ops.ps) runlibfile
22
+
23
+% ---------------- Utilities ---------------- %
24
+
25
+/addce_dict 50 dict def
26
+addce_dict begin
27
+
28
+% Define the added copyright notice.
29
+/addednotice (. Portions Copyright (C) 1999 Aladdin Enterprises.) def 
30
+
31
+% Open a font for modification by removing the FID and changing the
32
+% FontName.  Removing UniqueID and XUID is not necessary, since we
33
+% will only be adding characters.
34
+/openfont {		% <name> <font> openfont <name> <font'>
35
+  dup length dict copy
36
+  dup /FID undef
37
+  dup /FontName 3 index put
38
+} def
39
+
40
+% Do the equivalent of false charpath for a glyph.
41
+% This should really be an operator!
42
+/glyphpath {		% <glyph> glyphpath -
43
+  currentfont /Encoding get 0 3 -1 roll put
44
+  <00> false charpath
45
+} def
46
+
47
+% Do the equivalent of charpath + pathbbox for a glyph.
48
+/glyphbbox {		% <glyph> glyphbbox <llx> <lly> <urx> <ury>
49
+	% We cache this value, because it's expensive to compute.
50
+  BBoxes 1 index .knownget {
51
+    exch pop
52
+  } {
53
+    gsave newpath 0 0 moveto dup glyphpath [pathbbox] grestore
54
+    BBoxes 3 -1 roll 2 index put
55
+  } ifelse aload pop
56
+} def
57
+
58
+% Get the side bearing and width for a glyph.
59
+/glyphsbw {		% <glyph> glyphsbw <lsbx> <wx>
60
+	% We cache this value, because it's expensive to compute.
61
+  SBW 1 index .knownget {
62
+    exch pop
63
+  } {
64
+    dup glyphcs { dup /hsbw eq { pop exit } if } forall
65
+    2 array astore
66
+    SBW 3 -1 roll 2 index put
67
+  } ifelse aload pop
68
+} def
69
+
70
+% Get the CharString for a glyph, as an array.
71
+/glyphcs {		% <glyph> glyphcs <array>
72
+  CharStrings exch get
73
+  4330 exch dup length string .type1decrypt exch pop
74
+  dup length lenIV sub lenIV exch getinterval
75
+  0 () /SubFileDecode filter [ exch charstack_read ]
76
+} def
77
+
78
+% Find an occurrence of a value in an array.
79
+/asearch {		% <array> <value> asearch <index> true
80
+			% <array> <value> asearch false
81
+  false 0 4 2 roll exch {
82
+		% Stack: false index value element
83
+    2 copy eq { pop pop exch not exch dup exit } if
84
+    exch 1 add exch
85
+  } forall pop pop
86
+} def
87
+
88
+% Convert an array back to a CharString.
89
+/csdef {		% <glyph> <array> csdef -
90
+  charproc_string
91
+  4330 exch dup .type1encrypt exch pop readonly
92
+  CharStrings 3 1 roll put
93
+} def
94
+
95
+% Split an accented character name.
96
+/splitaccented {	% <Baccent> splitaccented <Baccent> <B> <accent>
97
+    dup =string cvs
98
+    dup 0 1 getinterval cvn
99
+    exch dup length 1 sub 1 exch getinterval cvn
100
+} def
101
+
102
+% Begin the definition of a 'seac' character.
103
+% Defines accent, base, abox, bbox.
104
+% The initial dx lines up the origins of the base and the accent.
105
+/beginseac {		% <bchar> <achar> beginseac
106
+			%   -mark- <lsbx> <wx> /hsbw <asb> <dx>
107
+  /accent exch def /base exch def
108
+  /abox [accent glyphbbox] def
109
+  /bbox [base glyphbbox] def
110
+  [ base glyphsbw /hsbw accent glyphsbw pop
111
+  dup 4 index sub
112
+} def
113
+
114
+% Center the accent over the base of a 'seac' character.
115
+/centeraccent {		% <dx> centeraccent <adx>
116
+  bbox 2 get bbox 0 get add 2 div
117
+  abox 2 get abox 0 get add 2 div
118
+  sub add
119
+} def
120
+
121
+% Finish the definition of a 'seac' character.
122
+/finishseac {		% <charname> -mark- ... <adx> <ady> finishseac -
123
+  exch cvi exch cvi
124
+  charindex base get charindex accent get /seac ] csdef
125
+} def
126
+
127
+% ---------------- Main program ---------------- %
128
+
129
+% Define accented characters that can be made with seac,
130
+% with the accent centered over the character.
131
+/seacchars [
132
+  /Abreve /Amacron
133
+  /Cacute /Ccaron /Dcaron
134
+  /Ecaron /Edotaccent /Emacron
135
+  /Gbreve
136
+  /Idotaccent /Imacron
137
+  /Lacute
138
+  /Nacute /Ncaron
139
+  /Ohungarumlaut /Omacron
140
+  /Racute /Rcaron
141
+  /Sacute /Scedilla
142
+  /Tcaron
143
+  /Uhungarumlaut /Umacron /Uogonek /Uring
144
+  /Zacute /Zdotaccent
145
+  /abreve /amacron
146
+  /cacute /ccaron
147
+  /ecaron /edotaccent /emacron
148
+  /gbreve
149
+  /lacute
150
+  /nacute /ncaron
151
+  /ohungarumlaut /omacron
152
+  /racute /rcaron
153
+  /sacute /scedilla
154
+  /uhungarumlaut /umacron /uring
155
+  /zacute /zdotaccent
156
+] def
157
+
158
+% Define seac characters where the accent lines up with the right
159
+% edge of the character.
160
+/seacrightchars [
161
+  /Aogonek /Eogonek /Iogonek /aogonek /eogonek /iogonek /uogonek
162
+] def
163
+
164
+% Define seac characters where the caron becomes an appended quoteright.
165
+/seaccaronchars [
166
+  /dcaron /lcaron /tcaron
167
+] def
168
+
169
+% Define seac characters using commaaccent.
170
+/seaccommachars [
171
+  /Gcommaaccent /Kcommaaccent /Lcommaaccent /Ncommaaccent /Rcommaaccent
172
+  /Scommaaccent /Tcommaaccent
173
+  /gcommaaccent /kcommaaccent /lcommaaccent /ncommaaccent /rcommaaccent
174
+  /scommaaccent /tcommaaccent
175
+] def
176
+
177
+% Define the characters copied from the Symbol font.
178
+/symbolchars [
179
+  /Delta /greaterequal /lessequal /lozenge /notequal /partialdiff
180
+  /summation
181
+] def
182
+
183
+% Define the procedures for editing the commaaccent character.
184
+% Delete all the hints, since it's too hard to adjust them.
185
+/caedit mark
186
+  /rmoveto { exch commatop sub cvi exch }
187
+  /hstem { pop pop pop }
188
+  /vstem 1 index
189
+  /callothersubr {
190
+    dup 3 eq { 4 { pop } repeat /skip true def } if
191
+  }
192
+  /pop { skip { pop /skip false def } if }
193
+.dicttomark def
194
+
195
+/addce {		% <name> <font> addce <font'>
196
+  20 dict begin
197
+  /origfont 1 index def
198
+  openfont
199
+  dup /CharStrings 2 copy get dup length dict copy put
200
+  dup /Encoding 2 copy get dup length array copy put
201
+  dup /FontInfo 2 copy get dup length dict copy put
202
+  definefont /font exch def
203
+  currentdict font end begin begin
204
+  font 1000 scalefont setfont
205
+  /symbolfont /Symbol findfont def
206
+  /BBoxes CharStrings length dict def
207
+  /SBW CharStrings length dict def
208
+
209
+  /italfactor FontInfo /ItalicAngle .knownget {
210
+    neg dup sin exch cos div
211
+  } {
212
+    0
213
+  } ifelse def
214
+
215
+	% Invert the Encoding (needed for seac).
216
+
217
+  /charindex 256 dict def
218
+  0 1 255 {
219
+    charindex exch Encoding 1 index get exch put
220
+  } for
221
+
222
+	% Add the commaaccent character, by moving the comma downward.
223
+
224
+  /comma glyphbbox /commatop exch def pop pop pop
225
+  /comma glyphcs
226
+    /skip false def
227
+    [ exch { caedit 1 index .knownget { exec } if } forall ]
228
+  /commaaccent exch csdef
229
+
230
+	% Add the accented characters that can be made with seac.
231
+
232
+  seacchars {
233
+    splitaccented beginseac
234
+      centeraccent
235
+		% If the accent would collide with the base character,
236
+		% raise it a little.
237
+      abox 1 get bbox 3 get sub dup 0 le {
238
+		% ... but not if the accent is in the low position.
239
+	abox 1 get 0 gt {
240
+	  neg 60 add
241
+		% Adjust the X position if italic.
242
+	  dup italfactor mul 3 -1 roll add exch
243
+	} {
244
+	  pop 0
245
+	} ifelse
246
+      } {
247
+	pop 0
248
+      } ifelse
249
+    finishseac
250
+  } forall
251
+
252
+  seacrightchars {
253
+    splitaccented beginseac
254
+    bbox 2 get abox 2 get sub add	% line up right edges
255
+    0 finishseac
256
+  } forall
257
+
258
+  /dcroat /d /hyphen beginseac
259
+    bbox 2 get abox 2 get sub add	% line up right edges
260
+  0 finishseac
261
+
262
+  /imacron /dotlessi /macron beginseac
263
+    centeraccent
264
+  0 finishseac
265
+
266
+  /Lcaron /L /quoteright beginseac
267
+    bbox 2 get abox 2 get sub add	% line up right edges
268
+  0 finishseac
269
+
270
+  seaccaronchars {
271
+    dup =string cvs 0 1 getinterval cvn /quoteright beginseac
272
+		% Move the quote to the right of the character.
273
+    bbox 2 get abox 0 get sub 50 add add
274
+		% Adjust the character width as well.
275
+    4 -1 roll abox 2 get abox 0 get sub 50 add add cvi 4 1 roll
276
+    0 finishseac
277
+  } forall
278
+
279
+  seaccommachars {
280
+    dup =string cvs 0 1 getinterval cvn /comma beginseac
281
+      centeraccent
282
+      commatop neg
283
+		% Lower the accent if the character extends below
284
+		% the baseline
285
+      bbox 1 get 0 .min add
286
+    finishseac
287
+  } forall
288
+
289
+	% Add the characters from the Symbol font.
290
+	% We should scale them to match the FontBBox, but we don't.
291
+
292
+  symbolchars {
293
+    symbolfont /CharStrings get 1 index get
294
+    CharStrings 3 1 roll put
295
+  } forall
296
+
297
+	% Add the one remaining character.
298
+
299
+  CharStrings /Dcroat CharStrings /Eth get put
300
+
301
+	% Recompute the FontBBox, since some of the accented characters
302
+	% may have enlarged it.
303
+
304
+  /llx 1000 def /lly 1000 def /urx 0 def /ury 0 def
305
+  CharStrings {
306
+    pop glyphbbox
307
+    ury .max /ury exch def urx .max /urx exch def
308
+    lly .min /lly exch def llx .min /llx exch def
309
+  } forall
310
+  /FontBBox llx cvi lly cvi urx ceiling cvi ury ceiling cvi 4 packedarray def
311
+
312
+	% Restore the Encoding and wrap up.
313
+
314
+  [/Copyright /Notice] {
315
+    FontInfo 1 index .knownget {
316
+      addednotice concatstrings FontInfo 3 1 roll put
317
+    } {
318
+      pop
319
+    } ifelse
320
+  } forall
321
+  FontName font openfont
322
+  dup /Encoding origfont /Encoding get put
323
+  definefont
324
+
325
+  end end
326
+} def
327
+
328
+currentdict end readonly pop	% addce_dict
329
+
330
+/addce { addce_dict begin addce end } def
331
+
332
+% ---------------- Integration ---------------- %
333
+
334
+% We would like to patch the font loader so that it adds the extended
335
+% Latin characters automatically.  We haven't done this yet.
336
+
337
+% ---------------- Test program ---------------- %
338
+
339
+/TEST where { pop TEST } { false } ifelse {
340
+  /FONT where { pop } { /FONT /Palatino-Italic def } ifelse
341
+  (unprot.ps) runlibfile
342
+  unprot
343
+  (wrfont.ps) runlibfile
344
+  wrfont_dict begin
345
+    /eexec_encrypt true def
346
+    /binary_CharStrings true def
347
+  end
348
+  save
349
+    FONT findfont
350
+    /Latin-CE exch addce setfont
351
+    (t.ce.pfb) (w) file dup writefont closefile
352
+  restore
353
+  (prfont.ps) runlibfile
354
+  (t.ce.pfb) (r) file .loadfont
355
+  /Latin-CE DoFont
356
+  quit
357
+} if

+ 151
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/afmdiff.awk View File

@@ -0,0 +1,151 @@
1
+#!/usr/bin/awk -f
2
+###=====================================================================
3
+### Read two Adobe Font Metric files, and compute tables of the
4
+### differences in character repertoire, declared widths (WX), and
5
+### bounding boxes.
6
+###
7
+### Usage:
8
+###	awk -f afmdiff.awk file1.afm file2.afm
9
+###
10
+### Author:
11
+### 	Nelson H. F. Beebe
12
+### 	Center for Scientific Computing
13
+### 	University of Utah
14
+### 	Department of Mathematics, 322 INSCC
15
+### 	155 S 1400 E RM 233
16
+### 	Salt Lake City, UT 84112-0090
17
+### 	USA
18
+### 	Email: beebe@math.utah.edu, beebe@acm.org, beebe@computer.org,
19
+###	       beebe@ieee.org (Internet)
20
+### 	WWW URL: http://www.math.utah.edu/~beebe
21
+### 	Telephone: +1 801 581 5254
22
+### 	FAX: +1 801 585 1640, +1 801 581 4148
23
+###
24
+########################################################################
25
+########################################################################
26
+########################################################################
27
+###                                                                  ###
28
+###        awkdiff.awk: compare two Adobe Font Metric files          ###
29
+###                                                                  ###
30
+###              Copyright (C) 2000 Nelson H. F. Beebe               ###
31
+###                                                                  ###
32
+### This program is covered by the GNU General Public License (GPL), ###
33
+### version 2 or later, available as the file COPYING in the program ###
34
+### source distribution, and on the Internet at                      ###
35
+###                                                                  ###
36
+###               ftp://ftp.gnu.org/gnu/GPL                          ###
37
+###                                                                  ###
38
+###               http://www.gnu.org/copyleft/gpl.html               ###
39
+###                                                                  ###
40
+### This program is free software; you can redistribute it and/or    ###
41
+### modify it under the terms of the GNU General Public License as   ###
42
+### published by the Free Software Foundation; either version 2 of   ###
43
+### the License, or (at your option) any later version.              ###
44
+###                                                                  ###
45
+### This program is distributed in the hope that it will be useful,  ###
46
+### but WITHOUT ANY WARRANTY; without even the implied warranty of   ###
47
+### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    ###
48
+### GNU General Public License for more details.                     ###
49
+###                                                                  ###
50
+### You should have received a copy of the GNU General Public        ###
51
+### License along with this program; if not, write to the Free       ###
52
+### Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,   ###
53
+### MA 02111-1307 USA                                                ###
54
+###                                                                  ###
55
+### This program may also be distributed as part of AFPL             ###
56
+### Ghostscript, under the terms of the Aladdin Free Public License  ###
57
+### (the "License").                                                 ###
58
+###                                                                  ###
59
+### Every copy of AFPL Ghostscript must include a copy of the        ###
60
+### License, normally in a plain ASCII text file named PUBLIC.  The  ###
61
+### License grants you the right to copy, modify and redistribute    ###
62
+### AFPL Ghostscript, but only under certain conditions              ###
63
+### described in the License.  Among other things, the License       ###
64
+### requires that the copyright notice and this notice be preserved  ###
65
+### on all copies.                                                   ###
66
+###                                                                  ###
67
+########################################################################
68
+########################################################################
69
+########################################################################
70
+#
71
+# [29-Apr-2000]
72
+#=======================================================================
73
+
74
+/^FontName/	{ FontName[++NFontName] = $2 }
75
+
76
+
77
+/^C /		{
78
+		    if (NFontName == 1)
79
+			CharName1[$8]++
80
+		    if (NFontName == 2)
81
+			CharName2[$8]++
82
+		}
83
+
84
+
85
+/^C /		{
86
+		    name = $8
87
+		    if (name in WX)
88
+		    {
89
+			if (WX[name] != $5)
90
+			    WXDIFF[name] = WX[name] - $5
91
+		    }
92
+		    else
93
+			WX[name] = $5
94
+		}
95
+
96
+
97
+/^C /		{
98
+		    name = $8
99
+		    bx = $13 - $11
100
+		    if (name in BX)
101
+		    {
102
+			if (BX[name] != bx)
103
+			    BXDIFF[name] = BX[name] - bx
104
+		    }
105
+		    else
106
+			BX[name] = bx
107
+		}
108
+
109
+
110
+/^C /		{
111
+		    name = $8
112
+		    by = $14 - $12
113
+		    if (name in BY)
114
+		    {
115
+			if (BY[name] != by)
116
+			    BYDIFF[name] = BY[name] - by
117
+		    }
118
+		    else
119
+			BY[name] = by
120
+		}
121
+
122
+
123
+END		{
124
+		    Sortpipe = "sort -f | pr -3 -w80 -l1 -t"
125
+		    print "Comparison of AFM metrics in files:", ARGV[1], ARGV[2]
126
+		    print "Font names:", FontName[1], FontName[2]
127
+		    show_name_diffs(FontName[2],CharName2, FontName[1],CharName1)
128
+		    show_name_diffs(FontName[1],CharName1, FontName[2],CharName2)
129
+		    show_num_diffs("WX width differences", WXDIFF)
130
+		    show_num_diffs("Bounding box width differences", BXDIFF)
131
+		    show_num_diffs("Bounding box height differences",BYDIFF)
132
+		}
133
+
134
+function show_name_diffs(font1,array1,font2,array2, name)
135
+{
136
+    print "\nChars from", font2, "missing from", font1 ":"
137
+    for (name in array2)
138
+    {
139
+	if (!(name in array1))
140
+	    printf("%s\n", name) | Sortpipe
141
+    }
142
+    close(Sortpipe)
143
+}
144
+
145
+function show_num_diffs(title,array, name)
146
+{
147
+    printf("\n%s:\n", title)
148
+    for (name in array)
149
+	printf("%-15s\t%4d\n", name, array[name]) | Sortpipe
150
+    close(Sortpipe)
151
+}

+ 73
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/align.ps View File

@@ -0,0 +1,73 @@
1
+%    Copyright (C) 1989, 1996 Aladdin Enterprises.  All rights reserved.
2
+% 
3
+% This software is provided AS-IS with no warranty, either express or
4
+% implied.
5
+% 
6
+% This software is distributed under license and may not be copied,
7
+% modified or distributed except as expressly authorized under the terms
8
+% of the license contained in the file LICENSE in this distribution.
9
+% 
10
+% For more information about licensing, please refer to
11
+% http://www.ghostscript.com/licensing/. For information on
12
+% commercial licensing, go to http://www.artifex.com/licensing/ or
13
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
+% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
+
16
+% $Id: align.ps 6300 2005-12-28 19:56:24Z giles $
17
+% Print a page that indicates the proper settings of Margins and HWMargins
18
+% for a given device.  Requires a Level 2 system.
19
+
20
+% Reset the offset and margins.
21
+
22
+<<
23
+  /PageOffset [0 0]
24
+  /Margins [0 0]
25
+  /.HWMargins [0 0 0 0]
26
+>>
27
+setpagedevice
28
+<<
29
+  /ImagingBBox null
30
+>>
31
+setpagedevice
32
+
33
+% Determine the actual page size.
34
+
35
+clippath pathbbox newpath
36
+/y1 exch def  /x1 exch def  pop pop
37
+
38
+% Draw lines that should be exactly 1" in from each edge,
39
+% and should extend precisely to the edge of the paper.
40
+
41
+1 setlinewidth
42
+0 setgray
43
+72 0 moveto 0 y1 rlineto stroke
44
+0 72 moveto x1 0 rlineto stroke
45
+
46
+% Print the text in the middle of the page.
47
+
48
+/S 80 string def
49
+108 480 moveto
50
+/Helvetica 12 selectfont
51
+ { currentfile S readline pop dup (%END) eq { pop exit } if
52
+   gsave show grestore 0 -15 rmoveto
53
+ } loop
54
+Let the distance in inches from the left edge of the page to
55
+the vertical line be H, and from the bottom edge to the
56
+horizontal line be V; let the lengths of the gaps at the top
57
+and bottom of the vertical line be T and B respectively, and
58
+the gaps at the left and right of the horizontal line be L
59
+and R.  For correct alignment of pages, put the following line
60
+in a file named (for example) margins.ps, and then mention
61
+margins.ps on the gs command line when printing any of your
62
+own files:
63
+
64
+    <<  /.HWMargins [ml mb mr mt] /Margins [x y]  >>  setpagedevice
65
+
66
+where
67
+        ml = L * 72, mb = B * 72, mr = R * 72, mt = T * 72,
68
+%END
69
+/res currentpagedevice /.MarginsHWResolution get def
70
+(        x = (1 - H) * ) show res 0 get =string cvs show
71
+(, y = (V - 1) * ) show res 1 get =string cvs show
72
+
73
+showpage

+ 13
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bdftops View File

@@ -0,0 +1,13 @@
1
+#!/bin/sh
2
+# $Id: bdftops 8107 2007-07-05 19:04:29Z till $
3
+
4
+# This definition is changed on install to match the
5
+# executable name set in the makefile
6
+GS_EXECUTABLE=gs
7
+gs="`dirname $0`/$GS_EXECUTABLE"
8
+if test ! -x "$gs"; then
9
+	gs="$GS_EXECUTABLE"
10
+fi
11
+GS_EXECUTABLE="$gs"
12
+
13
+exec "$GS_EXECUTABLE" -q -dBATCH -dNODISPLAY -- bdftops.ps "$@"

+ 5
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bdftops.bat View File

@@ -0,0 +1,5 @@
1
+@echo off
2
+@rem $Id: bdftops.bat 6300 2005-12-28 19:56:24Z giles $
3
+
4
+call gssetgs.bat
5
+%GSC% -q -dBATCH -dNODISPLAY -- bdftops.ps %1 %2 %3 %4 %5 %6 %7 %8 %9

+ 7
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bdftops.cmd View File

@@ -0,0 +1,7 @@
1
+/* $Id: bdftops.cmd 6300 2005-12-28 19:56:24Z giles $ */
2
+/*
3
+ * This file is maintained by a user: if you have any questions about it,
4
+ * please contact Mark Hale (mark.hale@physics.org).
5
+ */
6
+
7
+@gsos2 -q -dBATCH -dNODISPLAY -- bdftops.ps %1 %2 %3 %4 %5 %6 %7 %8 %9

+ 795
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bdftops.ps View File

@@ -0,0 +1,795 @@
1
+%    Copyright (C) 1990, 1995, 1996 Aladdin Enterprises.  All rights reserved.
2
+% 
3
+% This software is provided AS-IS with no warranty, either express or
4
+% implied.
5
+% 
6
+% This software is distributed under license and may not be copied,
7
+% modified or distributed except as expressly authorized under the terms
8
+% of the license contained in the file LICENSE in this distribution.
9
+% 
10
+% For more information about licensing, please refer to
11
+% http://www.ghostscript.com/licensing/. For information on
12
+% commercial licensing, go to http://www.artifex.com/licensing/ or
13
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
+% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
+
16
+% $Id: bdftops.ps 6300 2005-12-28 19:56:24Z giles $
17
+% bdftops.ps
18
+% Convert a BDF file (possibly with (an) associated AFM file(s))
19
+% to a PostScript Type 1 font (without eexec encryption).
20
+% The resulting font will work with any PostScript language interpreter,
21
+% but not with ATM or other font rasterizers lacking a complete interpreter.
22
+
23
+/envBDF 120 dict def
24
+envBDF begin
25
+
26
+% "Import" the image-to-path package.
27
+% This also brings in the Type 1 opcodes (type1ops.ps).
28
+   (impath.ps) runlibfile
29
+
30
+% "Import" the font-writing package.
31
+   (wrfont.ps) runlibfile
32
+   wrfont_dict begin
33
+     /binary_CharStrings false def
34
+     /binary_tokens false def
35
+     /encrypt_CharStrings true def
36
+     /standard_only true def
37
+   end
38
+   /lenIV 0 def
39
+
40
+% Invert the StandardEncoding vector.
41
+   256 dict dup begin
42
+   0 1 255 { dup StandardEncoding exch get exch def } for
43
+   end /StandardDecoding exch def
44
+
45
+% Define the properties copied to FontInfo.
46
+   mark
47
+     (COPYRIGHT) /Notice
48
+     (FAMILY_NAME) /FamilyName
49
+     (FULL_NAME) /FullName
50
+     (WEIGHT_NAME) /Weight
51
+   .dicttomark /properties exch def
52
+
53
+% Define the character sequences for synthesizing missing composite
54
+% characters in the standard encoding.
55
+   mark
56
+     /AE [/A /E]
57
+     /OE [/O /E]
58
+     /ae [/a /e]
59
+     /ellipsis [/period /period /period]
60
+     /emdash [/hyphen /hyphen /hyphen]
61
+     /endash [/hyphen /hyphen]
62
+     /fi [/f /i]
63
+     /fl [/f /l]
64
+     /germandbls [/s /s]
65
+     /guillemotleft [/less /less]
66
+     /guillemotright [/greater /greater]
67
+     /oe [/o /e]
68
+     /quotedblbase [/comma /comma]
69
+   .dicttomark /composites exch def
70
+
71
+% Define the procedure for synthesizing composites.
72
+% This must not be bound.
73
+   /compose
74
+    { exch pop
75
+      FontMatrix Private /composematrix get invertmatrix concat
76
+      0 0 moveto
77
+      dup gsave false charpath pathbbox currentpoint grestore
78
+      6 2 roll setcachedevice show
79
+    } def
80
+% Define the CharString procedure that calls compose, with the string
81
+% on the stack.  This too must remain unbound.
82
+   /compose_proc
83
+    { Private /compose get exec
84
+    } def
85
+
86
+% Define aliases for missing characters similarly.
87
+   mark
88
+     /acute /quoteright
89
+     /bullet /asterisk
90
+     /cedilla /comma
91
+     /circumflex /asciicircum
92
+     /dieresis /quotedbl
93
+     /dotlessi /i
94
+     /exclamdown /exclam
95
+     /florin /f
96
+     /fraction /slash
97
+     /grave /quoteleft
98
+     /guilsinglleft /less
99
+     /guilsinglright /greater
100
+     /hungarumlaut /quotedbl
101
+     /periodcentered /asterisk
102
+     /questiondown /question
103
+     /quotedblleft /quotedbl
104
+     /quotedblright /quotedbl
105
+     /quotesinglbase /comma
106
+     /quotesingle /quoteright
107
+     /tilde /asciitilde
108
+   .dicttomark /aliases exch def
109
+
110
+% Define overstruck characters that can be synthesized with seac.
111
+   mark
112
+    [ /Aacute /Acircumflex /Adieresis /Agrave /Aring /Atilde
113
+      /Ccedilla
114
+      /Eacute /Ecircumflex /Edieresis /Egrave
115
+      /Iacute /Icircumflex /Idieresis /Igrave
116
+      /Lslash
117
+      /Ntilde
118
+      /Oacute /Ocircumflex /Odieresis /Ograve /Otilde
119
+      /Scaron
120
+      /Uacute /Ucircumflex /Udieresis /Ugrave
121
+      /Yacute /Ydieresis
122
+      /Zcaron
123
+      /aacute /acircumflex /adieresis /agrave /aring /atilde
124
+      /ccedilla
125
+      /eacute /ecircumflex /edieresis /egrave
126
+      /iacute /icircumflex /idieresis /igrave
127
+      /lslash
128
+      /ntilde
129
+      /oacute /ocircumflex /odieresis /ograve /otilde
130
+      /scaron
131
+      /uacute /ucircumflex /udieresis /ugrave
132
+      /yacute /ydieresis
133
+      /zcaron
134
+    ]
135
+    { dup =string cvs
136
+      [ exch dup 0 1 getinterval cvn
137
+	exch dup length 1 sub 1 exch getinterval cvn
138
+      ]
139
+    } forall
140
+     /cent [/c /slash]
141
+     /daggerdbl [/bar /equal]
142
+     /divide [/colon /hyphen]
143
+     /sterling [/L /hyphen]
144
+     /yen [/Y /equal]
145
+   .dicttomark /accentedchars exch def
146
+
147
+% ------ Output utilities ------ %
148
+
149
+   /ws {psfile exch writestring} bind def
150
+   /wl {ws (\n) ws} bind def
151
+   /wt {=string cvs ws ( ) ws} bind def
152
+
153
+% ------ BDF file parsing utilities ------ %
154
+
155
+% Define a buffer for reading the BDF file.
156
+   /buffer 400 string def
157
+
158
+% Read a line from the BDF file into the buffer.
159
+% Ignore empty (zero-length) lines.
160
+% Define /keyword as the first word on the line.
161
+% Define /args as the remainder of the line.
162
+% If the keyword is equal to commentword, skip the line.
163
+% (If commentword is equal to a space, never skip.)
164
+   /nextline
165
+    {  { bdfile buffer readline not
166
+	  { (Premature EOF\n) print stop } if
167
+	 dup length 0 ne { exit } if pop	 
168
+       }
169
+      loop
170
+      ( ) search
171
+       { /keyword exch def pop }
172
+       { /keyword exch def () }
173
+      ifelse
174
+      /args exch def
175
+      keyword commentword eq { nextline } if
176
+    } bind def
177
+
178
+% Get a word argument from args.  We do *not* copy the string.
179
+   /warg		% warg -> string
180
+    { args ( ) search
181
+       { exch pop exch }
182
+       { () }
183
+      ifelse  /args exch def
184
+    } bind def
185
+
186
+% Get an integer argument from args.
187
+   /iarg		% iarg -> int
188
+    { warg cvi
189
+    } bind def
190
+
191
+% Get a numeric argument from args.
192
+   /narg		% narg -> int|real
193
+    { warg cvr
194
+      dup dup cvi eq { cvi } if
195
+    } bind def
196
+
197
+% Convert the remainder of args into a string.
198
+   /remarg		% remarg -> string
199
+    { args copystring
200
+    } bind def
201
+
202
+% Get a string argument that occupies the remainder of args.
203
+   /sarg		% sarg -> string
204
+    { args (") anchorsearch
205
+       { pop /args exch def } { pop } ifelse
206
+      args args length 1 sub get (") 0 get eq
207
+       { args 0 args length 1 sub getinterval /args exch def } if
208
+      args copystring
209
+    } bind def
210
+
211
+% Check that the keyword is the expected one.
212
+   /checkline		% (EXPECTED-KEYWORD) checkline ->
213
+    { dup keyword ne
214
+       { (Expected ) print =
215
+         (Line=) print keyword print ( ) print args print (\n) print stop
216
+       } if
217
+      pop
218
+    } bind def
219
+
220
+% Read a line and check its keyword.
221
+   /getline		% (EXPECTED-KEYWORD) getline ->
222
+    { nextline checkline
223
+    } bind def
224
+
225
+% Find the first/last non-zero bit of a non-zero byte.
226
+   /fnzb
227
+    { 0 { exch dup 128 ge { pop exit } { dup add exch 1 add } ifelse }
228
+      loop
229
+    } bind def
230
+   /lnzb
231
+    { 7 { exch dup 1 and 0 ne { pop exit } { -1 bitshift exch 1 sub } ifelse }
232
+      loop
233
+    } bind def
234
+
235
+% ------ Type 1 encoding utilities ------ %
236
+
237
+% Parse the side bearing and width information that begins a CharString.
238
+% Arguments: charstring.  Result: sbx sby wx wy substring.
239
+   /parsesbw
240
+    { mark exch lenIV
241
+       {		% stack: mark ... string dropcount
242
+         dup 2 index length exch sub getinterval
243
+	 dup 0 get dup 32 lt { pop exit } if
244
+	 dup 246 le
245
+	  { 139 sub exch 1 }
246
+	  { dup 250 le
247
+	     { 247 sub 8 bitshift 108 add 1 index 1 get add exch 2 }
248
+	     { dup 254 le
249
+		{ 251 sub 8 bitshift 108 add 1 index 1 get add neg exch 2 }
250
+		{ pop dup 1 get 128 xor 128 sub
251
+		  8 bitshift 1 index 2 get add
252
+		  8 bitshift 1 index 3 get add
253
+		  8 bitshift 1 index 4 get add exch 5
254
+		} ifelse
255
+	     } ifelse
256
+	  } ifelse
257
+       } loop
258
+      counttomark 3 eq { 0 3 1 roll 0 exch } if
259
+      6 -1 roll pop
260
+    } bind def 
261
+
262
+% Find the side bearing and width information that begins a CharString.
263
+% Arguments: charstring.  Result: charstring sizethroughsbw.
264
+   /findsbw
265
+    { dup parsesbw 4 { exch pop } repeat skipsbw
266
+    } bind def
267
+   /skipsbw		% charstring sbwprefix -> sizethroughsbw
268
+    { length 1 index length exch sub
269
+      2 copy get 12 eq { 2 } { 1 } ifelse add
270
+    } bind def
271
+
272
+% Encode a number, and append it to a string.
273
+% Arguments: str num.  Result: newstr.
274
+   /concatnum
275
+    { dup dup -107 ge exch 107 le and
276
+       { 139 add 1 string dup 0 3 index put }
277
+       { dup dup -1131 ge exch 1131 le and
278
+          { dup 0 ge { 16#f694 } { neg 16#fa94 } ifelse add
279
+	    2 string dup 0 3 index -8 bitshift put
280
+	    dup 1 3 index 255 and put
281
+	  }
282
+	  { 5 string dup 0 255 put exch
283
+	    2 copy 1 exch -24 bitshift 255 and put
284
+	    2 copy 2 exch -16 bitshift 255 and put
285
+	    2 copy 3 exch -8 bitshift 255 and put
286
+	    2 copy 4 exch 255 and put
287
+	    exch
288
+	  }
289
+	 ifelse
290
+       }
291
+      ifelse exch pop concatstrings
292
+    } bind def
293
+
294
+% ------ Point arithmetic utilities ------ %
295
+
296
+   /ptadd { exch 4 -1 roll add 3 1 roll add } bind def
297
+   /ptexch { 4 2 roll } bind def
298
+   /ptneg { neg exch neg exch } bind def
299
+   /ptpop { pop pop } bind def
300
+   /ptsub { ptneg ptadd } bind def
301
+
302
+% ------ The main program ------ %
303
+
304
+   /readBDF		% <infilename> <outfilename> <fontname>
305
+			%   <encodingname> <uniqueID> <xuid> readBDF -> <font>
306
+    { /xuid exch def		% may be null
307
+      /uniqueID exch def	% may be -1
308
+      /encodingname exch def
309
+	/encoding encodingname cvx exec def
310
+      /fontname exch def
311
+      /psname exch def
312
+      /bdfname exch def
313
+      gsave		% so we can set the CTM to the font matrix
314
+
315
+%  Open the input files.  We don't open the output file until
316
+%  we've done a minimal validity check on the input.
317
+      bdfname (r) file /bdfile exch def
318
+      /commentword ( ) def
319
+
320
+%  Check for the STARTFONT.
321
+      (STARTFONT) getline
322
+      args (2.1) ne { (Not version 2.1\n) print stop } if
323
+
324
+%  Initialize the font.
325
+      /Font 20 dict def
326
+      Font begin
327
+      /FontName fontname def
328
+      /PaintType 0 def
329
+      /FontType 1 def
330
+      uniqueID 0 gt { /UniqueID uniqueID def } if
331
+      xuid null ne { /XUID xuid def } if
332
+      /Encoding encoding def
333
+      /FontInfo 20 dict def
334
+      /Private 20 dict def
335
+      currentdict end currentdict end
336
+      exch begin begin		% insert font above environment
337
+
338
+%  Initialize the Private dictionary in the font.
339
+      Private begin
340
+      /-! {string currentfile exch readhexstring pop} readonly def
341
+      /-| {string currentfile exch readstring pop} readonly def
342
+      /|- {readonly def} readonly def
343
+      /| {readonly put} readonly def
344
+      /BlueValues [] def
345
+      /lenIV lenIV def
346
+      /MinFeature {16 16} def
347
+      /password 5839 def
348
+      /UniqueID uniqueID def
349
+      end		% Private
350
+
351
+%  Invert the Encoding, for synthesizing composite characters.
352
+      /decoding encoding length dict def
353
+      0 1 encoding length 1 sub
354
+       { dup encoding exch get exch decoding 3 1 roll put }
355
+      for
356
+
357
+%  Now open the output file.
358
+      psname (w) file /psfile exch def
359
+
360
+%  Put out a header compatible with the Adobe "standard".
361
+      (%!FontType1-1.0: ) ws fontname wt (000.000) wl
362
+      (% This is a font description converted from ) ws
363
+	bdfname wl
364
+      (%   by bdftops running on ) ws
365
+      statusdict /product get ws ( revision ) ws
366
+      revision =string cvs ws (.) wl
367
+
368
+%  Copy the initial comments, up to FONT.
369
+      true
370
+       { nextline
371
+	 keyword (COMMENT) ne {exit} if
372
+	  { (% Here are the initial comments from the BDF file:\n%) wl
373
+	  } if false
374
+	 (%) ws remarg wl
375
+       } loop pop
376
+      () wl
377
+      /commentword (COMMENT) def	% do skip comments from now on
378
+
379
+%  Read and process the FONT, SIZE, and FONTBOUNDINGBOX.
380
+      % If we cared about FONT, we'd use it here.  If the BDF files
381
+      % from MIT had PostScript names rather than X names, we would
382
+      % care; but what's there is unusable, so we discard FONT.
383
+      % The FONTBOUNDINGBOX may not be reliable, so we discard it too.
384
+      (FONT) checkline
385
+      (SIZE) getline
386
+	/pointsize iarg def   /xres iarg def   /yres iarg def
387
+      (FONTBOUNDINGBOX) getline
388
+      nextline
389
+
390
+%  Initialize the font bounding box bookeeping.
391
+      /fbbxo 1000 def
392
+      /fbbyo 1000 def
393
+      /fbbxe -1000 def
394
+      /fbbye -1000 def
395
+
396
+%  Read and process the properties.  We only care about a few of them.
397
+      keyword (STARTPROPERTIES) eq
398
+       { iarg
399
+          { nextline
400
+	    properties keyword known
401
+	     { FontInfo properties keyword get sarg readonly put
402
+	     } if
403
+	  } repeat
404
+         (ENDPROPERTIES) getline
405
+	 nextline
406
+       } if
407
+
408
+%  Compute and set the FontMatrix.
409
+      Font /FontMatrix
410
+       [ 0.001 0 0 0.001 xres mul yres div 0 0 ] readonly
411
+      dup setmatrix put
412
+
413
+%  Read and process the header for the bitmaps.
414
+      (CHARS) checkline
415
+	/ccount iarg def
416
+
417
+%  Initialize the CharStrings dictionary.
418
+      /charstrings ccount
419
+	composites length add
420
+	aliases length add
421
+	accentedchars length add
422
+	1 add dict def		% 1 add for .notdef
423
+      /isfixedwidth true def
424
+      /fixedwidth null def
425
+      /subrcount 0 def
426
+      /subrs [] def
427
+
428
+%  Read the bitmap data.  This reads the remainder of the file.
429
+%  We do this before processing the bitmaps so that we can compute
430
+%  the correct FontBBox first.
431
+      /chardata ccount dict def
432
+      ccount -1 1
433
+       { (STARTCHAR) getline
434
+           /charname remarg def
435
+	 (ENCODING) getline
436
+	   /eindex iarg def
437
+	   eindex dup 0 ge exch 255 le and
438
+	    { charname /charname StandardEncoding eindex get def
439
+	      charname /.notdef eq eindex 0 gt and
440
+	       { /charname (A) eindex =string cvs concatstrings cvn def
441
+	       }
442
+	      if
443
+	      (/) print charname =string cvs print (,) print print
444
+	    }
445
+	    { (/) print charname print
446
+	    }
447
+	   ifelse
448
+	   10 mod 1 eq { (\n) print flush } if
449
+	 (SWIDTH) getline
450
+	   /swx iarg pointsize mul 1000 div xres mul 72 div def
451
+	   /swy iarg pointsize mul 1000 div xres mul 72 div def
452
+	 (DWIDTH) getline		% Ignore, use SWIDTH instead
453
+	 (BBX) getline
454
+	   /bbw iarg def  /bbh iarg def  /bbox iarg def  /bboy iarg def
455
+	 nextline
456
+	 keyword (ATTRIBUTES) eq
457
+	  { nextline
458
+	  } if
459
+	 (BITMAP) checkline
460
+
461
+% Update the font bounding box.
462
+	 /fbbxo fbbxo bbox .min def
463
+	 /fbbyo fbbyo bboy .min def
464
+	 /fbbxe fbbxe bbox bbw add .max def
465
+	 /fbbye fbbye bboy bbh add .max def
466
+
467
+% Read the bits for this character.
468
+	 /raster bbw 7 add 8 idiv def
469
+	 /cbits raster bbh mul string def
470
+	 cbits length 0 gt
471
+	  { 0 raster cbits length raster sub
472
+	      { cbits exch raster getinterval
473
+	        bdfile buffer readline not
474
+	         { (EOF in bitmap\n) print stop } if
475
+		    % stack has <cbits.interval> <buffer.interval>
476
+	        0 () /SubFileDecode filter
477
+	        exch 2 copy readhexstring pop pop pop closefile
478
+	      } for
479
+	  } if
480
+
481
+         (ENDCHAR) getline
482
+
483
+% Save the character data.
484
+	 chardata charname [swx swy bbw bbh bbox bboy cbits] put
485
+       } for
486
+
487
+      (ENDFONT) getline
488
+
489
+% Allocate the buffers for the bitmap and the outline,
490
+% according to the font bounding box.
491
+      /fbbw fbbxe fbbxo sub def
492
+      /fbbh fbbye fbbyo sub def
493
+      /fraster fbbw 7 add 8 idiv def
494
+      /bits fraster fbbh mul 200 .max 65535 .min string def
495
+      /outline bits length 16 mul 65535 .min string def
496
+
497
+%  Process the characters.
498
+      chardata
499
+       { exch /charname exch def  aload pop
500
+	 /cbits exch def
501
+	 /bboy exch def   /bbox exch def
502
+	 /bbh exch def   /bbw exch def
503
+	 /swy exch def   /swx exch def
504
+
505
+% The bitmap handed to type1imagepath must have the correct height,
506
+% because type1imagepath uses this to compute the scale factor,
507
+% so we have to clear the unused parts of it.
508
+	 /raster bbw 7 add 8 idiv def
509
+	 bits dup 0 1 raster fbbh mul 1 sub
510
+	  { 0 put dup } for
511
+	 pop pop
512
+	 bits raster fbbh bbh sub mul cbits putinterval
513
+
514
+%  Compute the font entry, converting the bitmap to an outline.
515
+	 bits 0 raster fbbh mul getinterval	% the bitmap image
516
+	 bbw   fbbh				% bitmap width & height
517
+	 swx   swy				% width x & y
518
+	 bbox neg   bboy neg			% origin x & y
519
+	 	% Account for lenIV when converting the outline.
520
+	 outline  lenIV  outline length lenIV sub  getinterval
521
+         type1imagepath
522
+         length lenIV add
523
+	 outline exch 0 exch getinterval
524
+
525
+% Check for a fixed width font.
526
+	 isfixedwidth
527
+	  { fixedwidth null eq
528
+	     { /fixedwidth swx def }
529
+	     { fixedwidth swx ne { /isfixedwidth false def } if }
530
+	    ifelse
531
+	  } if
532
+
533
+% Finish up the character.
534
+	 copystring
535
+	 charname exch charstrings 3 1 roll put
536
+       } forall
537
+
538
+%  Add CharStrings entries for aliases.
539
+      aliases
540
+       { charstrings 2 index known not charstrings 2 index known and
541
+          { charstrings exch get charstrings 3 1 roll put
542
+	  }
543
+	  { pop pop
544
+	  }
545
+	 ifelse
546
+       }
547
+      forall
548
+
549
+%  If this is not a fixed-width font, synthesize missing characters
550
+%  out of available ones.
551
+      isfixedwidth not
552
+       { false composites
553
+	  { 1 index charstrings exch known not
554
+	    1 index { decoding exch known and } forall
555
+	     { ( /) print 1 index bits cvs print
556
+	       /combine exch def
557
+	       0 1 combine length 1 sub
558
+		{ dup combine exch get decoding exch get
559
+		  bits 3 1 roll put
560
+		} for
561
+	       bits 0 combine length getinterval copystring
562
+	       [ exch /compose_proc load aload pop ] cvx
563
+	       charstrings 3 1 roll put
564
+	       pop true
565
+	     }
566
+	     { pop pop }
567
+	    ifelse
568
+	  }
569
+	 forall flush
570
+	  { Private /composematrix matrix put
571
+	    Private /compose /compose load put
572
+	  }
573
+	 if
574
+       }
575
+      if
576
+
577
+%  Synthesize accented characters with seac if needed and possible.
578
+      accentedchars
579
+       { aload pop /accent exch def /base exch def
580
+         buffer cvs /accented exch def
581
+	 charstrings accented known not
582
+	 charstrings base known and
583
+	 charstrings accent known and
584
+	 StandardDecoding base known and
585
+	 StandardDecoding accent known and
586
+	 encoding StandardDecoding base get get base eq and
587
+	 encoding StandardDecoding accent get get accent eq and
588
+	  { ( /) print accented print
589
+	    charstrings base get findsbw 0 exch getinterval
590
+	    /acstring exch def		% start with sbw of base
591
+	    charstrings accent get parsesbw
592
+	    4 { pop } repeat		% just leave sbx
593
+	    acstring exch concatnum
594
+	    0 concatnum 0 concatnum		% adx ady
595
+	    decoding base get concatnum		% bchar
596
+	    decoding accent get concatnum	% achar
597
+	    s_seac concatstrings
598
+	    charstrings exch accented copystring exch put
599
+	  } if
600
+       } forall
601
+
602
+%  Make a CharStrings entry for .notdef.
603
+      outline lenIV <8b8b0d0e> putinterval	% 0 0 hsbw endchar
604
+      charstrings /.notdef outline 0 lenIV 4 add getinterval copystring put
605
+
606
+%  Encrypt the CharStrings and Subrs (in place).
607
+      charstrings
608
+       {	% Be careful not to encrypt aliased characters twice,
609
+		% since they share their CharString.
610
+	 aliases 2 index known
611
+	  { charstrings aliases 3 index get .knownget
612
+	     { 1 index ne }
613
+	     { true }
614
+	    ifelse
615
+	  }
616
+	  { true
617
+	  }
618
+	 ifelse
619
+	 1 index type /stringtype eq and
620
+          { 4330 exch dup .type1encrypt exch pop
621
+	    readonly charstrings 3 1 roll put
622
+	  }
623
+	  { pop pop
624
+	  }
625
+	 ifelse
626
+       }
627
+      forall
628
+      0 1 subrcount 1 sub
629
+       { dup subrs exch get
630
+	 4330 exch dup .type1encrypt exch pop
631
+	 subrs 3 1 roll put
632
+       }
633
+      for
634
+
635
+%  Make most of the remaining entries in the font dictionaries.
636
+
637
+% The Type 1 font machinery really only works with a 1000 unit
638
+% character coordinate system.  Set this up here, by computing the factor
639
+% to make the X entry in the FontMatrix come out at exactly 0.001.
640
+      /fontscale 1000 fbbh div yres mul xres div def
641
+      Font /FontBBox
642
+       [ fbbxo fontscale mul
643
+	 fbbyo fontscale mul
644
+	 fbbxe fontscale mul
645
+	 fbbye fontscale mul
646
+       ] cvx readonly put
647
+      Font /CharStrings charstrings readonly put
648
+      FontInfo /FullName known not
649
+       { % Some programs insist on FullName being present.
650
+         FontInfo /FullName FontName dup length string cvs put
651
+       }
652
+      if
653
+      FontInfo /isFixedPitch isfixedwidth put
654
+      subrcount 0 gt
655
+       { Private /Subrs subrs 0 subrcount getinterval readonly put
656
+       } if
657
+
658
+%  Determine the italic angle and underline position
659
+%  by actually installing the font.
660
+      save
661
+      /_temp_ Font definefont setfont
662
+      [1000 0 0 1000 0 0] setmatrix		% mitigate rounding problems
663
+% The italic angle is the multiple of -5 degrees
664
+% that minimizes the width of the 'I'.
665
+      0 9999 0 5 85
666
+       { dup rotate
667
+         newpath 0 0 moveto (I) false charpath
668
+	 dup neg rotate
669
+         pathbbox pop exch pop exch sub
670
+	 dup 3 index lt { 4 -2 roll } if
671
+	 pop pop
672
+       }
673
+      for pop
674
+% The underline position is halfway between the bottom of the 'A'
675
+% and the bottom of the FontBBox.
676
+      newpath 0 0 moveto (A) false charpath
677
+      FontMatrix concat
678
+      pathbbox pop pop exch pop
679
+%  Put the values in FontInfo.
680
+      3 -1 roll
681
+      restore
682
+      Font /FontBBox get 1 get add 2 div cvi
683
+      dup FontInfo /UnderlinePosition 3 -1 roll put
684
+      2 div abs FontInfo /UnderlineThickness 3 -1 roll put
685
+      FontInfo /ItalicAngle 3 -1 roll put
686
+
687
+%  Clean up and finish.
688
+      grestore
689
+      bdfile closefile
690
+      Font currentdict end end begin		% remove font from dict stack
691
+      (\n) print flush
692
+
693
+    } bind def
694
+
695
+% ------ Reader for AFM files ------ %
696
+
697
+% Dictionary for looking up character keywords
698
+   /cmdict 6 dict dup begin
699
+      /C { /c iarg def } def
700
+      /N { /n warg copystring def } def
701
+      /WX { /w narg def } def
702
+      /W0X /WX load def
703
+      /W /WX load def
704
+      /W0 /WX load def
705
+   end def
706
+
707
+   /readAFM		% fontdict afmfilename readAFM -> fontdict
708
+    { (r) file /bdfile exch def
709
+      /Font exch def
710
+      /commentword (Comment) def
711
+
712
+%  Check for the StartFontMetrics.
713
+      (StartFontMetrics) getline
714
+      args cvr 2.0 lt { (Not version 2.0 or greater\n) print stop } if
715
+
716
+%  Look for StartCharMetrics, then parse the character metrics.
717
+%  The only information we care about is the X width.
718
+      /metrics 0 dict def
719
+       { nextline
720
+         keyword (EndFontMetrics) eq { exit } if
721
+	 keyword (StartCharMetrics) eq
722
+	  { iarg dup dict /metrics exch def
723
+	     { /c -1 def /n null def /w null def
724
+	       nextline buffer
725
+		{ token not { exit } if
726
+		  dup cmdict exch known
727
+		   { exch /args exch def   cmdict exch get exec   args }
728
+		   { pop }
729
+		  ifelse
730
+		} loop
731
+	       c 0 ge n null ne or w null ne and
732
+		{ n null eq { /n Font /Encoding get c get def } if
733
+		  metrics n w put
734
+		}
735
+	       if
736
+	     }
737
+	    repeat
738
+	    (EndCharMetrics) getline
739
+	  } if
740
+       } loop
741
+
742
+%  Insert the metrics in the font.
743
+       metrics length 0 ne
744
+	{ Font /Metrics metrics readonly put
745
+	} if
746
+      Font
747
+    } bind def
748
+
749
+end		% envBDF
750
+
751
+% Enter the main program in the current dictionary.
752
+/bdfafmtops		% infilename afmfilename* outfilename fontname
753
+			%   encodingname uniqueID xuid
754
+ { envBDF begin
755
+     7 -2 roll exch 7 2 roll	% afm* in out fontname encodingname uniqueID xuid
756
+     readBDF		% afm* font
757
+     exch { readAFM } forall
758
+     save exch
759
+     dup /FontName get exch definefont
760
+     setfont
761
+     psfile writefont
762
+     restore
763
+     psfile closefile
764
+   end
765
+ } bind def
766
+
767
+% If the program was invoked from the command line, run it now.
768
+[ shellarguments
769
+ { counttomark 4 ge
770
+    { dup 0 get
771
+      dup 48 ge exch 57 le and		% last arg starts with a digit?
772
+       { /StandardEncoding }		% no encodingname
773
+       { cvn }				% have encodingname
774
+      ifelse
775
+      exch (.) search			% next-to-last arg has . in it?
776
+       { mark 4 1 roll			% have xuid
777
+          { cvi exch pop exch (.) search not { exit } if }
778
+	 loop cvi ]
779
+	 3 -1 roll cvi exch
780
+       }
781
+       { cvi null			% no xuid
782
+       }
783
+      ifelse
784
+      counttomark 5 roll
785
+      counttomark 6 sub array astore
786
+      7 -2 roll cvn 7 -3 roll		% make sure fontname is a name
787
+      bdfafmtops
788
+    }
789
+    { cleartomark
790
+      (Usage:\n  bdftops xx.bdf [yy1.afm ...] zz.gsf fontname uniqueID [xuid] [encodingname]\n) print flush
791
+      mark
792
+    }
793
+   ifelse
794
+ }
795
+if pop

+ 17
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bj8.rpd View File

@@ -0,0 +1,17 @@
1
+
2
+StartEntry: U_CanonBJC8200
3
+GSDriver: uniprint 
4
+Description: {Canon BJC-8200 (UP)}
5
+About: { \
6
+	 Canon BJC-8200 uniprint driver settings.\
7
+       }
8
+Resolution: {NA} {NA} {}
9
+  BitsPerPixel: {bj8pp12f} {1200x1200DpI, photo paper pro, color, rendered}
10
+  BitsPerPixel: {bj8hg12f} {1200x1200DpI, high gloss photo film, color, rendered}
11
+  BitsPerPixel: {bj8gc12f} {1200x1200DpI, glossy photo cards, color, rendered}
12
+  BitsPerPixel: {bj8oh06n} {600x600DpI, transparencies, color, rendered}
13
+  BitsPerPixel: {bj8ts06n} {600x600DpI, t-shirt transfer, color, rendered}
14
+  BitsPerPixel: {bj8pa06n} {600x600DpI, plain paper, color, rendered}
15
+
16
+EndEntry
17
+#

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bj8gc12f.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 8200, (1200DpI)^2, glossy photo card, high quality"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYKgenerate
6
+-dupRendering=/FSCMYK32
7
+-dupOutputFormat=/Canon
8
+-r1200x1200
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
13
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
14
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
15
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
19
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
20
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
21
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
25
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
26
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
27
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
31
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
32
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
33
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b 4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 71 0100 01
39
+   1b28 64 0400 04b0 04b0
40
+   1b28 63 0300 3005 04
41
+   1b28 6c 0200 340d
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bj8hg12f.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 8200, (1200DpI)^2, high gloss photo, high quality"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYKgenerate
6
+-dupRendering=/FSCMYK32
7
+-dupOutputFormat=/Canon
8
+-r1200x1200
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
13
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
14
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
15
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
19
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
20
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
21
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
25
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
26
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
27
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
31
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
32
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
33
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b 4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 71 0100 01
39
+   1b28 64 0400 04b0 04b0
40
+   1b28 63 0300 3006 04
41
+   1b28 6c 0200 3406
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bj8oh06n.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 8200, (600DpI)^2, OHP, normal quality"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYKgenerate
6
+-dupRendering=/FSCMYK32
7
+-dupOutputFormat=/Canon
8
+-r600x600
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
13
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
14
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
15
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
19
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
20
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
21
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
25
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
26
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
27
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
31
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
32
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
33
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b 4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 71 0100 01
39
+   1b28 64 0400 0258 0258
40
+   1b28 63 0300 3002 03
41
+   1b28 6c 0200 3402
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bj8pa06n.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 8200, (600DpI)^2, plain paper, normal quality"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYKgenerate
6
+-dupRendering=/FSCMYK32
7
+-dupOutputFormat=/Canon
8
+-r600x600
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
13
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
14
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
15
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
19
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
20
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
21
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
25
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
26
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
27
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
31
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
32
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
33
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b 4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 71 0100 01
39
+   1b28 64 0400 0258 0258
40
+   1b28 63 0300 3000 03
41
+   1b28 6c 0200 3400
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bj8pp12f.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 8200, (1200DpI)^2, professional photo paper, highest quality"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYKgenerate
6
+-dupRendering=/FSCMYK32
7
+-dupOutputFormat=/Canon
8
+-r1200x1200
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
13
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
14
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
15
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
19
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
20
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
21
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
25
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
26
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
27
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
31
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
32
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
33
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b 4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 71 0100 01
39
+   1b28 64 0400 04b0 04b0
40
+   1b28 63 0300 3009 04
41
+   1b28 6c 0200 340d
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bj8ts06n.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 8200, (600DpI)^2, t-shirt transfer, normal quality"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYKgenerate
6
+-dupRendering=/FSCMYK32
7
+-dupOutputFormat=/Canon
8
+-r600x600
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
13
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
14
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
15
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
19
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
20
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
21
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
25
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
26
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
27
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
31
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
32
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
33
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b 4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 71 0100 01
39
+   1b28 64 0400 0258 0258
40
+   1b28 63 0300 3003 03
41
+   1b28 6c 0200 3403
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610a0.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 610, 360x360DpI, plain paper high speed, color, rendered"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYK
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Canon
8
+-r360x360
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0058 0.0164 0.0301 0.0463 0.0648 0.0851 0.1073 
13
+0.1311 0.1564 0.1832 0.2114 0.2408 0.2716 0.3035 0.3366 
14
+0.3708 0.4061 0.4425 0.4798 0.5182 0.5576 0.5978 0.6391 
15
+0.6812 0.7242 0.7681 0.8128 0.8584 0.9048 0.9520 1.0000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
19
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
20
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
21
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
25
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
26
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
27
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
31
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
32
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
33
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 63 0300 100200
39
+   1b28 64 0200 0168
40
+   1b28 6c 0200 1400
41
+   1b28 67 0100 E5
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610a1.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 610, 360x360DpI, plain paper, color, rendered"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYK
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Canon
8
+-r360x360
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0058 0.0164 0.0301 0.0463 0.0648 0.0851 0.1073 
13
+0.1311 0.1564 0.1832 0.2114 0.2408 0.2716 0.3035 0.3366 
14
+0.3708 0.4061 0.4425 0.4798 0.5182 0.5576 0.5978 0.6391 
15
+0.6812 0.7242 0.7681 0.8128 0.8584 0.9048 0.9520 1.0000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
19
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
20
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
21
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
25
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
26
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
27
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
31
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
32
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
33
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 63 0300 100110
39
+   1b28 64 0200 0168
40
+   1b28 6c 0200 1400
41
+   1b28 67 0100 E5
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610a2.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 610, 360x360DpI, coated paper, color, rendered"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYK
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Canon
8
+-r360x360
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0058 0.0164 0.0301 0.0463 0.0648 0.0851 0.1073 
13
+0.1311 0.1564 0.1832 0.2114 0.2408 0.2716 0.3035 0.3366 
14
+0.3708 0.4061 0.4425 0.4798 0.5182 0.5576 0.5978 0.6391 
15
+0.6812 0.7242 0.7681 0.8128 0.8584 0.9048 0.9520 1.0000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
19
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
20
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
21
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
25
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
26
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
27
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
31
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
32
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
33
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 63 0300 101110
39
+   1b28 64 0200 0168
40
+   1b28 6c 0200 1410
41
+   1b28 67 0100 E5
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610a3.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 610, 360x360DpI, transparency film, color, rendered"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYK
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Canon
8
+-r360x360
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
13
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
14
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
15
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
19
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
20
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
21
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
25
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
26
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
27
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
31
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
32
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
33
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 63 0300 102110
39
+   1b28 64 0200 0168
40
+   1b28 6c 0200 1420
41
+   1b28 67 0100 E5
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 45
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610a4.upp View File

@@ -0,0 +1,45 @@
1
+-supModel="Canon BJC 610, 360x360DpI, back print film, color, rendered"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYK
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Canon
8
+-r360x360
9
+-dupYFlip
10
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
11
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
12
+-dupBlackTransfer="{
13
+0.0000 0.0058 0.0164 0.0301 0.0463 0.0648 0.0851 0.1073 
14
+0.1311 0.1564 0.1832 0.2114 0.2408 0.2716 0.3035 0.3366 
15
+0.3708 0.4061 0.4425 0.4798 0.5182 0.5576 0.5978 0.6391 
16
+0.6812 0.7242 0.7681 0.8128 0.8584 0.9048 0.9520 1.0000 
17
+}"
18
+-dupCyanTransfer="{
19
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
20
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
21
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
22
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
23
+}"
24
+-dupMagentaTransfer="{
25
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
26
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
27
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
28
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
29
+}"
30
+-dupYellowTransfer="{
31
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
32
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
33
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
34
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
35
+}"
36
+-dupBeginPageCommand="<
37
+   1b5b4b 0200 000f
38
+   1b28 62 0100 01
39
+   1b28 63 0300 103110
40
+   1b28 64 0200 0168
41
+   1b28 6c 0200 1430
42
+   1b28 67 0100 E5
43
+>"
44
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
45
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610a5.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 610, 360x360DpI, fabric sheet, color, rendered"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYK
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Canon
8
+-r360x360
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0058 0.0164 0.0301 0.0463 0.0648 0.0851 0.1073 
13
+0.1311 0.1564 0.1832 0.2114 0.2408 0.2716 0.3035 0.3366 
14
+0.3708 0.4061 0.4425 0.4798 0.5182 0.5576 0.5978 0.6391 
15
+0.6812 0.7242 0.7681 0.8128 0.8584 0.9048 0.9520 1.0000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
19
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
20
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
21
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
25
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
26
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
27
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
31
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
32
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
33
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 63 0300 104110
39
+   1b28 64 0200 0168
40
+   1b28 6c 0200 1850
41
+   1b28 67 0100 E5
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610a6.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 610, 360x360DpI, glossy paper, color, rendered"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYK
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Canon
8
+-r360x360
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0058 0.0164 0.0301 0.0463 0.0648 0.0851 0.1073 
13
+0.1311 0.1564 0.1832 0.2114 0.2408 0.2716 0.3035 0.3366 
14
+0.3708 0.4061 0.4425 0.4798 0.5182 0.5576 0.5978 0.6391 
15
+0.6812 0.7242 0.7681 0.8128 0.8584 0.9048 0.9520 1.0000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
19
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
20
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
21
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
25
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
26
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
27
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
31
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
32
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
33
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 63 0300 105110
39
+   1b28 64 0200 0168
40
+   1b28 6c 0200 1460
41
+   1b28 67 0100 E5
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610a7.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 610, 360x360DpI, high gloss film, color, rendered"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYK
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Canon
8
+-r360x360
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
13
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
14
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
15
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
19
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
20
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
21
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
25
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
26
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
27
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
31
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
32
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
33
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 63 0300 106110
39
+   1b28 64 0200 0168
40
+   1b28 6c 0200 1470
41
+   1b28 67 0100 E5
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610a8.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 610, 360x360DpI, high resolution paper, color, rendered"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYK
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Canon
8
+-r360x360
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0058 0.0164 0.0301 0.0463 0.0648 0.0851 0.1073 
13
+0.1311 0.1564 0.1832 0.2114 0.2408 0.2716 0.3035 0.3366 
14
+0.3708 0.4061 0.4425 0.4798 0.5182 0.5576 0.5978 0.6391 
15
+0.6812 0.7242 0.7681 0.8128 0.8584 0.9048 0.9520 1.0000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
19
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
20
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
21
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
25
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
26
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
27
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
31
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
32
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
33
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 63 0300 107110
39
+   1b28 64 0200 0168
40
+   1b28 6c 0200 14a0
41
+   1b28 67 0100 E5
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610b1.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 610, 720x720DpI, plain paper, color, rendered"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYK
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Canon
8
+-r720x720
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0029 0.0082 0.0151 0.0232 0.0324 0.0426 0.0537 
13
+0.0655 0.0782 0.0916 0.1057 0.1204 0.1358 0.1517 0.1683 
14
+0.1854 0.2030 0.2212 0.2399 0.2591 0.2788 0.2989 0.3195 
15
+0.3406 0.3621 0.3840 0.4064 0.4292 0.4524 0.4760 0.5000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0004 0.0017 0.0037 0.0067 0.0104 0.0150 0.0204 
19
+0.0266 0.0337 0.0416 0.0504 0.0599 0.0703 0.0816 0.0937 
20
+0.1066 0.1203 0.1349 0.1503 0.1665 0.1836 0.2015 0.2202 
21
+0.2398 0.2601 0.2814 0.3034 0.3263 0.3501 0.3746 0.4000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0004 0.0017 0.0037 0.0067 0.0104 0.0150 0.0204 
25
+0.0266 0.0337 0.0416 0.0504 0.0599 0.0703 0.0816 0.0937 
26
+0.1066 0.1203 0.1349 0.1503 0.1665 0.1836 0.2015 0.2202 
27
+0.2398 0.2601 0.2814 0.3034 0.3263 0.3501 0.3746 0.4000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0004 0.0017 0.0037 0.0067 0.0104 0.0150 0.0204 
31
+0.0266 0.0337 0.0416 0.0504 0.0599 0.0703 0.0816 0.0937 
32
+0.1066 0.1203 0.1349 0.1503 0.1665 0.1836 0.2015 0.2202 
33
+0.2398 0.2601 0.2814 0.3034 0.3263 0.3501 0.3746 0.4000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 63 0300 101110
39
+   1b28 64 0200 02d0
40
+   1b28 6c 0200 1410
41
+   1b28 67 0100 E5
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610b2.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 610, 720x720DpI, coated paper, color, rendered"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYK
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Canon
8
+-r720x720
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0029 0.0082 0.0151 0.0232 0.0324 0.0426 0.0537 
13
+0.0655 0.0782 0.0916 0.1057 0.1204 0.1358 0.1517 0.1683 
14
+0.1854 0.2030 0.2212 0.2399 0.2591 0.2788 0.2989 0.3195 
15
+0.3406 0.3621 0.3840 0.4064 0.4292 0.4524 0.4760 0.5000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0005 0.0021 0.0047 0.0083 0.0130 0.0187 0.0255 
19
+0.0333 0.0421 0.0520 0.0630 0.0749 0.0879 0.1020 0.1171 
20
+0.1332 0.1504 0.1686 0.1878 0.2081 0.2294 0.2518 0.2752 
21
+0.2997 0.3252 0.3517 0.3793 0.4079 0.4376 0.4683 0.5000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0005 0.0021 0.0047 0.0083 0.0130 0.0187 0.0255 
25
+0.0333 0.0421 0.0520 0.0630 0.0749 0.0879 0.1020 0.1171 
26
+0.1332 0.1504 0.1686 0.1878 0.2081 0.2294 0.2518 0.2752 
27
+0.2997 0.3252 0.3517 0.3793 0.4079 0.4376 0.4683 0.5000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0005 0.0021 0.0047 0.0083 0.0130 0.0187 0.0255 
31
+0.0333 0.0421 0.0520 0.0630 0.0749 0.0879 0.1020 0.1171 
32
+0.1332 0.1504 0.1686 0.1878 0.2081 0.2294 0.2518 0.2752 
33
+0.2997 0.3252 0.3517 0.3793 0.4079 0.4376 0.4683 0.5000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 63 0300 101110
39
+   1b28 64 0200 02d0
40
+   1b28 6c 0200 1410
41
+   1b28 67 0100 E5
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610b3.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 610, 720x720DpI, transparency film, color, rendered"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYK
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Canon
8
+-r720x720
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
13
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
14
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
15
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0005 0.0021 0.0047 0.0083 0.0130 0.0187 0.0255 
19
+0.0333 0.0421 0.0520 0.0630 0.0749 0.0879 0.1020 0.1171 
20
+0.1332 0.1504 0.1686 0.1878 0.2081 0.2294 0.2518 0.2752 
21
+0.2997 0.3252 0.3517 0.3793 0.4079 0.4376 0.4683 0.5000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0005 0.0021 0.0047 0.0083 0.0130 0.0187 0.0255 
25
+0.0333 0.0421 0.0520 0.0630 0.0749 0.0879 0.1020 0.1171 
26
+0.1332 0.1504 0.1686 0.1878 0.2081 0.2294 0.2518 0.2752 
27
+0.2997 0.3252 0.3517 0.3793 0.4079 0.4376 0.4683 0.5000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0005 0.0021 0.0047 0.0083 0.0130 0.0187 0.0255 
31
+0.0333 0.0421 0.0520 0.0630 0.0749 0.0879 0.1020 0.1171 
32
+0.1332 0.1504 0.1686 0.1878 0.2081 0.2294 0.2518 0.2752 
33
+0.2997 0.3252 0.3517 0.3793 0.4079 0.4376 0.4683 0.5000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 63 0300 102110
39
+   1b28 64 0200 02d0
40
+   1b28 6c 0200 1420
41
+   1b28 67 0100 E5
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 45
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610b4.upp View File

@@ -0,0 +1,45 @@
1
+-supModel="Canon BJC 610, 720x720DpI, back print film, color, rendered"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYK
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Canon
8
+-r720x720
9
+-dupYFlip
10
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
11
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
12
+-dupBlackTransfer="{
13
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
14
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
15
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
16
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
17
+}"
18
+-dupCyanTransfer="{
19
+0.0000 0.0005 0.0019 0.0042 0.0075 0.0117 0.0169 0.0229 
20
+0.0300 0.0379 0.0468 0.0567 0.0674 0.0791 0.0918 0.1054 
21
+0.1199 0.1353 0.1517 0.1690 0.1873 0.2065 0.2266 0.2477 
22
+0.2697 0.2927 0.3165 0.3414 0.3671 0.3938 0.4214 0.4500 
23
+}"
24
+-dupMagentaTransfer="{
25
+0.0000 0.0005 0.0019 0.0042 0.0075 0.0117 0.0169 0.0229 
26
+0.0300 0.0379 0.0468 0.0567 0.0674 0.0791 0.0918 0.1054 
27
+0.1199 0.1353 0.1517 0.1690 0.1873 0.2065 0.2266 0.2477 
28
+0.2697 0.2927 0.3165 0.3414 0.3671 0.3938 0.4214 0.4500 
29
+}"
30
+-dupYellowTransfer="{
31
+0.0000 0.0005 0.0019 0.0042 0.0075 0.0117 0.0169 0.0229 
32
+0.0300 0.0379 0.0468 0.0567 0.0674 0.0791 0.0918 0.1054 
33
+0.1199 0.1353 0.1517 0.1690 0.1873 0.2065 0.2266 0.2477 
34
+0.2697 0.2927 0.3165 0.3414 0.3671 0.3938 0.4214 0.4500 
35
+}"
36
+-dupBeginPageCommand="<
37
+   1b5b4b 0200 000f
38
+   1b28 62 0100 01
39
+   1b28 63 0300 103110
40
+   1b28 64 0200 02d0
41
+   1b28 6c 0200 1430
42
+   1b28 67 0100 E5
43
+>"
44
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
45
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610b6.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 610, 720x720DpI, glossy paper, color, rendered"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYK
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Canon
8
+-r720x720
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0029 0.0082 0.0151 0.0232 0.0324 0.0426 0.0537 
13
+0.0655 0.0782 0.0916 0.1057 0.1204 0.1358 0.1517 0.1683 
14
+0.1854 0.2030 0.2212 0.2399 0.2591 0.2788 0.2989 0.3195 
15
+0.3406 0.3621 0.3840 0.4064 0.4292 0.4524 0.4760 0.5000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0005 0.0021 0.0047 0.0083 0.0130 0.0187 0.0255 
19
+0.0333 0.0421 0.0520 0.0630 0.0749 0.0879 0.1020 0.1171 
20
+0.1332 0.1504 0.1686 0.1878 0.2081 0.2294 0.2518 0.2752 
21
+0.2997 0.3252 0.3517 0.3793 0.4079 0.4376 0.4683 0.5000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0005 0.0021 0.0047 0.0083 0.0130 0.0187 0.0255 
25
+0.0333 0.0421 0.0520 0.0630 0.0749 0.0879 0.1020 0.1171 
26
+0.1332 0.1504 0.1686 0.1878 0.2081 0.2294 0.2518 0.2752 
27
+0.2997 0.3252 0.3517 0.3793 0.4079 0.4376 0.4683 0.5000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0005 0.0021 0.0047 0.0083 0.0130 0.0187 0.0255 
31
+0.0333 0.0421 0.0520 0.0630 0.0749 0.0879 0.1020 0.1171 
32
+0.1332 0.1504 0.1686 0.1878 0.2081 0.2294 0.2518 0.2752 
33
+0.2997 0.3252 0.3517 0.3793 0.4079 0.4376 0.4683 0.5000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 63 0300 105110
39
+   1b28 64 0200 02d0
40
+   1b28 6c 0200 1460
41
+   1b28 67 0100 E5
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610b7.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 610, 720x720DpI, high gloss paper, color, rendered"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYK
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Canon
8
+-r720x720
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
13
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
14
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
15
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0005 0.0021 0.0047 0.0083 0.0130 0.0187 0.0255 
19
+0.0333 0.0421 0.0520 0.0630 0.0749 0.0879 0.1020 0.1171 
20
+0.1332 0.1504 0.1686 0.1878 0.2081 0.2294 0.2518 0.2752 
21
+0.2997 0.3252 0.3517 0.3793 0.4079 0.4376 0.4683 0.5000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0005 0.0021 0.0047 0.0083 0.0130 0.0187 0.0255 
25
+0.0333 0.0421 0.0520 0.0630 0.0749 0.0879 0.1020 0.1171 
26
+0.1332 0.1504 0.1686 0.1878 0.2081 0.2294 0.2518 0.2752 
27
+0.2997 0.3252 0.3517 0.3793 0.4079 0.4376 0.4683 0.5000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0005 0.0021 0.0047 0.0083 0.0130 0.0187 0.0255 
31
+0.0333 0.0421 0.0520 0.0630 0.0749 0.0879 0.1020 0.1171 
32
+0.1332 0.1504 0.1686 0.1878 0.2081 0.2294 0.2518 0.2752 
33
+0.2997 0.3252 0.3517 0.3793 0.4079 0.4376 0.4683 0.5000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 63 0300 106110
39
+   1b28 64 0200 02d0
40
+   1b28 6c 0200 1470
41
+   1b28 67 0100 E5
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 44
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/bjc610b8.upp View File

@@ -0,0 +1,44 @@
1
+-supModel="Canon BJC 610, 720x720DpI, high resolution paper, color, rendered"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYK
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Canon
8
+-r720x720
9
+-dupMargins="{ 8.23 20.44 11.05 7.9 }"
10
+-dupOutputComponentOrder="{ 3 2 1 0 }"  
11
+-dupBlackTransfer="{
12
+0.0000 0.0008 0.0033 0.0075 0.0133 0.0208 0.0300 0.0408 
13
+0.0533 0.0674 0.0832 0.1007 0.1199 0.1407 0.1632 0.1873 
14
+0.2131 0.2406 0.2697 0.3005 0.3330 0.3671 0.4029 0.4404 
15
+0.4795 0.5203 0.5627 0.6069 0.6527 0.7001 0.7492 0.8000 
16
+}"
17
+-dupCyanTransfer="{
18
+0.0000 0.0005 0.0021 0.0047 0.0083 0.0130 0.0187 0.0255 
19
+0.0333 0.0421 0.0520 0.0630 0.0749 0.0879 0.1020 0.1171 
20
+0.1332 0.1504 0.1686 0.1878 0.2081 0.2294 0.2518 0.2752 
21
+0.2997 0.3252 0.3517 0.3793 0.4079 0.4376 0.4683 0.5000 
22
+}"
23
+-dupMagentaTransfer="{
24
+0.0000 0.0005 0.0021 0.0047 0.0083 0.0130 0.0187 0.0255 
25
+0.0333 0.0421 0.0520 0.0630 0.0749 0.0879 0.1020 0.1171 
26
+0.1332 0.1504 0.1686 0.1878 0.2081 0.2294 0.2518 0.2752 
27
+0.2997 0.3252 0.3517 0.3793 0.4079 0.4376 0.4683 0.5000 
28
+}"
29
+-dupYellowTransfer="{
30
+0.0000 0.0005 0.0021 0.0047 0.0083 0.0130 0.0187 0.0255 
31
+0.0333 0.0421 0.0520 0.0630 0.0749 0.0879 0.1020 0.1171 
32
+0.1332 0.1504 0.1686 0.1878 0.2081 0.2294 0.2518 0.2752 
33
+0.2997 0.3252 0.3517 0.3793 0.4079 0.4376 0.4683 0.5000 
34
+}"
35
+-dupBeginPageCommand="<
36
+   1b5b4b 0200 000f
37
+   1b28 62 0100 01
38
+   1b28 63 0300 107110
39
+   1b28 64 0200 02d0
40
+   1b28 6c 0200 14a0
41
+   1b28 67 0100 E5
42
+>"
43
+-dupEndJobCommand="(\033\050b\001\000\000\033@)"
44
+-dupEndPageCommand="(\014)"

+ 56
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/caption.ps View File

@@ -0,0 +1,56 @@
1
+%!
2
+%    Copyright (C) 1995 Aladdin Enterprises.  All rights reserved.
3
+% 
4
+% This software is provided AS-IS with no warranty, either express or
5
+% implied.
6
+% 
7
+% This software is distributed under license and may not be copied,
8
+% modified or distributed except as expressly authorized under the terms
9
+% of the license contained in the file LICENSE in this distribution.
10
+% 
11
+% For more information about licensing, please refer to
12
+% http://www.ghostscript.com/licensing/. For information on
13
+% commercial licensing, go to http://www.artifex.com/licensing/ or
14
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
15
+% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
16
+
17
+% $Id: caption.ps 6300 2005-12-28 19:56:24Z giles $
18
+% Add a "caption" to the bottom of each page.
19
+/captionsize 20 def
20
+/caption
21
+ { /Helvetica //captionsize selectfont
22
+   (Printed by Aladdin's XXYYZZ) show
23
+   /Symbol //captionsize selectfont
24
+   (\324) show		% trademarkserif
25
+   /Helvetica //captionsize selectfont
26
+   ( product) show
27
+ } bind def
28
+
29
+10 dict begin
30
+gsave
31
+  initgraphics
32
+  clippath pathbbox
33
+  pop exch 36 add /by exch def
34
+		% We can't use stringwidth, so we have to show and measure.
35
+  gsave
36
+    0 0 0 0 rectclip
37
+    0 0 moveto caption currentpoint pop /bw exch def
38
+  grestore
39
+  add bw sub 2 div /bx exch def
40
+		% We don't have the font bbox available, so we guess.
41
+  /bh captionsize 1.05 mul def
42
+grestore
43
+/showcaption
44
+ { gsave
45
+     initgraphics
46
+     //bx 9 sub //by 9 sub //bw 18 add //bh 18 add
47
+     1 setgray 4 copy rectfill 0 setgray 1.5 setlinewidth rectstroke
48
+     //bx //by moveto //caption exec
49
+   grestore
50
+ } bind def
51
+<< /EndPage [
52
+   /showcaption load /exec load
53
+   currentpagedevice /EndPage get /exec load
54
+   ] cvx
55
+>> setpagedevice
56
+end

+ 74
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/cat.ps View File

@@ -0,0 +1,74 @@
1
+%    Copyright (C) 1996-2003 Artifex Software, Inc.  All rights reserved.
2
+% 
3
+% This software is provided AS-IS with no warranty, either express or
4
+% implied.
5
+% 
6
+% This software is distributed under license and may not be copied,
7
+% modified or distributed except as expressly authorized under the terms
8
+% of the license contained in the file LICENSE in this distribution.
9
+% 
10
+% For more information about licensing, please refer to
11
+% http://www.ghostscript.com/licensing/. For information on
12
+% commercial licensing, go to http://www.artifex.com/licensing/ or
13
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
+% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
+%
16
+% $Id: cat.ps 8331 2008-02-05 11:07:00Z kens $
17
+%
18
+% Appends one file to another. Primarily used to overcome the 
19
+% 'copy' limitation of Windows command shell for ps2epsi
20
+%
21
+% the files to be appended are given by the environament
22
+% variables %infile% and %outfile%. %infile% is appended to
23
+% %outfile%
24
+%
25
+
26
+/datastring 1024 string def
27
+
28
+{
29
+	(outfile) getenv 
30
+	{
31
+		/outfilename exch def
32
+		(infile) getenv
33
+		{
34
+			/infilename exch def
35
+	
36
+			infilename status 
37
+			{
38
+				pop pop pop pop outfilename status 
39
+				{ 
40
+					pop pop pop pop 
41
+					infilename (r) file /infile exch def 
42
+					outfilename (a+) file /outfile exch def 
43
+					{
44
+						infile datastring readstring
45
+						{
46
+							outfile exch writestring
47
+						}
48
+						{
49
+							dup length 0 gt
50
+							{outfile exch writestring} {pop} ifelse
51
+							exit
52
+						} ifelse
53
+					} loop
54
+					infile closefile
55
+					outfile closefile
56
+				} 
57
+				{
58
+					(Failed to find file ) print outfilename ==
59
+				} ifelse
60
+			}
61
+			{
62
+				(Failed to find file ) print infilename ==
63
+			} ifelse
64
+		}
65
+		{
66
+			(Couldn't find %infile% environment variable) ==
67
+		} ifelse
68
+	} 
69
+	{
70
+		(Couldn't find %outfile% environment variable) ==
71
+	}
72
+	ifelse
73
+} bind 
74
+exec

+ 404
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/cbjc600.ppd View File

@@ -0,0 +1,404 @@
1
+*PPD-Adobe: "4.1"
2
+*% Adobe Systems PostScript(R) Printer Description File
3
+*% Copyright 1995 Yves Arrouye for AFPL Ghostscript with Level 2 PS.
4
+*% All Rights Reserved. 
5
+*% This file may be distributed as part of GNU Ghostscript and/or AFPL
6
+*% Ghostscript, under the same terms and conditions as Ghostscript.
7
+*% End of Copyright statement
8
+*FormatVersion: "4.1"
9
+*FileVersion: "1.0"
10
+*LanguageVersion: English
11
+*PCFileName: "CBJC600.PPD"
12
+*Product: "(Canon Bubble Jet Color 600)"
13
+*PSVersion: "(2010.351) 0"
14
+*ModelName: "Canon Bubble Jet Color 600"
15
+*NickName: "BJC-600"
16
+
17
+*% This file is not complete, and may lack some useful information...
18
+
19
+*% Note: the default transfer function should be set to Null if Ghostscript
20
+*% exhibit a bug making magenta appear while printing in gray levels...
21
+*% Note: if you print on A4 paper by default, change *Default values (the
22
+*% default is Letter here).
23
+
24
+*% ==============Constraints =================
25
+
26
+*UIConstraints: *BitsPerPixel None *ColorModel DeviceCMYK
27
+*UIConstraints: *BitsPerPixel None *ColorModel DeviceRGB
28
+*UIConstraints: *BitsPerPixel 16 *ColorModel DeviceRGB
29
+*UIConstraints: *BitsPerPixel 16 *ColorModel DeviceGray
30
+*UIConstraints: *BitsPerPixel 24 *ColorModel DeviceGray
31
+*UIConstraints: *BitsPerPixel 32 *ColorModel DeviceRGB
32
+*UIConstraints: *BitsPerPixel 32 *ColorModel DeviceGray
33
+
34
+*UIConstraints: *ColorModel DeviceCMYK *BitsPerPixel None
35
+*UIConstraints: *ColorModel DeviceRGB *BitsPerPixel None
36
+*UIConstraints: *ColorModel DeviceRGB *BitsPerPixel 16
37
+*UIConstraints: *ColorModel DeviceRGB *BitsPerPixel 32
38
+*UIConstraints: *ColorModel DeviceGray *BitsPerPixel 16
39
+*UIConstraints: *ColorModel DeviceGray *BitsPerPixel 24
40
+*UIConstraints: *ColorModel DeviceGray *BitsPerPixel 32
41
+
42
+*% =========== Device Capabilities ===============
43
+
44
+*LanguageLevel: "2"
45
+*Protocols: TBCP
46
+*FreeVM: "2124600"
47
+*ColorDevice:  True
48
+*DefaultColorSpace: CMYK
49
+*FileSystem: True
50
+*Throughput: "1"
51
+
52
+*Password: "()" 
53
+
54
+*% ============Paper Size Information ==============
55
+
56
+*OpenUI *PageSize: PickOne
57
+*OrderDependency: 30 AnySetup *PageSize
58
+*DefaultPageSize: Letter
59
+*PageSize A4: "1 dict dup /PageSize [595 842] put setpagedevice"
60
+*PageSize A5: "1 dict dup /PageSize [421 595] put setpagedevice"
61
+*PageSize A6: "1 dict dup /PageSize [297 421] put setpagedevice"
62
+*PageSize A7: "1 dict dup /PageSize [210 297] put setpagedevice"
63
+*PageSize A8: "1 dict dup /PageSize [148 210] put setpagedevice"
64
+*PageSize A9: "1 dict dup /PageSize [105 148] put setpagedevice"
65
+*PageSize A10: "1 dict dup /PageSize [74 105] put setpagedevice"
66
+*PageSize B5: "1 dict dup /PageSize [501 709] put setpagedevice"
67
+*PageSize Letter/US Letter: "1 dict dup /PageSize [612 792] put setpagedevice"
68
+*CloseUI: *PageSize
69
+
70
+*OpenUI *PageRegion: PickOne
71
+*OrderDependency: 40 AnySetup *PageRegion
72
+*DefaultPageRegion: Letter
73
+*PageRegion A4: "1 dict dup /PageSize [595 842] put setpagedevice"
74
+*PageRegion A5: "1 dict dup /PageSize [421 595] put setpagedevice"
75
+*PageRegion A6: "1 dict dup /PageSize [297 421] put setpagedevice"
76
+*PageRegion A7: "1 dict dup /PageSize [210 297] put setpagedevice"
77
+*PageRegion A8: "1 dict dup /PageSize [148 210] put setpagedevice"
78
+*PageRegion A9: "1 dict dup /PageSize [105 148] put setpagedevice"
79
+*PageRegion A10: "1 dict dup /PageSize [74 105] put setpagedevice"
80
+*PageRegion B5: "1 dict dup /PageSize [501 709] put setpagedevice"
81
+*PageRegion Letter/US Letter: "1 dict dup /PageSize [612 792] put setpagedevice"
82
+*CloseUI: *PageRegion
83
+
84
+*DefaultImageableArea: Letter
85
+*ImageableArea A4: "18.425196 27.096094 576.625183 833.496094"
86
+*ImageableArea A5: "18.425196 27.096045 402.625183 586.496033"
87
+*ImageableArea A6: "18.425196 27.096045 278.625183 412.496033"
88
+*ImageableArea A7: "18.425196 27.096045 191.625198 288.496033"
89
+*ImageableArea A8: "18.425196 27.096045 129.625198 201.496048"
90
+*ImageableArea A9: "18.425196 27.096045 86.625198 139.496048"
91
+*ImageableArea A10: "18.425196 27.096045 55.625195 96.496048"
92
+*ImageableArea B5: "18.425196 27.096045 482.625183 700.496033"
93
+*ImageableArea Letter/US Letter: "18.425196 27.096045 593.625183 783.496033"
94
+
95
+*?ImageableArea: "
96
+save
97
+  /cvp {(                ) cvs print ( ) print } bind def
98
+  /upperright {10000 mul floor 10000 div} bind def
99
+  /lowerleft {10000 mul ceiling 10000 div} bind def
100
+  newpath clippath pathbbox
101
+  4 -2 roll exch 2 {lowerleft cvp} repeat
102
+  exch 2 {upperright cvp} repeat flush
103
+ restore
104
+"
105
+*End
106
+
107
+*PaperDimension A4: "595 842"
108
+*PaperDimension A5: "421 595"
109
+*PaperDimension A6: "297 421"
110
+*PaperDimension A7: "210 297"
111
+*PaperDimension A8: "148 210"
112
+*PaperDimension A9: "105 148"
113
+*PaperDimension A10: "74 105"
114
+*PaperDimension B5: "501 709"
115
+*PaperDimension Letter/US Letter: "612 792"
116
+
117
+*HWMargins: "9.637794495 27.042521 9.637794495 8.503937"
118
+
119
+*% =============Halftone Information ===============
120
+
121
+*ScreenFreq: "60.0"
122
+*ScreenAngle: "45.0"
123
+
124
+*DefaultScreenProc: Dot
125
+*ScreenProc Dot: "
126
+{dup mul exch dup mul add 1.0 exch sub }
127
+"
128
+*End
129
+*ScreenProc Line: "{ pop }"
130
+*ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
131
+
132
+*DefaultTransfer: Normalized
133
+*Transfer Normalized: "{mark
134
+1.0 1.000 0.955 0.915 0.847 0.765 0.683 0.602 0.500 0.311 0.030 0.0
135
+counttomark dup 3 add -1 roll exch
136
+2 sub mul dup floor cvi dup 3 1 roll sub exch dup 
137
+3 add index exch 2 add index dup 4 1 roll sub mul add
138
+counttomark 1 add 1 roll cleartomark
139
+} bind"
140
+*End
141
+*Transfer Null: "{ }"
142
+*Transfer Null.Inverse: "{ 1 exch sub }"
143
+*End
144
+
145
+*%==================Input Slot====================
146
+
147
+*OpenUI *InputSlot/Media Source: PickOne
148
+*OrderDependency: 20 AnySetup *InputSlot
149
+*DefaultInputSlot: Feeder
150
+*InputSlot Feeder/Paper Tray: ""
151
+*CloseUI: *InputSlot
152
+
153
+*%=================Manual Feed====================
154
+
155
+*OpenUI *ManualFeed/Manual Feed:  Boolean
156
+*OrderDependency: 20 AnySetup *ManualFeed
157
+*DefaultManualFeed: False
158
+*ManualFeed True/True: "1 dict dup /ManualFeed true put setpagedevice"
159
+*ManualFeed False/False: "1 dict dup /ManualFeed false put setpagedevice"
160
+*?ManualFeed: "
161
+ save
162
+ currentpagedevice /ManualFeed get
163
+ {(True)}{(False)}ifelse = flush
164
+ restore"
165
+*End
166
+
167
+*CloseUI: *ManualFeed
168
+
169
+*%===================Resolution====================
170
+
171
+*OpenUI *Resolution/Resolution: PickOne
172
+*OrderDependency: 10 AnySetup *Resolution
173
+*DefaultResolution: 360x360dpi
174
+*Resolution 90x90dpi/90dpi: "
175
+ 1 dict dup /HWResolution [ 90 90 ]
176
+ put setpagedevice"
177
+*End
178
+
179
+*Resolution 180x180dpi/180dpi: "
180
+ 1 dict dup /HWResolution [ 180 180 ]
181
+ put setpagedevice"
182
+*End
183
+
184
+*Resolution 360x360dpi/360dpi: "
185
+ 1 dict dup /HWResolution [ 360 360 ]
186
+ put setpagedevice"
187
+*End
188
+
189
+*?Resolution: "
190
+ save
191
+ currentpagedevice /HWResolution get dup
192
+ 0 get cvi 10 string cvs print
193
+ (x) print
194
+ 0 get cvi 10 string print
195
+ (dpi) = flush
196
+ restore"
197
+*End
198
+
199
+*CloseUI: *Resolution
200
+
201
+*%===================Output Depth====================
202
+
203
+*OpenUI *BitsPerPixel/Print Depth: PickOne
204
+*OrderDependency: 30 AnySetup *BitsPerPixel
205
+*DefaultBitsPerPixel: 24
206
+*BitsPerPixel None/1bpp: "
207
+ 1 dict dup /BitsPerPixel 1 put
208
+ setpagedevice"
209
+*End
210
+
211
+*BitsPerPixel 8/8bpp: "
212
+ 1 dict dup /BitsPerPixel 8 put
213
+ setpagedevice"
214
+*End
215
+
216
+*BitsPerPixel 16/16bpp: "
217
+ 1 dict dup /BitsPerPixel 16 put
218
+ setpagedevice"
219
+*End
220
+
221
+*BitsPerPixel 24/24bpp: "
222
+ 1 dict dup /BitsPerPixel 24 put
223
+ setpagedevice"
224
+*End
225
+
226
+*BitsPerPixel 32/32bpp: "
227
+ 1 dict dup /BitsPerPixel 32 put
228
+ setpagedevice"
229
+*End
230
+
231
+*?BitsPerPixel: "
232
+ save
233
+ currentpagedevice /BitsPerPixel get dup 1 eq { pop (None) } if = flush
234
+ restore"
235
+*End
236
+
237
+*CloseUI: *BitsPerPixel
238
+
239
+*%=================Media Type============================
240
+
241
+*OpenUI *MediaType/Media Type: PickOne
242
+*OrderDependency: 50 AnySetup *MediaType
243
+*DefaultMediaType: PlainPaper
244
+*MediaType PlainPaper/Plain Paper: "
245
+ 1 dict dup /MediaType (PlainPaper) put setpagedevice"
246
+*End
247
+
248
+*MediaType CoatedPaper/Coated Paper: "
249
+ 1 dict dup /MediaType (CoatedPaper) put setpagedevice"
250
+*End
251
+
252
+*MediaType TransparencyFilm/Transparency Film: "
253
+ 1 dict dup /MediaType (TransparencyFilm) put setpagedevice"
254
+*End
255
+
256
+*MediaType Envelope/Envelope: "
257
+ 1 dict dup /MediaType (Envelope) put setpagedevice"
258
+*End
259
+
260
+*MediaType Card/Card: "
261
+ 1 dict dup /MediaType (Card) put setpagedevice"
262
+*End
263
+
264
+*MediaType Other/Other: "
265
+ 1 dict dup /MediaType (Other) put setpagedevice"
266
+*End
267
+
268
+*?MediaType: "
269
+ save
270
+ currentpagedevice /MediaType get
271
+ dup null eq {pop (Unknown)} if = flush 
272
+ restore " 
273
+*End
274
+
275
+*CloseUI: *MediaType
276
+
277
+*%===================Printing Quality====================
278
+
279
+*OpenUI *OutputMode/Print Quality: PickOne
280
+*OrderDependency: 50 AnySetup *OuputMode
281
+*DefaultOutputMode: Normal
282
+*OutputMode Draft/Draft: "
283
+ 1 dict dup /PrintQuality (Draft) put setpagedevice"
284
+*End
285
+
286
+*OutputMode Normal/Normal: "
287
+ 1 dict dup /PrintQuality (Normal) put setpagedevice"
288
+*End
289
+
290
+*OutputMode High/High: "
291
+ 1 dict dup /PrintQuality (High) put setpagedevice"
292
+*End
293
+
294
+*?OutputMode: "
295
+ save
296
+ currentpagedevice /PrintQuality get
297
+ dup null eq {pop (Unknown)} if = flush 
298
+ restore " 
299
+*End
300
+
301
+*CloseUI: *OutputMode
302
+
303
+*%===================Color/Gray Printing====================
304
+
305
+*OpenUI *ColorModel/Color Processing: PickOne
306
+*OrderDependency: 20 AnySetup *ColorModel
307
+*DefaultColorModel: DeviceCMYK
308
+*ColorModel DeviceGray/Gray: "
309
+ 1 dict dup /ProcessColorModel /DeviceGray 
310
+ put setpagedevice"
311
+*End
312
+
313
+*ColorModel DeviceRGB/RGB: "
314
+ 1 dict dup /ProcessColorModel /DeviceRGB
315
+ put setpagedevice"
316
+*End
317
+
318
+*ColorModel DeviceCMYK/CMYK: "
319
+ 1 dict dup /ProcessColorModel /DeviceCMYK 
320
+ put setpagedevice"
321
+*End
322
+
323
+*?ColorModel: "
324
+ save
325
+ currentpagedevice /ProcessColorModel get = flush 
326
+ restore "
327
+*End
328
+
329
+*CloseUI: *ColorModel
330
+
331
+*%===================Media Weight/Thick Media====================
332
+
333
+*OpenUI *ThickMedia/Thick Media: PickOne
334
+*OrderDependency: 30 AnySetup *ThickMedia
335
+*Default ThickMedia: Thin
336
+*ThickMedia Thin/No: "
337
+ 1 dict dup /MediaWeight 80 
338
+ put setpagedevice"
339
+*End
340
+
341
+*ThickMedia Thick/Yes: "
342
+ 1 dict dup /ThickMedia 120
343
+ put setpagedevice"
344
+*End
345
+
346
+*?ThickMedia: "
347
+ save
348
+ currentpagedevice /MediaWeight get 105 gt { (Thick) } { (Thin) } ifelse
349
+ = flush 
350
+ restore "
351
+*End
352
+
353
+*CloseUI: *ThickMedia
354
+
355
+*%===================PrintColors====================
356
+
357
+*OpenUI *PrintColors/Print Colors: PickOne
358
+*OrderDependency: 20 AnySetup *PrintColors
359
+*DefaultPrintColors: "15"
360
+*PrintColors 0/None: "1 dict dup /PrintColors 0 put setpagedevice"
361
+*End
362
+
363
+*PrintColors 1/Cyan: "1 dict dup /PrintColors 1 put setpagedevice"
364
+*End
365
+
366
+*PrintColors 2/Magenta: "1 dict dup /PrintColors 2 put setpagedevice"
367
+*End
368
+
369
+*PrintColors 4/Yellow: "1 dict dup /PrintColors 4 put setpagedevice"
370
+*End
371
+
372
+*PrintColors 8/Black: "1 dict dup /PrintColors 8 put setpagedevice"
373
+*End
374
+
375
+*PrintColors 15/All: "1 dict dup /PrintColors 15 put setpagedevice"
376
+*End
377
+
378
+
379
+*CloseUI *PrintColors
380
+
381
+*%===================Monochrome Printing====================
382
+
383
+*OpenUI *MonochromePrint/Monochrome Print: Boolean
384
+*OrderDependency: 50 AnySetup *MonochromePrint
385
+*DefaultMonochromePrint: False
386
+*MonochromePrint True/Yes: "
387
+ 1 dict dup /MonochromePrint true 
388
+ put setpagedevice"
389
+*End
390
+
391
+*MonochromePrint False/No: "
392
+ 1 dict dup /MonochromePrint false 
393
+ put setpagedevice"
394
+*End
395
+
396
+*?MonochromePrint: "
397
+ save
398
+ currentpagedevice /MonochromePrint get
399
+ {(True)}{(False)}ifelse = flush
400
+ restore"
401
+*End
402
+
403
+*CloseUI: *MonochromePrint
404
+

+ 389
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/cbjc800.ppd View File

@@ -0,0 +1,389 @@
1
+*PPD-Adobe: "4.1"
2
+*% Adobe Systems PostScript(R) Printer Description File
3
+*% Copyright 1995 Yves Arrouye for AFPL Ghostscript with Level 2 PS.
4
+*% All Rights Reserved. 
5
+*% This file may be distributed as part of GNU Ghostscript and/or AFPL
6
+*% Ghostscript, under the same terms and conditions as Ghostscript.
7
+*% End of Copyright statement
8
+*FormatVersion: "4.1"
9
+*FileVersion: "1.0"
10
+*LanguageVersion: English
11
+*PCFileName: "CBJC800.PPD"
12
+*Product: "(Canon Bubble Jet Color 800)"
13
+*PSVersion: "(2010.351) 0"
14
+*ModelName: "Canon Bubble Jet Color 800"
15
+*NickName: "BJC-800"
16
+
17
+*% This file is not complete, and may lack some useful information...
18
+
19
+*% Note: the default transfer function should be set to Null if Ghostscript
20
+*% exhibit a bug making magenta appear while printing in gray levels...
21
+*% Note: if you print on A4 paper by default, change *Default values (the
22
+*% default is Letter here).
23
+
24
+*% ==============Constraints =================
25
+
26
+*UIConstraints: *BitsPerPixel None *ColorModel DeviceCMYK
27
+*UIConstraints: *BitsPerPixel None *ColorModel DeviceRGB
28
+*UIConstraints: *BitsPerPixel 16 *ColorModel DeviceRGB
29
+*UIConstraints: *BitsPerPixel 16 *ColorModel DeviceGray
30
+*UIConstraints: *BitsPerPixel 24 *ColorModel DeviceGray
31
+*UIConstraints: *BitsPerPixel 32 *ColorModel DeviceRGB
32
+*UIConstraints: *BitsPerPixel 32 *ColorModel DeviceGray
33
+
34
+*UIConstraints: *ColorModel DeviceCMYK *BitsPerPixel None
35
+*UIConstraints: *ColorModel DeviceRGB *BitsPerPixel None
36
+*UIConstraints: *ColorModel DeviceRGB *BitsPerPixel 16
37
+*UIConstraints: *ColorModel DeviceRGB *BitsPerPixel 32
38
+*UIConstraints: *ColorModel DeviceGray *BitsPerPixel 16
39
+*UIConstraints: *ColorModel DeviceGray *BitsPerPixel 24
40
+*UIConstraints: *ColorModel DeviceGray *BitsPerPixel 32
41
+
42
+*% =========== Device Capabilities ===============
43
+
44
+*LanguageLevel: "2"
45
+*Protocols: TBCP
46
+*FreeVM: "2124600"
47
+*ColorDevice:  True
48
+*DefaultColorSpace: CMYK
49
+*FileSystem: True
50
+*Throughput: "1"
51
+
52
+*Password: "()" 
53
+
54
+*% ============Paper Size Information ==============
55
+
56
+*OpenUI *PageSize: PickOne
57
+*OrderDependency: 30 AnySetup *PageSize
58
+*DefaultPageSize: Letter
59
+*PageSize A4: "1 dict dup /PageSize [595 842] put setpagedevice"
60
+*PageSize A5: "1 dict dup /PageSize [421 595] put setpagedevice"
61
+*PageSize A6: "1 dict dup /PageSize [297 421] put setpagedevice"
62
+*PageSize A7: "1 dict dup /PageSize [210 297] put setpagedevice"
63
+*PageSize A8: "1 dict dup /PageSize [148 210] put setpagedevice"
64
+*PageSize A9: "1 dict dup /PageSize [105 148] put setpagedevice"
65
+*PageSize A10: "1 dict dup /PageSize [74 105] put setpagedevice"
66
+*PageSize B5: "1 dict dup /PageSize [501 709] put setpagedevice"
67
+*PageSize Letter/US Letter: "1 dict dup /PageSize [612 792] put setpagedevice"
68
+*PageSize 11x17/US 11x17: "1 dict dup /PageSize [792 1224] put setpagedevice"
69
+*PageSize Ledger/US Ledger: "1 dict dup /PageSize [1224 792] put setpagedevice"
70
+*PageSize Legal/US Legal: "1 dict dup /PageSize [612 1008] put setpagedevice"
71
+*CloseUI: *PageSize
72
+
73
+*OpenUI *PageRegion: PickOne
74
+*OrderDependency: 40 AnySetup *PageRegion
75
+*DefaultPageRegion: Letter
76
+*PageRegion A4: "1 dict dup /PageSize [595 842] put setpagedevice"
77
+*PageRegion A5: "1 dict dup /PageSize [421 595] put setpagedevice"
78
+*PageRegion A6: "1 dict dup /PageSize [297 421] put setpagedevice"
79
+*PageRegion A7: "1 dict dup /PageSize [210 297] put setpagedevice"
80
+*PageRegion A8: "1 dict dup /PageSize [148 210] put setpagedevice"
81
+*PageRegion A9: "1 dict dup /PageSize [105 148] put setpagedevice"
82
+*PageRegion A10: "1 dict dup /PageSize [74 105] put setpagedevice"
83
+*PageRegion B5: "1 dict dup /PageSize [501 709] put setpagedevice"
84
+*PageRegion Letter/US Letter: "1 dict dup /PageSize [612 792] put setpagedevice"
85
+*PageRegion 11x17/US 11x17: "1 dict dup /PageSize [792 1224] put setpagedevice"
86
+*PageRegion Ledger/US Ledger: "1 dict dup /PageSize [1224 792] put setpagedevice"
87
+*PageRegion Legal/US Legal: "1 dict dup /PageSize [612 1008] put setpagedevice"
88
+*CloseUI: *PageRegion
89
+
90
+*DefaultImageableArea: Letter
91
+*ImageableArea A3: "9.637793 27.096094 832.437805 1181.496094"
92
+*ImageableArea A4: "18.425196 27.096094 576.625183 833.496094"
93
+*ImageableArea A5: "18.425196 27.096045 402.625183 586.496033"
94
+*ImageableArea A6: "18.425196 27.096045 278.625183 412.496033"
95
+*ImageableArea A7: "18.425196 27.096045 191.625198 288.496033"
96
+*ImageableArea A8: "18.425196 27.096045 129.625198 201.496048"
97
+*ImageableArea A9: "18.425196 27.096045 86.625198 139.496048"
98
+*ImageableArea A10: "18.425196 27.096045 55.625195 96.496048"
99
+*ImageableArea B5: "18.425196 27.096045 482.625183 700.496033"
100
+*ImageableArea Letter/US Letter: "18.425196 27.096045 593.625183 783.496033"
101
+*ImageableArea 11x17/US 11x17: "9.637793 27.096094 782.437805 1215.496094"
102
+*ImageableArea Ledger/US Ledger: "9.637793 27.096045 1214.437744 783.496033"
103
+*ImageableArea Legal/US Legal: "9.637793 27.096094 602.437805 999.496094"
104
+
105
+*?ImageableArea: "
106
+save
107
+  /cvp {(                ) cvs print ( ) print } bind def
108
+  /upperright {10000 mul floor 10000 div} bind def
109
+  /lowerleft {10000 mul ceiling 10000 div} bind def
110
+  newpath clippath pathbbox
111
+  4 -2 roll exch 2 {lowerleft cvp} repeat
112
+  exch 2 {upperright cvp} repeat flush
113
+ restore
114
+"
115
+*End
116
+
117
+*PaperDimension A4: "595 842"
118
+*PaperDimension A5: "421 595"
119
+*PaperDimension A6: "297 421"
120
+*PaperDimension A7: "210 297"
121
+*PaperDimension A8: "148 210"
122
+*PaperDimension A9: "105 148"
123
+*PaperDimension A10: "74 105"
124
+*PaperDimension B5: "501 709"
125
+*PaperDimension Letter/US Letter: "612 792"
126
+*PaperDimension 11x17/US 11x17: "792 1224"
127
+*PaperDimension Ledger/US Ledger: "1224 792"
128
+*PaperDimension Legal/US Legal: "612 1008"
129
+
130
+*HWMargins: "9.637794495 19.842518 9.637794495 8.503937"
131
+
132
+*% =============Halftone Information ===============
133
+
134
+*ScreenFreq: "60.0"
135
+*ScreenAngle: "45.0"
136
+
137
+*DefaultScreenProc: Dot
138
+*ScreenProc Dot: "
139
+{dup mul exch dup mul add 1.0 exch sub }
140
+"
141
+*End
142
+*ScreenProc Line: "{ pop }"
143
+*ScreenProc Ellipse: "{ dup 5 mul 8 div mul exch dup mul exch add sqrt 1 exch sub }"
144
+
145
+*DefaultTransfer: Normalized
146
+*Transfer Normalized: "{mark
147
+1.0 1.000 0.955 0.915 0.847 0.765 0.683 0.602 0.500 0.311 0.030 0.0
148
+counttomark dup 3 add -1 roll exch
149
+2 sub mul dup floor cvi dup 3 1 roll sub exch dup 
150
+3 add index exch 2 add index dup 4 1 roll sub mul add
151
+counttomark 1 add 1 roll cleartomark
152
+} bind"
153
+*End
154
+*Transfer Null: "{ }"
155
+*Transfer Null.Inverse: "{ 1 exch sub }"
156
+*End
157
+
158
+*%==================Input Slot====================
159
+
160
+*OpenUI *InputSlot/Media Source: PickOne
161
+*OrderDependency: 20 AnySetup *InputSlot
162
+*DefaultInputSlot: Feeder
163
+*InputSlot Feeder/Paper Tray: ""
164
+*CloseUI: *InputSlot
165
+
166
+*%=================Manual Feed====================
167
+
168
+*OpenUI *ManualFeed/Manual Feed:  Boolean
169
+*OrderDependency: 20 AnySetup *ManualFeed
170
+*DefaultManualFeed: False
171
+*ManualFeed True/True: "1 dict dup /ManualFeed true put setpagedevice"
172
+*ManualFeed False/False: "1 dict dup /ManualFeed false put setpagedevice"
173
+*?ManualFeed: "
174
+ save
175
+ currentpagedevice /ManualFeed get
176
+ {(True)}{(False)}ifelse = flush
177
+ restore"
178
+*End
179
+
180
+*CloseUI: *ManualFeed
181
+
182
+*%===================Resolution====================
183
+
184
+*OpenUI *Resolution/Resolution: PickOne
185
+*OrderDependency: 10 AnySetup *Resolution
186
+*DefaultResolution: 360x360dpi
187
+*Resolution 90x90dpi/90dpi: "
188
+ 1 dict dup /HWResolution [ 90 90 ]
189
+ put setpagedevice"
190
+*End
191
+
192
+*Resolution 180x180dpi/180dpi: "
193
+ 1 dict dup /HWResolution [ 180 180 ]
194
+ put setpagedevice"
195
+*End
196
+
197
+*Resolution 360x360dpi/360dpi: "
198
+ 1 dict dup /HWResolution [ 360 360 ]
199
+ put setpagedevice"
200
+*End
201
+
202
+*?Resolution: "
203
+ save
204
+ currentpagedevice /HWResolution get dup
205
+ 0 get cvi 10 string cvs print
206
+ (x) print
207
+ 0 get cvi 10 string print
208
+ (dpi) = flush
209
+ restore"
210
+*End
211
+
212
+*CloseUI: *Resolution
213
+
214
+*%===================Output Depth====================
215
+
216
+*OpenUI *BitsPerPixel/Print Depth: PickOne
217
+*OrderDependency: 30 AnySetup *BitsPerPixel
218
+*DefaultBitsPerPixel: 24
219
+*BitsPerPixel None/1bpp: "
220
+ 1 dict dup /BitsPerPixel 1 put
221
+ setpagedevice"
222
+*End
223
+
224
+*BitsPerPixel 8/8bpp: "
225
+ 1 dict dup /BitsPerPixel 8 put
226
+ setpagedevice"
227
+*End
228
+
229
+*BitsPerPixel 16/16bpp: "
230
+ 1 dict dup /BitsPerPixel 16 put
231
+ setpagedevice"
232
+*End
233
+
234
+*BitsPerPixel 24/24bpp: "
235
+ 1 dict dup /BitsPerPixel 24 put
236
+ setpagedevice"
237
+*End
238
+
239
+*BitsPerPixel 32/32bpp: "
240
+ 1 dict dup /BitsPerPixel 32 put
241
+ setpagedevice"
242
+*End
243
+
244
+*?BitsPerPixel: "
245
+ save
246
+ currentpagedevice /BitsPerPixel get dup 1 eq { pop (None) } if = flush
247
+ restore"
248
+*End
249
+
250
+*CloseUI: *BitsPerPixel
251
+
252
+*%=================Media Type============================
253
+
254
+*OpenUI *MediaType/Media Type: PickOne
255
+*OrderDependency: 50 AnySetup *MediaType
256
+*DefaultMediaType: PlainPaper
257
+*MediaType PlainPaper/Plain Paper: "
258
+ 1 dict dup /MediaType (PlainPaper) put setpagedevice"
259
+*End
260
+
261
+*MediaType CoatedPaper/Coated Paper: "
262
+ 1 dict dup /MediaType (CoatedPaper) put setpagedevice"
263
+*End
264
+
265
+*MediaType TransparencyFilm/Transparency Film: "
266
+ 1 dict dup /MediaType (TransparencyFilm) put setpagedevice"
267
+*End
268
+
269
+*MediaType Envelope/Envelope: "
270
+ 1 dict dup /MediaType (Envelope) put setpagedevice"
271
+*End
272
+
273
+*MediaType Card/Card: "
274
+ 1 dict dup /MediaType (Card) put setpagedevice"
275
+*End
276
+
277
+*MediaType Other/Other: "
278
+ 1 dict dup /MediaType (Other) put setpagedevice"
279
+*End
280
+
281
+*?MediaType: "
282
+ save
283
+ currentpagedevice /MediaType get
284
+ dup null eq {pop (Unknown)} if = flush 
285
+ restore " 
286
+*End
287
+
288
+*CloseUI: *MediaType
289
+
290
+*%===================Printing Quality====================
291
+
292
+*OpenUI *OutputMode/Print Quality: PickOne
293
+*OrderDependency: 10 AnySetup *OuputMode
294
+*DefaultOutputMode: Normal
295
+*OutputMode Draft/Draft: "
296
+ 1 dict dup /PrintQuality (Draft) put setpagedevice"
297
+*End
298
+
299
+*OutputMode Low/Low: "
300
+ 1 dict dup /PrintQuality (Low) put setpagedevice"
301
+*End
302
+
303
+*OutputMode Normal/Normal: "
304
+ 1 dict dup /PrintQuality (Normal) put setpagedevice"
305
+*End
306
+
307
+*OutputMode High/High: "
308
+ 1 dict dup /PrintQuality (High) put setpagedevice"
309
+*End
310
+
311
+*CloseUI: *OutputMode
312
+
313
+*%===================Color/Gray Printing====================
314
+
315
+*OpenUI *ColorModel/Color Processing: PickOne
316
+*OrderDependency: 20 AnySetup *ColorModel
317
+*DefaultColorModel: DeviceCMYK
318
+*ColorModel DeviceGray/Gray: "
319
+ 1 dict dup /ProcessColorModel /DeviceGray 
320
+ put setpagedevice"
321
+*End
322
+
323
+*ColorModel DeviceRGB/RGB: "
324
+ 1 dict dup /ProcessColorModel /DeviceRGB
325
+ put setpagedevice"
326
+*End
327
+
328
+*ColorModel DeviceCMYK/CMYK: "
329
+ 1 dict dup /ProcessColorModel /DeviceCMYK 
330
+ put setpagedevice"
331
+*End
332
+
333
+*?ColorModel: "
334
+ save
335
+ currentpagedevice /ProcessColorModel get = flush 
336
+ restore "
337
+*End
338
+
339
+*CloseUI: *ColorModel
340
+
341
+*%===================Media Weight/Thick Media====================
342
+
343
+*OpenUI *ThickMedia/Thick Media: PickOne
344
+*OrderDependency: 30 AnySetup *ThickMedia
345
+*Default ThickMedia: Thin
346
+*ThickMedia Thin/No: "
347
+ 1 dict dup /MediaWeight 80 
348
+ put setpagedevice"
349
+*End
350
+
351
+*ThickMedia Thick/Yes: "
352
+ 1 dict dup /ThickMedia 120
353
+ put setpagedevice"
354
+*End
355
+
356
+*?ThickMedia: "
357
+ save
358
+ currentpagedevice /MediaWeight get 105 gt { (Thick) } { (Thin) } ifelse
359
+ = flush 
360
+ restore "
361
+*End
362
+
363
+*CloseUI: *ThickMedia
364
+
365
+*%===================PrintColors====================
366
+
367
+*OpenUI *PrintColors/Print Colors: PickOne
368
+*OrderDependency: 20 AnySetup *PrintColors
369
+*DefaultPrintColors: "15"
370
+*PrintColors 0/None: "1 dict dup /PrintColors 0 put setpagedevice"
371
+*End
372
+
373
+*PrintColors 1/Cyan: "1 dict dup /PrintColors 1 put setpagedevice"
374
+*End
375
+
376
+*PrintColors 2/Magenta: "1 dict dup /PrintColors 2 put setpagedevice"
377
+*End
378
+
379
+*PrintColors 4/Yellow: "1 dict dup /PrintColors 4 put setpagedevice"
380
+*End
381
+
382
+*PrintColors 8/Black: "1 dict dup /PrintColors 8 put setpagedevice"
383
+*End
384
+
385
+*PrintColors 15/All: "1 dict dup /PrintColors 15 put setpagedevice"
386
+*End
387
+
388
+
389
+*CloseUI *PrintColors

+ 48
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/cdj550.upp View File

@@ -0,0 +1,48 @@
1
+-supModel="HP Deskjet 550c, 300x300DpI, Gamma=2"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYK
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Pcl
8
+-r300x300
9
+-dupMargins="{ 12.0 36.0 12.0 12.0}"
10
+-dupBlackTransfer="{
11
+     0.0000 0.0010 0.0042 0.0094 0.0166 0.0260 0.0375 0.0510 
12
+     0.0666 0.0843 0.1041 0.1259 0.1498 0.1758 0.2039 0.2341
13
+     0.2663 0.3007 0.3371 0.3756 0.4162 0.4589 0.5036 0.5505
14
+     0.5994 0.6504 0.7034 0.7586 0.8158 0.8751 0.9365 1.0000
15
+}"
16
+-dupCyanTransfer="{
17
+     0.0000 0.0010 0.0042 0.0094 0.0166 0.0260 0.0375 0.0510 
18
+     0.0666 0.0843 0.1041 0.1259 0.1498 0.1758 0.2039 0.2341
19
+     0.2663 0.3007 0.3371 0.3756 0.4162 0.4589 0.5036 0.5505
20
+     0.5994 0.6504 0.7034 0.7586 0.8158 0.8751 0.9365 1.0000
21
+}"
22
+-dupMagentaTransfer="{
23
+     0.0000 0.0010 0.0042 0.0094 0.0166 0.0260 0.0375 0.0510 
24
+     0.0666 0.0843 0.1041 0.1259 0.1498 0.1758 0.2039 0.2341
25
+     0.2663 0.3007 0.3371 0.3756 0.4162 0.4589 0.5036 0.5505
26
+     0.5994 0.6504 0.7034 0.7586 0.8158 0.8751 0.9365 1.0000
27
+}"
28
+-dupYellowTransfer="{
29
+     0.0000 0.0010 0.0042 0.0094 0.0166 0.0260 0.0375 0.0510 
30
+     0.0666 0.0843 0.1041 0.1259 0.1498 0.1758 0.2039 0.2341
31
+     0.2663 0.3007 0.3371 0.3756 0.4162 0.4589 0.5036 0.5505
32
+     0.5994 0.6504 0.7034 0.7586 0.8158 0.8751 0.9365 1.0000
33
+}"
34
+-dupBeginPageCommand="<
35
+   1b2a726243
36
+   1b2a7433303052
37
+   1b266c33616f6c45
38
+   1b2a6f31643251
39
+   1b2a703059
40
+   1b2a72732d34753041
41
+   1b2a62326d
42
+>"
43
+-dupAdjustPageWidthCommand
44
+-dupEndPageCommand="(0M\033*rbC\033E\033&l0H)"
45
+-dupAbortCommand="(0M\033*rbC\033E\15\12\12\12\12    Printout-Aborted\15\033&l0H)"
46
+-dupYMoveCommand="(%dy\0)"
47
+-dupWriteComponentCommands="{ (%dv\0) (%dv\0) (%dv\0) (%dw\0) }"
48
+

+ 52
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/cdj690.upp View File

@@ -0,0 +1,52 @@
1
+-supModel="HP Deskjet 690 Normal Gamma 2.0"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceCMYK
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Pcl
8
+-r600x300
9
+-dupMargins="{ 12.0 36.0 12.0 12.0}"
10
+-dupBlackTransfer="{
11
+     0.0000 0.0010 0.0042 0.0094 0.0166 0.0260 0.0375 0.0510 
12
+     0.0666 0.0843 0.1041 0.1259 0.1498 0.1758 0.2039 0.2341
13
+     0.2663 0.3007 0.3371 0.3756 0.4162 0.4589 0.5036 0.5505
14
+     0.5994 0.6504 0.7034 0.7586 0.8158 0.8751 0.9365 1.0000
15
+}"
16
+-dupCyanTransfer="{
17
+     0.0000 0.0010 0.0042 0.0094 0.0166 0.0260 0.0375 0.0510 
18
+     0.0666 0.0843 0.1041 0.1259 0.1498 0.1758 0.2039 0.2341
19
+     0.2663 0.3007 0.3371 0.3756 0.4162 0.4589 0.5036 0.5505
20
+     0.5994 0.6504 0.7034 0.7586 0.8158 0.8751 0.9365 1.0000
21
+}"
22
+-dupMagentaTransfer="{
23
+     0.0000 0.0010 0.0042 0.0094 0.0166 0.0260 0.0375 0.0510 
24
+     0.0666 0.0843 0.1041 0.1259 0.1498 0.1758 0.2039 0.2341
25
+     0.2663 0.3007 0.3371 0.3756 0.4162 0.4589 0.5036 0.5505
26
+     0.5994 0.6504 0.7034 0.7586 0.8158 0.8751 0.9365 1.0000
27
+}"
28
+-dupYellowTransfer="{
29
+     0.0000 0.0010 0.0042 0.0094 0.0166 0.0260 0.0375 0.0510 
30
+     0.0666 0.0843 0.1041 0.1259 0.1498 0.1758 0.2039 0.2341
31
+     0.2663 0.3007 0.3371 0.3756 0.4162 0.4589 0.5036 0.5505
32
+     0.5994 0.6504 0.7034 0.7586 0.8158 0.8751 0.9365 1.0000
33
+}"
34
+-dupBeginPageCommand="<
35
+1b25 2d31 3233 3435 5840 
36
+504a 4c20 454e 5445 5220 4c41 4e47 5541 
37
+4745 3d50 434c 534c 4545 4b0a 1b45 1b2a 
38
+6232 421b 2a6f 3557 040c 0000 001b 2a6f 
39
+3144 1b26 6c31 481b 266c 3236 6130 4c1b 
40
+2a6f 3557 0103 0000 011b 266c 304d 1b26 
41
+6c30 6f30 451b 2a6f 304d 1b26 7533 3030 
42
+441b 2a70 3058 1b2a 7030 591b 2a67 3857 
43
+0201 0258 012c 0002 1b2a 7234 3830 3053 
44
+1b2a 7231 411b 2a62 324d 1b2a 6233 3034 
45
+591b 2a62 326d 
46
+>"
47
+-dupAdjustPageWidthCommand
48
+-dupEndPageCommand="(0M\033*rbC\033E\033&l0H)"
49
+-dupAbortCommand="(0M\033*rbC\033E\15\12\12\12\12    Printout-Aborted\15\033&l0H)"
50
+-dupYMoveCommand="(%dy\0)"
51
+-dupWriteComponentCommands="{ (%dv\0) (%dv\0) (%dv\0) (%dw\0) }"
52
+-dupOutputYOffset=10000

+ 54
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/cdj690ec.upp View File

@@ -0,0 +1,54 @@
1
+-supModel="HP Deskjet 690 Econo-Fast Gamma 2.0"
2
+-sDEVICE=uniprint
3
+-sPAPERSIZE=a4
4
+-dNOPAUSE
5
+-dSAFER
6
+-dupColorModel=/DeviceCMYK
7
+-dupRendering=/ErrorDiffusion
8
+-dupOutputFormat=/Pcl
9
+-r300x300
10
+
11
+-dupOutputYOffset=300
12
+-dupMargins="{ 0.0 36.0 12.0 12.0}"
13
+-dupBlackTransfer="{
14
+     0.0000 0.0010 0.0042 0.0094 0.0166 0.0260 0.0375 0.0510 
15
+     0.0666 0.0843 0.1041 0.1259 0.1498 0.1758 0.2039 0.2341
16
+     0.2663 0.3007 0.3371 0.3756 0.4162 0.4589 0.5036 0.5505
17
+     0.5994 0.6504 0.7034 0.7586 0.8158 0.8751 0.9365 1.0000
18
+}"
19
+-dupCyanTransfer="{
20
+     0.0000 0.0010 0.0042 0.0094 0.0166 0.0260 0.0375 0.0510 
21
+     0.0666 0.0843 0.1041 0.1259 0.1498 0.1758 0.2039 0.2341
22
+     0.2663 0.3007 0.3371 0.3756 0.4162 0.4589 0.5036 0.5505
23
+     0.5994 0.6504 0.7034 0.7586 0.8158 0.8751 0.9365 1.0000
24
+}"
25
+-dupMagentaTransfer="{
26
+     0.0000 0.0010 0.0042 0.0094 0.0166 0.0260 0.0375 0.0510 
27
+     0.0666 0.0843 0.1041 0.1259 0.1498 0.1758 0.2039 0.2341
28
+     0.2663 0.3007 0.3371 0.3756 0.4162 0.4589 0.5036 0.5505
29
+     0.5994 0.6504 0.7034 0.7586 0.8158 0.8751 0.9365 1.0000
30
+}"
31
+-dupYellowTransfer="{
32
+     0.0000 0.0010 0.0042 0.0094 0.0166 0.0260 0.0375 0.0510 
33
+     0.0666 0.0843 0.1041 0.1259 0.1498 0.1758 0.2039 0.2341
34
+     0.2663 0.3007 0.3371 0.3756 0.4162 0.4589 0.5036 0.5505
35
+     0.5994 0.6504 0.7034 0.7586 0.8158 0.8751 0.9365 1.0000
36
+}"
37
+-dupBeginPageCommand="<
38
+1b25 2d31 3233 3435 5840 
39
+504a 4c20 454e 5445 5220 4c41 4e47 5541 
40
+4745 3d50 434c 534c 4545 4b0a 1b45 1b2a 
41
+6232 421b 2a6f 3557 040c 0000 001b 2a6f 
42
+3144 1b26 6c31 481b 266c 3236 6130 4c1b 
43
+2a6f 3557 0103 0000 011b 266c 304d 1b26 
44
+6c30 6f30 451b 2a6f 2d31 4d1b 2675 3330 
45
+3044 1b2a 7030 581b 2a70 3059 1b2a 6732 
46
+3657 0204 012c 012c 0002 012c 012c 0002 
47
+012c 012c 0002 012c 012c 0002 1b2a 7232 
48
+3430 3053 1b2a 7231 411b 2a62 324d 1b2a 
49
+6231 591b 2a62 326d>"
50
+-dupAdjustPageWidthCommand
51
+-dupEndPageCommand="(0M\033*rbC\033E\033&l0H)"
52
+-dupAbortCommand="(0M\033*rbC\033E\15\12\12\12\12    Printout-Aborted\15\033&l0H)"
53
+-dupYMoveCommand="(%dy\0)"
54
+-dupWriteComponentCommands="{ (%dv\0) (%dv\0) (%dv\0) (%dw\0) }"

+ 160
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/cid2code.ps View File

@@ -0,0 +1,160 @@
1
+%    Copyright (C) 1998, 2000 Aladdin Enterprises.  All rights reserved.
2
+% 
3
+% This software is provided AS-IS with no warranty, either express or
4
+% implied.
5
+% 
6
+% This software is distributed under license and may not be copied,
7
+% modified or distributed except as expressly authorized under the terms
8
+% of the license contained in the file LICENSE in this distribution.
9
+% 
10
+% For more information about licensing, please refer to
11
+% http://www.ghostscript.com/licensing/. For information on
12
+% commercial licensing, go to http://www.artifex.com/licensing/ or
13
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
+% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
+
16
+% $Id: cid2code.ps 6300 2005-12-28 19:56:24Z giles $
17
+% Construct an inverse map from CIDs to codes.
18
+
19
+% Create an inverse map from CIDs to code values.
20
+% We only use this for 16-bit Unicode, so it has some limitations.
21
+% After invoking .cmap2code, loading a CMap file prints out the map
22
+% instead of doing what it usually does.  For example:
23
+%
24
+%	gs -dNODISPLAY -dBATCH lib/cid2code.ps -c .cmap2code\
25
+%	  -f Resource/CMap/UniJIS-UCS2-H > mapfile
26
+
27
+/.cmap2codedict 10 dict begin
28
+
29
+/begincmap {
30
+  mark
31
+} def
32
+/endcmap {
33
+		% Stack: mark code_lo1 code_hi1 cid1 ...
34
+  20 dict begin
35
+    /depth counttomark 3 sub def
36
+		% Do a first pass to determine the maximum CID.
37
+    0 0 3 depth {
38
+      1 add /d exch def
39
+      d index d 2 add index 1 get add d 3 add index 1 get sub .max
40
+    } for
41
+    1 add /ncid exch def
42
+    /map ncid 2 mul string def
43
+		% Now fill in the map.
44
+    0 3 depth {
45
+      /d exch def
46
+      d index 2 mul /cid2 exch def
47
+      d 1 add index /hi exch def
48
+      d 2 add index 2 string copy /lo exch def
49
+      lo 1 get 1 hi 1 get {
50
+	map cid2 lo 0 get put
51
+	map cid2 1 add 3 -1 roll put
52
+	/cid2 cid2 2 add def
53
+      } for
54
+    } for
55
+		% Print the map.
56
+    (%stdout) (w) file
57
+      dup (<) print
58
+      dup /ASCIIHexEncode filter
59
+	dup map writestring
60
+      closefile
61
+      () = flush
62
+    closefile
63
+  end
64
+} def
65
+%/begincodespacerange
66
+/endcodespacerange {cleartomark} def
67
+%/usecmap
68
+
69
+%/beginbfchar
70
+/endbfchar {cleartomark} def
71
+%/beginbfrange
72
+/endbfrange {cleartomark} def
73
+
74
+%/begincidchar
75
+/endcidchar {
76
+  counttomark 2 idiv { dup counttomark 1 add 3 roll } repeat pop
77
+} def
78
+%/begincidrange
79
+/endcidrange {
80
+  counttomark 1 add -1 roll pop
81
+} def
82
+
83
+%/beginnotdefchar
84
+/endnotdefchar {cleartomark} def
85
+%/beginnotdefrange
86
+/endnotdefrange {cleartomark} def
87
+
88
+currentdict end readonly def
89
+
90
+/.cmap2code {		% - .cmap2code -
91
+  /CIDInit /ProcSet findresource dup length dict copy
92
+  .cmap2codedict { 3 copy put pop pop } forall
93
+  /CIDInit exch /ProcSet defineresource pop
94
+} def
95
+
96
+% Extract and print reverse mapping information from a cid2code.txt file.
97
+/.printhex2 {		% <int16> .printhex2 -
98
+  (<) print
99
+  16#10000 add 16 =string cvrs 1 4 getinterval print
100
+  (>) print
101
+} def
102
+/.cid2code {		% <cmaptemplate> <file> <column> .cid2code -
103
+  30 dict begin
104
+  /column exch def
105
+  (r) file /f exch def
106
+  (%!) =
107
+  (/CIDInit /ProcSet findresource begin   12 dict begin   begincmap) =
108
+		% Print the information from the template.
109
+  {
110
+    exch ==only ( ) print
111
+    dup type /dicttype eq {
112
+      dup length =only ( dict dup begin) = {
113
+	(  ) print exch ===only ( ) print ===only ( def) =
114
+      } forall (end def) =
115
+    } {
116
+      ===only
117
+    } ifelse ( def) =
118
+  } forall
119
+		% Read the data from the cid2code.txt file.
120
+  {
121
+    f =string readline pop (CID\t) anchorsearch { pop pop exit } if pop
122
+  } loop
123
+  /map [ {
124
+    f =string readline not { pop exit } if
125
+    column { (\t) search pop pop pop } repeat
126
+    (\t) search { exch pop exch pop } if
127
+    (,) search { exch pop exch pop } if
128
+    dup length 4 ne { pop (*) } if
129
+    dup (*) eq { pop (0000) } if
130
+    (16#) exch concatstrings cvi
131
+  } loop ] def
132
+		% Print the code space range(s).
133
+  /maxcid map length 1 sub def
134
+  mark maxcid
135
+  dup 255 and 255 eq {
136
+    0 exch
137
+  } {
138
+    dup 16#ff00 and exch 0 2 index 1 sub
139
+  } ifelse
140
+  counttomark 2 idiv dup =only ( begincodespacerange) = {
141
+    exch .printhex2 .printhex2 () =
142
+  } repeat (endcodespacerange) =
143
+		% Print the map data.
144
+  0 1 100 maxcid {
145
+    /lo exch def
146
+    /hi lo 99 add maxcid .min def
147
+    0 lo 1 hi { map exch get 0 ne { 1 add } if } for
148
+    dup 0 eq {
149
+      pop
150
+    } {
151
+      =only ( begincidchar) = lo 1 hi {
152
+	map 1 index get dup 0 eq { pop pop } { exch .printhex2 = } ifelse
153
+      } for (endcidchar) =
154
+    } ifelse
155
+  } for
156
+		% Wrap up.
157
+  (endcmap   CMapName currentdict /CMap defineresource pop   end   end) =
158
+  f closefile
159
+  end
160
+} bind def

+ 43
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/cidfmap View File

@@ -0,0 +1,43 @@
1
+%!
2
+% cidfmap generated automatically by mkcidfm.ps from fonts found in
3
+%   C:/Windows/fonts
4
+
5
+% Substitutions
6
+/MS-PGothic << /FileType /TrueType /SubfontID 1 /CSI [(Japan1) 3] /Path (C:/Windows/fonts/msgothic.ttc) >> ;
7
+/MS-Mincho << /FileType /TrueType /SubfontID 0 /CSI [(Japan1) 3] /Path (C:/Windows/fonts/msmincho.ttc) >> ;
8
+/DotumChe << /FileType /TrueType /SubfontID 3 /CSI [(Korea1) 3] /Path (C:/Windows/fonts/gulim.ttc) >> ;
9
+/SimSun << /FileType /TrueType /SubfontID 0 /CSI [(GB1) 2] /Path (C:/Windows/fonts/simsun.ttc) >> ;
10
+/Gulim << /FileType /TrueType /SubfontID 0 /CSI [(Korea1) 3] /Path (C:/Windows/fonts/gulim.ttc) >> ;
11
+/MingLiU << /FileType /TrueType /SubfontID 0 /CSI [(CNS1) 2] /Path (C:/Windows/fonts/mingliu.ttc) >> ;
12
+/BatangChe << /FileType /TrueType /SubfontID 1 /CSI [(Korea1) 3] /Path (C:/Windows/fonts/batang.ttc) >> ;
13
+/Dotum << /FileType /TrueType /SubfontID 2 /CSI [(Korea1) 3] /Path (C:/Windows/fonts/gulim.ttc) >> ;
14
+/µ¸¿ò << /FileType /TrueType /SubfontID 2 /CSI [(Korea1) 3] /Path (C:/Windows/fonts/gulim.ttc) >> ;
15
+/PMingLiU << /FileType /TrueType /SubfontID 1 /CSI [(CNS1) 2] /Path (C:/Windows/fonts/mingliu.ttc) >> ;
16
+/SimHei << /FileType /TrueType /SubfontID 0 /CSI [(GB1) 2] /Path (C:/Windows/fonts/simhei.ttf) >> ;
17
+/Gungsuh << /FileType /TrueType /SubfontID 2 /CSI [(Korea1) 3] /Path (C:/Windows/fonts/batang.ttc) >> ;
18
+/MS-PMincho << /FileType /TrueType /SubfontID 1 /CSI [(Japan1) 3] /Path (C:/Windows/fonts/msmincho.ttc) >> ;
19
+/MS-UI-Gothic << /FileType /TrueType /SubfontID 2 /CSI [(Japan1) 3] /Path (C:/Windows/fonts/msgothic.ttc) >> ;
20
+/MS-Gothic << /FileType /TrueType /SubfontID 0 /CSI [(Japan1) 3] /Path (C:/Windows/fonts/msgothic.ttc) >> ;
21
+/NSimSun << /FileType /TrueType /SubfontID 1 /CSI [(GB1) 2] /Path (C:/Windows/fonts/simsun.ttc) >> ;
22
+/Batang << /FileType /TrueType /SubfontID 0 /CSI [(Korea1) 3] /Path (C:/Windows/fonts/batang.ttc) >> ;
23
+/GulimChe << /FileType /TrueType /SubfontID 1 /CSI [(Korea1) 3] /Path (C:/Windows/fonts/gulim.ttc) >> ;
24
+/±¼¸² << /FileType /TrueType /SubfontID 1 /CSI [(Korea1) 3] /Path (C:/Windows/fonts/gulim.ttc) >> ;
25
+/GungsuhChe << /FileType /TrueType /SubfontID 3 /CSI [(Korea1) 3] /Path (C:/Windows/fonts/batang.ttc) >> ;
26
+
27
+% Aliases
28
+/STHeiti-Regular /SimHei ;
29
+/STSong-Light /SimSun ;
30
+/STKaiti-Regular /SimHei ;
31
+/HeiseiKakuGo-W5 /MS-Gothic ;
32
+/HeiseiMin-W3 /MS-Mincho ;
33
+/HYSMyeongJo-Medium /Batang ;
34
+/GothicBBB-Medium /MS-Gothic ;
35
+/MKai-Medium /MingLiU ;
36
+/Ryumin-Light /MS-Mincho ;
37
+/MHei-Medium /MingLiU ;
38
+/HYRGoThic-Medium /Gulim ;
39
+/MSung-Medium /MingLiU ;
40
+/Ryumin-Medium /MS-Mincho ;
41
+/HYGoThic-Medium /Dotum ;
42
+/STFangsong-Light /SimSun ;
43
+/MSung-Light /MingLiU ;

+ 28
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/cidfmap.bak View File

@@ -0,0 +1,28 @@
1
+%!
2
+% $Id: cidfmap 8954 2008-08-08 04:22:38Z ray $
3
+% This is a sample map file for CIDFont category.
4
+
5
+%
6
+% The map is a set of records, which must use one of the two formats :
7
+%
8
+% 1. A substutution of a CIF font with another CID font :
9
+%
10
+%    /substituted /original ;
11
+%
12
+%    Where 'substituted' is a name being used in a document,
13
+%    'original' is a name of an available resource.
14
+%
15
+% 2. A substutution of a CIF font with a True Type font :
16
+%
17
+%    /substituted << /FileType /TrueType /Path (path) /SunfontID 1 /CSI [(ordering) supplement] >> ;
18
+%
19
+%    Where 'substituted' is a name being used in a document,
20
+%    'path' is a path to a True Type font file,
21
+%    'ordering' is a value of Ordering required for CIDSystemInfo dictionary,
22
+%    'supplement' is a value of Supplement required for CIDSystemInfo dictionary.
23
+%
24
+% Examples :
25
+%    
26
+%   /ShinGo-Bold   /HeiseiKakuGo-W5 ;
27
+%   /Ryumin-Medium << /FileType /TrueType /Path (H:/AuxFiles/Fonts/BATANG.TTC) /SubfontID 3 /CSI [(Japan1) 2] >> ;
28
+%

+ 15
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/decrypt.ps View File

@@ -0,0 +1,15 @@
1
+%!
2
+% Decrypt an eexec-encoded file.
3
+% $Id: decrypt.ps 6300 2005-12-28 19:56:24Z giles $
4
+
5
+(t.in) (r) file /in exch def
6
+(t.out) (w) file /out exch def
7
+256 string /buf exch def
8
+55665		% eexec encryption seed
9
+ { in buf readhexstring /more exch def
10
+   dup .type1decrypt out exch writestring
11
+   more not { exit } if
12
+ } loop
13
+in closefile
14
+out closefile
15
+quit

+ 47
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/dnj750c.upp View File

@@ -0,0 +1,47 @@
1
+-supModel="HP Designjet 750c, 300x300DpI, Gamma=2.5, CMY"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceRGB
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Pcl
8
+-r300x300
9
+-dupMargins="{0.0 0.0 0.0 0.0}"
10
+-dupRedTransfer="{1.0 0.921295345 0.846429467 0.775337517 0.707954228 
11
+0.644212425 0.584044278 0.527380228 0.474149585 0.424279869 0.377697408 
12
+0.334326446 0.294089675 0.256907612 0.222698912 0.191379622 0.162863538 
13
+0.137061611 0.113881744 0.0932285339 0.0750028 0.0591011234 0.0454152822 
14
+0.0338314585 0.0242292974 0.0164806321 0.0104477014 0.00598061318 0.00291339168 
15
+0.00105723308 0.000186894162 0.0}"
16
+-dupGreenTransfer="{1.0 0.921295345 0.846429467 0.775337517 0.707954228 
17
+0.644212425 0.584044278 0.527380228 0.474149585 0.424279869 0.377697408 
18
+0.334326446 0.294089675 0.256907612 0.222698912 0.191379622 0.162863538 
19
+0.137061611 0.113881744 0.0932285339 0.0750028 0.0591011234 0.0454152822 
20
+0.0338314585 0.0242292974 0.0164806321 0.0104477014 0.00598061318 0.00291339168 
21
+0.00105723308 0.000186894162 0.0}"
22
+-dupBlueTransfer="{1.0 0.921295345 0.846429467 0.775337517 0.707954228 
23
+0.644212425 0.584044278 0.527380228 0.474149585 0.424279869 0.377697408 
24
+0.334326446 0.294089675 0.256907612 0.222698912 0.191379622 0.162863538 
25
+0.137061611 0.113881744 0.0932285339 0.0750028 0.0591011234 0.0454152822 
26
+0.0338314585 0.0242292974 0.0164806321 0.0104477014 0.00598061318 0.00291339168 
27
+0.00105723308 0.000186894162 0.0}"
28
+-dupBeginPageCommand="<1b252d31323334355840504a4c204a4f42204e414d45203d20226773
29
+220d0a40504a4c20534554204d4952524f52203d204f4646200a40504a4c205345542050414c4554
30
+5445534f55524345203d20534f465457415245200a40504a4c205345542052454e4445524d4f4445
31
+203d20434f4c4f52200a40504a4c20534554205245534f4c5554494f4e203d2030200a40504a4c20
32
+534554205052494e5441524541203d2046554c4c53495a45200a40504a4c20534554205041504552
33
+4c454e475448203d2030200a40504a4c205345542050415045525749445448203d2030200a40504a
34
+4c20534554204f5249454e544154494f4e203d20504f525452414954200a40504a4c20534554204d
35
+415247494e53203d204e4f524d414c200a40504a4c20454e544552204c414e4755414745203d2048
36
+50474c32200d0a1b2531424250352c31494e5755304e50384543514c3130301b2531411b2661314e
37
+1b2a7631385700000308080800ff00ff00ff0000000000001b2a7632353561323535623235356330
38
+491b2a763061323535623235356331491b2a763235356130623235356332491b2a76306130623235
39
+356333491b2a763235356132353562306334491b2a76306132353562306335491b2a763235356130
40
+62306336491b2a7630613062306337491b2a74521b2a72531b2a72541b2a7231411b2a62324d>"
41
+-dupAdjustPageWidthCommand
42
+-dupAdjustPageLengthCommand
43
+-dupAdjustResolutionCommand
44
+-dupEndPageCommand="<1b2a72431b451b25314250473b1b252d313233343558>"
45
+-dupAbortCommand="
46
+(\033*rC\033E\15\12\12\12\12    Printout-Aborted\033%1BPG;\033%-12345X)"
47
+-dupWriteComponentCommands="{(\033*b%dV\0) (\033*b%dV\0) (\033*b%dW\0)}"

+ 59
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/dnj750m.upp View File

@@ -0,0 +1,59 @@
1
+-supModel="HP Designjet 750m, 600x600DpI, Gamma=2.5, CMY"
2
+-sDEVICE=uniprint
3
+-dNOPAUSE
4
+-dSAFER
5
+-dupColorModel=/DeviceGray
6
+-dupRendering=/ErrorDiffusion
7
+-dupOutputFormat=/Pcl
8
+-r600x600
9
+-dupMargins="{0.0 0.0 0.0 0.0}"
10
+-dupWhiteTransfer="{
11
+1.0            0.921295345  0.846429467   0.775337517   0.707954228
12
+0.644212425    0.584044278  0.527380228   0.474149585   0.424279869
13
+0.377697408    0.334326446  0.294089675   0.256907612   0.222698912
14
+0.191379622    0.162863538  0.137061611   0.113881744   0.0932285339
15
+0.0750028      0.0591011234 0.0454152822  0.0338314585  0.0242292974
16
+0.0164806321   0.0104477014 0.00598061318 0.00291339168 0.00105723308
17
+0.000186894162 0.0
18
+}"
19
+-dupBeginPageCommand="<
20
+   1b252d313233343558
21
+   40504a4c204a4f42204e414d45203d20226773220d0a
22
+   40504a4c20534554204d4952524f52203d204f4646200a
23
+   40504a4c205345542050414c45545445534f55524345203d20534f465457415245200a
24
+   40504a4c205345542052454e4445524d4f4445203d20475241595343414c45200a
25
+   40504a4c20534554205245534f4c5554494f4e203d2030200a
26
+   40504a4c20534554205052494e5441524541203d2046554c4c53495a45200a
27
+   40504a4c205345542050415045524c454e475448203d2030200a
28
+   40504a4c205345542050415045525749445448203d2030200a
29
+   40504a4c20534554204f5249454e544154494f4e203d20504f525452414954200a
30
+   40504a4c20534554204d415247494e53203d204e4f524d414c200a
31
+   40504a4c20454e544552204c414e4755414745203d204850474c32200d0a
32
+   1b253142
33
+   4250352c31
34
+   494e
35
+   575530
36
+   4e5032
37
+   4543
38
+   514c313030
39
+   1b253141
40
+   1b2661314e
41
+   1b2a763657
42
+   00
43
+   00
44
+   01
45
+   080808
46
+   1b2a76 32353561 32353562 32353563 3049
47
+   1b2a76     3061     3062     3063 3149
48
+   1b2a74 33323152
49
+   1b2a72 33323153
50
+   1b2a72 54
51
+   1b2a72 3141
52
+   1b2a62 324d
53
+>"
54
+-dupAdjustPageWidthCommand
55
+-dupAdjustPageLengthCommand
56
+-dupAdjustResolutionCommand
57
+-dupEndPageCommand="(\033*rC\033E\033%1BPG;\033%-12345X)"
58
+-dupAbortCommand="(\033*rC\033E\15\12\12\12\12    Printout-Aborted\033%1BPG;\033%-12345X)"
59
+-dupWriteComponentCommands="{ (\033*b%dW\0) }"

+ 220
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/docie.ps View File

@@ -0,0 +1,220 @@
1
+%    Copyright (C) 1995 Aladdin Enterprises.  All rights reserved.
2
+% 
3
+% This software is provided AS-IS with no warranty, either express or
4
+% implied.
5
+% 
6
+% This software is distributed under license and may not be copied,
7
+% modified or distributed except as expressly authorized under the terms
8
+% of the license contained in the file LICENSE in this distribution.
9
+% 
10
+% For more information about licensing, please refer to
11
+% http://www.ghostscript.com/licensing/. For information on
12
+% commercial licensing, go to http://www.artifex.com/licensing/ or
13
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
+% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
+
16
+% $Id: docie.ps 8411 2007-11-28 18:39:59Z ray $
17
+% docie.ps
18
+% Emulate CIE algorithms in PostScript.
19
+
20
+% ---------------- Auxiliary procedures ---------------- %
21
+
22
+/r1default [0 1] def
23
+/r3default [0 1 0 1 0 1] def
24
+
25
+/apply3		% <u> <v> <w> [<pu> <pv> <pw>] apply3 <u'> <v'> <w'>
26
+ {  { 4 -1 roll exch exec } forall
27
+ } bind def
28
+
29
+/restrict	% <u> <min> <max> restrict <u'>
30
+ { 3 1 roll .max .min
31
+ } bind def
32
+
33
+/restrict3	% <u> <v> <w> [<minu> ... <maxw>] restrict3 <u'> <v'> <w'>
34
+ { aload pop
35
+   7 -1 roll 3 1 roll restrict 7 1 roll
36
+   5 -1 roll 3 1 roll restrict 5 1 roll
37
+   restrict 3 1 roll
38
+ } bind def
39
+
40
+/rescale	% <u> <min> <max> rescale <u'>
41
+ { 1 index sub 3 1 roll sub exch div 0 .max 1 .min
42
+ } bind def
43
+
44
+/rescale3	% <u> <v> <w> [<minu> ... <maxw>] rescale3 <u'> <v'> <w'>
45
+ { aload pop
46
+   7 -1 roll 3 1 roll rescale 7 1 roll
47
+   5 -1 roll 3 1 roll rescale 5 1 roll
48
+   rescale 3 1 roll
49
+ } bind def
50
+
51
+/mmult3		% <u> <v> <w> [<uu> <uv> ... <wv> <ww>] mmult3
52
+		%   <u'> <v'> <w'>
53
+ { 4 -1 roll dup dup 6 -1 roll dup dup 8 -1 roll dup dup
54
+   10 -1 roll { 10 -1 roll mul } forall
55
+		% Stack: u1 v1 w1 u2 v2 w2 u3 v3 w3
56
+   4 -1 roll add 6 -1 roll add
57
+		% Stack: u1 v1 u2 v2 u3 v3 w'
58
+   7 1 roll 3 -1 roll add 4 -1 roll add
59
+		% Stack: w' u1 u2 u3 v'
60
+   5 1 roll add add 3 1 roll
61
+ } bind def
62
+
63
+/minvert3	% [<uu> <uv> ... <wv> <ww>] minvert3
64
+		%   [<uu'> <uv'> ... <wv'> <ww'>]
65
+ { 16 dict begin
66
+   aload pop { I H G F E D C B A } { exch def } forall
67
+   /coa E I mul F H mul sub def
68
+   /cob F G mul D I mul sub def
69
+   /coc D H mul E G mul sub def
70
+   /det A coa mul B cob mul add C coc mul add def
71
+   [ coa det div
72
+     C H mul B I mul sub det div
73
+     B F mul C E mul sub det div
74
+     cob det div
75
+     A I mul C G mul sub det div
76
+     C D mul A F mul sub det div
77
+     coc det div
78
+     B G mul A H mul sub det div
79
+     A E mul B D mul sub det div
80
+   ]
81
+   end
82
+ } bind def
83
+
84
+/print1
85
+ { print dup ==
86
+ } bind def
87
+
88
+/print3
89
+ { print 3 array astore dup == aload pop
90
+ } bind def
91
+
92
+% ---------------- Mapping to XYZ ---------------- %
93
+
94
+/csmap		% <csdict> <l> <m> <n> csmap <csdict> <x> <y> <z>
95
+ { 3 index /RangeLMN .knownget not { r3default } if restrict3
96
+DOCIEDEBUG { (After RangeLMN Decode: ) print3 } if
97
+   3 index /DecodeLMN .knownget { apply3 } if
98
+DOCIEDEBUG { (After DecodeLMN Decode: ) print3 } if
99
+   3 index /MatrixLMN .knownget { mmult3 } if
100
+DOCIEDEBUG { (After MatrixLMN Decode: ) print3 } if
101
+ } bind def
102
+
103
+/csciea		% <csdict> <a> csciea <csdict> <x> <y> <z>
104
+ { 1 index /RangeA .knownget not { r1default aload pop } if restrict
105
+DOCIEDEBUG { (After RangeA Decode: ) print1 } if
106
+   1 index /DecodeA .knownget { exec } if
107
+DOCIEDEBUG { (After DecodeA Decode: ) print1 } if
108
+   1 index /MatrixA .knownget
109
+    { { 1 index mul exch } forall pop }
110
+    { dup dup }
111
+   ifelse
112
+DOCIEDEBUG { (After MatrixA Decode: ) print3 } if
113
+   csmap
114
+ } bind def
115
+
116
+/cscieabc	% <csdict> <a> <b> <c> cscieabc <csdict> <x> <y> <z>
117
+ { 3 index /RangeABC .knownget not { r3default } if restrict3
118
+DOCIEDEBUG { (After RangeABC Decode: ) print3 } if
119
+   3 index /DecodeABC .knownget { apply3 } if
120
+DOCIEDEBUG { (After DecodeABC Decode: ) print3 } if
121
+   3 index /MatrixABC .knownget { mmult3 } if
122
+DOCIEDEBUG { (After MatrixABC Decode: ) print3 } if
123
+   csmap
124
+ } bind def
125
+
126
+% ---------------- Rendering from XYZ ---------------- %
127
+
128
+/lookup3	% <rtable> <a[0..1]> <b[0..1]> <c[0..1]> lookup3
129
+		%   <rtable> <bytes>
130
+ { 3 -1 roll 3 index 0 get 1 sub mul
131
+   3 -1 roll 3 index 1 get 1 sub mul
132
+   3 -1 roll 3 index 2 get 1 sub mul
133
+		% Stack: rtable ia ib ic
134
+DOCIEDEBUG { (RenderTable indices: ) print3 mark 5 1 roll } if
135
+   3 -1 roll round cvi 3 index 3 get exch get
136
+		% Stack: rtable ib ic string
137
+   3 -1 roll round cvi 3 index 2 get mul
138
+		% Stack: rtable ic string ib*nc
139
+   3 -1 roll round cvi add 2 index 4 get mul
140
+		% Stack: rtable string index
141
+   2 index 4 get getinterval
142
+		% Stack: rtable bytes
143
+DOCIEDEBUG { (RenderTable values: ) print (<) print (%stdout) (w) file 1 index writehexstring (>) = } if
144
+ } bind def
145
+
146
+/bpdefault [0 0 0] def
147
+
148
+/crmap		% <csdict> <crdict> <x> <y> <z> crmap <v1> ...
149
+ {
150
+DOCIEDEBUG { (CIE XYZ = ) print3 } if
151
+   3 index /MatrixPQR .knownget { mmult3 } if
152
+DOCIEDEBUG { (After MatrixPQR: ) print3 } if
153
+   4 index /WhitePoint get
154
+   5 index /BlackPoint .knownget not { bpdefault } if
155
+   5 index /WhitePoint get
156
+   6 index /BlackPoint .knownget not { bpdefault } if
157
+   4
158
+     { 4 -1 roll aload pop
159
+			% Stack: csdict crdict x y z pt pt pt px py pz
160
+       3 copy 12 index /MatrixPQR .knownget { mmult3 } if 6 array astore
161
+     }
162
+   repeat
163
+			% Stack: csdict crdict x y z wps+ bps+ wpd+ bpd+
164
+   9 -1 roll pop		% get rid of csdict
165
+   7 4 roll
166
+   7 index /TransformPQR get
167
+    {			% Stack: crdict wps+ bps+ wpd+ bpd+ u v w proc
168
+      8 copy exch pop exch pop
169
+      exec exch pop 4 -1 roll pop
170
+    }
171
+   forall
172
+   7 3 roll pop pop pop pop	% get rid of White/BlackPoints
173
+DOCIEDEBUG { (After TransformPQR: ) print3 } if
174
+   3 index /MatrixPQR .knownget { minvert3 mmult3 } if
175
+DOCIEDEBUG { (After MatrixPQR': ) print3 } if
176
+   3 index /MatrixLMN .knownget { mmult3 } if
177
+DOCIEDEBUG { (After MatrixLMN Encode: ) print3 } if
178
+   3 index /EncodeLMN .knownget { apply3 } if
179
+DOCIEDEBUG { (After EncodeLMN Encode: ) print3 } if
180
+   3 index /RangeLMN .knownget not { r3default } if restrict3
181
+DOCIEDEBUG { (After RangeLMN Encode: ) print3 } if
182
+   3 index /MatrixABC .knownget { mmult3 } if
183
+DOCIEDEBUG { (After MatrixABC Encode: ) print3 } if
184
+   3 index /EncodeABC .knownget { apply3 } if
185
+DOCIEDEBUG { (After EncodeABC Encode: ) print3 } if
186
+   3 index /RangeABC .knownget not { r3default } if
187
+   5 -1 roll /RenderTable .knownget
188
+    {		% Stack: u v w ranges rtable
189
+      5 1 roll rescale3
190
+DOCIEDEBUG { (Rescaled ABC: ) print3 } if
191
+		% Stack: rtable a b c
192
+      lookup3
193
+		% Stack: rtable bytes
194
+      0 1 3 index 4 get 1 sub
195
+       {	% Stack: values rtable bytes c
196
+	 2 copy get 255 div
197
+		% Stack: values rtable bytes c v
198
+	 3 index 3 -1 roll 5 add get exec 3 1 roll
199
+       }
200
+      for pop pop
201
+DOCIEDEBUG { (After RenderTableT: ) print ] dup == aload pop } if
202
+    }
203
+    { restrict3
204
+DOCIEDEBUG { (After RangeABC Encode: ) print3 } if
205
+    }
206
+   ifelse
207
+ } bind def
208
+
209
+% ---------------- Top level control ---------------- %
210
+
211
+/mapdict mark
212
+  /CIEBasedA { 1 get exch csciea currentcolorrendering 4 1 roll crmap } bind
213
+  /DeviceGray { pop /DefaultGray /ColorSpace findresource 1 get exch csciea currentcolorrendering 4 1 roll crmap } bind
214
+  /CIEBasedABC { 1 get 4 1 roll cscieabc currentcolorrendering 4 1 roll crmap } bind
215
+  /DeviceRGB { pop /DefaultRGB /ColorSpace findresource 1 get 4 1 roll cscieabc currentcolorrendering 4 1 roll crmap } bind
216
+.dicttomark def
217
+/mapcie		% <a> mapcie <v1> ...
218
+		% <a> <b> <c> mapcie <v1> ...
219
+ { currentcolorspace dup 0 get //mapdict exch get exec
220
+ } bind def

+ 30
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/dumphint View File

@@ -0,0 +1,30 @@
1
+#!/bin/sh
2
+# $Id: dumphint 9320 2009-01-04 20:11:57Z till $
3
+# Linearized PDF hint formatting utility.
4
+
5
+# This definition is changed on install to match the
6
+# executable name set in the makefile
7
+GS_EXECUTABLE=gs
8
+gs="`dirname $0`/$GS_EXECUTABLE"
9
+if test ! -x "$gs"; then
10
+	gs="$GS_EXECUTABLE"
11
+fi
12
+GS_EXECUTABLE="$gs"
13
+
14
+
15
+OPTIONS="-dSAFER -dDELAYSAFER"
16
+while true
17
+do
18
+	case "$1" in
19
+	-?*) OPTIONS="$OPTIONS $1" ;;
20
+	*)  break ;;
21
+	esac
22
+	shift
23
+done
24
+
25
+if [ $# -ne 1 ]; then
26
+	echo "Usage: `basename $0` input.pdf" 1>&2
27
+	exit 1
28
+fi
29
+
30
+exec "$GS_EXECUTABLE" -q -dNODISPLAY $OPTIONS -- "`dirname $0`/dumphint.ps" "$1"

+ 22
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/dumphint.bat View File

@@ -0,0 +1,22 @@
1
+@echo off 
2
+@rem $Id: dumphint.bat 6300 2005-12-28 19:56:24Z giles $
3
+@rem Linearized PDF hint formatting utility.
4
+
5
+if %1/==/ goto usage
6
+call gssetgs.bat
7
+echo -q -dNODISPLAY -dSAFER -dDELAYSAFER >_.at
8
+:cp
9
+if %2/==/ goto doit
10
+echo %2 >>_.at
11
+shift
12
+goto cp
13
+
14
+:doit
15
+%GSC% -q @_.at -- dumphint.ps %1
16
+if exist _.at erase _.at
17
+goto end
18
+
19
+:usage
20
+echo Usage: dumphint input.pdf
21
+
22
+:end

+ 756
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/dumphint.ps View File

@@ -0,0 +1,756 @@
1
+% Copyright (C) 2000, 2001 Aladdin Enterprises.  All rights reserved.
2
+% 
3
+% This software is provided AS-IS with no warranty, either express or
4
+% implied.
5
+% 
6
+% This software is distributed under license and may not be copied,
7
+% modified or distributed except as expressly authorized under the terms
8
+% of the license contained in the file LICENSE in this distribution.
9
+% 
10
+% For more information about licensing, please refer to
11
+% http://www.ghostscript.com/licensing/. For information on
12
+% commercial licensing, go to http://www.artifex.com/licensing/ or
13
+% contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14
+% San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15
+
16
+% $Id: dumphint.ps 8284 2007-10-10 17:40:38Z giles $
17
+% Linearized PDF hint formatting utility.
18
+
19
+%
20
+% Linearized PDF hints generated by Acrobat suite seem to deviate from
21
+% the published specification.
22
+%
23
+% /P (page offset hint table) key in hint stream is not generated by
24
+% Adobe products. The key is no longer required in PDF 1.5.
25
+%
26
+% Per-page items 4 and 5 of the page offset hint table start from 1st
27
+% page rather than 2nd page as the spec claims.
28
+%
29
+% All array entries start from the new byte boundary.
30
+%
31
+
32
+/table_width 79 def 
33
+/col1_width  66 def
34
+
35
+% Skip bits to the next byte boundary
36
+/bytealign {		% <stream> bytealign -
37
+  begin /N 0 def /B 0 def end
38
+} bind def
39
+
40
+% Set bit stream position and align it to byte boundary
41
+/set_align {            % <<>> pos set_align -
42
+  exch begin
43
+  S exch setfileposition
44
+  /N 0 def /B 0 def
45
+  end
46
+} bind def
47
+
48
+% Read requested number of bits from the bit stream.
49
+/bitread {		% <bstream> <width> bitwrite <value>
50
+  exch begin
51
+  0                     %  bit val
52
+  { 
53
+    1 index N .min      %  bit val m
54
+    dup 3 1 roll        %  bit m val m 
55
+    bitshift            %  bit m val<<m
56
+    B 2 index N sub     %  bit m val<<m B m-N
57
+    bitshift add        %  bit m val<<m+B>>(N-m)
58
+    3 -1 roll           %  m val' bit 
59
+    2 index sub         %  m val' bit'
60
+    3 -1 roll           %  val' bit' m
61
+    N exch sub dup      %  val' bit' N' N'
62
+    1 exch bitshift     %  val' bit' N' 1<<N'
63
+    1 sub B and         %  val' bit' N' B&(1<<N')
64
+    /B exch def         %  val' bit' N'
65
+    /N exch def         %  val' bit'
66
+    dup 0 le {
67
+      pop exit          %  val'
68
+    } if
69
+    /N N 8 add def
70
+    /B B 8 bitshift S read not { 0 ( *** EOF! *** ) = } if add def
71
+    exch
72
+  } loop                %  bit' val'
73
+  end
74
+} bind def
75
+
76
+% Print a string several times
77
+/multiprint {           % cnt (s) multiprint -
78
+  exch { dup print } repeat pop
79
+} bind def
80
+
81
+% Split the line into 2 substrings.
82
+/split_line {           % (s) split_line () ()
83
+  dup length col1_width gt {
84
+    col1_width 1 sub
85
+    dup -1 0 {
86
+      dup               % (s) w i i
87
+      3 index           % (s) w i i ()
88
+      exch get          % (s) w i c
89
+      32 eq {
90
+        exch pop exit
91
+      } if
92
+      pop
93
+    } for
94
+    1 add               % (s) w'
95
+    1 index exch        % (s) (s) w'
96
+    0 exch              % (s) (s) 0 w'
97
+    getinterval         % (s) (v)
98
+  } {
99
+    dup                 % (s) (s)
100
+  } ifelse                  
101
+  (\n) search {
102
+    4 1 roll            % (pre) (s) (post) (match)
103
+    pop pop             % (pre) (s)
104
+    1 index length      % (pre) (s) len
105
+    1 add               % (pre) (s) len+1
106
+  } {
107
+    exch                % (pre) (s)
108
+    1 index length      % (pre) (s) len
109
+  } ifelse
110
+  1 index length        % (pre) (s) len Len
111
+  1 index sub           % (pre) (s) len Len-len
112
+  getinterval           % (pre) (post)
113
+} bind def
114
+
115
+% Print a 2 column table. The string is printed in 1st column
116
+% left-aligned. The number is printed in 2nd column right-aligned.
117
+/two_column {           % n () two_column -
118
+  split_line            % n (a) ()
119
+  3 1 roll              % () n (a)
120
+  dup length            % () n (a) len
121
+  exch print            % () n len
122
+  exch =string cvs      % () len (n)
123
+  dup length            % () len (n) len2
124
+  3 -1 roll add         % () (n) len+len2 
125
+  //table_width         % () (n) len+len2 78
126
+  exch sub              % () (n) 78-len+len2 
127
+  ( ) multiprint        % () (n)
128
+  =                     % ()
129
+  { dup length 0 eq { exit } if
130
+    split_line exch =
131
+  } loop
132
+  pop
133
+  () =
134
+} bind def
135
+
136
+% Print the header of a hint table
137
+/table_header {               % () table_header -
138
+  dup length dup
139
+  table_width exch sub 2 idiv % () len sp
140
+  dup ( ) multiprint          % () len sp
141
+  3 -1 roll =                 % len sp
142
+  ( ) multiprint              % len
143
+  (=) multiprint
144
+  ()= ()=
145
+} bind def
146
+
147
+% Pretty-print an array on top level
148
+/dump_array {               % [ ] dump_array -
149
+  ([) = ( ) print
150
+  1 exch {
151
+    =string cvs         % pos ()
152
+    dup length dup      % pos () len len
153
+    3 index add 1 add   % pos () len len+pos+1
154
+    table_width gt {
155
+      () =
156
+      (  ) print        % pos () len
157
+      2 add             % pos () pos'
158
+      3 1 roll print pop % pos'
159
+    } {
160
+      ( ) print         % pos () len
161
+      exch print        % pos len
162
+      add 1 add         % pos'
163
+    } ifelse
164
+  } forall
165
+  pop
166
+  () = (]) =
167
+} bind def
168
+
169
+% Pretty-print an array on 2nd level
170
+/dump_array2 {             % [ ] dump_array2 -
171
+  (  [) print
172
+  3 exch {
173
+    =string cvs            % pos ()
174
+    dup length dup         % pos () len len
175
+    3 index add 1 add      % pos () len len+pos+1
176
+    table_width 2 sub gt {
177
+      () =
178
+      (    ) print         % pos () len
179
+      4 add                % pos () pos'
180
+      3 1 roll print pop   % pos'
181
+    } {
182
+      ( ) print            % pos () len
183
+      exch print           % pos len
184
+      add 1 add            % pos'
185
+    } ifelse
186
+  } forall
187
+  pop
188
+  ( ]) =
189
+} bind def
190
+
191
+% Print an array header
192
+/array_header {
193
+  () = =
194
+} bind def
195
+
196
+% Analyze the page offset hint table.
197
+/dump_page_offset_table {  % - dump_page_offset_table -
198
+  hint_stream
199
+    
200
+  dup 32 bitread
201
+  dup /hint_minnop exch def
202
+  (1. The least number of objects in a page.) two_column
203
+
204
+  dup 32 bitread
205
+  dup /hint_1st_obj exch def
206
+  (2. Location of the first page's page object.) two_column
207
+
208
+  dup 16 bitread
209
+  dup /hint_maxnopbits exch def
210
+  (3. Bits for difference between max and min number of page objects.) two_column
211
+
212
+  dup 32 bitread
213
+  dup /hint_minpl exch def
214
+  (4. Least length of a page.) two_column
215
+
216
+  dup 16 bitread
217
+  dup /hint_maxplbits exch def
218
+  (5. Bits for difference between max and min length of a page.) two_column
219
+
220
+  dup 32 bitread
221
+  dup /hint_minsco exch def
222
+  (6. Least start of Contents offset. ) 
223
+  1 index 0 ne { (\n*** Acrobat expects 0 ***) concatstrings } if
224
+  two_column
225
+
226
+  dup 16 bitread
227
+  dup /hint_maxscobits exch def
228
+  (7. Bits for difference between max and min offset to the start of the content stream.) two_column
229
+
230
+  dup 32 bitread
231
+  dup /hint_mincl exch def
232
+  (8. Least contents length.) two_column
233
+
234
+  dup 16 bitread
235
+  dup /hint_maxclbits exch def
236
+  (9. Bits needed to represent the greatest Contents length.) two_column
237
+
238
+  dup 16 bitread
239
+  dup /hint_maxsorbits exch def
240
+  (10. Bits needed to represent the greatest number of Shared Object references.) two_column
241
+
242
+  dup 16 bitread
243
+  dup /hint_sobits exch def
244
+  (11. Bits needed to identify a Shared Object.) two_column
245
+
246
+  dup 16 bitread
247
+  dup /hint_numfbits exch def
248
+  (12. Bits needed to represent numerator of fraction.) two_column
249
+
250
+  dup 16 bitread
251
+  dup /hint_denf exch def
252
+  (13. Denominator of fraction.) two_column
253
+
254
+  pop 
255
+
256
+  LinearizationParams /N get
257
+
258
+  % 1. Number of objects in the page.
259
+  hint_stream bytealign
260
+  /hint_page_obj [
261
+    2 index {
262
+      hint_stream hint_maxnopbits bitread
263
+      hint_minnop add
264
+    } repeat
265
+  ] readonly def
266
+
267
+  (1. Number of objects on the page) array_header
268
+  hint_page_obj dump_array
269
+
270
+  % 2, Page length in bytes.
271
+  hint_stream bytealign
272
+  /hint_page_len [
273
+    2 index {
274
+      hint_stream hint_maxplbits bitread
275
+      hint_minpl add
276
+    } repeat
277
+  ] readonly def
278
+
279
+  (2. Page length in bytes.) array_header
280
+  hint_page_len dump_array
281
+
282
+  % 3, Number of shared objects referenced from the page
283
+  hint_stream bytealign
284
+  /hint_page_sobj [
285
+    2 index {
286
+      hint_stream hint_maxsorbits bitread
287
+    } repeat
288
+  ] readonly def
289
+
290
+  (3. Number of shared objects referenced from the page.) array_header
291
+  hint_page_sobj dump_array
292
+
293
+  % 4. Index into the shared objects hint table
294
+  hint_stream bytealign
295
+  /hint_page_sobj_id [
296
+    0 1 4 index 1 sub {
297
+      hint_page_sobj exch get [
298
+        exch {
299
+          hint_stream hint_sobits bitread
300
+        } repeat
301
+      ] readonly
302
+    } for
303
+  ] readonly def
304
+
305
+  (4. Index into the shared objects hint table.) array_header
306
+  ([) =
307
+  hint_page_sobj_id { dump_array2 } forall
308
+  (])=
309
+
310
+  % 5. Fractional position for each shared object reference
311
+  hint_stream bytealign
312
+  /hint_page_sobj_pos [
313
+    0 1 4 index 1 sub {
314
+      hint_page_sobj exch get [
315
+        exch {
316
+          hint_stream hint_numfbits bitread
317
+          hint_denf div
318
+        } repeat
319
+      ] readonly
320
+    } for
321
+  ] readonly def
322
+
323
+  (5. Fractional position for each shared object reference. ) array_header
324
+  ([)=
325
+  hint_page_sobj_pos { dump_array2 } forall
326
+  (])=
327
+
328
+  % 6. Offset of the page's content stream from the beginning of the page.
329
+  hint_stream bytealign
330
+  /hint_page_content_offset [
331
+    2 index {
332
+      hint_stream hint_maxscobits bitread
333
+      hint_minsco add
334
+    } repeat
335
+  ] readonly def
336
+
337
+  (6. Offset of the page's content stream from the beginning of the page.) array_header
338
+  hint_page_content_offset dump_array
339
+
340
+  % 7. Length of the page's content stream in bytes.
341
+  hint_stream bytealign
342
+  /hint_page_content_len [
343
+    2 index {
344
+      hint_stream hint_maxclbits bitread
345
+      hint_mincl add
346
+    } repeat
347
+  ] readonly def
348
+
349
+  (7. Length of the page's content stream in bytes.) array_header
350
+  hint_page_content_len dump_array
351
+
352
+  pop
353
+} bind def
354
+
355
+% Analyze tha shared object hint table
356
+/dump_shared_object_table { 
357
+  hint_stream
358
+    
359
+  dup 32 bitread
360
+  dup /shint_1st_obj_id exch def
361
+  (1. Object number of the first object in the shared objects section) two_column
362
+
363
+  dup 32 bitread
364
+  dup /shint_1st_obj_pos exch def
365
+  (2. Location of the first object in the shared objects section.) two_column
366
+
367
+  dup 32 bitread
368
+  dup /shint_1st_shared exch def
369
+  (3. The number of shared object entries for the first page.) two_column
370
+
371
+  dup 32 bitread
372
+  dup /shint_all_shared exch def
373
+  (4. Number of shared object entries for the shared objects section including 1st page.) two_column
374
+
375
+  dup 16 bitread
376
+  dup /shint_group_bits exch def
377
+  (5. Number of bits needed to represent the greatest number of objects in a shared object group.) two_column
378
+
379
+  dup 32 bitread
380
+  dup /shint_group_least_sz exch def
381
+  (6. Least length of a shared object group in bytes.) two_column
382
+
383
+  dup 16 bitread
384
+  dup /shint_group_diff_bits exch def
385
+  (7. Bits for the difference between the greatest and least length of a shared object group size.)  two_column
386
+  pop
387
+
388
+  (1. length of the object group in bytes.) array_header
389
+  hint_stream bytealign
390
+  /shint_group_sz [
391
+    shint_all_shared {
392
+      hint_stream shint_group_diff_bits bitread
393
+      shint_group_least_sz add
394
+    } repeat
395
+  ] readonly def
396
+
397
+  shint_group_sz dump_array
398
+
399
+  (2. MD5 signature flag) array_header
400
+    hint_stream bytealign
401
+    /shint_md5_flags
402
+    [ shint_all_shared 
403
+      { hint_stream 1 bitread
404
+      } repeat
405
+    ] readonly def
406
+
407
+    shint_md5_flags dump_array
408
+
409
+    (3. MD5 signature string) array_header
410
+    false shint_md5_flags { 0 ne or } forall { 
411
+      shint_md5_flags {
412
+        0 eq {
413
+          (<>)=
414
+        } {
415
+          hint_stream /S get 128 string
416
+          readstring pop
417
+          dup length 128 eq {
418
+            ==
419
+          } { pop (Error reading nd5 string.) ==
420
+          } ifelse
421
+        } ifelse
422
+      } forall   
423
+    } {
424
+      () = (none) =
425
+    } ifelse
426
+
427
+    (4. The number of objects in the group.) array_header
428
+    hint_stream bytealign
429
+    /shint_group_cnt [
430
+      shint_all_shared {
431
+        hint_stream shint_group_bits bitread
432
+      } repeat
433
+    ] readonly def
434
+
435
+    shint_group_cnt dump_array
436
+
437
+  } bind def
438
+
439
+% Analyze the thumbnail hint table.
440
+/dump_thumbnail_table {
441
+  hint_stream
442
+
443
+  dup 32 bitread
444
+  dup /thint_1st_obj_id exch def
445
+  (1. Object number of the first thumbnail image.) two_column
446
+
447
+  dup 32 bitread
448
+  dup /thint_1st_obj_pos exch def
449
+  (2. Location of the first thumbnail image.) two_column
450
+
451
+  dup 32 bitread
452
+  dup /thint_page_cnt exch def
453
+  (3. Number of pages that have thumbnail images.) two_column
454
+
455
+  dup 16 bitread
456
+  dup /thint_no_thumbnail_bits exch def
457
+  (4. Bits for the max number of consecutive pages without a thumbnail image.) two_column
458
+
459
+  dup 32 bitread
460
+  dup /thint_min_sz exch def
461
+  (5. The least length of a thumbnail image in bytes.) two_column
462
+
463
+  dup 15 bitread
464
+  dup /thint_obj_sz_bits exch def
465
+  (6. Bits for the difference between max and min length of a thumbnail image.) two_column
466
+
467
+  dup 32 bitread
468
+  dup /thint_min_obj_cnt exch def
469
+  (7. The least number of objects in a thumbnail image.) two_column
470
+
471
+  dup 16 bitread
472
+  dup /thint_obj_cnt_bits exch def
473
+  (8. Bits for the difference between max and min number of objects in a thumbnail image.) two_column
474
+
475
+  dup 32 bitread
476
+  dup /thint_1st_shared_obj exch def
477
+  (9. First object in the thumbnail shared objects section.) two_column
478
+
479
+  dup 32 bitread
480
+  dup /thint_1st_shared_pos exch def
481
+  (10. Location of the first object in the thumbnail shared objects section.) two_column
482
+
483
+  dup 32 bitread
484
+  dup /thint_shared_cnt exch def
485
+  (11. Number of thumbnail shared objects.) two_column
486
+
487
+  dup 32 bitread
488
+  dup /thint_shared_section_sz exch def
489
+  (12. Length of the thumbnail shared objects section in bytes.) two_column
490
+
491
+  pop
492
+  LinearizationParams /N get
493
+
494
+  (1. The number of preceding pages lacking a thumbnail image.) array_header
495
+  hint_stream bytealign
496
+  /thint_no_thumbnail_pages [
497
+    2 index {
498
+      hint_stream thint_no_thumbnail_bits bitread
499
+    } repeat
500
+  ] readonly def
501
+
502
+  thint_no_thumbnail_pages dump_array
503
+
504
+  (2. Number of objects in this page's thumbnail image.) array_header
505
+  hint_stream bytealign
506
+  /thint_page_obj_cnt [
507
+    2 index {
508
+      hint_stream thint_obj_cnt_bits bitread
509
+      thint_min_obj_cnt add
510
+    } repeat
511
+  ] readonly def
512
+
513
+  thint_page_obj_cnt dump_array
514
+
515
+  (3. Length of this page's thumbnail image in bytes.) array_header
516
+  hint_stream bytealign
517
+  /thint_page_obj_sz [
518
+    2 index {
519
+      hint_stream thint_obj_sz_bits bitread
520
+      thint_min_sz add
521
+    } repeat
522
+  ] readonly def
523
+
524
+  thint_page_obj_sz dump_array
525
+  pop
526
+} bind def
527
+
528
+% Analyze the generic hint table.
529
+% The hint field names are re-used. 
530
+/dump_generic_table { 
531
+  hint_stream
532
+
533
+  dup 32 bitread
534
+  dup /ghint_1st_obj exch def
535
+  (1. Object number of the first object in the group.) two_column
536
+
537
+  dup 32 bitread
538
+  dup /ghint_1st_obj_pos exch def
539
+  (2. Location of the first object in the group.) two_column
540
+
541
+  dup 32 bitread
542
+  dup /ghint_obj_cnt exch def
543
+  (3. Number of objects in the group.) two_column
544
+
545
+  dup 32 bitread
546
+  dup /ghint_group_sz exch def
547
+  (4. Length of the object group in bytes.) two_column
548
+
549
+  pop
550
+} bind def
551
+
552
+% Analyze the interactive hint table.
553
+% The hint field names are re-used.
554
+/dump_interactive_table {
555
+  hint_stream
556
+
557
+  dup 32 bitread
558
+  dup /ihint_1st_obj exch def
559
+  (1. Object number of the first object in the group.) two_column
560
+
561
+  dup 32 bitread
562
+  dup /ihint_1st_obj_pos exch def
563
+  (2. Location of the first object in the group.) two_column
564
+
565
+  dup 32 bitread
566
+  dup /ihint_obj_cnt exch def
567
+  (3. Number of objects in the group.) two_column
568
+
569
+  dup 32 bitread
570
+  dup /ihint_group_sz exch def
571
+  (4. Length of the object group in bytes.) two_column
572
+
573
+  dup 32 bitread
574
+  dup /ihint_shared_cnt exch def
575
+  (5. Number of shared object references.) two_column
576
+
577
+  dup 16 bitread
578
+  dup /ihint_shared_obj_bits exch def
579
+  (6. Bits for the max shared object id used by the interactive form or the logical structure hierarchy.)
580
+  1 index hint_sobits ne {
581
+    (\n*** This fiels is not equal to max shared object ID bits ***) concatstrings 
582
+  } if
583
+
584
+  pop
585
+
586
+  (7. Shared object identifier.) array_header
587
+  hint_stream bytealign
588
+  /ihint_shared_obj_id [
589
+    ihint_shared_cnt {
590
+      hint_stream hint_sobits bitread
591
+    } repeat
592
+  ] readonly def
593
+
594
+  ihint_shared_obj_id dump_array
595
+} bind def
596
+
597
+% Enumerate all documented hint tables.
598
+/dump_all_tables {  % <<stream>> dump_all_tables -
599
+  (Page offset hint table) table_header
600
+  hint_stream 0 set_align
601
+  dump_page_offset_table
602
+
603
+  (S, Shared object hint table) table_header
604
+  dup /S .knownget {
605
+    hint_stream exch set_align
606
+    dump_shared_object_table
607
+  } {
608
+    (Required table is not found.) error_msg
609
+  } ifelse
610
+
611
+  dup /T .knownget {
612
+    (T, Thumbnail hint table) table_header
613
+    hint_stream exch set_align
614
+    dump_thumbnail_table
615
+  } if   
616
+
617
+  dup /O .knownget {
618
+    (O, Outline hint table) table_header
619
+    hint_stream exch set_align
620
+    dump_generic_table
621
+  } if
622
+
623
+  dup /A .knownget {
624
+    (A, Thread information hint table) table_header 
625
+    hint_stream exch set_align
626
+    dump_generic_table
627
+  } if
628
+
629
+  dup /E .knownget {
630
+    (E, Named destination hint table) table_header
631
+    hint_stream exch set_align
632
+    dump_generic_table
633
+  } if
634
+
635
+  dup /V .knownget {
636
+    (V, Interactive form hint table) table_header
637
+    hint_stream exch set_align
638
+    dump_interactive_table
639
+  } if
640
+
641
+  dup /I .knownget {
642
+    (I, Information dictionary hint table) table_header
643
+    hint_stream exch set_align
644
+    dump_generic_table
645
+  } if
646
+
647
+  dup /C .knownget {
648
+    (C, Logical structure hint table) table_header
649
+    hint_stream exch set_align
650
+    dump_interactive_table
651
+  } if
652
+
653
+  dup /L .knownget {
654
+    (L, Page label hint table) table_header
655
+    hint_stream exch set_align
656
+    dump_generic_table
657
+  } if
658
+
659
+    pop
660
+} bind def
661
+
662
+
663
+% Load PDF file and extract the hint stream.
664
+/pdf_dump_hints {                             % <infile> pdf_dump_hints -
665
+  dup (r) file                                % fname
666
+  false exch                                  % fname F file 
667
+  {
668
+    dup 7 string readstring pop               % fname F file ()
669
+    (%PDF-1.) ne { pop exit } if              % fname F file
670
+    dup 0 setfileposition
671
+    dup token not { pop exit } if             % fname F file obj
672
+    dup type /integertype ne { pop exit } if  % fname F file obj
673
+    1 index token not { pop pop exit } if     % fname F file obj gen
674
+    dup type /integertype ne {pop pop exit}if % fname F file obj gen
675
+    4 2 roll                                  % fname obj gen F file
676
+    dup 0 setfileposition
677
+    exch true or                              % fname obj gen file T
678
+    exit
679
+  } loop
680
+  {
681
+    pdfdict begin
682
+    pdfopenfile dup begin
683
+    40 dict begin
684
+    /IDict exch def
685
+    .setsafe
686
+
687
+    % Read all objects into memory.
688
+    Trailer touch
689
+    resolveR                                  % fname <<>>
690
+    dup /Linearized known {
691
+      dup /L get                              % fname <<>> Len
692
+      3 -1 roll status not { 0 0 0 0 } if     % <<>> Len
693
+      pop pop exch pop                        % <<>> Len len
694
+      eq {
695
+        /LinearizationParams exch def
696
+        LinearizationParams /H get
697
+        dup length 2 eq {
698
+          0 get PDFoffset add PDFfile exch setfileposition
699
+          PDFfile token pop 
700
+          PDFfile token pop
701
+          resolveR dup true resolvestream
702
+          /ReusableStreamDecode filter 
703
+          bitstream dup bytealign
704
+          /hint_stream exch def
705
+
706
+          dump_all_tables
707
+        } {
708
+          pop
709
+          (Overflow hint stream is not supported.) =
710
+        } ifelse
711
+      } {
712
+        pop
713
+        (Wrong file length in linearization dictionary.) =
714
+      } ifelse
715
+    } {
716
+      pop (The file is not linearized.) =
717
+    } ifelse
718
+    end		% temporary dict
719
+    end		% IDict
720
+    end
721
+  } {
722
+    pop
723
+    (Input file is not a valid PDF file.) =
724
+  } ifelse
725
+} bind def
726
+
727
+% Initial setup
728
+/dump_hints {
729
+  counttomark 1 eq {
730
+    exch pop
731
+    save exch
732
+    3000000 setvmthreshold
733
+    pdfoptdict begin 
734
+    pdf_dump_hints
735
+    end
736
+    restore
737
+    true
738
+  } {
739
+    cleartomark false
740
+  } ifelse
741
+} bind def
742
+
743
+/shellarguments {false} def
744
+(pdfopt.ps) runlibfile
745
+currentdict /shellarguments undef
746
+
747
+% Check for command line arguments.
748
+mark shellarguments {
749
+  dump_hints not {
750
+    (Usage: gs -dNODISPLAY  -- dumphint.ps input.pdf) = flush
751
+  } if
752
+} {
753
+  pop
754
+} ifelse
755
+
756
+% EOF

+ 47
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/dvipdf View File

@@ -0,0 +1,47 @@
1
+#!/bin/sh
2
+# $Id: dvipdf 9344 2009-01-10 22:11:18Z till $
3
+# Convert DVI to PDF.
4
+#
5
+# Please contact Andrew Ford <A.Ford@ford-mason.co.uk> with any questions
6
+# about this file.
7
+#
8
+# Based on ps2pdf
9
+
10
+# This definition is changed on install to match the
11
+# executable name set in the makefile
12
+GS_EXECUTABLE=gs
13
+
14
+
15
+OPTIONS=""
16
+DVIPSOPTIONS=""
17
+while true
18
+do
19
+	case "$1" in
20
+	-R*) DVIPSOPTIONS="$DVIPSOPTIONS $1";;
21
+	-?*) OPTIONS="$OPTIONS $1" ;;
22
+	*)  break ;;
23
+	esac
24
+	shift
25
+done
26
+
27
+if [ $# -lt 1 -o $# -gt 2 ]; then
28
+	echo "Usage: `basename $0` [options...] input.dvi [output.pdf]" 1>&2
29
+	exit 1
30
+fi
31
+
32
+infile=$1;
33
+
34
+if [ $# -eq 1 ]
35
+then
36
+	case "${infile}" in
37
+	  *.dvi)	base=`basename "${infile}" .dvi` ;;
38
+	  *)		base=`basename "${infile}"` ;;
39
+	esac
40
+	outfile="${base}".pdf
41
+else
42
+	outfile=$2
43
+fi
44
+
45
+# We have to include the options twice because -I only takes effect if it
46
+# appears before other options.
47
+exec dvips -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite -

+ 29
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/eps2eps View File

@@ -0,0 +1,29 @@
1
+#!/bin/sh
2
+# $Id: eps2eps 9344 2009-01-10 22:11:18Z till $
3
+# "Distill" Encapsulated PostScript.
4
+
5
+# This definition is changed on install to match the
6
+# executable name set in the makefile
7
+GS_EXECUTABLE=gs
8
+gs="`dirname $0`/$GS_EXECUTABLE"
9
+if test ! -x "$gs"; then
10
+	gs="$GS_EXECUTABLE"
11
+fi
12
+GS_EXECUTABLE="$gs"
13
+
14
+OPTIONS="-dDEVICEWIDTH=250000 -dDEVICEHEIGHT=250000"
15
+while true
16
+do
17
+	case "$1" in
18
+	-?*) OPTIONS="$OPTIONS $1" ;;
19
+	*)  break ;;
20
+	esac
21
+	shift
22
+done
23
+
24
+if [ $# -ne 2 ]; then
25
+	echo "Usage: `basename $0` ...switches... input.eps output.eps" 1>&2
26
+	exit 1
27
+fi
28
+
29
+exec "$GS_EXECUTABLE" -q -sDEVICE=epswrite -sstdout=%stderr "-sOutputFile=$2" -dNOPAUSE -dBATCH -dSAFER $OPTIONS "$1"

+ 26
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/eps2eps.bat View File

@@ -0,0 +1,26 @@
1
+@echo off 
2
+@rem $Id: eps2eps.bat 6300 2005-12-28 19:56:24Z giles $
3
+@rem "Distill" Encapsulated PostScript.
4
+
5
+if %1/==/ goto usage
6
+if %2/==/ goto usage
7
+call gssetgs.bat
8
+echo -dNOPAUSE -dBATCH -dSAFER >_.at
9
+rem Watcom C deletes = signs, so use # instead.
10
+echo -dDEVICEWIDTH#250000 -dDEVICEHEIGHT#250000 >>_.at
11
+:cp
12
+if %3/==/ goto doit
13
+echo %1 >>_.at
14
+shift
15
+goto cp
16
+
17
+:doit
18
+rem Watcom C deletes = signs, so use # instead.
19
+%GSC% -q -sDEVICE#epswrite -sOutputFile#%2 @_.at %1
20
+if exist _.at erase _.at
21
+goto end
22
+
23
+:usage
24
+echo "Usage: eps2eps ...switches... input.eps output.eps"
25
+
26
+:end

+ 36
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/eps2eps.cmd View File

@@ -0,0 +1,36 @@
1
+/* $Id: eps2eps.cmd 6300 2005-12-28 19:56:24Z giles $ */
2
+/*
3
+ * This file is maintained by a user: if you have any questions about it,
4
+ * please contact Mark Hale (mark.hale@physics.org).
5
+ */
6
+
7
+/* "Distill" Encapsulated PostScript. */
8
+
9
+parse arg params
10
+
11
+gs='@gsos2'
12
+
13
+if params='' then call usage
14
+
15
+options='-dNOPAUSE -dBATCH -dSAFER'
16
+
17
+/* extract options from command line */
18
+i=1
19
+param=word(params,i)
20
+do while substr(param,1,1)='-'
21
+	options=options param
22
+	i=i+1
23
+	param=word(params,i)
24
+end
25
+
26
+infile=param
27
+if infile='' then call usage
28
+outfile=word(params,i+1)
29
+if outfile='' then call usage
30
+
31
+gs '-q -sDEVICE=epswrite -sOutputFile='outfile options infile
32
+exit
33
+
34
+usage:
35
+say 'Usage: eps2eps ...switches... input.eps output.eps'
36
+exit

+ 0
- 0
XHWK.WKTool/bin/Debug/PrintTool/Ghostscript/gs8.71/lib/fixmswrd.pl View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save