rghost 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/Manifest.txt +101 -0
- data/README.txt +3 -0
- data/Rakefile +93 -0
- data/lib/rghost.rb +3 -0
- data/lib/rghost/arc.rb +39 -0
- data/lib/rghost/barcode.rb +40 -0
- data/lib/rghost/callback.rb +55 -0
- data/lib/rghost/color.rb +118 -0
- data/lib/rghost/constants.rb +616 -0
- data/lib/rghost/convert.rb +24 -0
- data/lib/rghost/cursor.rb +82 -0
- data/lib/rghost/data_grid/basic_grid.rb +136 -0
- data/lib/rghost/data_grid/csv_grid.rb +27 -0
- data/lib/rghost/data_grid/data_grid.rb +14 -0
- data/lib/rghost/data_grid/dynamic_callback.rb +12 -0
- data/lib/rghost/data_grid/field_format.rb +60 -0
- data/lib/rghost/data_grid/grid.rb +18 -0
- data/lib/rghost/data_grid/header.rb +111 -0
- data/lib/rghost/data_grid/rails_grid.rb +37 -0
- data/lib/rghost/data_grid/static_callback.rb +13 -0
- data/lib/rghost/data_grid/style/border_lines.rb +47 -0
- data/lib/rghost/data_grid/style/bottom_lines.rb +30 -0
- data/lib/rghost/data_grid/style/old_forms.rb +30 -0
- data/lib/rghost/data_grid/style/style.rb +8 -0
- data/lib/rghost/document.rb +380 -0
- data/lib/rghost/dsc_entry.rb +20 -0
- data/lib/rghost/dynamic_document_callback.rb +27 -0
- data/lib/rghost/eps.rb +22 -0
- data/lib/rghost/font.rb +52 -0
- data/lib/rghost/function.rb +36 -0
- data/lib/rghost/gif.rb +28 -0
- data/lib/rghost/graphic.rb +28 -0
- data/lib/rghost/gs_alone.rb +17 -0
- data/lib/rghost/helpers.rb +13 -0
- data/lib/rghost/horizontal_line.rb +29 -0
- data/lib/rghost/image.rb +26 -0
- data/lib/rghost/jpeg.rb +26 -0
- data/lib/rghost/line.rb +40 -0
- data/lib/rghost/line_width.rb +17 -0
- data/lib/rghost/load.rb +37 -0
- data/lib/rghost/newpath.rb +20 -0
- data/lib/rghost/paper.rb +88 -0
- data/lib/rghost/point.rb +22 -0
- data/lib/rghost/point_with_command.rb +17 -0
- data/lib/rghost/ps/basic.ps +14 -0
- data/lib/rghost/ps/begin_document.ps +7 -0
- data/lib/rghost/ps/callbacks.ps +146 -0
- data/lib/rghost/ps/code128.font +344 -0
- data/lib/rghost/ps/code39.font +195 -0
- data/lib/rghost/ps/cursor.ps +41 -0
- data/lib/rghost/ps/datagrid.ps +52 -0
- data/lib/rghost/ps/ean.font +150 -0
- data/lib/rghost/ps/eps.ps +42 -0
- data/lib/rghost/ps/font.ps +31 -0
- data/lib/rghost/ps/functions.ps +646 -0
- data/lib/rghost/ps/gif.ps +150 -0
- data/lib/rghost/ps/horizontal_line.ps +3 -0
- data/lib/rghost/ps/i25.font +103 -0
- data/lib/rghost/ps/jpeg.ps +122 -0
- data/lib/rghost/ps/paper.ps +8 -0
- data/lib/rghost/ps/rectangle.ps +5 -0
- data/lib/rghost/ps/row.ps +4 -0
- data/lib/rghost/ps/show.ps +20 -0
- data/lib/rghost/ps/table_callbacks.ps +96 -0
- data/lib/rghost/ps/textarea.ps +11 -0
- data/lib/rghost/ps/type.ps +1 -0
- data/lib/rghost/ps/unit.ps +3 -0
- data/lib/rghost/ps/vertical_line.ps +14 -0
- data/lib/rghost/ps_object.rb +51 -0
- data/lib/rghost/rectangle.rb +39 -0
- data/lib/rghost/rgengine.so +0 -0
- data/lib/rghost/rghost.rb +3 -0
- data/lib/rghost/ruby_ghost_config.rb +25 -0
- data/lib/rghost/ruby_ghost_engine.rb +175 -0
- data/lib/rghost/ruby_to_ps.rb +92 -0
- data/lib/rghost/scale.rb +14 -0
- data/lib/rghost/show.rb +31 -0
- data/lib/rghost/static_document_callback.rb +22 -0
- data/lib/rghost/text_in.rb +29 -0
- data/lib/rghost/textarea.rb +115 -0
- data/lib/rghost/units.rb +81 -0
- data/lib/rghost/variable.rb +12 -0
- data/lib/rghost/version.rb +9 -0
- data/lib/rghost/vertical_line.rb +29 -0
- data/scripts/txt2html +67 -0
- data/setup.rb +1585 -0
- data/test/test_helper.rb +2 -0
- data/test/test_rghost.rb +11 -0
- data/website/index.html +11 -0
- data/website/index.txt +30 -0
- data/website/javascripts/rounded_corners_lite.inc.js +285 -0
- data/website/stylesheets/screen.css +129 -0
- data/website/template.rhtml +48 -0
- metadata +145 -0
@@ -0,0 +1,195 @@
|
|
1
|
+
%!FontType1-1.1: Code39JK 001.000
|
2
|
+
%%CreationDate: Thu Feb 22 12:20:33 2001
|
3
|
+
%%VMusage: 10488 6784
|
4
|
+
%
|
5
|
+
% This Type 1 PostScript font implements the Code 39 bar code.
|
6
|
+
% Copyright (C) 2001 Jan Karrman. All rights reserved.
|
7
|
+
%
|
8
|
+
% This program is free software; you can redistribute it and/or modify
|
9
|
+
% it under the terms of the GNU General Public License as published by
|
10
|
+
% the Free Software Foundation; either version 2 of the License, or
|
11
|
+
% (at your option) any later version.
|
12
|
+
%
|
13
|
+
% This program is distributed in the hope that it will be useful,
|
14
|
+
% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16
|
+
% GNU General Public License for more details.
|
17
|
+
%
|
18
|
+
% You should have received a copy of the GNU General Public License
|
19
|
+
% along with this program; if not, write to the Free Software
|
20
|
+
% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
21
|
+
%
|
22
|
+
11 dict begin
|
23
|
+
/FontInfo 10 dict dup begin
|
24
|
+
/version (001.000) readonly def
|
25
|
+
/Notice (Copyright (C) 2001 Jan Karrman. All rights reserved.) readonly def
|
26
|
+
/FullName (Code 39 JK) readonly def
|
27
|
+
/FamilyName (Code 39 JK) readonly def
|
28
|
+
/Weight (Medium) readonly def
|
29
|
+
/ItalicAngle 0 def
|
30
|
+
/isFixedPitch false def
|
31
|
+
/UnderlinePosition 0 def
|
32
|
+
/UnderlineThickness 0 def
|
33
|
+
end readonly def
|
34
|
+
/FontName /Code39JK def
|
35
|
+
/Encoding 256 array
|
36
|
+
0 1 255 {1 index exch /.notdef put} for
|
37
|
+
dup 32 /space put
|
38
|
+
dup 36 /dollar put
|
39
|
+
dup 37 /percent put
|
40
|
+
dup 42 /asterisk put
|
41
|
+
dup 43 /plus put
|
42
|
+
dup 45 /hyphen put
|
43
|
+
dup 46 /period put
|
44
|
+
dup 47 /slash put
|
45
|
+
dup 48 /zero put
|
46
|
+
dup 49 /one put
|
47
|
+
dup 50 /two put
|
48
|
+
dup 51 /three put
|
49
|
+
dup 52 /four put
|
50
|
+
dup 53 /five put
|
51
|
+
dup 54 /six put
|
52
|
+
dup 55 /seven put
|
53
|
+
dup 56 /eight put
|
54
|
+
dup 57 /nine put
|
55
|
+
dup 65 /A put
|
56
|
+
dup 66 /B put
|
57
|
+
dup 67 /C put
|
58
|
+
dup 68 /D put
|
59
|
+
dup 69 /E put
|
60
|
+
dup 70 /F put
|
61
|
+
dup 71 /G put
|
62
|
+
dup 72 /H put
|
63
|
+
dup 73 /I put
|
64
|
+
dup 74 /J put
|
65
|
+
dup 75 /K put
|
66
|
+
dup 76 /L put
|
67
|
+
dup 77 /M put
|
68
|
+
dup 78 /N put
|
69
|
+
dup 79 /O put
|
70
|
+
dup 80 /P put
|
71
|
+
dup 81 /Q put
|
72
|
+
dup 82 /R put
|
73
|
+
dup 83 /S put
|
74
|
+
dup 84 /T put
|
75
|
+
dup 85 /U put
|
76
|
+
dup 86 /V put
|
77
|
+
dup 87 /W put
|
78
|
+
dup 88 /X put
|
79
|
+
dup 89 /Y put
|
80
|
+
dup 90 /Z put
|
81
|
+
readonly def
|
82
|
+
/PaintType 0 def
|
83
|
+
/FontType 1 def
|
84
|
+
/FontMatrix [0.001 0 0 0.001 0 0] readonly def
|
85
|
+
/UniqueID 5119294 def
|
86
|
+
/FontBBox [0 0 360 800] readonly def
|
87
|
+
currentdict end
|
88
|
+
currentfile eexec
|
89
|
+
f983ef0097ece636fb4a96c74d26ab84185f6dfa4a16a7a1c27bbe3f1156aea6
|
90
|
+
98df331278ddd83a95bfe3721babb069504235a8fca9f8012c70beaa7df68b59
|
91
|
+
3bd9d4efa3ace1dece221596c4dfc26c5c23e53e56473f4d3d6af6250e05d49b
|
92
|
+
73f7a3256c4c7009b943617e186e6e406c0452dfa948d4c47a33656eb964cb53
|
93
|
+
dee08929b0003bd7ddaccd7fa8af1d9d747bfddcfef440f31be75ad6f19c971e
|
94
|
+
720977e21ff5df9eb46cffc8637d5b56f558338bcfaa175db8707efb880ccfa5
|
95
|
+
be787a0185c3164b2213ed9d4933bfb0142b34cf3296a02575d97c10fe982329
|
96
|
+
3233e30900b1b428c0429f1922d7ec6f01b8d1a72d48f3e093a40a00ffa768e2
|
97
|
+
d3e1162c36d8cf116197ee43f5301c217e6f9726917a19d55fd1e8d25e950459
|
98
|
+
ff7e42293071631ee92822a5f9f812fa59252b169861541bc334cff66cbb2d61
|
99
|
+
52330092f967f0afe830c391f42739ec786a5e5bbe7b7211120e9acf4c32d9ea
|
100
|
+
97c44b45b3f6d3906afd46dc59ebc162dd11d0a03e32eb21ecc44a1c7f68a6fa
|
101
|
+
2da8f683444c371c1b223bdc8f22d81fdba645d4aac65208590b5df9358ef42c
|
102
|
+
7bdc233984ccfd30846b35941be9c3ac378d34ffa48e9e425c1ab97d4c122677
|
103
|
+
7ff90303deadc59a42e51826dc065a6cc2e708e4cc66f604f52076e022cefce7
|
104
|
+
7223a0f12090d4c370dbb8680834a09b83200f66822a15d9287d786326762b9e
|
105
|
+
86709e3f2775d350eec892870b3b34eda9315924705fabf8ebeab98ae22449d3
|
106
|
+
2e9104f73511b5d8c6b77fe1f2a23042360baa7cc12863ff9577dba7e2b193a3
|
107
|
+
437338ce1b4715f5f72e5b0621c12774a38eefc64e6ec560809f68ef25d3770a
|
108
|
+
90c9f106f9574232f62a98d6a6d564b39554ce6fbc2469ab3963f0e81adefcb9
|
109
|
+
c13d9d8e005419ed384c80bd4f53e0bf55efa1632c0ffed21488373639267cee
|
110
|
+
1412d4ceed8a9106d75ba9781383428f0ac5b8f9e5b130a53f708ed004c11458
|
111
|
+
8277fc93fadaf0072baad1974097704a35828af5e9ea2231fa79ded4c93c6465
|
112
|
+
8cfff250066d3094d027af1ff377117db766c2b6d84f4a0ff18cb75de0294ecb
|
113
|
+
bbc530d74620e71ed422b48b54489f9ba454260283842c0601b9a15cf3210eb6
|
114
|
+
d366e0ea5df852255f95ebc6e144676c53f6c1936868591243451b199ef64978
|
115
|
+
6555f5d89a1c02f8c1c245b04fa691c71a46e0e7c26c3c27f26e1c8aae84dee6
|
116
|
+
c880e76ae9e6050c77ab738a90573137acc1ea3678647391581fd63bf2c94337
|
117
|
+
16e4a47e377f24126dc9ecc9f9d120a96bf04a8f9080e4fbfdc1f93962074c41
|
118
|
+
73591895540961a61b4ebf2189e19c682df3bf5e678491161e012e1a39d8b0ee
|
119
|
+
56953d9080d87d90bb7c85a73953b8a2336638f17fc07bdabed372d2278ab84a
|
120
|
+
bc40440d5b685cfe6497116c736ce9813aaed18486c47832833cecee650bf780
|
121
|
+
085f19dd5ba5c03364c051fe402b16560b508b0e4b60c7daec677f305ad303b4
|
122
|
+
2ef4656506b8ddc1cd1998d0605173020d84edd1010257e962a9d8c62096c2a9
|
123
|
+
a461225bd98372f6336a7289fe3f2852573c77e376a545e5847bfbc1558128ba
|
124
|
+
b149d35fef3a7616952420958a5b2772d4443c52d507552694281de81372e742
|
125
|
+
5b3c304c4e4aa53904c8f0e848acea7e904959205563c2155f48a5ceb50126bd
|
126
|
+
1e5b619ecc05cda3489d11687667dafa8059d0adc8fd3b1f25e5e70ec37df8fe
|
127
|
+
7444249d7c806249fbf5e45bff855bda025da96dc80a1fe921508d39e9e2b3e8
|
128
|
+
442538a8a528ac7e4625e569a15717f70fa619113c9f9f69ab5f16b86dcccbbd
|
129
|
+
cf6bcdff94020acf1c510c844fc3427932281a21bdf13a49f8db6a3e888bb4d8
|
130
|
+
2060165e08d3428f5f44f32553584421ddbba06bbf874352b30cc25104ffad8b
|
131
|
+
9378574753ee8af2e29884445a8ea1cf2c394e7c905c9f5578c48c1f3d9bd135
|
132
|
+
8f3b26b924818e3a5b0e3b90af115dd8154997dde42863be62fe49942cdcfeec
|
133
|
+
edcb38dabd23afbe20d9f18700345da0e4f3a1647fc2b29cab8209a964f0032c
|
134
|
+
dc45fad7edb94e1dc574ac9a702cae006d86c0999c107dd5129f6cecceb6e1b8
|
135
|
+
35b53eaf32ca00bedebfa2bffc01c3733edb2513965f95681d0ab13f2188e328
|
136
|
+
9773b193b7ef7fe2a6927f898f8098b3f61db4dbcddcc584b397f4b34ff3155e
|
137
|
+
3a2f8914e521bef2bedc8412984a6ee9e8f778fc41204177a6392b510ba3632c
|
138
|
+
801485e3216e8bed24254259d41066d884c6ede447b3e61803e7330fc6840f19
|
139
|
+
69beb27e73b2a88836bddce8a1399e28f9dbaff4c0d51c4e58dc6e8837be0218
|
140
|
+
05846d0afd5a29c166bbaa4d767ad1d0e6549f0c18597bc701afb56b80fce498
|
141
|
+
16d006103e14c901e94771b3cee1135f180d121dd3953207011b280da7831edb
|
142
|
+
03a7170bd937fed6d337ff2e364a6573abff53144aa21ab91e7aa07d20bbf195
|
143
|
+
96cff361b33917290f4c2a44191943b78b4d384143e18e1b30db604a98e4d80e
|
144
|
+
0e238aef92d8964072436a6e084f86e718f0227b146de41aed0478164ded09ef
|
145
|
+
81139ee0cfee8cfa6e8fdde79d2351f3f406271e30f41432b016a006883b789c
|
146
|
+
876d9e0cfef335e78d596e1b1c217074363a55fc5261766db0541acc9e1540d3
|
147
|
+
a7a3bbe6591b25866be0416172ad244eaf1c7a3b373573bf17de55fcded55d13
|
148
|
+
45711e27248ab0e155fab1cb163a7d4c0207fc7e6ab4012ffeb7837f66b3f526
|
149
|
+
be1f3762ae9e4bbe20768c88e6bf86719a94fc323cc22db7bef746cdd87c2fba
|
150
|
+
69a8ac401dec2f33a2d6a2c25bfb2c2e4c1d0a02737764afdc71d6c5b9cda9cc
|
151
|
+
59690208c68f92c91a7a21d090584679245801b507a184c63deba8ae147e3cc1
|
152
|
+
8d9f5ed12a2e3b3086ecdb4d03abd6123212227df157d06b8ea2bacb319f06de
|
153
|
+
87625fb7a949fce79ca3f4ba09b71f00365d05c4fd583ca71700c502b3505098
|
154
|
+
6d359100adad44cc2331b9cceac941e91f74467b910b772da9a8ddec760ded34
|
155
|
+
077eeec300a0444313e4dbc7d2b29176bb34e8007f5cc3ac9586cceb56a317e1
|
156
|
+
18bb69205b313361f7feceac84d688ee70d0ab3c5af9428d0b1b373adf018894
|
157
|
+
3ba8e82d017f2855dd94c37dcc2c3a5661fc34db09e6fd3ab0e3019cfe4a4a8d
|
158
|
+
b01d6a48e74fc4aba7fb1bb9e8af6f476188fe75deb7da278d3b597c754368a9
|
159
|
+
d9b15c3319a7fd66370a4abddc47e428f884b4d359a7bcba799b2b1f8a6629d3
|
160
|
+
5385caee9c04dbd5b6521f621473a62020f814ecbbbcc300e6a8cb1d729529b3
|
161
|
+
9528e6872380e4777abfc41f437dda52759a251b93174298f5fc5752862fd62c
|
162
|
+
865db358d52384e6b9649556a8b8a84f56393cfac7d8ef532cf911a76a3f996f
|
163
|
+
2a747d0cb97798bcccc8cfa31cd3de4bc923e8a94369943e6cc34aeec4d99dbe
|
164
|
+
5f02efd96263f7e639d08998742ef4d03f786e58b9b76e83a05b1fd3cc952b44
|
165
|
+
049824cf808e95d868031089bf2606f77b39c8b82f0712eeefde6952ef7ed510
|
166
|
+
b468c03b3fe288e20f87538c9980301be5f0753611ffee00ada6436b8978b632
|
167
|
+
ad51185337a3862bebfafa0af6c5f276bafea34d202669787c3f8003c66c2871
|
168
|
+
338dde6b629d9e8e94bc2bbc5583e1196f36e179de3d4861fd4dbb461e49b2a1
|
169
|
+
a775c12f8ab1a733a7597d6b2801020b7241babe073b8ecd1b6ac5ae872ddd3e
|
170
|
+
cb55324f6006c8d8979052fa8f2b4c13435488064c3ca2262dc75d3aa62e8a43
|
171
|
+
9a723cc8c28c8076f3ed0e981845619e58c3d8e935a73ec8c24f8e4213880a2a
|
172
|
+
69e1b61e10ed165826836d454db0a9233cad93e61a865035ffb446a53638f6a6
|
173
|
+
0ae72bf6948ae2f80f337eabc92a7113dfe35c4de690c71349a5bdf18c1bc4e3
|
174
|
+
47d2bbec3318fa751d4978922cb0653d9ba73ba3b430b153461e2deaec27dfaa
|
175
|
+
39f7eaa8fae31bd85b7e9c88e4d9144930bca23d3e7e0cc5235b295bc597a12f
|
176
|
+
71868bca353e31d728771ee6e7cc9e1c3b69472a39a9b1a4b50f321237daf0ff
|
177
|
+
4ed8abeea87a8ad49f1876f6d51c88c6dec98ba9da1c393ac0adf7693fb14b19
|
178
|
+
1d3ecad5b10a45d1a679f90f4cebf91454d89f7e2a0c5f2e474fcb095cfab2b1
|
179
|
+
5bcc4b824d6860b5fe1505197e3a76773d0a737bd3fb568cd7d20b32e8d98613
|
180
|
+
9d2973d000d180d77f907ba8c1ad684236e84aec0089e800ac98b126ffa78ad9
|
181
|
+
16c3053e10ed7d8697fa6189327e9018f44370a8a3399d320e589f2b4bc2bd4c
|
182
|
+
f742b5c98b808c29c9e7442398ad0407494284ca2addf340ce5b51e0c5792589
|
183
|
+
70d84434f2869055f84917e9a64787c5f5333b4cf78887a73836f14e6f58c980
|
184
|
+
2c90ff4669b97267394826d854f35cb5abe96fe46d558fbc02a371e26972aff3
|
185
|
+
2303941bcc1913ea8e90bbd916ad22745820f52ba160db1c36b811d927924cd6
|
186
|
+
9784b3617cd20e8df06c5cf7dbcea9a59d74bd5de2595afdf90e37
|
187
|
+
0000000000000000000000000000000000000000000000000000000000000000
|
188
|
+
0000000000000000000000000000000000000000000000000000000000000000
|
189
|
+
0000000000000000000000000000000000000000000000000000000000000000
|
190
|
+
0000000000000000000000000000000000000000000000000000000000000000
|
191
|
+
0000000000000000000000000000000000000000000000000000000000000000
|
192
|
+
0000000000000000000000000000000000000000000000000000000000000000
|
193
|
+
0000000000000000000000000000000000000000000000000000000000000000
|
194
|
+
0000000000000000000000000000000000000000000000000000000000000000
|
195
|
+
cleartomark
|
@@ -0,0 +1,41 @@
|
|
1
|
+
/current_page 1 def
|
2
|
+
/X{ currentpoint pop } def
|
3
|
+
/Y{ currentpoint exch pop} def
|
4
|
+
/nrdp{ next_row default_point } def
|
5
|
+
/next_page{
|
6
|
+
after_page_create callback
|
7
|
+
/row 1 def
|
8
|
+
%(Pagina: ) print current_page 8 string cvs print (\n) print
|
9
|
+
|
10
|
+
showpage
|
11
|
+
/new_page? true def
|
12
|
+
/current_page inc
|
13
|
+
/current_row limit_top row row_height mul sub def
|
14
|
+
before_page_create callback
|
15
|
+
odd_or_even callback
|
16
|
+
current_page count_pages eq { last_page } if
|
17
|
+
new_current_row_point
|
18
|
+
} def
|
19
|
+
/default_point { limit_left current_row moveto} def
|
20
|
+
/new_current_row_point{ /current_row limit_top row row_height row_padding add mul sub def }def
|
21
|
+
|
22
|
+
/next_row{
|
23
|
+
row rows_per_page lt current_row limit_bottom ge and { /row inc
|
24
|
+
new_current_row_point
|
25
|
+
}{ next_page }ifelse
|
26
|
+
} def
|
27
|
+
|
28
|
+
/jump_rows{
|
29
|
+
%dup 1 le { { next_row }repeat} if
|
30
|
+
{ next_row }repeat
|
31
|
+
} def
|
32
|
+
/jump_rows{
|
33
|
+
%dup 1 le { { next_row }repeat} if
|
34
|
+
dup 0 ge {{ next_row }repeat
|
35
|
+
}{ neg { /row dec } repeat new_current_row_point } ifelse
|
36
|
+
} def
|
37
|
+
|
38
|
+
/goto_row{
|
39
|
+
/row exch def
|
40
|
+
new_current_row_point
|
41
|
+
} def
|
@@ -0,0 +1,52 @@
|
|
1
|
+
/col_padding 0.1 cm def
|
2
|
+
|
3
|
+
/st_center{ exch strlen 3 -1 roll sub -2 div dup 0 rmoveto exch show 0 rmoveto } def
|
4
|
+
/st_right{ exch strlen 3 -1 roll X add sub neg col_padding sub current_row moveto show col_padding 0 rmoveto } def
|
5
|
+
/st_left{ X add exch X col_padding add current_row moveto show current_row moveto }def
|
6
|
+
|
7
|
+
/col 0 def
|
8
|
+
/current_table_row 0 def %current row table
|
9
|
+
/nextcol{ /col inc } def
|
10
|
+
|
11
|
+
/headings? true def
|
12
|
+
|
13
|
+
/header_proc {
|
14
|
+
new_page? {
|
15
|
+
%before_row_create callback_row
|
16
|
+
before_header_create
|
17
|
+
header_titles {
|
18
|
+
before_column_header callback_col
|
19
|
+
headings? {
|
20
|
+
table_header col get aload pop cvx exec nextcol
|
21
|
+
|
22
|
+
}{ pop } ifelse
|
23
|
+
after_column_header callback_col
|
24
|
+
} forall
|
25
|
+
after_header_create
|
26
|
+
after_row
|
27
|
+
/new_page? false def
|
28
|
+
}if
|
29
|
+
} def
|
30
|
+
|
31
|
+
/after_row{
|
32
|
+
/current_table_row inc
|
33
|
+
/col 0 def
|
34
|
+
next_row
|
35
|
+
new_current_row_point
|
36
|
+
limit_left current_row moveto
|
37
|
+
}def
|
38
|
+
|
39
|
+
/table_proc {
|
40
|
+
{limit_left current_row moveto
|
41
|
+
header_proc
|
42
|
+
before_row callback_row
|
43
|
+
row_odd_or_even callback_row
|
44
|
+
{
|
45
|
+
before_column callback_col
|
46
|
+
table_params col get aload pop cvx exec nextcol
|
47
|
+
after_column callback_col
|
48
|
+
} forall
|
49
|
+
after_row
|
50
|
+
} forall
|
51
|
+
after_table_create
|
52
|
+
}bind def
|
@@ -0,0 +1,150 @@
|
|
1
|
+
%!FontType1-1.1: EANJK 001.000
|
2
|
+
%%CreationDate: Thu Feb 22 12:20:39 2001
|
3
|
+
%%VMusage: 9382 5654
|
4
|
+
%
|
5
|
+
% This Type 1 PostScript font implements the EAN bar code.
|
6
|
+
% Copyright (C) 2001 Jan Karrman. All rights reserved.
|
7
|
+
%
|
8
|
+
% This program is free software; you can redistribute it and/or modify
|
9
|
+
% it under the terms of the GNU General Public License as published by
|
10
|
+
% the Free Software Foundation; either version 2 of the License, or
|
11
|
+
% (at your option) any later version.
|
12
|
+
%
|
13
|
+
% This program is distributed in the hope that it will be useful,
|
14
|
+
% but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16
|
+
% GNU General Public License for more details.
|
17
|
+
%
|
18
|
+
% You should have received a copy of the GNU General Public License
|
19
|
+
% along with this program; if not, write to the Free Software
|
20
|
+
% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
21
|
+
%
|
22
|
+
11 dict begin
|
23
|
+
/FontInfo 10 dict dup begin
|
24
|
+
/version (001.000) readonly def
|
25
|
+
/Notice (Copyright (C) 2001 Jan Karrman. All rights reserved.) readonly def
|
26
|
+
/FullName (EAN JK) readonly def
|
27
|
+
/FamilyName (EAN JK) readonly def
|
28
|
+
/Weight (Medium) readonly def
|
29
|
+
/ItalicAngle 0 def
|
30
|
+
/isFixedPitch false def
|
31
|
+
/UnderlinePosition 0 def
|
32
|
+
/UnderlineThickness 0 def
|
33
|
+
end readonly def
|
34
|
+
/FontName /EANJK def
|
35
|
+
/Encoding 256 array
|
36
|
+
0 1 255 {1 index exch /.notdef put} for
|
37
|
+
dup 32 /space put
|
38
|
+
dup 45 /hyphen put
|
39
|
+
dup 48 /zero put
|
40
|
+
dup 49 /one put
|
41
|
+
dup 50 /two put
|
42
|
+
dup 51 /three put
|
43
|
+
dup 52 /four put
|
44
|
+
dup 53 /five put
|
45
|
+
dup 54 /six put
|
46
|
+
dup 55 /seven put
|
47
|
+
dup 56 /eight put
|
48
|
+
dup 57 /nine put
|
49
|
+
dup 58 /colon put
|
50
|
+
dup 65 /A put
|
51
|
+
dup 66 /B put
|
52
|
+
dup 67 /C put
|
53
|
+
dup 68 /D put
|
54
|
+
dup 69 /E put
|
55
|
+
dup 70 /F put
|
56
|
+
dup 71 /G put
|
57
|
+
dup 72 /H put
|
58
|
+
dup 73 /I put
|
59
|
+
dup 74 /J put
|
60
|
+
dup 91 /bracketleft put
|
61
|
+
dup 97 /a put
|
62
|
+
dup 98 /b put
|
63
|
+
dup 99 /c put
|
64
|
+
dup 100 /d put
|
65
|
+
dup 101 /e put
|
66
|
+
dup 102 /f put
|
67
|
+
dup 103 /g put
|
68
|
+
dup 104 /h put
|
69
|
+
dup 105 /i put
|
70
|
+
dup 106 /j put
|
71
|
+
dup 124 /bar put
|
72
|
+
dup 125 /braceright put
|
73
|
+
readonly def
|
74
|
+
/PaintType 0 def
|
75
|
+
/FontType 1 def
|
76
|
+
/FontMatrix [0.001 0 0 0.001 0 0] readonly def
|
77
|
+
/UniqueID 5119296 def
|
78
|
+
/FontBBox [0 0 105 800] readonly def
|
79
|
+
currentdict end
|
80
|
+
currentfile eexec
|
81
|
+
f983ef0097ece636fb4a96c74d26ab84185f6dfa4a16a7a1c27bbe3f1156aea6
|
82
|
+
98df331278ddd83a95bfe3721babb069504235a8fca9f8012c70beaa7df68b59
|
83
|
+
3bd9d4efa3ace1dece221596c4dfc26c5c23e53e56473f4d3d6af6250e05d49b
|
84
|
+
73f7a3256c4c7009b943617e186e6e406c0452dfa948d4c47a33656eb964cb53
|
85
|
+
dee08929b0003bd7ddaccd7fa8af1d9d747bfddcfef440f31be75ad6f19c971e
|
86
|
+
720977e21ff5df9eb46cffc8637d5b56f558338bcfaa175db8707efb880ccfa5
|
87
|
+
be787a0185c3164b2213ed9d4933bfb0142b34cf3296a02575d97c10fe982329
|
88
|
+
3233e30900b1b428c0429f1922d7ec6f01b8d1a72d48f3e093a40a00ffa76a7f
|
89
|
+
7c45d6a17c6ff93abdc4379def417d42c1766e0c2e80c3ca94736566c48ab228
|
90
|
+
d845ac759d8b8cff1a53820e739d6af182fc56e3f40cbd37686756d399e04395
|
91
|
+
df28d88961b1cc61802438404603f21cbafe39a5a2b5ecb07d74a545507b21e8
|
92
|
+
935d1cba55f2df98218418005d6054d0c89bd0a034352c6d127ee89f7e9829ab
|
93
|
+
b288e558dc39a73a191de483173b5db8b082a46e0b4ecd8bfc44f870ed2cfdf5
|
94
|
+
baaf23486e1881219320672b5e5154cb9de3ba95e31e2b938ebb0b89c97faa7b
|
95
|
+
1fbdd41585c67e9a1e359e12fbfd6d12b5510138ae5277d4a1844957b5ba47f3
|
96
|
+
c9f2d5ac111cf3e65784b47857439180a0bf758d7b49b76da27b5c7849d73497
|
97
|
+
4e370214c08f80e2a6cb3d08790f5b9d5b8cc43755e38ce8feff14383d9f45d2
|
98
|
+
751dc38025647677a2ae7d5a0e4b56f9080f56c2a01d8428af5280ae88eefc4f
|
99
|
+
5341b9b72c8ea08cd58614d83f3c7e2bcada3a55f788d6779547a6a233dec843
|
100
|
+
0746db0f5202577bf7f2746057a1dec9020da9665b8937338b4f9faa67e5d852
|
101
|
+
4bb56d56865fe7c57e4c67b8936a88a41bd671ad435f41972c65cb7b9248ec95
|
102
|
+
b5499467a29d2a21493991ee9cd9becdf9794169e33b2e44fa6760d60bc5aba7
|
103
|
+
697065aba86aeae7587f00415304caed4d96b7d7bcbc093eac908f81746a525e
|
104
|
+
6d96d9d12466bf4fa978e98e985fe2d4d373dfcfc9b044c69573e5af00f96892
|
105
|
+
02edba6393432f5e001b9fe9b44362dff672256ddeb3ec3a1498fb08487e3098
|
106
|
+
f258073103d43dd0873429c62ddcfdd3aa5b2b4492e7781434e97c70b13794c4
|
107
|
+
a71a639b990a2ce622b55307bb5dceb60e7477cba339eb4bbb78eca7b683e5e0
|
108
|
+
5f568c50dbe2887bbab789dd532228ac9922cb0fc2a423ded5861de8f878c57a
|
109
|
+
db2ad12e59fea046eb25dd4f218f8a193cf7a281d7b306ecb4fccd56828a56c3
|
110
|
+
775fa543399b8359bd48f1e9e433285f77c65ff8dc873e7b1450e036be55f824
|
111
|
+
ea32e1a1c3d4b77e77691670dec55729a657340a37e617f99d793f06c3f21a5f
|
112
|
+
598c6a91cdba13aa4d8bf9d1835d9ada802d847a39b39ea429d608085f96b579
|
113
|
+
71b17e85955cc4ac6bdcb17db2fe392a4e87ec0766bb3b01643faf8556cc8041
|
114
|
+
87979e79c437cd90307cbdbd3ff373c4935bcf940c939da9d8db90f2fd73e913
|
115
|
+
74cfccf3281c6f16a81a7ad9b65ac24e41b9cfd2da4bf8a2ab640b4d496a207d
|
116
|
+
2de55592c65beae60e04be51dd7975dc18cad4d5280c28efae243577de4748fa
|
117
|
+
b6fd29fe5d7a26ab040c04bdc8cb06d7e62829a6ce540db176c08cd6e0ba1a6b
|
118
|
+
3d77569f518ab93d5f8a71af0841a4feb5eabeea0ed06da3b9d21c2b587d1740
|
119
|
+
dca281c49a1a3498e662628690015fcb8236321fbf6a34682ca110e18c9ca2b7
|
120
|
+
22e5703e43144fcee032e6efd9029b879682899a280179eb98954a604bbb86e5
|
121
|
+
0a82330d8cce279b183726363e69fce4954ccb6e2a14157df8ce3b0238754087
|
122
|
+
6cf8975f97e81ec3a0cfd98fec5720c3b105cf7032acb17aeaf5a8881e7b8cf8
|
123
|
+
4fa6fc1c6202fac511af1512f80bdf5447d06a948c7961ebeda48ddcbb229fe5
|
124
|
+
65e7b3944746a894da0c1b50186d1749b8b1c18e58394c09e550e298e5b8e269
|
125
|
+
cd9cf6c8f00ad6fd4fd6f17598495e17e1ba71ed558ba5219012e1ed104f633e
|
126
|
+
72d3aff11865ee21e7fbae62483070731c431fbe5362613ba2cc394be13ef5a2
|
127
|
+
97a72ca488391b447de7816b9c33a13d562c1413fbdc3633d91b8e4230664041
|
128
|
+
ff53c6ced5f1f15d4557ec314b75b08512071e45c71cbfbd7c5f9f210890805c
|
129
|
+
892339b445b7e3df25609485062f2d4849ea74ed3ce0e1db70315c6bdd672a4c
|
130
|
+
8c5c3bb56841ddf69b9fbe42dba56c2764c0c80ffb79da27416a5f755860381e
|
131
|
+
f229cfa6b817cbdfcf5913d1b2365a0a6418f216c0533c4a714034a724c4f07d
|
132
|
+
f4064d83309022fc5a3ca8fb13ef1a5c273ce853091b22e41cc5e9327937e2f5
|
133
|
+
d80f421a3742fa3928e5c40d4ffb16afa35be53966083098531ed367b6aaa775
|
134
|
+
05b30e63ba166d7e64bc354f577bbb42219d74cb579b574c6ba0923ec7fde374
|
135
|
+
aa63541ab0429593df87891dc8d26b7daeda3cd79df4a5af6c64c68e36111efc
|
136
|
+
1b83a128b44377fe854b905cec9ec6d4192eae83c025396fedb813c894596a96
|
137
|
+
14813b114039ed3f7c5ffe09836570ea2d253c4664b17335b663f29cc4f935b2
|
138
|
+
fe8f3b82d94081846e133704bb6255c947034788aba2679fb458dff757c27541
|
139
|
+
871c64d0da1c8cfa4fc66d8bc472ae203db59d649f6639846c20430cf432237c
|
140
|
+
d4dfc9babeabcd4b9b93dfacb3ba2e8f503fc18e9ea037dea06ec0422f567dbf
|
141
|
+
5150a65f8da17741a06bbafb80a0f4d6d790fd26d9
|
142
|
+
0000000000000000000000000000000000000000000000000000000000000000
|
143
|
+
0000000000000000000000000000000000000000000000000000000000000000
|
144
|
+
0000000000000000000000000000000000000000000000000000000000000000
|
145
|
+
0000000000000000000000000000000000000000000000000000000000000000
|
146
|
+
0000000000000000000000000000000000000000000000000000000000000000
|
147
|
+
0000000000000000000000000000000000000000000000000000000000000000
|
148
|
+
0000000000000000000000000000000000000000000000000000000000000000
|
149
|
+
0000000000000000000000000000000000000000000000000000000000000000
|
150
|
+
cleartomark
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/BeginEPSF
|
2
|
+
{
|
3
|
+
/EPSFsave save def
|
4
|
+
count /OpStackSize exch def
|
5
|
+
/DictStackSize countdictstack def
|
6
|
+
% turn off showpage
|
7
|
+
/showpage {} def
|
8
|
+
% set up default graphics state
|
9
|
+
0 setgray 0 setlinecap
|
10
|
+
1 setlinewidth 0 setlinejoin
|
11
|
+
10 setmiterlimit [] 0 setdash newpath
|
12
|
+
/languagelevel where
|
13
|
+
{
|
14
|
+
pop languagelevel 1 ne
|
15
|
+
{
|
16
|
+
false setstrokeadjust false setoverprint
|
17
|
+
} if
|
18
|
+
} if
|
19
|
+
} bind def
|
20
|
+
/EndEPSF
|
21
|
+
{
|
22
|
+
count OpStackSize sub
|
23
|
+
dup 0 lt {neg {pop} repeat} {pop} ifelse
|
24
|
+
countdictstack DictStackSize sub
|
25
|
+
dup 0 lt {neg {end} repeat} {pop} ifelse
|
26
|
+
EPSFsave restore
|
27
|
+
} bind def
|
28
|
+
/EPSFBox
|
29
|
+
{
|
30
|
+
4 dict begin
|
31
|
+
/ury exch def
|
32
|
+
/urx exch def
|
33
|
+
/lly exch def
|
34
|
+
/llx exch def
|
35
|
+
llx lly moveto
|
36
|
+
urx lly lineto
|
37
|
+
urx ury lineto
|
38
|
+
llx ury lineto
|
39
|
+
closepath
|
40
|
+
end
|
41
|
+
} def
|
42
|
+
/pagesave save def
|