rghost-ruby1.9-beta 0.8.7.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. data/lib/rghost.rb +18 -0
  2. data/lib/rghost/border.rb +44 -0
  3. data/lib/rghost/callback.rb +58 -0
  4. data/lib/rghost/circle.rb +102 -0
  5. data/lib/rghost/color.rb +175 -0
  6. data/lib/rghost/constants.rb +626 -0
  7. data/lib/rghost/convert.rb +43 -0
  8. data/lib/rghost/cursor.rb +124 -0
  9. data/lib/rghost/dash.rb +59 -0
  10. data/lib/rghost/document.rb +546 -0
  11. data/lib/rghost/document_callback_facade.rb +64 -0
  12. data/lib/rghost/dsc_entry.rb +20 -0
  13. data/lib/rghost/dynamic_document_callback.rb +15 -0
  14. data/lib/rghost/eps.rb +31 -0
  15. data/lib/rghost/font.rb +48 -0
  16. data/lib/rghost/font_map.rb +54 -0
  17. data/lib/rghost/frame.rb +105 -0
  18. data/lib/rghost/function.rb +38 -0
  19. data/lib/rghost/gif.rb +41 -0
  20. data/lib/rghost/graphic.rb +26 -0
  21. data/lib/rghost/grid/base_grid.rb +228 -0
  22. data/lib/rghost/grid/callback_facade.rb +136 -0
  23. data/lib/rghost/grid/csv_grid.rb +51 -0
  24. data/lib/rghost/grid/dynamic_callback.rb +12 -0
  25. data/lib/rghost/grid/field_format.rb +43 -0
  26. data/lib/rghost/grid/grid.rb +15 -0
  27. data/lib/rghost/grid/header.rb +120 -0
  28. data/lib/rghost/grid/matrix.rb +10 -0
  29. data/lib/rghost/grid/rails_grid.rb +74 -0
  30. data/lib/rghost/grid/static_callback.rb +13 -0
  31. data/lib/rghost/grid/style/border_lines.rb +44 -0
  32. data/lib/rghost/grid/style/bottom_lines.rb +28 -0
  33. data/lib/rghost/grid/style/old_forms.rb +28 -0
  34. data/lib/rghost/grid/style/style.rb +8 -0
  35. data/lib/rghost/gs_alone.rb +25 -0
  36. data/lib/rghost/helpers.rb +13 -0
  37. data/lib/rghost/horizontal_line.rb +45 -0
  38. data/lib/rghost/how_to.rb +75 -0
  39. data/lib/rghost/image.rb +26 -0
  40. data/lib/rghost/jpeg.rb +39 -0
  41. data/lib/rghost/line.rb +89 -0
  42. data/lib/rghost/line_width.rb +28 -0
  43. data/lib/rghost/load.rb +43 -0
  44. data/lib/rghost/newpath.rb +19 -0
  45. data/lib/rghost/paper.rb +147 -0
  46. data/lib/rghost/parse_text.rb +53 -0
  47. data/lib/rghost/pdf_security.rb +36 -0
  48. data/lib/rghost/point.rb +23 -0
  49. data/lib/rghost/point_with_command.rb +17 -0
  50. data/lib/rghost/polygon.rb +75 -0
  51. data/lib/rghost/ps/AdobeExpert.enc +258 -0
  52. data/lib/rghost/ps/AdobeLatinEncoding.enc +258 -0
  53. data/lib/rghost/ps/Bengali.enc +386 -0
  54. data/lib/rghost/ps/CodePage1250.enc +258 -0
  55. data/lib/rghost/ps/CodePage1251.enc +258 -0
  56. data/lib/rghost/ps/CodePage1252.enc +258 -0
  57. data/lib/rghost/ps/CodePage1253.enc +258 -0
  58. data/lib/rghost/ps/CodePage1254.enc +258 -0
  59. data/lib/rghost/ps/CodePage1256.enc +258 -0
  60. data/lib/rghost/ps/CodePage1257.enc +258 -0
  61. data/lib/rghost/ps/CodePage1258.enc +258 -0
  62. data/lib/rghost/ps/CodePage874.enc +258 -0
  63. data/lib/rghost/ps/Fontmap +5 -0
  64. data/lib/rghost/ps/IsoLatin.enc +352 -0
  65. data/lib/rghost/ps/MacCentralEuropean.enc +258 -0
  66. data/lib/rghost/ps/MacCyrillice.desnc +258 -0
  67. data/lib/rghost/ps/MacGreek.enc +258 -0
  68. data/lib/rghost/ps/MacHebrew.enc +258 -0
  69. data/lib/rghost/ps/TeX-CorkEncoding.enc +258 -0
  70. data/lib/rghost/ps/TeX-LGR-Greek.enc +258 -0
  71. data/lib/rghost/ps/TeX-T2AModified2Encoding.enc +258 -0
  72. data/lib/rghost/ps/TeX-T2BAdobeEncoding.enc +258 -0
  73. data/lib/rghost/ps/TeX-T2CAdobeEncoding.enc +258 -0
  74. data/lib/rghost/ps/TeX-X2AdobeEncoding.enc +258 -0
  75. data/lib/rghost/ps/TeX-XL2encoding.enc +258 -0
  76. data/lib/rghost/ps/TeXMathExtensionEncoding.enc +258 -0
  77. data/lib/rghost/ps/TeXMathItalicEncoding.enc +258 -0
  78. data/lib/rghost/ps/TeXMathSymbolEncoding.enc +258 -0
  79. data/lib/rghost/ps/US-ASCII.enc +258 -0
  80. data/lib/rghost/ps/UTF-8.enc +3 -0
  81. data/lib/rghost/ps/_cusor.ps +46 -0
  82. data/lib/rghost/ps/basic.ps +25 -0
  83. data/lib/rghost/ps/begin_document.ps +8 -0
  84. data/lib/rghost/ps/callbacks.ps +175 -0
  85. data/lib/rghost/ps/code128.font +344 -0
  86. data/lib/rghost/ps/code39.font +195 -0
  87. data/lib/rghost/ps/cursor.ps +106 -0
  88. data/lib/rghost/ps/datagrid.ps +55 -0
  89. data/lib/rghost/ps/developer.ps +237 -0
  90. data/lib/rghost/ps/ean.font +150 -0
  91. data/lib/rghost/ps/eps.ps +42 -0
  92. data/lib/rghost/ps/font.ps +38 -0
  93. data/lib/rghost/ps/frame.ps +16 -0
  94. data/lib/rghost/ps/gif.ps +150 -0
  95. data/lib/rghost/ps/horizontal_line.ps +4 -0
  96. data/lib/rghost/ps/i25.font +103 -0
  97. data/lib/rghost/ps/jpeg.ps +122 -0
  98. data/lib/rghost/ps/link.ps +22 -0
  99. data/lib/rghost/ps/paper.ps +8 -0
  100. data/lib/rghost/ps/rect_link.ps +17 -0
  101. data/lib/rghost/ps/rectangle.ps +5 -0
  102. data/lib/rghost/ps/rghost_default_template.eps +1532 -0
  103. data/lib/rghost/ps/row.ps +4 -0
  104. data/lib/rghost/ps/show.ps +21 -0
  105. data/lib/rghost/ps/table_callbacks.ps +96 -0
  106. data/lib/rghost/ps/text.ps +63 -0
  107. data/lib/rghost/ps/textarea.ps +11 -0
  108. data/lib/rghost/ps/type.ps +1 -0
  109. data/lib/rghost/ps/unit.ps +3 -0
  110. data/lib/rghost/ps/vertical_line.ps +12 -0
  111. data/lib/rghost/ps/virtual_pages.ps +55 -0
  112. data/lib/rghost/ps_facade.rb +253 -0
  113. data/lib/rghost/ps_object.rb +55 -0
  114. data/lib/rghost/rectangle_link.rb +65 -0
  115. data/lib/rghost/rgengine.so +0 -0
  116. data/lib/rghost/ruby_ghost_config.rb +243 -0
  117. data/lib/rghost/ruby_ghost_engine.rb +156 -0
  118. data/lib/rghost/ruby_ghost_version.rb +8 -0
  119. data/lib/rghost/ruby_to_ps.rb +78 -0
  120. data/lib/rghost/scale.rb +29 -0
  121. data/lib/rghost/shape_content.rb +23 -0
  122. data/lib/rghost/show.rb +88 -0
  123. data/lib/rghost/static_document_callback.rb +18 -0
  124. data/lib/rghost/text.rb +44 -0
  125. data/lib/rghost/text_in.rb +51 -0
  126. data/lib/rghost/text_link_in.rb +42 -0
  127. data/lib/rghost/textarea.rb +88 -0
  128. data/lib/rghost/units.rb +82 -0
  129. data/lib/rghost/variable.rb +12 -0
  130. data/lib/rghost/vertical_line.rb +37 -0
  131. data/lib/rghost/virtual_pages.rb +42 -0
  132. metadata +185 -0
@@ -0,0 +1,386 @@
1
+ /Bengali [
2
+ /.notdef % 0x00
3
+ /.notdef
4
+ /.notdef
5
+ /.notdef
6
+ /.notdef
7
+ /.notdef
8
+ /.notdef
9
+ /.notdef
10
+ /.notdef
11
+ /.notdef
12
+ /.notdef
13
+ /.notdef
14
+ /.notdef
15
+ /.notdef
16
+ /.notdef
17
+ /.notdef
18
+ /.notdef % 0x10
19
+ /.notdef
20
+ /.notdef
21
+ /.notdef
22
+ /.notdef
23
+ /.notdef
24
+ /.notdef
25
+ /.notdef
26
+ /.notdef
27
+ /.notdef
28
+ /.notdef
29
+ /.notdef
30
+ /.notdef
31
+ /.notdef
32
+ /.notdef
33
+ /.notdef
34
+ /space % 0x20
35
+ /exclam
36
+ /quotedbl
37
+ /numbersign
38
+ /dollar
39
+ /percent
40
+ /ampersand
41
+ /quotesingle
42
+ /parenleft
43
+ /parenright
44
+ /asterisk
45
+ /plus
46
+ /comma
47
+ /hyphen
48
+ /period
49
+ /slash
50
+ /zero % 0x30
51
+ /one
52
+ /two
53
+ /three
54
+ /four
55
+ /five
56
+ /six
57
+ /seven
58
+ /eight
59
+ /nine
60
+ /colon
61
+ /semicolon
62
+ /less
63
+ /equal
64
+ /greater
65
+ /question
66
+ /at % 0x40
67
+ /A
68
+ /B
69
+ /C
70
+ /D
71
+ /E
72
+ /F
73
+ /G
74
+ /H
75
+ /I
76
+ /J
77
+ /K
78
+ /L
79
+ /M
80
+ /N
81
+ /O
82
+ /P % 0x50
83
+ /Q
84
+ /R
85
+ /S
86
+ /T
87
+ /U
88
+ /V
89
+ /W
90
+ /X
91
+ /Y
92
+ /Z
93
+ /bracketleft
94
+ /backslash
95
+ /bracketright
96
+ /asciicircum
97
+ /underscore
98
+ /grave % 0x60
99
+ /a
100
+ /b
101
+ /c
102
+ /d
103
+ /e
104
+ /f
105
+ /g
106
+ /h
107
+ /i
108
+ /j
109
+ /k
110
+ /l
111
+ /m
112
+ /n
113
+ /o
114
+ /p % 0x70
115
+ /q
116
+ /r
117
+ /s
118
+ /t
119
+ /u
120
+ /v
121
+ /w
122
+ /x
123
+ /y
124
+ /z
125
+ /braceleft
126
+ /bar
127
+ /braceright
128
+ /asciitilde
129
+ /.notdef
130
+ /.notdef % 0x80
131
+ /.notdef
132
+ /.notdef
133
+ /.notdef
134
+ /.notdef
135
+ /.notdef
136
+ /.notdef
137
+ /.notdef
138
+ /.notdef
139
+ /.notdef
140
+ /.notdef
141
+ /.notdef
142
+ /.notdef
143
+ /.notdef
144
+ /.notdef
145
+ /.notdef
146
+ /.notdef % 0x90
147
+ /.notdef
148
+ /.notdef
149
+ /.notdef
150
+ /.notdef
151
+ /.notdef
152
+ /.notdef
153
+ /.notdef
154
+ /.notdef
155
+ /.notdef
156
+ /.notdef
157
+ /.notdef
158
+ /.notdef
159
+ /.notdef
160
+ /.notdef
161
+ /.notdef
162
+ /.notdef % 0xa0
163
+ /.notdef
164
+ /.notdef
165
+ /.notdef
166
+ /.notdef
167
+ /.notdef
168
+ /.notdef
169
+ /.notdef
170
+ /.notdef
171
+ /.notdef
172
+ /.notdef
173
+ /.notdef
174
+ /.notdef
175
+ /.notdef
176
+ /.notdef
177
+ /.notdef
178
+ /.notdef % 0xb0
179
+ /.notdef
180
+ /.notdef
181
+ /.notdef
182
+ /.notdef
183
+ /.notdef
184
+ /.notdef
185
+ /.notdef
186
+ /.notdef
187
+ /.notdef
188
+ /.notdef
189
+ /.notdef
190
+ /.notdef
191
+ /.notdef
192
+ /.notdef
193
+ /.notdef
194
+ /.notdef % 0xc0
195
+ /.notdef
196
+ /.notdef
197
+ /.notdef
198
+ /.notdef
199
+ /.notdef
200
+ /.notdef
201
+ /.notdef
202
+ /.notdef
203
+ /.notdef
204
+ /.notdef
205
+ /.notdef
206
+ /.notdef
207
+ /.notdef
208
+ /.notdef
209
+ /.notdef
210
+ /.notdef % 0xd0
211
+ /.notdef
212
+ /.notdef
213
+ /.notdef
214
+ /.notdef
215
+ /.notdef
216
+ /.notdef
217
+ /.notdef
218
+ /.notdef
219
+ /.notdef
220
+ /.notdef
221
+ /.notdef
222
+ /.notdef
223
+ /.notdef
224
+ /.notdef
225
+ /.notdef
226
+ /.notdef % 0xe0
227
+ /.notdef
228
+ /.notdef
229
+ /.notdef
230
+ /.notdef
231
+ /.notdef
232
+ /.notdef
233
+ /.notdef
234
+ /.notdef
235
+ /.notdef
236
+ /.notdef
237
+ /.notdef
238
+ /.notdef
239
+ /.notdef
240
+ /.notdef
241
+ /.notdef
242
+ /.notdef % 0xf0
243
+ /.notdef
244
+ /.notdef
245
+ /.notdef
246
+ /.notdef
247
+ /.notdef
248
+ /.notdef
249
+ /.notdef
250
+ /.notdef
251
+ /.notdef
252
+ /.notdef
253
+ /.notdef
254
+ /.notdef
255
+ /.notdef
256
+ /.notdef
257
+ /.notdef
258
+ /uni0980 % 0x100
259
+ /uni0981
260
+ /uni0982
261
+ /uni0983
262
+ /uni0984
263
+ /uni0985
264
+ /uni0986
265
+ /uni0987
266
+ /uni0988
267
+ /uni0989
268
+ /uni098A
269
+ /uni098B
270
+ /uni098C
271
+ /uni098D
272
+ /uni098E
273
+ /uni098F
274
+ /uni0990 % 0x110
275
+ /uni0991
276
+ /uni0992
277
+ /uni0993
278
+ /uni0994
279
+ /uni0995
280
+ /uni0996
281
+ /uni0997
282
+ /uni0998
283
+ /uni0999
284
+ /uni099A
285
+ /uni099B
286
+ /uni099C
287
+ /uni099D
288
+ /uni099E
289
+ /uni099F
290
+ /uni09A0 % 0x120
291
+ /uni09A1
292
+ /uni09A2
293
+ /uni09A3
294
+ /uni09A4
295
+ /uni09A5
296
+ /uni09A6
297
+ /uni09A7
298
+ /uni09A8
299
+ /uni09A9
300
+ /uni09AA
301
+ /uni09AB
302
+ /uni09AC
303
+ /uni09AD
304
+ /uni09AE
305
+ /uni09AF
306
+ /uni09B0 % 0x130
307
+ /uni09B1
308
+ /uni09B2
309
+ /uni09B3
310
+ /uni09B4
311
+ /uni09B5
312
+ /uni09B6
313
+ /uni09B7
314
+ /uni09B8
315
+ /uni09B9
316
+ /uni09BA
317
+ /uni09BB
318
+ /uni09BC
319
+ /uni09BD
320
+ /uni09BE
321
+ /uni09BF
322
+ /uni09C0 % 0x140
323
+ /uni09C1
324
+ /uni09C2
325
+ /uni09C3
326
+ /uni09C4
327
+ /uni09C5
328
+ /uni09C6
329
+ /uni09C7
330
+ /uni09C8
331
+ /uni09C9
332
+ /uni09CA
333
+ /uni09CB
334
+ /uni09CC
335
+ /uni09CD
336
+ /uni09CE
337
+ /uni09CF
338
+ /uni09D0 % 0x150
339
+ /uni09D1
340
+ /uni09D2
341
+ /uni09D3
342
+ /uni09D4
343
+ /uni09D5
344
+ /uni09D6
345
+ /uni09D7
346
+ /uni09D8
347
+ /uni09D9
348
+ /uni09DA
349
+ /uni09DB
350
+ /uni09DC
351
+ /uni09DD
352
+ /uni09DE
353
+ /uni09DF
354
+ /uni09E0 % 0x160
355
+ /uni09E1
356
+ /uni09E2
357
+ /uni09E3
358
+ /uni09E4
359
+ /uni09E5
360
+ /uni09E6
361
+ /uni09E7
362
+ /uni09E8
363
+ /uni09E9
364
+ /uni09EA
365
+ /uni09EB
366
+ /uni09EC
367
+ /uni09ED
368
+ /uni09EE
369
+ /uni09EF
370
+ /uni09F0 % 0x170
371
+ /uni09F1
372
+ /uni09F2
373
+ /uni09F3
374
+ /uni09F4
375
+ /uni09F5
376
+ /uni09F6
377
+ /uni09F7
378
+ /uni09F8
379
+ /uni09F9
380
+ /uni09FA
381
+ /uni09FB
382
+ /uni09FC
383
+ /uni09FD
384
+ /uni09FE
385
+ /uni09FF
386
+ ] def
@@ -0,0 +1,258 @@
1
+ /CodePage1250 [
2
+ /.notdef % 0x00
3
+ /.notdef
4
+ /.notdef
5
+ /.notdef
6
+ /.notdef
7
+ /.notdef
8
+ /.notdef
9
+ /.notdef
10
+ /.notdef
11
+ /.notdef
12
+ /.notdef
13
+ /.notdef
14
+ /.notdef
15
+ /.notdef
16
+ /.notdef
17
+ /.notdef
18
+ /.notdef % 0x10
19
+ /.notdef
20
+ /.notdef
21
+ /.notdef
22
+ /.notdef
23
+ /.notdef
24
+ /.notdef
25
+ /.notdef
26
+ /.notdef
27
+ /.notdef
28
+ /.notdef
29
+ /.notdef
30
+ /.notdef
31
+ /.notdef
32
+ /.notdef
33
+ /.notdef
34
+ /space % 0x20
35
+ /exclam
36
+ /quotedbl
37
+ /numbersign
38
+ /dollar
39
+ /percent
40
+ /ampersand
41
+ /quotesingle
42
+ /parenleft
43
+ /parenright
44
+ /asterisk
45
+ /plus
46
+ /comma
47
+ /hyphen
48
+ /period
49
+ /slash
50
+ /zero % 0x30
51
+ /one
52
+ /two
53
+ /three
54
+ /four
55
+ /five
56
+ /six
57
+ /seven
58
+ /eight
59
+ /nine
60
+ /colon
61
+ /semicolon
62
+ /less
63
+ /equal
64
+ /greater
65
+ /question
66
+ /at % 0x40
67
+ /A
68
+ /B
69
+ /C
70
+ /D
71
+ /E
72
+ /F
73
+ /G
74
+ /H
75
+ /I
76
+ /J
77
+ /K
78
+ /L
79
+ /M
80
+ /N
81
+ /O
82
+ /P % 0x50
83
+ /Q
84
+ /R
85
+ /S
86
+ /T
87
+ /U
88
+ /V
89
+ /W
90
+ /X
91
+ /Y
92
+ /Z
93
+ /bracketleft
94
+ /backslash
95
+ /bracketright
96
+ /asciicircum
97
+ /underscore
98
+ /grave % 0x60
99
+ /a
100
+ /b
101
+ /c
102
+ /d
103
+ /e
104
+ /f
105
+ /g
106
+ /h
107
+ /i
108
+ /j
109
+ /k
110
+ /l
111
+ /m
112
+ /n
113
+ /o
114
+ /p % 0x70
115
+ /q
116
+ /r
117
+ /s
118
+ /t
119
+ /u
120
+ /v
121
+ /w
122
+ /x
123
+ /y
124
+ /z
125
+ /braceleft
126
+ /bar
127
+ /braceright
128
+ /asciitilde
129
+ /.notdef
130
+ /Euro % 0x80
131
+ /.notdef
132
+ /quotesinglbase
133
+ /.notdef
134
+ /quotedblbase
135
+ /ellipsis
136
+ /dagger
137
+ /daggerdbl
138
+ /.notdef
139
+ /perthousand
140
+ /Scaron
141
+ /guilsinglleft
142
+ /Sacute
143
+ /Tcaron
144
+ /Zcaron
145
+ /Zacute
146
+ /.notdef % 0x90
147
+ /quoteleft
148
+ /quoteright
149
+ /quotedblleft
150
+ /quotedblright
151
+ /bullet
152
+ /endash
153
+ /emdash
154
+ /.notdef
155
+ /trademark
156
+ /scaron
157
+ /guilsinglright
158
+ /sacute
159
+ /tcaron
160
+ /zcaron
161
+ /zacute
162
+ /uni00A0 % 0xa0
163
+ /caron
164
+ /breve
165
+ /Lslash
166
+ /currency
167
+ /Aogonek
168
+ /brokenbar
169
+ /section
170
+ /dieresis
171
+ /copyright
172
+ /Scedilla
173
+ /guillemotleft
174
+ /logicalnot
175
+ /uni00AD
176
+ /registered
177
+ /Zdotaccent
178
+ /degree % 0xb0
179
+ /plusminus
180
+ /ogonek
181
+ /lslash
182
+ /acute
183
+ /mu
184
+ /paragraph
185
+ /periodcentered
186
+ /cedilla
187
+ /aogonek
188
+ /scedilla
189
+ /guillemotright
190
+ /Lcaron
191
+ /hungarumlaut
192
+ /lcaron
193
+ /zdotaccent
194
+ /Racute % 0xc0
195
+ /Aacute
196
+ /Acircumflex
197
+ /Abreve
198
+ /Adieresis
199
+ /Lacute
200
+ /Cacute
201
+ /Ccedilla
202
+ /Ccaron
203
+ /Eacute
204
+ /Eogonek
205
+ /Edieresis
206
+ /Ecaron
207
+ /Iacute
208
+ /Icircumflex
209
+ /Dcaron
210
+ /Dcroat % 0xd0
211
+ /Nacute
212
+ /Ncaron
213
+ /Oacute
214
+ /Ocircumflex
215
+ /Ohungarumlaut
216
+ /Odieresis
217
+ /multiply
218
+ /Rcaron
219
+ /Uring
220
+ /Uacute
221
+ /Uhungarumlaut
222
+ /Udieresis
223
+ /Yacute
224
+ /Tcedilla
225
+ /germandbls
226
+ /racute % 0xe0
227
+ /aacute
228
+ /acircumflex
229
+ /abreve
230
+ /adieresis
231
+ /lacute
232
+ /cacute
233
+ /ccedilla
234
+ /ccaron
235
+ /eacute
236
+ /eogonek
237
+ /edieresis
238
+ /ecaron
239
+ /iacute
240
+ /icircumflex
241
+ /dcaron
242
+ /dcroat % 0xf0
243
+ /nacute
244
+ /ncaron
245
+ /oacute
246
+ /ocircumflex
247
+ /ohungarumlaut
248
+ /odieresis
249
+ /divide
250
+ /rcaron
251
+ /uring
252
+ /uacute
253
+ /uhungarumlaut
254
+ /udieresis
255
+ /yacute
256
+ /tcedilla
257
+ /dotaccent
258
+ ] def