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,258 @@
1
+ /MacCyrillic [
2
+ /.notdef % 0x00
3
+ /Eth
4
+ /eth
5
+ /.notdef
6
+ /.notdef
7
+ /.notdef
8
+ /.notdef
9
+ /Yacute
10
+ /yacute
11
+ /.notdef
12
+ /.notdef
13
+ /ldcornsqlr
14
+ /ldcornsqur
15
+ /ldcornsqul
16
+ /ldcornsqll
17
+ /ldcross
18
+ /.notdef % 0x10
19
+ /.notdef
20
+ /ldhorizontal
21
+ /.notdef
22
+ /.notdef
23
+ /ldteelft
24
+ /ldteert
25
+ /ldteebt
26
+ /ldteetp
27
+ /ldvertical
28
+ /twosuperior
29
+ /brokenbar
30
+ /uni00AD
31
+ /multiply
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
+ /afii10017 % 0x80
131
+ /afii10018
132
+ /afii10019
133
+ /afii10020
134
+ /afii10021
135
+ /afii10022
136
+ /afii10024
137
+ /afii10025
138
+ /afii10026
139
+ /afii10027
140
+ /afii10028
141
+ /afii10029
142
+ /afii10030
143
+ /afii10031
144
+ /afii10032
145
+ /afii10033
146
+ /afii10034 % 0x90
147
+ /afii10035
148
+ /afii10036
149
+ /afii10037
150
+ /afii10038
151
+ /afii10039
152
+ /afii10040
153
+ /afii10041
154
+ /afii10042
155
+ /afii10043
156
+ /afii10044
157
+ /afii10045
158
+ /afii10046
159
+ /afii10047
160
+ /afii10048
161
+ /afii10049
162
+ /dagger % 0xa0
163
+ /degree
164
+ /afii10050
165
+ /sterling
166
+ /section
167
+ /bullet
168
+ /paragraph
169
+ /afii10055
170
+ /registered
171
+ /copyright
172
+ /trademark
173
+ /afii10051
174
+ /afii10099
175
+ /notequal
176
+ /afii10052
177
+ /afii10100
178
+ /infinity % 0xb0
179
+ /plusminus
180
+ /lessequal
181
+ /greaterequal
182
+ /afii10103
183
+ /mu
184
+ /afii10098
185
+ /afii10057
186
+ /afii10053
187
+ /afii10101
188
+ /afii10056
189
+ /afii10104
190
+ /afii10058
191
+ /afii10106
192
+ /afii10059
193
+ /afii10107
194
+ /afii10105 % 0xc0
195
+ /afii10054
196
+ /logicalnot
197
+ /radical
198
+ /florin
199
+ /approxequal
200
+ /uni2206
201
+ /guillemotleft
202
+ /guillemotright
203
+ /ellipsis
204
+ /uni00A0
205
+ /afii10060
206
+ /afii10108
207
+ /afii10061
208
+ /afii10109
209
+ /afii10102
210
+ /endash % 0xd0
211
+ /emdash
212
+ /quotedblleft
213
+ /quotedblright
214
+ /quoteleft
215
+ /quoteright
216
+ /divide
217
+ /quotedblbase
218
+ /afii10062
219
+ /afii10110
220
+ /afii10145
221
+ /afii10193
222
+ /afii61352
223
+ /afii10023
224
+ /afii10071
225
+ /afii10097
226
+ /afii10065 % 0xe0
227
+ /afii10066
228
+ /afii10067
229
+ /afii10068
230
+ /afii10069
231
+ /afii10070
232
+ /afii10072
233
+ /afii10073
234
+ /afii10074
235
+ /afii10075
236
+ /afii10076
237
+ /afii10077
238
+ /afii10078
239
+ /afii10079
240
+ /afii10080
241
+ /afii10081
242
+ /afii10082 % 0xf0
243
+ /afii10083
244
+ /afii10084
245
+ /afii10085
246
+ /afii10086
247
+ /afii10087
248
+ /afii10088
249
+ /afii10089
250
+ /afii10090
251
+ /afii10091
252
+ /afii10092
253
+ /afii10093
254
+ /afii10094
255
+ /afii10095
256
+ /afii10096
257
+ /Euro
258
+ ] def
@@ -0,0 +1,258 @@
1
+ /MacGreek [
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
+ /Adieresis % 0x80
131
+ /onesuperior
132
+ /twosuperior
133
+ /Eacute
134
+ /threesuperior
135
+ /Odieresis
136
+ /Udieresis
137
+ /dieresistonos
138
+ /agrave
139
+ /acircumflex
140
+ /adieresis
141
+ /tonos
142
+ /dieresis
143
+ /ccedilla
144
+ /eacute
145
+ /egrave
146
+ /ecircumflex % 0x90
147
+ /edieresis
148
+ /sterling
149
+ /trademark
150
+ /icircumflex
151
+ /idieresis
152
+ /bullet
153
+ /onehalf
154
+ /perthousand
155
+ /ocircumflex
156
+ /odieresis
157
+ /brokenbar
158
+ /uni00AD
159
+ /ugrave
160
+ /ucircumflex
161
+ /udieresis
162
+ /dagger % 0xa0
163
+ /Gamma
164
+ /uni2206
165
+ /Theta
166
+ /Lambda
167
+ /Xi
168
+ /Pi
169
+ /germandbls
170
+ /registered
171
+ /copyright
172
+ /Sigma
173
+ /Iotadieresis
174
+ /section
175
+ /notequal
176
+ /degree
177
+ /periodcentered
178
+ /Alpha % 0xb0
179
+ /plusminus
180
+ /lessequal
181
+ /greaterequal
182
+ /yen
183
+ /Beta
184
+ /Epsilon
185
+ /Zeta
186
+ /Eta
187
+ /Iota
188
+ /Kappa
189
+ /Mu
190
+ /Phi
191
+ /Upsilondieresis
192
+ /Psi
193
+ /uni2126
194
+ /alphatonos % 0xc0
195
+ /Nu
196
+ /logicalnot
197
+ /Omicron
198
+ /Rho
199
+ /approxequal
200
+ /Tau
201
+ /guillemotleft
202
+ /guillemotright
203
+ /ellipsis
204
+ /uni00A0
205
+ /Upsilon
206
+ /Chi
207
+ /Alphatonos
208
+ /Epsilontonos
209
+ /oe
210
+ /endash % 0xd0
211
+ /afii00208
212
+ /quotedblleft
213
+ /quotedblright
214
+ /quoteleft
215
+ /quoteright
216
+ /divide
217
+ /Etatonos
218
+ /Iotatonos
219
+ /Omicrontonos
220
+ /Upsilontonos
221
+ /epsilontonos
222
+ /etatonos
223
+ /iotatonos
224
+ /omicrontonos
225
+ /Omegatonos
226
+ /upsilontonos % 0xe0
227
+ /alpha
228
+ /beta
229
+ /psi
230
+ /delta
231
+ /epsilon
232
+ /phi
233
+ /gamma
234
+ /eta
235
+ /iota
236
+ /xi
237
+ /kappa
238
+ /lambda
239
+ /uni03BC
240
+ /nu
241
+ /omicron
242
+ /pi % 0xf0
243
+ /omegatonos
244
+ /rho
245
+ /sigma
246
+ /tau
247
+ /theta
248
+ /omega
249
+ /sigma1
250
+ /chi
251
+ /upsilon
252
+ /zeta
253
+ /iotadieresis
254
+ /upsilondieresis
255
+ /iotadieresistonos
256
+ /upsilondieresistonos
257
+ /uniF8A0
258
+ ] def