rghost 0.7.4 → 0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (447) hide show
  1. data/lib/rghost/border.rb +44 -0
  2. data/lib/rghost/callback.rb +25 -22
  3. data/lib/rghost/circle.rb +102 -0
  4. data/lib/rghost/color.rb +81 -56
  5. data/lib/rghost/constants.rb +599 -589
  6. data/lib/rghost/convert.rb +26 -7
  7. data/lib/rghost/cursor.rb +90 -58
  8. data/lib/rghost/dash.rb +59 -0
  9. data/lib/rghost/document.rb +334 -311
  10. data/lib/rghost/document_callback_facade.rb +64 -0
  11. data/lib/rghost/dsc_entry.rb +12 -12
  12. data/lib/rghost/dynamic_document_callback.rb +6 -18
  13. data/lib/rghost/eps.rb +17 -8
  14. data/lib/rghost/font.rb +19 -23
  15. data/lib/rghost/font_map.rb +40 -0
  16. data/lib/rghost/frame.rb +105 -0
  17. data/lib/rghost/function.rb +19 -21
  18. data/lib/rghost/gif.rb +22 -9
  19. data/lib/rghost/graphic.rb +3 -3
  20. data/lib/rghost/grid/base_grid.rb +218 -0
  21. data/lib/rghost/grid/callback_facade.rb +136 -0
  22. data/lib/rghost/grid/csv_grid.rb +50 -0
  23. data/lib/rghost/{data_grid → grid}/dynamic_callback.rb +2 -2
  24. data/lib/rghost/grid/field_format.rb +43 -0
  25. data/lib/rghost/grid/grid.rb +15 -0
  26. data/lib/rghost/grid/header.rb +120 -0
  27. data/lib/rghost/grid/matrix.rb +10 -0
  28. data/lib/rghost/grid/rails_grid.rb +70 -0
  29. data/lib/rghost/{data_grid → grid}/static_callback.rb +4 -4
  30. data/lib/rghost/grid/style/border_lines.rb +46 -0
  31. data/lib/rghost/grid/style/bottom_lines.rb +30 -0
  32. data/lib/rghost/grid/style/old_forms.rb +30 -0
  33. data/lib/rghost/grid/style/style.rb +8 -0
  34. data/lib/rghost/gs_alone.rb +7 -5
  35. data/lib/rghost/helpers.rb +4 -4
  36. data/lib/rghost/horizontal_line.rb +35 -19
  37. data/lib/rghost/how_to.rb +75 -0
  38. data/lib/rghost/image.rb +8 -8
  39. data/lib/rghost/jpeg.rb +21 -8
  40. data/lib/rghost/line.rb +66 -17
  41. data/lib/rghost/line_width.rb +19 -8
  42. data/lib/rghost/load.rb +24 -22
  43. data/lib/rghost/newpath.rb +8 -7
  44. data/lib/rghost/paper.rb +100 -41
  45. data/lib/rghost/parse_text.rb +53 -0
  46. data/lib/rghost/point.rb +9 -8
  47. data/lib/rghost/point_with_command.rb +5 -5
  48. data/lib/rghost/polygon.rb +75 -0
  49. data/lib/rghost/ps/AdobeExpert.enc +0 -0
  50. data/lib/rghost/ps/AdobeLatinEncoding.enc +0 -0
  51. data/lib/rghost/ps/Bengali.enc +0 -0
  52. data/lib/rghost/ps/CodePage1250.enc +0 -0
  53. data/lib/rghost/ps/CodePage1251.enc +0 -0
  54. data/lib/rghost/ps/CodePage1252.enc +0 -0
  55. data/lib/rghost/ps/CodePage1253.enc +0 -0
  56. data/lib/rghost/ps/CodePage1254.enc +0 -0
  57. data/lib/rghost/ps/CodePage1256.enc +0 -0
  58. data/lib/rghost/ps/CodePage1257.enc +0 -0
  59. data/lib/rghost/ps/CodePage1258.enc +0 -0
  60. data/lib/rghost/ps/CodePage874.enc +0 -0
  61. data/lib/rghost/ps/Fontmap +5 -0
  62. data/lib/rghost/ps/IsoLatin.enc +0 -0
  63. data/lib/rghost/ps/MacCentralEuropean.enc +0 -0
  64. data/lib/rghost/ps/{MacCyrillice.enc → MacCyrillice.desnc} +0 -0
  65. data/lib/rghost/ps/MacGreek.enc +0 -0
  66. data/lib/rghost/ps/MacHebrew.enc +0 -0
  67. data/lib/rghost/ps/TeX-CorkEncoding.enc +0 -0
  68. data/lib/rghost/ps/TeX-LGR-Greek.enc +0 -0
  69. data/lib/rghost/ps/TeX-T2AModified2Encoding.enc +0 -0
  70. data/lib/rghost/ps/TeX-T2BAdobeEncoding.enc +0 -0
  71. data/lib/rghost/ps/TeX-T2CAdobeEncoding.enc +0 -0
  72. data/lib/rghost/ps/TeX-X2AdobeEncoding.enc +0 -0
  73. data/lib/rghost/ps/TeX-XL2encoding.enc +0 -0
  74. data/lib/rghost/ps/TeXMathExtensionEncoding.enc +0 -0
  75. data/lib/rghost/ps/TeXMathItalicEncoding.enc +0 -0
  76. data/lib/rghost/ps/TeXMathSymbolEncoding.enc +0 -0
  77. data/lib/rghost/ps/US-ASCII.enc +0 -0
  78. data/lib/rghost/ps/UTF-8.enc +0 -0
  79. data/lib/rghost/ps/__datagrid.ps +52 -0
  80. data/lib/rghost/ps/_cusor.ps +46 -0
  81. data/lib/rghost/ps/basic.ps +12 -1
  82. data/lib/rghost/ps/begin_document.ps +1 -0
  83. data/lib/rghost/ps/callbacks.ps +32 -3
  84. data/lib/rghost/ps/code128.font +0 -0
  85. data/lib/rghost/ps/code39.font +0 -0
  86. data/lib/rghost/ps/cursor.ps +77 -13
  87. data/lib/rghost/ps/datagrid.ps +4 -1
  88. data/lib/rghost/ps/developer.ps +237 -0
  89. data/lib/rghost/ps/ean.font +0 -0
  90. data/lib/rghost/ps/eps.ps +0 -0
  91. data/lib/rghost/ps/font.ps +8 -1
  92. data/lib/rghost/ps/frame.ps +16 -0
  93. data/lib/rghost/ps/gif.ps +0 -0
  94. data/lib/rghost/ps/horizontal_line.ps +4 -3
  95. data/lib/rghost/ps/i25.font +0 -0
  96. data/lib/rghost/ps/jpeg.ps +0 -0
  97. data/lib/rghost/ps/paper.ps +0 -0
  98. data/lib/rghost/ps/rectangle.ps +0 -0
  99. data/lib/rghost/ps/rghost_default_template.eps +1532 -0
  100. data/lib/rghost/ps/row.ps +0 -0
  101. data/lib/rghost/ps/show.ps +2 -1
  102. data/lib/rghost/ps/table_callbacks.ps +0 -0
  103. data/lib/rghost/ps/text.ps +63 -0
  104. data/lib/rghost/ps/textarea.ps +1 -1
  105. data/lib/rghost/ps/type.ps +0 -0
  106. data/lib/rghost/ps/unit.ps +0 -0
  107. data/lib/rghost/ps/vertical_line.ps +2 -4
  108. data/lib/rghost/ps/virtual_pages.ps +55 -0
  109. data/lib/rghost/ps_facade.rb +256 -0
  110. data/lib/rghost/ps_object.rb +24 -20
  111. data/lib/rghost/rgengine.so +0 -0
  112. data/lib/rghost/ruby_ghost_config.rb +224 -16
  113. data/lib/rghost/ruby_ghost_engine.rb +32 -55
  114. data/lib/rghost/ruby_ghost_version.rb +8 -0
  115. data/lib/rghost/ruby_to_ps.rb +52 -78
  116. data/lib/rghost/scale.rb +22 -7
  117. data/lib/rghost/shape_content.rb +23 -0
  118. data/lib/rghost/show.rb +77 -20
  119. data/lib/rghost/static_document_callback.rb +3 -7
  120. data/lib/rghost/text.rb +44 -0
  121. data/lib/rghost/text_in.rb +36 -14
  122. data/lib/rghost/textarea.rb +66 -93
  123. data/lib/rghost/units.rb +45 -44
  124. data/lib/rghost/variable.rb +4 -4
  125. data/lib/rghost/vertical_line.rb +27 -19
  126. data/lib/rghost/virtual_pages.rb +42 -0
  127. data/lib/rghost.rb +16 -2
  128. metadata +153 -500
  129. data/lib/rghost/arc.rb +0 -39
  130. data/lib/rghost/barcode.rb +0 -40
  131. data/lib/rghost/data_grid/basic_grid.rb +0 -136
  132. data/lib/rghost/data_grid/csv_grid.rb +0 -27
  133. data/lib/rghost/data_grid/data_grid.rb +0 -14
  134. data/lib/rghost/data_grid/field_format.rb +0 -60
  135. data/lib/rghost/data_grid/grid.rb +0 -18
  136. data/lib/rghost/data_grid/header.rb +0 -111
  137. data/lib/rghost/data_grid/rails_grid.rb +0 -62
  138. data/lib/rghost/data_grid/style/border_lines.rb +0 -47
  139. data/lib/rghost/data_grid/style/bottom_lines.rb +0 -30
  140. data/lib/rghost/data_grid/style/old_forms.rb +0 -30
  141. data/lib/rghost/data_grid/style/style.rb +0 -8
  142. data/lib/rghost/doc/classes/Arc.html +0 -200
  143. data/lib/rghost/doc/classes/Arc.src/M000049.html +0 -18
  144. data/lib/rghost/doc/classes/Arc.src/M000050.html +0 -23
  145. data/lib/rghost/doc/classes/Barcode.html +0 -214
  146. data/lib/rghost/doc/classes/Barcode.src/M000001.html +0 -19
  147. data/lib/rghost/doc/classes/Barcode.src/M000002.html +0 -18
  148. data/lib/rghost/doc/classes/Barcode.src/M000003.html +0 -19
  149. data/lib/rghost/doc/classes/Barcode.src/M000004.html +0 -27
  150. data/lib/rghost/doc/classes/CMYK.html +0 -209
  151. data/lib/rghost/doc/classes/CMYK.src/M000047.html +0 -18
  152. data/lib/rghost/doc/classes/CMYK.src/M000048.html +0 -24
  153. data/lib/rghost/doc/classes/Callback.html +0 -220
  154. data/lib/rghost/doc/classes/Callback.src/M000071.html +0 -21
  155. data/lib/rghost/doc/classes/Callback.src/M000072.html +0 -26
  156. data/lib/rghost/doc/classes/Color.html +0 -175
  157. data/lib/rghost/doc/classes/Color.src/M000028.html +0 -33
  158. data/lib/rghost/doc/classes/Constants/Colors.html +0 -129
  159. data/lib/rghost/doc/classes/Constants/Devices.html +0 -163
  160. data/lib/rghost/doc/classes/Constants/Devices.src/M000168.html +0 -22
  161. data/lib/rghost/doc/classes/Constants/Fonts.html +0 -144
  162. data/lib/rghost/doc/classes/Constants/Papers.html +0 -124
  163. data/lib/rghost/doc/classes/Constants.html +0 -120
  164. data/lib/rghost/doc/classes/Convert.html +0 -189
  165. data/lib/rghost/doc/classes/Convert.src/M000067.html +0 -20
  166. data/lib/rghost/doc/classes/Convert.src/M000068.html +0 -24
  167. data/lib/rghost/doc/classes/Cursor.html +0 -330
  168. data/lib/rghost/doc/classes/Cursor.src/M000031.html +0 -21
  169. data/lib/rghost/doc/classes/Cursor.src/M000032.html +0 -21
  170. data/lib/rghost/doc/classes/Cursor.src/M000033.html +0 -20
  171. data/lib/rghost/doc/classes/Cursor.src/M000034.html +0 -18
  172. data/lib/rghost/doc/classes/Cursor.src/M000035.html +0 -18
  173. data/lib/rghost/doc/classes/Cursor.src/M000036.html +0 -19
  174. data/lib/rghost/doc/classes/Cursor.src/M000037.html +0 -22
  175. data/lib/rghost/doc/classes/Cursor.src/M000038.html +0 -18
  176. data/lib/rghost/doc/classes/Cursor.src/M000039.html +0 -18
  177. data/lib/rghost/doc/classes/DSCEntry.html +0 -173
  178. data/lib/rghost/doc/classes/DSCEntry.src/M000059.html +0 -19
  179. data/lib/rghost/doc/classes/DSCEntry.src/M000060.html +0 -19
  180. data/lib/rghost/doc/classes/DataGrid/BasicGrid.html +0 -343
  181. data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000140.html +0 -27
  182. data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000141.html +0 -26
  183. data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000142.html +0 -22
  184. data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000143.html +0 -19
  185. data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000144.html +0 -26
  186. data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000145.html +0 -34
  187. data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000146.html +0 -18
  188. data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000147.html +0 -37
  189. data/lib/rghost/doc/classes/DataGrid/BasicGrid.src/M000148.html +0 -26
  190. data/lib/rghost/doc/classes/DataGrid/CSVGrid.html +0 -152
  191. data/lib/rghost/doc/classes/DataGrid/CSVGrid.src/M000139.html +0 -32
  192. data/lib/rghost/doc/classes/DataGrid/DynamicCallback.html +0 -158
  193. data/lib/rghost/doc/classes/DataGrid/DynamicCallback.src/M000149.html +0 -19
  194. data/lib/rghost/doc/classes/DataGrid/FieldFormat/Custom.html +0 -176
  195. data/lib/rghost/doc/classes/DataGrid/FieldFormat/Custom.src/M000136.html +0 -18
  196. data/lib/rghost/doc/classes/DataGrid/FieldFormat/Custom.src/M000137.html +0 -18
  197. data/lib/rghost/doc/classes/DataGrid/FieldFormat/Custom.src/M000138.html +0 -18
  198. data/lib/rghost/doc/classes/DataGrid/FieldFormat.html +0 -216
  199. data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000131.html +0 -19
  200. data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000132.html +0 -18
  201. data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000133.html +0 -23
  202. data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000134.html +0 -18
  203. data/lib/rghost/doc/classes/DataGrid/FieldFormat.src/M000135.html +0 -22
  204. data/lib/rghost/doc/classes/DataGrid/Grid.html +0 -148
  205. data/lib/rghost/doc/classes/DataGrid/Grid.src/M000160.html +0 -19
  206. data/lib/rghost/doc/classes/DataGrid/Header.html +0 -367
  207. data/lib/rghost/doc/classes/DataGrid/Header.src/M000150.html +0 -26
  208. data/lib/rghost/doc/classes/DataGrid/Header.src/M000151.html +0 -25
  209. data/lib/rghost/doc/classes/DataGrid/Header.src/M000152.html +0 -24
  210. data/lib/rghost/doc/classes/DataGrid/Header.src/M000153.html +0 -19
  211. data/lib/rghost/doc/classes/DataGrid/Header.src/M000154.html +0 -18
  212. data/lib/rghost/doc/classes/DataGrid/Header.src/M000155.html +0 -18
  213. data/lib/rghost/doc/classes/DataGrid/Header.src/M000156.html +0 -18
  214. data/lib/rghost/doc/classes/DataGrid/Header.src/M000157.html +0 -18
  215. data/lib/rghost/doc/classes/DataGrid/Header.src/M000158.html +0 -19
  216. data/lib/rghost/doc/classes/DataGrid/Header.src/M000159.html +0 -19
  217. data/lib/rghost/doc/classes/DataGrid/RailsGrid.html +0 -234
  218. data/lib/rghost/doc/classes/DataGrid/RailsGrid.src/M000161.html +0 -27
  219. data/lib/rghost/doc/classes/DataGrid/RailsGrid.src/M000162.html +0 -23
  220. data/lib/rghost/doc/classes/DataGrid/RailsGrid.src/M000163.html +0 -18
  221. data/lib/rghost/doc/classes/DataGrid/StaticCallback.html +0 -158
  222. data/lib/rghost/doc/classes/DataGrid/StaticCallback.src/M000164.html +0 -19
  223. data/lib/rghost/doc/classes/DataGrid/Style/BorderLines.html +0 -137
  224. data/lib/rghost/doc/classes/DataGrid/Style/BorderLines.src/M000128.html +0 -55
  225. data/lib/rghost/doc/classes/DataGrid/Style/BottomLines.html +0 -137
  226. data/lib/rghost/doc/classes/DataGrid/Style/BottomLines.src/M000129.html +0 -38
  227. data/lib/rghost/doc/classes/DataGrid/Style/OldForms.html +0 -137
  228. data/lib/rghost/doc/classes/DataGrid/Style/OldForms.src/M000130.html +0 -38
  229. data/lib/rghost/doc/classes/DataGrid/Style.html +0 -113
  230. data/lib/rghost/doc/classes/DataGrid.html +0 -133
  231. data/lib/rghost/doc/classes/Document.html +0 -990
  232. data/lib/rghost/doc/classes/Document.src/M000075.html +0 -32
  233. data/lib/rghost/doc/classes/Document.src/M000076.html +0 -18
  234. data/lib/rghost/doc/classes/Document.src/M000077.html +0 -29
  235. data/lib/rghost/doc/classes/Document.src/M000078.html +0 -33
  236. data/lib/rghost/doc/classes/Document.src/M000079.html +0 -20
  237. data/lib/rghost/doc/classes/Document.src/M000080.html +0 -21
  238. data/lib/rghost/doc/classes/Document.src/M000081.html +0 -18
  239. data/lib/rghost/doc/classes/Document.src/M000082.html +0 -19
  240. data/lib/rghost/doc/classes/Document.src/M000083.html +0 -21
  241. data/lib/rghost/doc/classes/Document.src/M000084.html +0 -22
  242. data/lib/rghost/doc/classes/Document.src/M000085.html +0 -18
  243. data/lib/rghost/doc/classes/Document.src/M000086.html +0 -18
  244. data/lib/rghost/doc/classes/Document.src/M000087.html +0 -18
  245. data/lib/rghost/doc/classes/Document.src/M000088.html +0 -18
  246. data/lib/rghost/doc/classes/Document.src/M000089.html +0 -19
  247. data/lib/rghost/doc/classes/Document.src/M000090.html +0 -18
  248. data/lib/rghost/doc/classes/Document.src/M000091.html +0 -18
  249. data/lib/rghost/doc/classes/Document.src/M000092.html +0 -18
  250. data/lib/rghost/doc/classes/Document.src/M000093.html +0 -18
  251. data/lib/rghost/doc/classes/Document.src/M000094.html +0 -18
  252. data/lib/rghost/doc/classes/Document.src/M000095.html +0 -18
  253. data/lib/rghost/doc/classes/Document.src/M000096.html +0 -18
  254. data/lib/rghost/doc/classes/Document.src/M000097.html +0 -18
  255. data/lib/rghost/doc/classes/Document.src/M000098.html +0 -18
  256. data/lib/rghost/doc/classes/Document.src/M000099.html +0 -18
  257. data/lib/rghost/doc/classes/Document.src/M000100.html +0 -18
  258. data/lib/rghost/doc/classes/Document.src/M000101.html +0 -18
  259. data/lib/rghost/doc/classes/Document.src/M000102.html +0 -18
  260. data/lib/rghost/doc/classes/Document.src/M000103.html +0 -18
  261. data/lib/rghost/doc/classes/Document.src/M000104.html +0 -18
  262. data/lib/rghost/doc/classes/Document.src/M000105.html +0 -18
  263. data/lib/rghost/doc/classes/Document.src/M000106.html +0 -18
  264. data/lib/rghost/doc/classes/Document.src/M000107.html +0 -18
  265. data/lib/rghost/doc/classes/Document.src/M000108.html +0 -18
  266. data/lib/rghost/doc/classes/Document.src/M000109.html +0 -18
  267. data/lib/rghost/doc/classes/Document.src/M000110.html +0 -18
  268. data/lib/rghost/doc/classes/Document.src/M000111.html +0 -20
  269. data/lib/rghost/doc/classes/Document.src/M000112.html +0 -19
  270. data/lib/rghost/doc/classes/Document.src/M000113.html +0 -19
  271. data/lib/rghost/doc/classes/DynamicDocumentCallback.html +0 -175
  272. data/lib/rghost/doc/classes/DynamicDocumentCallback.src/M000022.html +0 -19
  273. data/lib/rghost/doc/classes/Eps.html +0 -168
  274. data/lib/rghost/doc/classes/Eps.src/M000063.html +0 -20
  275. data/lib/rghost/doc/classes/Eps.src/M000064.html +0 -20
  276. data/lib/rghost/doc/classes/Font.html +0 -205
  277. data/lib/rghost/doc/classes/Font.src/M000061.html +0 -22
  278. data/lib/rghost/doc/classes/Font.src/M000062.html +0 -37
  279. data/lib/rghost/doc/classes/Function.html +0 -196
  280. data/lib/rghost/doc/classes/Function.src/M000045.html +0 -27
  281. data/lib/rghost/doc/classes/Function.src/M000046.html +0 -20
  282. data/lib/rghost/doc/classes/GSAlone.html +0 -154
  283. data/lib/rghost/doc/classes/GSAlone.src/M000065.html +0 -19
  284. data/lib/rghost/doc/classes/GSAlone.src/M000066.html +0 -22
  285. data/lib/rghost/doc/classes/Gif.html +0 -148
  286. data/lib/rghost/doc/classes/Gif.src/M000040.html +0 -30
  287. data/lib/rghost/doc/classes/Graphic.html +0 -153
  288. data/lib/rghost/doc/classes/Graphic.src/M000014.html +0 -18
  289. data/lib/rghost/doc/classes/Gray.html +0 -181
  290. data/lib/rghost/doc/classes/Gray.src/M000026.html +0 -18
  291. data/lib/rghost/doc/classes/Gray.src/M000027.html +0 -19
  292. data/lib/rghost/doc/classes/Helpers/HashKeyMethod.html +0 -131
  293. data/lib/rghost/doc/classes/Helpers/HashKeyMethod.src/M000127.html +0 -18
  294. data/lib/rghost/doc/classes/Helpers/HashKeyMethodClass.html +0 -118
  295. data/lib/rghost/doc/classes/Helpers.html +0 -112
  296. data/lib/rghost/doc/classes/HorizontalLine.html +0 -186
  297. data/lib/rghost/doc/classes/HorizontalLine.src/M000023.html +0 -23
  298. data/lib/rghost/doc/classes/Image.html +0 -176
  299. data/lib/rghost/doc/classes/Image.src/M000042.html +0 -20
  300. data/lib/rghost/doc/classes/Image.src/M000043.html +0 -26
  301. data/lib/rghost/doc/classes/Jpeg.html +0 -148
  302. data/lib/rghost/doc/classes/Jpeg.src/M000013.html +0 -28
  303. data/lib/rghost/doc/classes/Line.html +0 -190
  304. data/lib/rghost/doc/classes/Line.src/M000069.html +0 -20
  305. data/lib/rghost/doc/classes/Line.src/M000070.html +0 -19
  306. data/lib/rghost/doc/classes/LineWidth.html +0 -172
  307. data/lib/rghost/doc/classes/LineWidth.src/M000005.html +0 -18
  308. data/lib/rghost/doc/classes/LineWidth.src/M000006.html +0 -18
  309. data/lib/rghost/doc/classes/Load.html +0 -161
  310. data/lib/rghost/doc/classes/Load.src/M000165.html +0 -21
  311. data/lib/rghost/doc/classes/Load.src/M000166.html +0 -34
  312. data/lib/rghost/doc/classes/Load.src/M000167.html +0 -19
  313. data/lib/rghost/doc/classes/NewPath.html +0 -153
  314. data/lib/rghost/doc/classes/NewPath.src/M000041.html +0 -18
  315. data/lib/rghost/doc/classes/Paper.html +0 -213
  316. data/lib/rghost/doc/classes/Paper.src/M000010.html +0 -20
  317. data/lib/rghost/doc/classes/Paper.src/M000011.html +0 -24
  318. data/lib/rghost/doc/classes/Paper.src/M000012.html +0 -20
  319. data/lib/rghost/doc/classes/Point.html +0 -180
  320. data/lib/rghost/doc/classes/Point.src/M000073.html +0 -20
  321. data/lib/rghost/doc/classes/Point.src/M000074.html +0 -18
  322. data/lib/rghost/doc/classes/PointWithCommand.html +0 -150
  323. data/lib/rghost/doc/classes/PointWithCommand.src/M000115.html +0 -22
  324. data/lib/rghost/doc/classes/PsObject.html +0 -269
  325. data/lib/rghost/doc/classes/PsObject.src/M000015.html +0 -25
  326. data/lib/rghost/doc/classes/PsObject.src/M000016.html +0 -18
  327. data/lib/rghost/doc/classes/PsObject.src/M000017.html +0 -18
  328. data/lib/rghost/doc/classes/PsObject.src/M000018.html +0 -18
  329. data/lib/rghost/doc/classes/PsObject.src/M000019.html +0 -21
  330. data/lib/rghost/doc/classes/PsObject.src/M000020.html +0 -19
  331. data/lib/rghost/doc/classes/PsObject.src/M000021.html +0 -18
  332. data/lib/rghost/doc/classes/RGB.html +0 -213
  333. data/lib/rghost/doc/classes/RGB.src/M000024.html +0 -21
  334. data/lib/rghost/doc/classes/RGB.src/M000025.html +0 -25
  335. data/lib/rghost/doc/classes/Rectangle.html +0 -226
  336. data/lib/rghost/doc/classes/Rectangle.src/M000056.html +0 -18
  337. data/lib/rghost/doc/classes/Rectangle.src/M000057.html +0 -24
  338. data/lib/rghost/doc/classes/Rectangle.src/M000058.html +0 -21
  339. data/lib/rghost/doc/classes/RubyGhostConfig.html +0 -144
  340. data/lib/rghost/doc/classes/RubyGhostConfig.src/M000118.html +0 -22
  341. data/lib/rghost/doc/classes/RubyGhostEngine.html +0 -261
  342. data/lib/rghost/doc/classes/RubyGhostEngine.src/M000007.html +0 -24
  343. data/lib/rghost/doc/classes/RubyGhostEngine.src/M000008.html +0 -96
  344. data/lib/rghost/doc/classes/RubyGhostEngine.src/M000009.html +0 -21
  345. data/lib/rghost/doc/classes/RubyToPs.html +0 -272
  346. data/lib/rghost/doc/classes/RubyToPs.src/M000119.html +0 -23
  347. data/lib/rghost/doc/classes/RubyToPs.src/M000120.html +0 -18
  348. data/lib/rghost/doc/classes/RubyToPs.src/M000121.html +0 -18
  349. data/lib/rghost/doc/classes/RubyToPs.src/M000122.html +0 -19
  350. data/lib/rghost/doc/classes/RubyToPs.src/M000123.html +0 -30
  351. data/lib/rghost/doc/classes/RubyToPs.src/M000124.html +0 -18
  352. data/lib/rghost/doc/classes/RubyToPs.src/M000125.html +0 -18
  353. data/lib/rghost/doc/classes/RubyToPs.src/M000126.html +0 -30
  354. data/lib/rghost/doc/classes/Scale.html +0 -153
  355. data/lib/rghost/doc/classes/Scale.src/M000114.html +0 -18
  356. data/lib/rghost/doc/classes/Show.html +0 -203
  357. data/lib/rghost/doc/classes/Show.src/M000052.html +0 -20
  358. data/lib/rghost/doc/classes/Show.src/M000053.html +0 -19
  359. data/lib/rghost/doc/classes/StaticDocumentCallback.html +0 -168
  360. data/lib/rghost/doc/classes/StaticDocumentCallback.src/M000051.html +0 -19
  361. data/lib/rghost/doc/classes/TextArea.html +0 -217
  362. data/lib/rghost/doc/classes/TextArea.src/M000029.html +0 -22
  363. data/lib/rghost/doc/classes/TextArea.src/M000030.html +0 -24
  364. data/lib/rghost/doc/classes/TextIn.html +0 -201
  365. data/lib/rghost/doc/classes/TextIn.src/M000054.html +0 -19
  366. data/lib/rghost/doc/classes/TextIn.src/M000055.html +0 -24
  367. data/lib/rghost/doc/classes/Units/Cm.html +0 -145
  368. data/lib/rghost/doc/classes/Units/Cm.src/M000175.html +0 -19
  369. data/lib/rghost/doc/classes/Units/Inch.html +0 -145
  370. data/lib/rghost/doc/classes/Units/Inch.src/M000174.html +0 -18
  371. data/lib/rghost/doc/classes/Units/PSUnit.html +0 -139
  372. data/lib/rghost/doc/classes/Units/PSUnit.src/M000170.html +0 -18
  373. data/lib/rghost/doc/classes/Units/Unit.html +0 -190
  374. data/lib/rghost/doc/classes/Units/Unit.src/M000171.html +0 -18
  375. data/lib/rghost/doc/classes/Units/Unit.src/M000172.html +0 -19
  376. data/lib/rghost/doc/classes/Units/Unit.src/M000173.html +0 -18
  377. data/lib/rghost/doc/classes/Units.html +0 -166
  378. data/lib/rghost/doc/classes/Units.src/M000169.html +0 -22
  379. data/lib/rghost/doc/classes/Variable.html +0 -152
  380. data/lib/rghost/doc/classes/Variable.src/M000044.html +0 -18
  381. data/lib/rghost/doc/classes/VerticalLine.html +0 -175
  382. data/lib/rghost/doc/classes/VerticalLine.src/M000116.html +0 -23
  383. data/lib/rghost/doc/classes/VerticalLine.src/M000117.html +0 -19
  384. data/lib/rghost/doc/created.rid +0 -1
  385. data/lib/rghost/doc/files/arc_rb.html +0 -109
  386. data/lib/rghost/doc/files/barcode_rb.html +0 -108
  387. data/lib/rghost/doc/files/callback_rb.html +0 -109
  388. data/lib/rghost/doc/files/color_rb.html +0 -110
  389. data/lib/rghost/doc/files/constants_rb.html +0 -108
  390. data/lib/rghost/doc/files/convert_rb.html +0 -107
  391. data/lib/rghost/doc/files/cursor_rb.html +0 -110
  392. data/lib/rghost/doc/files/data_grid/basic_grid_rb.html +0 -108
  393. data/lib/rghost/doc/files/data_grid/csv_grid_rb.html +0 -108
  394. data/lib/rghost/doc/files/data_grid/data_grid_rb.html +0 -116
  395. data/lib/rghost/doc/files/data_grid/dynamic_callback_rb.html +0 -108
  396. data/lib/rghost/doc/files/data_grid/field_format_rb.html +0 -109
  397. data/lib/rghost/doc/files/data_grid/grid_rb.html +0 -108
  398. data/lib/rghost/doc/files/data_grid/header_rb.html +0 -113
  399. data/lib/rghost/doc/files/data_grid/rails_grid_rb.html +0 -108
  400. data/lib/rghost/doc/files/data_grid/static_callback_rb.html +0 -109
  401. data/lib/rghost/doc/files/data_grid/style/border_lines_rb.html +0 -101
  402. data/lib/rghost/doc/files/data_grid/style/bottom_lines_rb.html +0 -101
  403. data/lib/rghost/doc/files/data_grid/style/old_forms_rb.html +0 -101
  404. data/lib/rghost/doc/files/data_grid/style/style_rb.html +0 -110
  405. data/lib/rghost/doc/files/document_rb.html +0 -150
  406. data/lib/rghost/doc/files/dsc_entry_rb.html +0 -108
  407. data/lib/rghost/doc/files/dynamic_document_callback_rb.html +0 -108
  408. data/lib/rghost/doc/files/eps_rb.html +0 -108
  409. data/lib/rghost/doc/files/font_rb.html +0 -110
  410. data/lib/rghost/doc/files/function_rb.html +0 -108
  411. data/lib/rghost/doc/files/gif_rb.html +0 -114
  412. data/lib/rghost/doc/files/graphic_rb.html +0 -113
  413. data/lib/rghost/doc/files/gs_alone_rb.html +0 -101
  414. data/lib/rghost/doc/files/helpers_rb.html +0 -101
  415. data/lib/rghost/doc/files/horizontal_line_rb.html +0 -109
  416. data/lib/rghost/doc/files/image_rb.html +0 -108
  417. data/lib/rghost/doc/files/jpeg_rb.html +0 -112
  418. data/lib/rghost/doc/files/line_rb.html +0 -109
  419. data/lib/rghost/doc/files/line_width_rb.html +0 -108
  420. data/lib/rghost/doc/files/load_rb.html +0 -108
  421. data/lib/rghost/doc/files/newpath_rb.html +0 -113
  422. data/lib/rghost/doc/files/paper_rb.html +0 -112
  423. data/lib/rghost/doc/files/point_rb.html +0 -109
  424. data/lib/rghost/doc/files/point_with_command_rb.html +0 -109
  425. data/lib/rghost/doc/files/ps_object_rb.html +0 -107
  426. data/lib/rghost/doc/files/rectangle_rb.html +0 -110
  427. data/lib/rghost/doc/files/rghost_rb.html +0 -109
  428. data/lib/rghost/doc/files/ruby_ghost_config_rb.html +0 -109
  429. data/lib/rghost/doc/files/ruby_ghost_engine_rb.html +0 -111
  430. data/lib/rghost/doc/files/ruby_to_ps_rb.html +0 -107
  431. data/lib/rghost/doc/files/scale_rb.html +0 -108
  432. data/lib/rghost/doc/files/show_rb.html +0 -109
  433. data/lib/rghost/doc/files/static_document_callback_rb.html +0 -109
  434. data/lib/rghost/doc/files/text_in_rb.html +0 -110
  435. data/lib/rghost/doc/files/textarea_rb.html +0 -111
  436. data/lib/rghost/doc/files/units_rb.html +0 -109
  437. data/lib/rghost/doc/files/variable_rb.html +0 -108
  438. data/lib/rghost/doc/files/version_rb.html +0 -101
  439. data/lib/rghost/doc/files/vertical_line_rb.html +0 -110
  440. data/lib/rghost/doc/fr_class_index.html +0 -93
  441. data/lib/rghost/doc/fr_file_index.html +0 -81
  442. data/lib/rghost/doc/fr_method_index.html +0 -201
  443. data/lib/rghost/doc/index.html +0 -24
  444. data/lib/rghost/ps/functions.ps +0 -646
  445. data/lib/rghost/rectangle.rb +0 -39
  446. data/lib/rghost/rghost.rb +0 -3
  447. data/lib/rghost/version.rb +0 -9
@@ -1,614 +1,624 @@
1
1
  require "helpers"
2
- #Constantes do Ambiente RubyGhost API
3
- module Constants
4
- #Dispositivos avali�veis
2
+
3
+ module RGhost::Constants
4
+ module HashKeyMethod #:nodoc:
5
+ def method_missing(method, *args)
6
+ self[method.to_sym]
7
+ end
8
+ end
9
+ class HashKeyMethodClass < Hash #:nodoc:
10
+ include RGhost::Constants::HashKeyMethod
11
+ end
5
12
  module Devices
6
13
  #Standard Devices
7
- STANDARD=Helpers::HashKeyMethodClass[
8
- #-- MS-DOS displays",
9
- :ega => "EGA (640x350, 16-color)",
10
- :vga => "VGA (640x480, 16-color)",
11
- #-- Ms Windows => "",
12
- :ali => "SuperVGA using Avance Logic Inc. chipset, 256-color modes",
13
- :atiw => "ATI Wonder SuperVGA, 256-color modes",
14
- :cirr => "SuperVGA using Cirrus Logic CL-GD54XX chips, 256-color modes",
15
- :s3vga => "SuperVGA using S3 86C911 chip (e.g., Diamond Stealth board)",
16
- :svga16 => "Generic SuperVGA in 800x600, 16-color mode",
17
- :tseng => "SuperVGA using Tseng Labs ET3000/4000 chips, 256-color modes",
18
- :vesa => "SuperVGA with VESA standard API driver",
19
- :mswindll => "Microsoft Windows 3.1 DLL => [MS Windows only]",
20
- :mswinprn => "Microsoft Windows 3.0, 3.1 DDB printer => [MS Windows only]",
21
- :mswinpr2 => "Microsoft Windows 3.0, 3.1 DIB printer => [MS Windows only]",
22
- #-- Others Displays",
23
- :os2pm => "OS/2 Presentation Manager => [OS/2 only]",
24
- :os2dll => "OS/2 DLL bitmap::[OS/2 only]",
25
- :os2prn => "OS/2 printer:: => [OS/2 only]",
26
- #-- Unix Displays",
27
- :lvga256 => "Linux vgalib, 256-color VGA modes => [Linux only]",
28
- :vgalib => "Linux vgalib, 16-color VGA modes => [Linux only]",
29
- :x11 => "X Windows version 11, release >=4 => [Unix and VMS only]",
30
- :x11alpha => "X Windows masquerading as a device with alpha capability",
31
- :x11cmyk => "X Windows masquerading as a 1-bit-per-plane CMYK device",
32
- :x11cmyk2 => "X Windows as a 2-bit-per-plane CMYK device",
33
- :x11cmyk4 => "X Windows as a 4-bit-per-plane CMYK device",
34
- :x11cmyk8 => "X Windows as an 8-bit-per-plane CMYK device",
35
- :x11gray2 => "X Windows as a 2-bit gray-scale device",
36
- :x11gray4 => "X Windows as a 4-bit gray-scale device",
37
- :x11mono => "X Windows masquerading as a black-and-white device",
38
- :x11rg16x => "X Windows with G5/B5/R6 pixel layout for testing.",
39
- :x11rg32x => "X Windows with G11/B10/R11 pixel layout for testing.",
40
- #-- Printers",
41
- :atx23 => "Practical Automation ATX-23 label printer",
42
- :atx24 => "Practical Automation ATX-24 label printer",
43
- :atx38 => "Practical Automation ATX-38 label printer",
44
- :deskjet => "H-P DeskJet and DeskJet Plus",
45
- :djet500 => "H-P DeskJet 500; use -r600 for DJ 600 series",
46
- :fs600 => "Kyocera FS-600 (600 dpi)",
47
- :laserjet => "H-P LaserJet",
48
- :ljet2p => "H-P LaserJet IId/IIp/III* with TIFF compression",
49
- :ljet3 => "H-P LaserJet III* with Delta Row compression",
50
- :ljet3d => "H-P LaserJet IIID with duplex capability",
51
- :ljet4 => "H-P LaserJet 4 (defaults to 600 dpi)",
52
- :ljet4d => "H-P LaserJet 4 (defaults to 600 dpi) with duplex",
53
- :ljetplus => "H-P LaserJet Plus",
54
- :lj5mono => "H-P LaserJet 5 & 6 family (PCL XL), bitmap:",
55
- :lj5gray => "H-P LaserJet 5 & 6 family, gray-scale bitmap;",
56
- :lp2563 => "H-P 2563B line printer",
57
- :oce9050 => "OCE 9050 printe",
58
- :pxlmono => "H-P black-and-white PCL XL printers (LaserJet 5 and 6 family)",
59
- :pxlcolor => "H-P color PCL XL printers (e.g. Color LaserJet 4500)",
60
- #-- Fax file format",
61
- :faxg3 => "Group 3 fax, with EOLs but no header or EOD",
62
- :faxg32d => "Group 3 2-D fax, with EOLs but no header or EOD",
63
- :faxg4 => "Group 4 fax, with EOLs but no header or EOD",
64
- :tiffcrle => "TIFF CCITT RLE 1-dim (= Group 3 fax with no EOLs)",
65
- :tiffg3 => "TIFF Group 3 fax (with EOLs)",
66
- :tiffg32d => "TIFF Group 3 2-D fax",
67
- :tiffg4 => "TIFF Group 4 fax",
68
- #-- High-level (vector) file formats",
69
- :epswrite => "EPS output (like PostScript Distillery)",
70
- :pdfwrite => "PDF output (like Adobe Acrobat Distiller)",
71
- :pswrite => "PostScript output (like PostScript Distillery)",
72
- :pxlmono => "Black-and-white PCL XL",
73
- :pxlcolor => "Color PCL XL",
74
- #-- Raster file formats and devices",
75
- :bit => "Plain bits, monochrome",
76
- :bitrgb => "Plain bits, RGB",
77
- :bitcmyk => "Plain bits, CMYK",
78
- :bmpmono => "Monochrome MS Windows .BMP file format",
79
- :bmpgray => "8-bit gray .BMP file format",
80
- :bmpsep1 => "Separated 1-bit CMYK .BMP file format, primarily for testing",
81
- :bmpsep8 =>"Separated 8-bit CMYK .BMP file format, primarily for testing",
82
- :bmp16 => "4-bit (EGA/VGA) .BMP file format",
83
- :bmp256 => "8-bit (256-color) .BMP file format",
84
- :bmp16m => "24-bit .BMP file format",
85
- :bmp32b => "32-bit pseudo-.BMP file format",
86
- :cgmmono => "Monochrome (black-and-white) CGM -- LOW LEVEL OUTPUT ONLY",
87
- :cgm8 => "8-bit (256-color) CGM -- DITTO",
88
- :cgm24 => "24-bit color CGM -- DITTO",
89
- :jpeg => "JPEG format, RGB output",
90
- :jpeggray => "JPEG format, gray output",
91
- :miff24 => "ImageMagick MIFF format, 24-bit direct color, RLE compressed",
92
- :pcxmono=> "PCX file format, monochrome (1-bit black and white)",
93
- :pcxgray=> "PCX file format, 8-bit gray scale",
94
- :pcx16 => "PCX file format, 4-bit planar (EGA/VGA) color",
95
- :pcx256 => "PCX file format, 8-bit chunky color",
96
- :pcx24b => "PCX file format, 24-bit color (3 8-bit planes)",
97
- :pcxcmyk => "PCX file format, 4-bit chunky CMYK color",
98
- :pbm => "Portable Bitmap (plain format)",
99
- :pbmraw => "Portable Bitmap (raw format)",
100
- :pgm => "Portable Graymap (plain format)",
101
- :pgmraw => "Portable Graymap (raw format)",
102
- :pgnm => "Portable Graymap (plain format), optimizing to PBM if possible",
103
- :pgnmraw => "Portable Graymap (raw format), optimizing to PBM if possible",
104
- :pnm => "Portable Pixmap (plain format) (RGB), optimizing to PGM or PBM",
105
- :pnmraw => "Portable Pixmap (raw format) (RGB), optimizing to PGM or PBM",
106
- :ppm => "Portable Pixmap (plain format) (RGB)",
107
- :ppmraw => "Portable Pixmap (raw format) (RGB)",
108
- :pkm => "Portable inKmap (plain format) (4-bit CMYK => RGB)",
109
- :pkmraw => "Portable inKmap (raw format) (4-bit CMYK => RGB)",
110
- :pksm => "Portable Separated map (plain format) (4-bit CMYK => 4 pages)",
111
- :pksmraw => "Portable Separated map (raw format) (4-bit CMYK => 4 pages)",
112
- :plan9bm => "Plan 9 bitmap format",
113
- :pngmono => "Monochrome Portable Network Graphics (PNG)",
114
- :pnggray => "8-bit gray Portable Network Graphics (PNG)",
115
- :png16 => "4-bit color Portable Network Graphics (PNG)",
116
- :png256 => "8-bit color Portable Network Graphics (PNG)",
117
- :png16m => "24-bit color Portable Network Graphics (PNG)",
118
- :psmono => "PostScript (Level 1) monochrome image",
119
- :psgray => "PostScript (Level 1) 8-bit gray image",
120
- :psrgb => "PostScript (Level 2) 24-bit color image",
121
- :tiff12nc => "TIFF 12-bit RGB, no compression",
122
- :tiff24nc => "TIFF 24-bit RGB, no compression (NeXT standard format)",
123
- :tifflzw => "TIFF LZW (tag = 5) (monochrome)",
124
- :tiffpack => "TIFF PackBits (tag = 32773) (monochrome)"
14
+ STANDARD=RGhost::Constants::HashKeyMethodClass[
15
+ #-- MS-DOS displays",
16
+ :ega => "EGA (640x350, 16-color)",
17
+ :vga => "VGA (640x480, 16-color)",
18
+ #-- Ms Windows => "",
19
+ :ali => "SuperVGA using Avance Logic Inc. chipset, 256-color modes",
20
+ :atiw => "ATI Wonder SuperVGA, 256-color modes",
21
+ :cirr => "SuperVGA using Cirrus Logic CL-GD54XX chips, 256-color modes",
22
+ :s3vga => "SuperVGA using S3 86C911 chip (e.g., Diamond Stealth board)",
23
+ :svga16 => "Generic SuperVGA in 800x600, 16-color mode",
24
+ :tseng => "SuperVGA using Tseng Labs ET3000/4000 chips, 256-color modes",
25
+ :vesa => "SuperVGA with VESA standard API driver",
26
+ :mswindll => "Microsoft Windows 3.1 DLL => [MS Windows only]",
27
+ :mswinprn => "Microsoft Windows 3.0, 3.1 DDB printer => [MS Windows only]",
28
+ :mswinpr2 => "Microsoft Windows 3.0, 3.1 DIB printer => [MS Windows only]",
29
+ #-- Others Displays",
30
+ :os2pm => "OS/2 Presentation Manager => [OS/2 only]",
31
+ :os2dll => "OS/2 DLL bitmap::[OS/2 only]",
32
+ :os2prn => "OS/2 printer:: => [OS/2 only]",
33
+ #-- Unix Displays",
34
+ :lvga256 => "Linux vgalib, 256-color VGA modes => [Linux only]",
35
+ :vgalib => "Linux vgalib, 16-color VGA modes => [Linux only]",
36
+ :x11 => "X Windows version 11, release >=4 => [Unix and VMS only]",
37
+ :x11alpha => "X Windows masquerading as a device with alpha capability",
38
+ :x11cmyk => "X Windows masquerading as a 1-bit-per-plane CMYK device",
39
+ :x11cmyk2 => "X Windows as a 2-bit-per-plane CMYK device",
40
+ :x11cmyk4 => "X Windows as a 4-bit-per-plane CMYK device",
41
+ :x11cmyk8 => "X Windows as an 8-bit-per-plane CMYK device",
42
+ :x11gray2 => "X Windows as a 2-bit gray-scale device",
43
+ :x11gray4 => "X Windows as a 4-bit gray-scale device",
44
+ :x11mono => "X Windows masquerading as a black-and-white device",
45
+ :x11rg16x => "X Windows with G5/B5/R6 pixel layout for testing.",
46
+ :x11rg32x => "X Windows with G11/B10/R11 pixel layout for testing.",
47
+ #-- Printers",
48
+ :epson => "Epson-compatible dot matrix printers (9- or 24-pin)",
49
+ :eps9mid => "Epson-compatible 9-pin, interleaved lines (intermediate resolution)",
50
+ :eps9high => "Epson-compatible 9-pin, interleaved lines (triple resolution)",
51
+ :atx23 => "Practical Automation ATX-23 label printer",
52
+ :atx24 => "Practical Automation ATX-24 label printer",
53
+ :atx38 => "Practical Automation ATX-38 label printer",
54
+ :deskjet => "H-P DeskJet and DeskJet Plus",
55
+ :djet500 => "H-P DeskJet 500; use -r600 for DJ 600 series",
56
+ :fs600 => "Kyocera FS-600 (600 dpi)",
57
+ :laserjet => "H-P LaserJet",
58
+ :ljet2p => "H-P LaserJet IId/IIp/III* with TIFF compression",
59
+ :ljet3 => "H-P LaserJet III* with Delta Row compression",
60
+ :ljet3d => "H-P LaserJet IIID with duplex capability",
61
+ :ljet4 => "H-P LaserJet 4 (defaults to 600 dpi)",
62
+ :ljet4d => "H-P LaserJet 4 (defaults to 600 dpi) with duplex",
63
+ :ljetplus => "H-P LaserJet Plus",
64
+ :lj5mono => "H-P LaserJet 5 & 6 family (PCL XL), bitmap:",
65
+ :lj5gray => "H-P LaserJet 5 & 6 family, gray-scale bitmap;",
66
+ :lp2563 => "H-P 2563B line printer",
67
+ :oce9050 => "OCE 9050 printe",
68
+ :pxlmono => "H-P black-and-white PCL XL printers (LaserJet 5 and 6 family)",
69
+ :pxlcolor => "H-P color PCL XL printers (e.g. Color LaserJet 4500)",
70
+ #-- Fax file format",
71
+ :faxg3 => "Group 3 fax, with EOLs but no header or EOD",
72
+ :faxg32d => "Group 3 2-D fax, with EOLs but no header or EOD",
73
+ :faxg4 => "Group 4 fax, with EOLs but no header or EOD",
74
+ :tiffcrle => "TIFF CCITT RLE 1-dim (= Group 3 fax with no EOLs)",
75
+ :tiffg3 => "TIFF Group 3 fax (with EOLs)",
76
+ :tiffg32d => "TIFF Group 3 2-D fax",
77
+ :tiffg4 => "TIFF Group 4 fax",
78
+ #-- High-level (vector) file formats",
79
+ :epswrite => "EPS output (like PostScript Distillery)",
80
+ :pdfwrite => "PDF output (like Adobe Acrobat Distiller)",
81
+ :pswrite => "PostScript output (like PostScript Distillery)",
82
+ :pxlmono => "Black-and-white PCL XL",
83
+ :pxlcolor => "Color PCL XL",
84
+ #-- Raster file formats and devices",
85
+ :bit => "Plain bits, monochrome",
86
+ :bitrgb => "Plain bits, RGB",
87
+ :bitcmyk => "Plain bits, CMYK",
88
+ :bmpmono => "Monochrome MS Windows .BMP file format",
89
+ :bmpgray => "8-bit gray .BMP file format",
90
+ :bmpsep1 => "Separated 1-bit CMYK .BMP file format, primarily for testing",
91
+ :bmpsep8 =>"Separated 8-bit CMYK .BMP file format, primarily for testing",
92
+ :bmp16 => "4-bit (EGA/VGA) .BMP file format",
93
+ :bmp256 => "8-bit (256-color) .BMP file format",
94
+ :bmp16m => "24-bit .BMP file format",
95
+ :bmp32b => "32-bit pseudo-.BMP file format",
96
+ :cgmmono => "Monochrome (black-and-white) CGM -- LOW LEVEL OUTPUT ONLY",
97
+ :cgm8 => "8-bit (256-color) CGM -- DITTO",
98
+ :cgm24 => "24-bit color CGM -- DITTO",
99
+ :jpeg => "JPEG format, RGB output",
100
+ :jpeggray => "JPEG format, gray output",
101
+ :miff24 => "ImageMagick MIFF format, 24-bit direct color, RLE compressed",
102
+ :pcxmono=> "PCX file format, monochrome (1-bit black and white)",
103
+ :pcxgray=> "PCX file format, 8-bit gray scale",
104
+ :pcx16 => "PCX file format, 4-bit planar (EGA/VGA) color",
105
+ :pcx256 => "PCX file format, 8-bit chunky color",
106
+ :pcx24b => "PCX file format, 24-bit color (3 8-bit planes)",
107
+ :pcxcmyk => "PCX file format, 4-bit chunky CMYK color",
108
+ :pbm => "Portable Bitmap (plain format)",
109
+ :pbmraw => "Portable Bitmap (raw format)",
110
+ :pgm => "Portable Graymap (plain format)",
111
+ :pgmraw => "Portable Graymap (raw format)",
112
+ :pgnm => "Portable Graymap (plain format), optimizing to PBM if possible",
113
+ :pgnmraw => "Portable Graymap (raw format), optimizing to PBM if possible",
114
+ :pnm => "Portable Pixmap (plain format) (RGB), optimizing to PGM or PBM",
115
+ :pnmraw => "Portable Pixmap (raw format) (RGB), optimizing to PGM or PBM",
116
+ :ppm => "Portable Pixmap (plain format) (RGB)",
117
+ :ppmraw => "Portable Pixmap (raw format) (RGB)",
118
+ :pkm => "Portable inKmap (plain format) (4-bit CMYK => RGB)",
119
+ :pkmraw => "Portable inKmap (raw format) (4-bit CMYK => RGB)",
120
+ :pksm => "Portable Separated map (plain format) (4-bit CMYK => 4 pages)",
121
+ :pksmraw => "Portable Separated map (raw format) (4-bit CMYK => 4 pages)",
122
+ :plan9bm => "Plan 9 bitmap format",
123
+ :pngmono => "Monochrome Portable Network Graphics (PNG)",
124
+ :pnggray => "8-bit gray Portable Network Graphics (PNG)",
125
+ :png16 => "4-bit color Portable Network Graphics (PNG)",
126
+ :png256 => "8-bit color Portable Network Graphics (PNG)",
127
+ :png16m => "24-bit color Portable Network Graphics (PNG)",
128
+ :psmono => "PostScript (Level 1) monochrome image",
129
+ :psgray => "PostScript (Level 1) 8-bit gray image",
130
+ :psrgb => "PostScript (Level 2) 24-bit color image",
131
+ :tiff12nc => "TIFF 12-bit RGB, no compression",
132
+ :tiff24nc => "TIFF 24-bit RGB, no compression (NeXT standard format)",
133
+ :tifflzw => "TIFF LZW (tag = 5) (monochrome)",
134
+ :tiffpack => "TIFF PackBits (tag = 32773) (monochrome)"
125
135
 
126
136
 
127
- ]
128
- DEVICES_ALIAS={
129
- :eps => :epswrite,
130
- :pdf => :pdfwrite,
131
- :ps => :pswrite,
132
- :pcl => :pxlmono,
133
- :tif => :tiffcrle,
134
- :tiff => :tiffcrle,
135
- :jpg => :jpeg,
136
- :png => :png16m
137
- }
138
- #Carrega o device alias
137
+ ]
138
+ DEVICES_ALIAS={
139
+ :eps => :epswrite,
140
+ :pdf => :pdfwrite,
141
+ :ps => :pswrite,
142
+ :pcl => :pxlmono,
143
+ :tif => :tiffcrle,
144
+ :tiff => :tiffcrle,
145
+ :jpg => :jpeg,
146
+ :png => :png16m
147
+ }
148
+ #Load device by alias
139
149
  def device_for(dev)
140
150
 
141
151
 
142
- return DEVICES_ALIAS[dev] if DEVICES_ALIAS.key? dev
143
- return dev if STANDARD.key? dev
144
- raise "Unknown device: #{dev}"
152
+ return DEVICES_ALIAS[dev] if DEVICES_ALIAS.key? dev
153
+ return dev if STANDARD.key? dev
154
+ raise "Undefined device: #{dev}"
145
155
  end
146
156
 
147
157
  end
148
- #Fonts do Ghostscript(default)
158
+
149
159
  module Fonts
150
- #Standard Encodings
151
- ENCODINGS=['ISOLatin1Encoding', 'StandardEncoding ']
152
- #Standard Fonts
153
- STANDARD={
154
- 'AvantGarde-Book' => "Adobe-ITC Avant Garde Gothic-Book-R-Normal--*",
155
- 'AvantGarde-BookOblique' => "Adobe-ITC Avant Garde Gothic-Book-O-Normal--*",
156
- 'AvantGarde-Demi' => "Adobe-ITC Avant Garde Gothic-Demi-R-Normal--*",
157
- 'AvantGarde-DemiOblique' => "Adobe-ITC Avant Garde Gothic-Demi-O-Normal--*",
158
- 'Bookman-Demi' => "Adobe-ITC Bookman-Demi-R-Normal--*",
159
- 'Bookman-DemiItalic' => "Adobe-ITC Bookman-Demi-I-Normal--*",
160
- 'Bookman-Light' => "Adobe-ITC Bookman-Light-R-Normal--*",
161
- 'Bookman-LightItalic' => "Adobe-ITC Bookman-Light-I-Normal--*",
162
- :Courier => "Adobe-Courier-Medium-R-Normal--*",
163
- 'Courier-Bold' => "Adobe-Courier-Bold-R-Normal--*",
164
- 'Courier-BoldOblique' => "Adobe-Courier-Bold-O-Normal--*",
165
- 'Courier-Oblique' => "Adobe-Courier-Medium-O-Normal--*",
166
- :Helvetica => "Adobe-Helvetica-Medium-R-Normal--*",
167
- 'Helvetica-Bold' => "Adobe-Helvetica-Bold-R-Normal--*",
168
- 'Helvetica-BoldOblique' => "Adobe-Helvetica-Bold-O-Normal--*",
169
- 'Helvetica-Narrow' => "Adobe-Helvetica-Medium-R-Narrow--*",
170
- 'Helvetica-Narrow-Bold' => "Adobe-Helvetica-Bold-R-Narrow--*",
171
- 'Helvetica-Narrow-BoldOblique' =>"Adobe-Helvetica-Bold-O-Narrow--*",
172
- 'Helvetica-Narrow-Oblique' => "Adobe-Helvetica-Medium-O-Narrow--*",
173
- 'Helvetica-Oblique' => "Adobe-Helvetica-Medium-O-Normal--*",
174
- 'NewCenturySchlbk-Bold' => "Adobe-New Century Schoolbook-Bold-R-Normal--*",
175
- 'NewCenturySchlbk-BoldItalic' => "Adobe-New Century Schoolbook-Bold-I-Normal--*",
176
- 'NewCenturySchlbk-Italic' => "Adobe-New Century Schoolbook-Medium-I-Normal--*",
177
- 'NewCenturySchlbk-Roman' => "Adobe-New Century Schoolbook-Medium-R-Normal--*",
178
- 'Palatino-Bold' => "Adobe-Palatino-Bold-R-Normal--*",
179
- 'Palatino-BoldItalic' => "Adobe-Palatino-Bold-I-Normal--*",
180
- 'Palatino-Italic' => "Adobe-Palatino-Medium-I-Normal--*",
181
- 'Palatino-Roman' => "Adobe-Palatino-Medium-R-Normal--*",
182
- :Times => "Adobe-Times-Normal--*",
183
- 'Times-Bold' => "Adobe-Times-Bold-R-Normal--*",
184
- 'Times-BoldItalic' => "Adobe-Times-Bold-I-Normal--*",
185
- 'Times-Italic' => "Adobe-Times-Medium-I-Normal--*",
186
- 'Times-Roman' => "Adobe-Times-Medium-R-Normal--*",
187
- 'ZapfChancery-MediumItalic' => "Adobe-ITC Zapf Chancery-Medium-I-Normal--",
188
- :Symbol => "Adobe-Symbol-Medium-R-Normal--",
189
- :ZapfDingbats => "Adobe-ITC Zapf Dingbats-Medium-R-Normal--"
190
- }
191
- SUNS={
192
- 'AvantGarde-Book' => "-itc-avantgarde-book-r-normal--*",
193
- 'AvantGarde-BookOblique' => "-itc-avantgarde-book-o-normal--*",
194
- 'AvantGarde-Demi' => "-itc-avantgarde-demi-r-normal--*",
195
- 'AvantGarde-DemiOblique' => "-itc-avantgarde-demi-o-normal--*",
196
- 'Bembo' => "-monotype-bembo-medium-r-normal--*",
197
- 'Bembo-Bold' => "-monotype-bembo-bold-r-normal--*",
198
- 'Bembo-BoldItalic' => "-monotype-bembo-bold-i-normal--*",
199
- 'Bembo-Italic' => "-monotype-bembo-medium-i-normal--*",
200
- 'Bookman-Demi' => "-itc-bookman-demi-r-normal--*",
201
- 'Bookman-DemiItalic' => "-itc-bookman-demi-i-normal--*",
202
- 'Bookman-Light' => "-itc-bookman-light-r-normal--*",
203
- 'Bookman-LightItalic' => "-itc-bookman-light-i-normal--*",
204
- 'Courier' => "-itc-courier-medium-r-normal--*",
205
- 'Courier-Bold' => "-itc-courier-bold-r-normal--*",
206
- 'Courier-BoldOblique' => "-itc-courier-bold-o-normal--*",
207
- 'Courier-Oblique' => "-itc-courier-medium-o-normal--*",
208
- 'GillSans' => "-monotype-gill-medium-r-normal-sans-*",
209
- 'GillSans-Bold' => "-monotype-gill-bold-r-normal-sans-*",
210
- 'GillSans-BoldItalic' => "-monotype-gill-bold-i-normal-sans-*",
211
- 'GillSans-Italic' => "-monotype-gill-normal-i-normal-sans-*",
212
- 'Helvetica' => "-linotype-helvetica-medium-r-normal--*",
213
- 'Helvetica-Bold' => "-linotype-helvetica-bold-r-normal--*",
214
- 'Helvetica-BoldOblique' => "-linotype-helvetica-bold-o-normal--*",
215
- 'Helvetica-Narrow' => "-linotype-helvetica-medium-r-narrow--*",
216
- 'Helvetica-Narrow-Bold' => "-linotype-helvetica-bold-r-narrow--*",
217
- 'Helvetica-Narrow-BoldOblique' => "-linotype-helvetica-bold-o-narrow--*",
218
- 'Helvetica-Narrow-Oblique' => "-linotype-helvetica-medium-o-narrow--*",
219
- 'Helvetica-Oblique' => "-linotype-helvetica-medium-o-normal--*",
220
- 'LucidaBright' => "-b&h-lucidabright-medium-r-normal--*",
221
- 'LucidaBright-Demi' => "-b&h-lucidabright-demibold-r-normal--*",
222
- 'LucidaBright-DemiItalic' => "-b&h-lucidabright-demibold-i-normal--*",
223
- 'LucidaBright-Italic' => "-b&h-lucidabright-medium-i-normal--*",
224
- 'LucidaSans' => "-b&h-lucida-medium-r-normal-sans-*",
225
- 'LucidaSans-Bold' => "-b&h-lucida-bold-r-normal-sans-*",
226
- 'LucidaSans-BoldItalic' => "-b&h-lucida-bold-i-normal-sans-*",
227
- 'LucidaSans-Italic' => "-b&h-lucida-medium-i-normal-sans-*",
228
- 'LucidaSans-Typewriter' => "-b&h-lucidatypewriter-medium-r-normal-sans-*",
229
- 'LucidaSans-TypewriterBold' => "-b&h-lucidatypewriter-bold-r-normal-sans-*",
230
- 'NewCenturySchlbk-BoldItalic' => "-linotype-new century schoolbook-bold-i-normal--*",
231
- 'NewCenturySchlbk-Bold' => "-linotype-new century schoolbook-bold-r-normal--*",
232
- 'NewCenturySchlbk-Italic' => "-linotype-new century schoolbook-medium-i-normal--*",
233
- 'NewCenturySchlbk-Roman' => "-linotype-new century schoolbook-medium-r-normal--*",
234
- 'Palatino-Bold' => "-linotype-palatino-bold-r-normal--*",
235
- 'Palatino-BoldItalic' => "-linotype-palatino-bold-i-normal--*",
236
- 'Palatino-Italic' => "-linotype-palatino-medium-i-normal--*",
237
- 'Palatino-Roman' => "-linotype-palatino-medium-r-normal--*",
238
- 'Rockwell' => "-monotype-rockwell-medium-r-normal--*",
239
- 'Rockwell-Bold' => "-monotype-rockwell-bold-r-normal--*",
240
- 'Rockwell-BoldItalic' => "-monotype-rockwell-bold-i-normal--*",
241
- 'Rockwell-Italic' => "-monotype-rockwell-medium-i-normal--*",
242
- 'Times-Bold' => "-linotype-times-bold-r-normal--*",
243
- 'Times-BoldItalic' => "-linotype-times-bold-i-normal--*",
244
- 'Times-Italic' => "-linotype-times-medium-i-normal--*",
245
- 'Times-Roman' => "-linotype-times-medium-r-normal--*",
246
- 'Utopia-Bold' => "-adobe-utopia-bold-r-normal--*",
247
- 'Utopia-BoldItalic' => "-adobe-utopia-bold-i-normal--*",
248
- 'Utopia-Italic' => "-adobe-utopia-regular-i-normal--*",
249
- 'Utopia-Regular' => "-adobe-utopia-regular-r-normal--*",
250
- 'ZapfChancery-MediumItalic' => "-itc-zapfchancery-medium-i-normal--",
251
- 'ZapfDingbats' => "-itc-zapfdingbats-medium-r-normal--",
252
- 'Symbol' => "--symbol-medium-r-normal--"
160
+ #Standard Encodings
161
+ ENCODINGS=['ISOLatin1Encoding', 'StandardEncoding ']
162
+ #Standard Fonts
163
+ STANDARD={
164
+ 'AvantGarde-Book' => "Adobe-ITC Avant Garde Gothic-Book-R-Normal--*",
165
+ 'AvantGarde-BookOblique' => "Adobe-ITC Avant Garde Gothic-Book-O-Normal--*",
166
+ 'AvantGarde-Demi' => "Adobe-ITC Avant Garde Gothic-Demi-R-Normal--*",
167
+ 'AvantGarde-DemiOblique' => "Adobe-ITC Avant Garde Gothic-Demi-O-Normal--*",
168
+ 'Bookman-Demi' => "Adobe-ITC Bookman-Demi-R-Normal--*",
169
+ 'Bookman-DemiItalic' => "Adobe-ITC Bookman-Demi-I-Normal--*",
170
+ 'Bookman-Light' => "Adobe-ITC Bookman-Light-R-Normal--*",
171
+ 'Bookman-LightItalic' => "Adobe-ITC Bookman-Light-I-Normal--*",
172
+ :Courier => "Adobe-Courier-Medium-R-Normal--*",
173
+ 'Courier-Bold' => "Adobe-Courier-Bold-R-Normal--*",
174
+ 'Courier-BoldOblique' => "Adobe-Courier-Bold-O-Normal--*",
175
+ 'Courier-Oblique' => "Adobe-Courier-Medium-O-Normal--*",
176
+ :Helvetica => "Adobe-Helvetica-Medium-R-Normal--*",
177
+ 'Helvetica-Bold' => "Adobe-Helvetica-Bold-R-Normal--*",
178
+ 'Helvetica-BoldOblique' => "Adobe-Helvetica-Bold-O-Normal--*",
179
+ 'Helvetica-Narrow' => "Adobe-Helvetica-Medium-R-Narrow--*",
180
+ 'Helvetica-Narrow-Bold' => "Adobe-Helvetica-Bold-R-Narrow--*",
181
+ 'Helvetica-Narrow-BoldOblique' =>"Adobe-Helvetica-Bold-O-Narrow--*",
182
+ 'Helvetica-Narrow-Oblique' => "Adobe-Helvetica-Medium-O-Narrow--*",
183
+ 'Helvetica-Oblique' => "Adobe-Helvetica-Medium-O-Normal--*",
184
+ 'NewCenturySchlbk-Bold' => "Adobe-New Century Schoolbook-Bold-R-Normal--*",
185
+ 'NewCenturySchlbk-BoldItalic' => "Adobe-New Century Schoolbook-Bold-I-Normal--*",
186
+ 'NewCenturySchlbk-Italic' => "Adobe-New Century Schoolbook-Medium-I-Normal--*",
187
+ 'NewCenturySchlbk-Roman' => "Adobe-New Century Schoolbook-Medium-R-Normal--*",
188
+ 'Palatino-Bold' => "Adobe-Palatino-Bold-R-Normal--*",
189
+ 'Palatino-BoldItalic' => "Adobe-Palatino-Bold-I-Normal--*",
190
+ 'Palatino-Italic' => "Adobe-Palatino-Medium-I-Normal--*",
191
+ 'Palatino-Roman' => "Adobe-Palatino-Medium-R-Normal--*",
192
+ :Times => "Adobe-Times-Normal--*",
193
+ 'Times-Bold' => "Adobe-Times-Bold-R-Normal--*",
194
+ 'Times-BoldItalic' => "Adobe-Times-Bold-I-Normal--*",
195
+ 'Times-Italic' => "Adobe-Times-Medium-I-Normal--*",
196
+ 'Times-Roman' => "Adobe-Times-Medium-R-Normal--*",
197
+ 'ZapfChancery-MediumItalic' => "Adobe-ITC Zapf Chancery-Medium-I-Normal--",
198
+ :Symbol => "Adobe-Symbol-Medium-R-Normal--",
199
+ :ZapfDingbats => "Adobe-ITC Zapf Dingbats-Medium-R-Normal--"
200
+ }
201
+ SUNS={
202
+ 'AvantGarde-Book' => "-itc-avantgarde-book-r-normal--*",
203
+ 'AvantGarde-BookOblique' => "-itc-avantgarde-book-o-normal--*",
204
+ 'AvantGarde-Demi' => "-itc-avantgarde-demi-r-normal--*",
205
+ 'AvantGarde-DemiOblique' => "-itc-avantgarde-demi-o-normal--*",
206
+ 'Bembo' => "-monotype-bembo-medium-r-normal--*",
207
+ 'Bembo-Bold' => "-monotype-bembo-bold-r-normal--*",
208
+ 'Bembo-BoldItalic' => "-monotype-bembo-bold-i-normal--*",
209
+ 'Bembo-Italic' => "-monotype-bembo-medium-i-normal--*",
210
+ 'Bookman-Demi' => "-itc-bookman-demi-r-normal--*",
211
+ 'Bookman-DemiItalic' => "-itc-bookman-demi-i-normal--*",
212
+ 'Bookman-Light' => "-itc-bookman-light-r-normal--*",
213
+ 'Bookman-LightItalic' => "-itc-bookman-light-i-normal--*",
214
+ 'Courier' => "-itc-courier-medium-r-normal--*",
215
+ 'Courier-Bold' => "-itc-courier-bold-r-normal--*",
216
+ 'Courier-BoldOblique' => "-itc-courier-bold-o-normal--*",
217
+ 'Courier-Oblique' => "-itc-courier-medium-o-normal--*",
218
+ 'GillSans' => "-monotype-gill-medium-r-normal-sans-*",
219
+ 'GillSans-Bold' => "-monotype-gill-bold-r-normal-sans-*",
220
+ 'GillSans-BoldItalic' => "-monotype-gill-bold-i-normal-sans-*",
221
+ 'GillSans-Italic' => "-monotype-gill-normal-i-normal-sans-*",
222
+ 'Helvetica' => "-linotype-helvetica-medium-r-normal--*",
223
+ 'Helvetica-Bold' => "-linotype-helvetica-bold-r-normal--*",
224
+ 'Helvetica-BoldOblique' => "-linotype-helvetica-bold-o-normal--*",
225
+ 'Helvetica-Narrow' => "-linotype-helvetica-medium-r-narrow--*",
226
+ 'Helvetica-Narrow-Bold' => "-linotype-helvetica-bold-r-narrow--*",
227
+ 'Helvetica-Narrow-BoldOblique' => "-linotype-helvetica-bold-o-narrow--*",
228
+ 'Helvetica-Narrow-Oblique' => "-linotype-helvetica-medium-o-narrow--*",
229
+ 'Helvetica-Oblique' => "-linotype-helvetica-medium-o-normal--*",
230
+ 'LucidaBright' => "-b&h-lucidabright-medium-r-normal--*",
231
+ 'LucidaBright-Demi' => "-b&h-lucidabright-demibold-r-normal--*",
232
+ 'LucidaBright-DemiItalic' => "-b&h-lucidabright-demibold-i-normal--*",
233
+ 'LucidaBright-Italic' => "-b&h-lucidabright-medium-i-normal--*",
234
+ 'LucidaSans' => "-b&h-lucida-medium-r-normal-sans-*",
235
+ 'LucidaSans-Bold' => "-b&h-lucida-bold-r-normal-sans-*",
236
+ 'LucidaSans-BoldItalic' => "-b&h-lucida-bold-i-normal-sans-*",
237
+ 'LucidaSans-Italic' => "-b&h-lucida-medium-i-normal-sans-*",
238
+ 'LucidaSans-Typewriter' => "-b&h-lucidatypewriter-medium-r-normal-sans-*",
239
+ 'LucidaSans-TypewriterBold' => "-b&h-lucidatypewriter-bold-r-normal-sans-*",
240
+ 'NewCenturySchlbk-BoldItalic' => "-linotype-new century schoolbook-bold-i-normal--*",
241
+ 'NewCenturySchlbk-Bold' => "-linotype-new century schoolbook-bold-r-normal--*",
242
+ 'NewCenturySchlbk-Italic' => "-linotype-new century schoolbook-medium-i-normal--*",
243
+ 'NewCenturySchlbk-Roman' => "-linotype-new century schoolbook-medium-r-normal--*",
244
+ 'Palatino-Bold' => "-linotype-palatino-bold-r-normal--*",
245
+ 'Palatino-BoldItalic' => "-linotype-palatino-bold-i-normal--*",
246
+ 'Palatino-Italic' => "-linotype-palatino-medium-i-normal--*",
247
+ 'Palatino-Roman' => "-linotype-palatino-medium-r-normal--*",
248
+ 'Rockwell' => "-monotype-rockwell-medium-r-normal--*",
249
+ 'Rockwell-Bold' => "-monotype-rockwell-bold-r-normal--*",
250
+ 'Rockwell-BoldItalic' => "-monotype-rockwell-bold-i-normal--*",
251
+ 'Rockwell-Italic' => "-monotype-rockwell-medium-i-normal--*",
252
+ 'Times-Bold' => "-linotype-times-bold-r-normal--*",
253
+ 'Times-BoldItalic' => "-linotype-times-bold-i-normal--*",
254
+ 'Times-Italic' => "-linotype-times-medium-i-normal--*",
255
+ 'Times-Roman' => "-linotype-times-medium-r-normal--*",
256
+ 'Utopia-Bold' => "-adobe-utopia-bold-r-normal--*",
257
+ 'Utopia-BoldItalic' => "-adobe-utopia-bold-i-normal--*",
258
+ 'Utopia-Italic' => "-adobe-utopia-regular-i-normal--*",
259
+ 'Utopia-Regular' => "-adobe-utopia-regular-r-normal--*",
260
+ 'ZapfChancery-MediumItalic' => "-itc-zapfchancery-medium-i-normal--",
261
+ 'ZapfDingbats' => "-itc-zapfdingbats-medium-r-normal--",
262
+ 'Symbol' => "--symbol-medium-r-normal--"
253
263
  }
254
264
 
255
265
  end
256
- #Mapa de Cores
266
+ #Color map
257
267
  module Colors
258
- RGB=Helpers::HashKeyMethodClass[
259
- :AliceBlue => [0.941176470588235,0.972549019607843,1.0],
260
- :AntiqueWhite => [0.980392156862745,0.92156862745098,0.843137254901961],
261
- :Aqua => [0.0,1.0,1.0],
262
- :Aquamarine => [0.498039215686275,1.0,0.831372549019608],
263
- :Azure => [0.941176470588235,1.0,1.0],
264
- :Beige => [0.96078431372549,0.96078431372549,0.862745098039216],
265
- :Bisque => [1.0,0.894117647058824,0.768627450980392],
266
- :Black => [0.0,0.0,0.0],
267
- :BlanchedAlmond => [1.0,0.92156862745098,0.803921568627451],
268
- :Blue => [0.0,0.0,1.0],
269
- :BlueViolet => [0.541176470588235,0.168627450980392,0.886274509803922],
270
- :Brown => [0.647058823529412,0.164705882352941,0.164705882352941],
271
- :BurlyWood => [0.870588235294118,0.72156862745098,0.529411764705882],
272
- :CadetBlue => [0.372549019607843,0.619607843137255,0.627450980392157],
273
- :Chartreuse => [0.498039215686275,1.0,0.0],
274
- :Chocolate => [0.823529411764706,0.411764705882353,0.117647058823529],
275
- :Coral => [1.0,0.498039215686275,0.313725490196078],
276
- :CornflowerBlue => [0.392156862745098,0.584313725490196,0.929411764705882],
277
- :Cornsilk => [1.0,0.972549019607843,0.862745098039216],
278
- :Crimson => [0.862745098039216,0.0784313725490196,0.235294117647059],
279
- :Cyan => [0.0,1.0,1.0],
280
- :DarkBlue => [0.0,0.0,0.545098039215686],
281
- :DarkCyan => [0.0,0.545098039215686,0.545098039215686],
282
- :DarkGoldenRod => [0.72156862745098,0.525490196078431,0.0431372549019608],
283
- :DarkGray => [0.662745098039216,0.662745098039216,0.662745098039216],
284
- :DarkGreen => [0.0,0.392156862745098,0.0],
285
- :DarkGrey => [0.662745098039216,0.662745098039216,0.662745098039216],
286
- :DarkKhaki => [0.741176470588235,0.717647058823529,0.419607843137255],
287
- :DarkMagenta => [0.545098039215686,0.0,0.545098039215686],
288
- :DarkOliveGreen => [0.333333333333333,0.419607843137255,0.184313725490196],
289
- :DarkOrchid => [0.6,0.196078431372549,0.8],
290
- :DarkRed => [0.545098039215686,0.0,0.0],
291
- :DarkSalmon => [0.913725490196078,0.588235294117647,0.47843137254902],
292
- :DarkSeaGreen => [0.56078431372549,0.737254901960784,0.56078431372549],
293
- :DarkSlateBlue => [0.282352941176471,0.23921568627451,0.545098039215686],
294
- :DarkSlateGray => [0.184313725490196,0.309803921568627,0.309803921568627],
295
- :DarkSlateGrey => [0.184313725490196,0.309803921568627,0.309803921568627],
296
- :DarkTurquoise => [0.0,0.807843137254902,0.819607843137255],
297
- :DarkViolet => [0.580392156862745,0.0,0.827450980392157],
298
- :Darkorange => [1.0,0.549019607843137,0.0],
299
- :DeepPink => [1.0,0.0784313725490196,0.576470588235294],
300
- :DeepSkyBlue => [0.0,0.749019607843137,1.0],
301
- :DimGray => [0.411764705882353,0.411764705882353,0.411764705882353],
302
- :DimGrey => [0.411764705882353,0.411764705882353,0.411764705882353],
303
- :DodgerBlue => [0.117647058823529,0.564705882352941,1.0],
304
- :FireBrick => [0.698039215686274,0.133333333333333,0.133333333333333],
305
- :FloralWhite => [1.0,0.980392156862745,0.941176470588235],
306
- :ForestGreen => [0.133333333333333,0.545098039215686,0.133333333333333],
307
- :Fuchsia => [1.0,0.0,1.0],
308
- :Gainsboro => [0.862745098039216,0.862745098039216,0.862745098039216],
309
- :GhostWhite => [0.972549019607843,0.972549019607843,1.0],
310
- :Gold => [1.0,0.843137254901961,0.0],
311
- :GoldenRod => [0.854901960784314,0.647058823529412,0.125490196078431],
312
- :Gray => [0.501960784313725,0.501960784313725,0.501960784313725],
313
- :Green => [0.0,0.501960784313725,0.0],
314
- :GreenYellow => [0.67843137254902,1.0,0.184313725490196],
315
- :Grey => [0.501960784313725,0.501960784313725,0.501960784313725],
316
- :HoneyDew => [0.941176470588235,1.0,0.941176470588235],
317
- :HotPink => [1.0,0.411764705882353,0.705882352941177],
318
- :IndianRed => [0.803921568627451,0.36078431372549,0.36078431372549],
319
- :Indigo => [0.294117647058824,0.0,0.509803921568627],
320
- :Ivory => [1.0,1.0,0.941176470588235],
321
- :Khaki => [0.941176470588235,0.901960784313726,0.549019607843137],
322
- :LavenderBlush => [1.0,0.941176470588235,0.96078431372549],
323
- :Lavender => [0.901960784313726,0.901960784313726,0.980392156862745],
324
- :LawnGreen => [0.486274509803922,0.988235294117647,0.0],
325
- :LemonChiffon => [1.0,0.980392156862745,0.803921568627451],
326
- :LightBlue => [0.67843137254902,0.847058823529412,0.901960784313726],
327
- :LightCoral => [0.941176470588235,0.501960784313725,0.501960784313725],
328
- :LightCyan => [0.87843137254902,1.0,1.0],
329
- :LightGoldenRodYellow => [0.980392156862745,0.980392156862745,0.823529411764706],
330
- :LightGray => [0.827450980392157,0.827450980392157,0.827450980392157],
331
- :LightGreen => [0.564705882352941,0.933333333333333,0.564705882352941],
332
- :LightGrey => [0.827450980392157,0.827450980392157,0.827450980392157],
333
- :LightPink => [1.0,0.713725490196078,0.756862745098039],
334
- :LightSalmon => [1.0,0.627450980392157,0.47843137254902],
335
- :LightSeaGreen => [0.125490196078431,0.698039215686274,0.666666666666667],
336
- :LightSkyBlue => [0.529411764705882,0.807843137254902,0.980392156862745],
337
- :LightSlateGray => [0.466666666666667,0.533333333333333,0.6],
338
- :LightSlateGrey => [0.466666666666667,0.533333333333333,0.6],
339
- :LightSteelBlue => [0.690196078431373,0.768627450980392,0.870588235294118],
340
- :LightYellow => [1.0,1.0,0.87843137254902],
341
- :Lime => [0.0,1.0,0.0],
342
- :LimeGreen => [0.196078431372549,0.803921568627451,0.196078431372549],
343
- :Linen => [0.980392156862745,0.941176470588235,0.901960784313726],
344
- :Magenta => [1.0,0.0,1.0],
345
- :Maroon => [0.501960784313725,0.0,0.0],
346
- :MediumAquaMarine => [0.4,0.803921568627451,0.666666666666667],
347
- :MediumBlue => [0.0,0.0,0.803921568627451],
348
- :MediumOrchid => [0.729411764705882,0.333333333333333,0.827450980392157],
349
- :MediumPurple => [0.576470588235294,0.43921568627451,0.847058823529412],
350
- :MediumSeaGreen => [0.235294117647059,0.701960784313725,0.443137254901961],
351
- :MediumSlateBlue => [0.482352941176471,0.407843137254902,0.933333333333333],
352
- :MediumSpringGreen => [0.0,0.980392156862745,0.603921568627451],
353
- :MediumTurquoise => [0.282352941176471,0.819607843137255,0.8],
354
- :MediumVioletRed => [0.780392156862745,0.0823529411764706,0.52156862745098],
355
- :MidnightBlue => [0.0980392156862745,0.0980392156862745,0.43921568627451],
356
- :MintCream => [0.96078431372549,1.0,0.980392156862745],
357
- :MistyRose => [1.0,0.894117647058824,0.882352941176471],
358
- :Moccasin => [1.0,0.894117647058824,0.709803921568627],
359
- :NavajoWhite => [1.0,0.870588235294118,0.67843137254902],
360
- :Navy => [0.0,0.0,0.501960784313725],
361
- :OldLace => [0.992156862745098,0.96078431372549,0.901960784313726],
362
- :Olive => [0.501960784313725,0.501960784313725,0.0],
363
- :OliveDrab => [0.419607843137255,0.556862745098039,0.137254901960784],
364
- :Orange => [1.0,0.647058823529412,0.0],
365
- :OrangeRed => [1.0,0.270588235294118,0.0],
366
- :Orchid => [0.854901960784314,0.43921568627451,0.83921568627451],
367
- :PaleGoldenRod => [0.933333333333333,0.909803921568627,0.666666666666667],
368
- :PaleGreen => [0.596078431372549,0.984313725490196,0.596078431372549],
369
- :PaleTurquoise => [0.686274509803922,0.933333333333333,0.933333333333333],
370
- :PaleVioletRed => [0.847058823529412,0.43921568627451,0.576470588235294],
371
- :PapayaWhip => [1.0,0.937254901960784,0.835294117647059],
372
- :PeachPuff => [1.0,0.854901960784314,0.725490196078431],
373
- :Peru => [0.803921568627451,0.52156862745098,0.247058823529412],
374
- :Pink => [1.0,0.752941176470588,0.796078431372549],
375
- :Plum => [0.866666666666667,0.627450980392157,0.866666666666667],
376
- :PowderBlue => [0.690196078431373,0.87843137254902,0.901960784313726],
377
- :Purple => [0.501960784313725,0.0,0.501960784313725],
378
- :Red => [1.0,0.0,0.0],
379
- :RosyBrown => [0.737254901960784,0.56078431372549,0.56078431372549],
380
- :RoyalBlue => [0.254901960784314,0.411764705882353,0.882352941176471],
381
- :SaddleBrown => [0.545098039215686,0.270588235294118,0.0745098039215686],
382
- :Salmon => [0.980392156862745,0.501960784313725,0.447058823529412],
383
- :SandyBrown => [0.956862745098039,0.643137254901961,0.376470588235294],
384
- :SeaGreen => [0.180392156862745,0.545098039215686,0.341176470588235],
385
- :SeaShell => [1.0,0.96078431372549,0.933333333333333],
386
- :Sienna => [0.627450980392157,0.32156862745098,0.176470588235294],
387
- :Silver => [0.752941176470588,0.752941176470588,0.752941176470588],
388
- :SkyBlue => [0.529411764705882,0.807843137254902,0.92156862745098],
389
- :SlateBlue => [0.415686274509804,0.352941176470588,0.803921568627451],
390
- :SlateGray => [0.43921568627451,0.501960784313725,0.564705882352941],
391
- :SlateGrey => [0.43921568627451,0.501960784313725,0.564705882352941],
392
- :Snow => [1.0,0.980392156862745,0.980392156862745],
393
- :SpringGreen => [0.0,1.0,0.498039215686275],
394
- :SteelBlue => [0.274509803921569,0.509803921568627,0.705882352941177],
395
- :Tan => [0.823529411764706,0.705882352941177,0.549019607843137],
396
- :Teal => [0.0,0.501960784313725,0.501960784313725],
397
- :Thistle => [0.847058823529412,0.749019607843137,0.847058823529412],
398
- :Tomato => [1.0,0.388235294117647,0.27843137254902],
399
- :Turquoise => [0.250980392156863,0.87843137254902,0.815686274509804],
400
- :Violet => [0.933333333333333,0.509803921568627,0.933333333333333],
401
- :Wheat => [0.96078431372549,0.870588235294118,0.701960784313725],
402
- :White => [1.0,1.0,1.0],
403
- :WhiteSmoke => [0.96078431372549,0.96078431372549,0.96078431372549],
404
- :Yellow => [1.0,1.0,0.0],
405
- :YellowGreen => [0.603921568627451,0.803921568627451,0.196078431372549]
268
+ RGB=RGhost::Constants::HashKeyMethodClass[
269
+ :aliceBlue => [0.941176470588235,0.972549019607843,1.0],
270
+ :antiqueWhite => [0.980392156862745,0.92156862745098,0.843137254901961],
271
+ :aqua => [0.0,1.0,1.0],
272
+ :aquamarine => [0.498039215686275,1.0,0.831372549019608],
273
+ :azure => [0.941176470588235,1.0,1.0],
274
+ :beige => [0.96078431372549,0.96078431372549,0.862745098039216],
275
+ :bisque => [1.0,0.894117647058824,0.768627450980392],
276
+ :black => [0.0,0.0,0.0],
277
+ :blanchedAlmond => [1.0,0.92156862745098,0.803921568627451],
278
+ :blue => [0.0,0.0,1.0],
279
+ :blueViolet => [0.541176470588235,0.168627450980392,0.886274509803922],
280
+ :brown => [0.647058823529412,0.164705882352941,0.164705882352941],
281
+ :burlyWood => [0.870588235294118,0.72156862745098,0.529411764705882],
282
+ :cadetBlue => [0.372549019607843,0.619607843137255,0.627450980392157],
283
+ :chartreuse => [0.498039215686275,1.0,0.0],
284
+ :chocolate => [0.823529411764706,0.411764705882353,0.117647058823529],
285
+ :coral => [1.0,0.498039215686275,0.313725490196078],
286
+ :cornflowerBlue => [0.392156862745098,0.584313725490196,0.929411764705882],
287
+ :cornsilk => [1.0,0.972549019607843,0.862745098039216],
288
+ :crimson => [0.862745098039216,0.0784313725490196,0.235294117647059],
289
+ :cyan => [0.0,1.0,1.0],
290
+ :darkBlue => [0.0,0.0,0.545098039215686],
291
+ :darkCyan => [0.0,0.545098039215686,0.545098039215686],
292
+ :darkGoldenRod => [0.72156862745098,0.525490196078431,0.0431372549019608],
293
+ :darkGray => [0.662745098039216,0.662745098039216,0.662745098039216],
294
+ :darkGreen => [0.0,0.392156862745098,0.0],
295
+ :darkGrey => [0.662745098039216,0.662745098039216,0.662745098039216],
296
+ :darkKhaki => [0.741176470588235,0.717647058823529,0.419607843137255],
297
+ :darkMagenta => [0.545098039215686,0.0,0.545098039215686],
298
+ :darkOliveGreen => [0.333333333333333,0.419607843137255,0.184313725490196],
299
+ :darkOrchid => [0.6,0.196078431372549,0.8],
300
+ :darkRed => [0.545098039215686,0.0,0.0],
301
+ :darkSalmon => [0.913725490196078,0.588235294117647,0.47843137254902],
302
+ :darkSeaGreen => [0.56078431372549,0.737254901960784,0.56078431372549],
303
+ :darkSlateBlue => [0.282352941176471,0.23921568627451,0.545098039215686],
304
+ :darkSlateGray => [0.184313725490196,0.309803921568627,0.309803921568627],
305
+ :darkSlateGrey => [0.184313725490196,0.309803921568627,0.309803921568627],
306
+ :darkTurquoise => [0.0,0.807843137254902,0.819607843137255],
307
+ :darkViolet => [0.580392156862745,0.0,0.827450980392157],
308
+ :darkorange => [1.0,0.549019607843137,0.0],
309
+ :deepPink => [1.0,0.0784313725490196,0.576470588235294],
310
+ :deepSkyBlue => [0.0,0.749019607843137,1.0],
311
+ :dimGray => [0.411764705882353,0.411764705882353,0.411764705882353],
312
+ :dimGrey => [0.411764705882353,0.411764705882353,0.411764705882353],
313
+ :dodgerBlue => [0.117647058823529,0.564705882352941,1.0],
314
+ :direBrick => [0.698039215686274,0.133333333333333,0.133333333333333],
315
+ :dloralWhite => [1.0,0.980392156862745,0.941176470588235],
316
+ :dorestGreen => [0.133333333333333,0.545098039215686,0.133333333333333],
317
+ :duchsia => [1.0,0.0,1.0],
318
+ :gainsboro => [0.862745098039216,0.862745098039216,0.862745098039216],
319
+ :ghostWhite => [0.972549019607843,0.972549019607843,1.0],
320
+ :gold => [1.0,0.843137254901961,0.0],
321
+ :goldenRod => [0.854901960784314,0.647058823529412,0.125490196078431],
322
+ :gray => [0.501960784313725,0.501960784313725,0.501960784313725],
323
+ :green => [0.0,0.501960784313725,0.0],
324
+ :greenYellow => [0.67843137254902,1.0,0.184313725490196],
325
+ :grey => [0.501960784313725,0.501960784313725,0.501960784313725],
326
+ :honeyDew => [0.941176470588235,1.0,0.941176470588235],
327
+ :hotPink => [1.0,0.411764705882353,0.705882352941177],
328
+ :indianRed => [0.803921568627451,0.36078431372549,0.36078431372549],
329
+ :indigo => [0.294117647058824,0.0,0.509803921568627],
330
+ :ivory => [1.0,1.0,0.941176470588235],
331
+ :khaki => [0.941176470588235,0.901960784313726,0.549019607843137],
332
+ :lavenderBlush => [1.0,0.941176470588235,0.96078431372549],
333
+ :lavender => [0.901960784313726,0.901960784313726,0.980392156862745],
334
+ :lawnGreen => [0.486274509803922,0.988235294117647,0.0],
335
+ :lemonChiffon => [1.0,0.980392156862745,0.803921568627451],
336
+ :lightBlue => [0.67843137254902,0.847058823529412,0.901960784313726],
337
+ :lightCoral => [0.941176470588235,0.501960784313725,0.501960784313725],
338
+ :lightCyan => [0.87843137254902,1.0,1.0],
339
+ :lightGoldenRodYellow => [0.980392156862745,0.980392156862745,0.823529411764706],
340
+ :lightGray => [0.827450980392157,0.827450980392157,0.827450980392157],
341
+ :lightGreen => [0.564705882352941,0.933333333333333,0.564705882352941],
342
+ :lightGrey => [0.827450980392157,0.827450980392157,0.827450980392157],
343
+ :lightPink => [1.0,0.713725490196078,0.756862745098039],
344
+ :lightSalmon => [1.0,0.627450980392157,0.47843137254902],
345
+ :lightSeaGreen => [0.125490196078431,0.698039215686274,0.666666666666667],
346
+ :lightSkyBlue => [0.529411764705882,0.807843137254902,0.980392156862745],
347
+ :lightSlateGray => [0.466666666666667,0.533333333333333,0.6],
348
+ :lightSlateGrey => [0.466666666666667,0.533333333333333,0.6],
349
+ :lightSteelBlue => [0.690196078431373,0.768627450980392,0.870588235294118],
350
+ :lightYellow => [1.0,1.0,0.87843137254902],
351
+ :lime => [0.0,1.0,0.0],
352
+ :limeGreen => [0.196078431372549,0.803921568627451,0.196078431372549],
353
+ :linen => [0.980392156862745,0.941176470588235,0.901960784313726],
354
+ :magenta => [1.0,0.0,1.0],
355
+ :maroon => [0.501960784313725,0.0,0.0],
356
+ :mediumAquaMarine => [0.4,0.803921568627451,0.666666666666667],
357
+ :mediumBlue => [0.0,0.0,0.803921568627451],
358
+ :mediumOrchid => [0.729411764705882,0.333333333333333,0.827450980392157],
359
+ :mediumPurple => [0.576470588235294,0.43921568627451,0.847058823529412],
360
+ :mediumSeaGreen => [0.235294117647059,0.701960784313725,0.443137254901961],
361
+ :mediumSlateBlue => [0.482352941176471,0.407843137254902,0.933333333333333],
362
+ :mediumSpringGreen => [0.0,0.980392156862745,0.603921568627451],
363
+ :mediumTurquoise => [0.282352941176471,0.819607843137255,0.8],
364
+ :mediumVioletRed => [0.780392156862745,0.0823529411764706,0.52156862745098],
365
+ :midnightBlue => [0.0980392156862745,0.0980392156862745,0.43921568627451],
366
+ :mintCream => [0.96078431372549,1.0,0.980392156862745],
367
+ :mistyRose => [1.0,0.894117647058824,0.882352941176471],
368
+ :moccasin => [1.0,0.894117647058824,0.709803921568627],
369
+ :navajoWhite => [1.0,0.870588235294118,0.67843137254902],
370
+ :navy => [0.0,0.0,0.501960784313725],
371
+ :oldLace => [0.992156862745098,0.96078431372549,0.901960784313726],
372
+ :olive => [0.501960784313725,0.501960784313725,0.0],
373
+ :oliveDrab => [0.419607843137255,0.556862745098039,0.137254901960784],
374
+ :orange => [1.0,0.647058823529412,0.0],
375
+ :orangeRed => [1.0,0.270588235294118,0.0],
376
+ :orchid => [0.854901960784314,0.43921568627451,0.83921568627451],
377
+ :paleGoldenRod => [0.933333333333333,0.909803921568627,0.666666666666667],
378
+ :paleGreen => [0.596078431372549,0.984313725490196,0.596078431372549],
379
+ :paleTurquoise => [0.686274509803922,0.933333333333333,0.933333333333333],
380
+ :paleVioletRed => [0.847058823529412,0.43921568627451,0.576470588235294],
381
+ :papayaWhip => [1.0,0.937254901960784,0.835294117647059],
382
+ :peachPuff => [1.0,0.854901960784314,0.725490196078431],
383
+ :peru => [0.803921568627451,0.52156862745098,0.247058823529412],
384
+ :pink => [1.0,0.752941176470588,0.796078431372549],
385
+ :plum => [0.866666666666667,0.627450980392157,0.866666666666667],
386
+ :powderBlue => [0.690196078431373,0.87843137254902,0.901960784313726],
387
+ :purple => [0.501960784313725,0.0,0.501960784313725],
388
+ :red => [1.0,0.0,0.0],
389
+ :rosyBrown => [0.737254901960784,0.56078431372549,0.56078431372549],
390
+ :royalBlue => [0.254901960784314,0.411764705882353,0.882352941176471],
391
+ :saddleBrown => [0.545098039215686,0.270588235294118,0.0745098039215686],
392
+ :salmon => [0.980392156862745,0.501960784313725,0.447058823529412],
393
+ :sandyBrown => [0.956862745098039,0.643137254901961,0.376470588235294],
394
+ :seaGreen => [0.180392156862745,0.545098039215686,0.341176470588235],
395
+ :seaShell => [1.0,0.96078431372549,0.933333333333333],
396
+ :sienna => [0.627450980392157,0.32156862745098,0.176470588235294],
397
+ :silver => [0.752941176470588,0.752941176470588,0.752941176470588],
398
+ :skyBlue => [0.529411764705882,0.807843137254902,0.92156862745098],
399
+ :slateBlue => [0.415686274509804,0.352941176470588,0.803921568627451],
400
+ :slateGray => [0.43921568627451,0.501960784313725,0.564705882352941],
401
+ :slateGrey => [0.43921568627451,0.501960784313725,0.564705882352941],
402
+ :snow => [1.0,0.980392156862745,0.980392156862745],
403
+ :springGreen => [0.0,1.0,0.498039215686275],
404
+ :steelBlue => [0.274509803921569,0.509803921568627,0.705882352941177],
405
+ :tan => [0.823529411764706,0.705882352941177,0.549019607843137],
406
+ :teal => [0.0,0.501960784313725,0.501960784313725],
407
+ :thistle => [0.847058823529412,0.749019607843137,0.847058823529412],
408
+ :tomato => [1.0,0.388235294117647,0.27843137254902],
409
+ :turquoise => [0.250980392156863,0.87843137254902,0.815686274509804],
410
+ :violet => [0.933333333333333,0.509803921568627,0.933333333333333],
411
+ :wheat => [0.96078431372549,0.870588235294118,0.701960784313725],
412
+ :white => [1.0,1.0,1.0],
413
+ :whiteSmoke => [0.96078431372549,0.96078431372549,0.96078431372549],
414
+ :yellow => [1.0,1.0,0.0],
415
+ :yellowGreen => [0.603921568627451,0.803921568627451,0.196078431372549]
406
416
  ]
407
417
 
408
- CMYK=Helpers::HashKeyMethodClass[
409
- :AliceBlue => [0.0588235294117647,0.0274509803921569,0.0,0.0],
410
- :AntiqueWhite => [0.0,0.06,0.14,0.0196078431372549],
411
- :Aqua => [1.0,0.0,0.0,0.0],
412
- :Aquamarine => [0.501960784313725,0.0,0.168627450980392,0.0],
413
- :Azure => [0.0588235294117647,0.0,0.0,0.0],
414
- :Beige => [0.0,0.0,0.102040816326531,0.0392156862745098],
415
- :Bisque => [0.0,0.105882352941176,0.231372549019608,0.0],
416
- :Black => [0.0,0.0,0.0,1.0],
417
- :BlanchedAlmond => [0.0,0.0784313725490197,0.196078431372549,0.0],
418
- :Blue => [1.0,1.0,0.0,0.0],
419
- :BlueViolet => [0.389380530973451,0.809734513274336,0.0,0.113725490196078],
420
- :Brown => [0.0,0.745454545454545,0.745454545454545,0.352941176470588],
421
- :BurlyWood => [0.0,0.171171171171171,0.391891891891892,0.129411764705882],
422
- :CadetBlue => [0.40625,0.0125,0.0,0.372549019607843],
423
- :Chartreuse => [0.501960784313725,0.0,1.0,0.0],
424
- :Chocolate => [0.0,0.5,0.857142857142857,0.176470588235294],
425
- :Coral => [0.0,0.501960784313725,0.686274509803922,0.0],
426
- :CornflowerBlue => [0.578059071729958,0.371308016877637,0.0,0.0705882352941176],
427
- :Cornsilk => [0.0,0.0274509803921569,0.137254901960784,0.0],
428
- :Crimson => [0.0,0.909090909090909,0.727272727272727,0.137254901960784],
429
- :Cyan => [1.0,0.0,0.0,0.0],
430
- :DarkBlue => [1.0,1.0,0.0,0.454901960784314],
431
- :DarkCyan => [1.0,0.0,0.0,0.454901960784314],
432
- :DarkGoldenRod => [0.0,0.271739130434783,0.940217391304348,0.27843137254902],
433
- :DarkGray => [0.0,0.0,0.0,0.337254901960784],
434
- :DarkGreen => [1.0,0.0,1.0,0.607843137254902],
435
- :DarkGrey => [0.0,0.0,0.0,0.337254901960784],
436
- :DarkKhaki => [0.0,0.0317460317460318,0.433862433862434,0.258823529411765],
437
- :DarkMagenta => [0.0,1.0,0.0,0.454901960784314],
438
- :DarkOliveGreen => [0.205607476635514,0.0,0.560747663551402,0.580392156862745],
439
- :DarkOrchid => [0.25,0.754901960784314,0.0,0.2],
440
- :DarkRed => [0.0,1.0,1.0,0.454901960784314],
441
- :DarkSalmon => [0.0,0.356223175965665,0.476394849785408,0.0862745098039216],
442
- :DarkSeaGreen => [0.23936170212766,0.0,0.23936170212766,0.262745098039216],
443
- :DarkSlateBlue => [0.482014388489209,0.56115107913669,0.0,0.454901960784314],
444
- :DarkSlateGray => [0.405063291139241,0.0,0.0,0.690196078431373],
445
- :DarkSlateGrey => [0.405063291139241,0.0,0.0,0.690196078431373],
446
- :DarkTurquoise => [1.0,0.0143540669856459,0.0,0.180392156862745],
447
- :DarkViolet => [0.298578199052133,1.0,0.0,0.172549019607843],
448
- :Darkorange => [0.0,0.450980392156863,1.0,0.0],
449
- :DeepPink => [0.0,0.92156862745098,0.423529411764706,0.0],
450
- :DeepSkyBlue => [1.0,0.250980392156863,0.0,0.0],
451
- :DimGray => [0.0,0.0,0.0,0.588235294117647],
452
- :DimGrey => [0.0,0.0,0.0,0.588235294117647],
453
- :DodgerBlue => [0.882352941176471,0.435294117647059,0.0,0.0],
454
- :FireBrick => [0.0,0.808988764044944,0.808988764044944,0.301960784313726],
455
- :FloralWhite => [0.0,0.0196078431372549,0.0588235294117647,0.0],
456
- :ForestGreen => [0.755395683453237,0.0,0.755395683453237,0.454901960784314],
457
- :Fuchsia => [0.0,1.0,0.0,0.0],
458
- :Gainsboro => [0.0,0.0,0.0,0.137254901960784],
459
- :GhostWhite => [0.0274509803921569,0.0274509803921569,0.0,0.0],
460
- :Gold => [0.0,0.156862745098039,1.0,0.0],
461
- :GoldenRod => [0.0,0.243119266055046,0.853211009174312,0.145098039215686],
462
- :Gray => [0.0,0.0,0.0,0.498039215686275],
463
- :Green => [1.0,0.0,1.0,0.498039215686275],
464
- :GreenYellow => [0.32156862745098,0.0,0.815686274509804,0.0],
465
- :Grey => [0.0,0.0,0.0,0.498039215686275],
466
- :HoneyDew => [0.0588235294117647,0.0,0.0588235294117647,0.0],
467
- :HotPink => [0.0,0.588235294117647,0.294117647058823,0.0],
468
- :IndianRed => [0.0,0.551219512195122,0.551219512195122,0.196078431372549],
469
- :Indigo => [0.423076923076923,1.0,0.0,0.490196078431373],
470
- :Ivory => [0.0,0.0,0.0588235294117647,0.0],
471
- :Khaki => [0.0,0.0416666666666666,0.416666666666667,0.0588235294117647],
472
- :LavenderBlush => [0.0,0.0588235294117647,0.0392156862745098,0.0],
473
- :Lavender => [0.0799999999999999,0.0799999999999999,0.0,0.0196078431372549],
474
- :LawnGreen => [0.507936507936508,0.0,1.0,0.0117647058823529],
475
- :LemonChiffon => [0.0,0.0196078431372549,0.196078431372549,0.0],
476
- :LightBlue => [0.247826086956522,0.0608695652173913,0.0,0.0980392156862745],
477
- :LightCoral => [0.0,0.466666666666667,0.466666666666667,0.0588235294117647],
478
- :LightCyan => [0.12156862745098,0.0,0.0,0.0],
479
- :LightGoldenRodYellow => [0.0,0.0,0.16,0.0196078431372549],
480
- :LightGray => [0.0,0.0,0.0,0.172549019607843],
481
- :LightGreen => [0.394957983193277,0.0,0.394957983193277,0.0666666666666667],
482
- :LightGrey => [0.0,0.0,0.0,0.172549019607843],
483
- :LightPink => [0.0,0.286274509803922,0.243137254901961,0.0],
484
- :LightSalmon => [0.0,0.372549019607843,0.52156862745098,0.0],
485
- :LightSeaGreen => [0.820224719101124,0.0,0.0449438202247191,0.301960784313726],
486
- :LightSkyBlue => [0.46,0.176,0.0,0.0196078431372549],
487
- :LightSlateGray => [0.222222222222222,0.111111111111111,0.0,0.4],
488
- :LightSlateGrey => [0.222222222222222,0.111111111111111,0.0,0.4],
489
- :LightSteelBlue => [0.207207207207207,0.117117117117117,0.0,0.129411764705882],
490
- :LightYellow => [0.0,0.0,0.12156862745098,0.0],
491
- :Lime => [1.0,0.0,1.0,0.0],
492
- :LimeGreen => [0.75609756097561,0.0,0.75609756097561,0.196078431372549],
493
- :Linen => [0.0,0.04,0.0799999999999999,0.0196078431372549],
494
- :Magenta => [0.0,1.0,0.0,0.0],
495
- :Maroon => [0.0,1.0,1.0,0.498039215686275],
496
- :MediumAquaMarine => [0.502439024390244,0.0,0.170731707317073,0.196078431372549],
497
- :MediumBlue => [1.0,1.0,0.0,0.196078431372549],
498
- :MediumOrchid => [0.118483412322275,0.597156398104265,0.0,0.172549019607843],
499
- :MediumPurple => [0.319444444444444,0.481481481481481,0.0,0.152941176470588],
500
- :MediumSeaGreen => [0.664804469273743,0.0,0.368715083798883,0.298039215686275],
501
- :MediumSlateBlue => [0.483193277310924,0.563025210084034,0.0,0.0666666666666667],
502
- :MediumSpringGreen => [1.0,0.0,0.384,0.0196078431372549],
503
- :MediumTurquoise => [0.655502392344498,0.0,0.0239234449760765,0.180392156862745],
504
- :MediumVioletRed => [0.0,0.894472361809045,0.331658291457286,0.219607843137255],
505
- :MidnightBlue => [0.776785714285714,0.776785714285714,0.0,0.56078431372549],
506
- :MintCream => [0.0392156862745098,0.0,0.0196078431372549,0.0],
507
- :MistyRose => [0.0,0.105882352941176,0.117647058823529,0.0],
508
- :Moccasin => [0.0,0.105882352941176,0.290196078431373,0.0],
509
- :NavajoWhite => [0.0,0.129411764705882,0.32156862745098,0.0],
510
- :Navy => [1.0,1.0,0.0,0.498039215686275],
511
- :OldLace => [0.0,0.0316205533596838,0.0909090909090909,0.00784313725490193],
512
- :Olive => [0.0,0.0,1.0,0.498039215686275],
513
- :OliveDrab => [0.246478873239437,0.0,0.753521126760563,0.443137254901961],
514
- :Orange => [0.0,0.352941176470588,1.0,0.0],
515
- :OrangeRed => [0.0,0.729411764705882,1.0,0.0],
516
- :Orchid => [0.0,0.486238532110092,0.0183486238532109,0.145098039215686],
517
- :PaleGoldenRod => [0.0,0.0252100840336135,0.285714285714286,0.0666666666666667],
518
- :PaleGreen => [0.394422310756972,0.0,0.394422310756972,0.015686274509804],
519
- :PaleTurquoise => [0.264705882352941,0.0,0.0,0.0666666666666667],
520
- :PaleVioletRed => [0.0,0.481481481481481,0.319444444444444,0.152941176470588],
521
- :PapayaWhip => [0.0,0.0627450980392157,0.164705882352941,0.0],
522
- :PeachPuff => [0.0,0.145098039215686,0.274509803921569,0.0],
523
- :Peru => [0.0,0.351219512195122,0.692682926829268,0.196078431372549],
524
- :Pink => [0.0,0.247058823529412,0.203921568627451,0.0],
525
- :Plum => [0.0,0.276018099547511,0.0,0.133333333333333],
526
- :PowderBlue => [0.234782608695652,0.0260869565217392,0.0,0.0980392156862745],
527
- :Purple => [0.0,1.0,0.0,0.498039215686275],
528
- :Red => [0.0,1.0,1.0,0.0],
529
- :RosyBrown => [0.0,0.23936170212766,0.23936170212766,0.262745098039216],
530
- :RoyalBlue => [0.711111111111111,0.533333333333333,0.0,0.117647058823529],
531
- :SaddleBrown => [0.0,0.503597122302158,0.863309352517986,0.454901960784314],
532
- :Salmon => [0.0,0.488,0.544,0.0196078431372549],
533
- :SandyBrown => [0.0,0.327868852459016,0.60655737704918,0.0431372549019607],
534
- :SeaGreen => [0.669064748201439,0.0,0.37410071942446,0.454901960784314],
535
- :SeaShell => [0.0,0.0392156862745098,0.0666666666666667,0.0],
536
- :Sienna => [0.0,0.4875,0.71875,0.372549019607843],
537
- :Silver => [0.0,0.0,0.0,0.247058823529412],
538
- :SkyBlue => [0.425531914893617,0.123404255319149,0.0,0.0784313725490197],
539
- :SlateBlue => [0.482926829268293,0.560975609756098,0.0,0.196078431372549],
540
- :SlateGray => [0.222222222222222,0.111111111111111,0.0,0.435294117647059],
541
- :SlateGrey => [0.222222222222222,0.111111111111111,0.0,0.435294117647059],
542
- :Snow => [0.0,0.0196078431372549,0.0196078431372549,0.0],
543
- :SpringGreen => [1.0,0.0,0.501960784313725,0.0],
544
- :SteelBlue => [0.611111111111111,0.277777777777778,0.0,0.294117647058823],
545
- :Tan => [0.0,0.142857142857143,0.333333333333333,0.176470588235294],
546
- :Teal => [1.0,0.0,0.0,0.498039215686275],
547
- :Thistle => [0.0,0.115740740740741,0.0,0.152941176470588],
548
- :Tomato => [0.0,0.611764705882353,0.72156862745098,0.0],
549
- :Turquoise => [0.714285714285714,0.0,0.0714285714285714,0.12156862745098],
550
- :Violet => [0.0,0.453781512605042,0.0,0.0666666666666667],
551
- :Wheat => [0.0,0.0938775510204082,0.269387755102041,0.0392156862745098],
552
- :White => [0.0,0.0,0.0,0.0],
553
- :WhiteSmoke => [0.0,0.0,0.0,0.0392156862745098],
554
- :Yellow => [0.0,0.0,1.0,0.0],
555
- :YellowGreen => [0.248780487804878,0.0,0.75609756097561,0.196078431372549]
418
+ CMYK=RGhost::Constants::HashKeyMethodClass[
419
+ :AliceBlue => [0.0588235294117647,0.0274509803921569,0.0,0.0],
420
+ :AntiqueWhite => [0.0,0.06,0.14,0.0196078431372549],
421
+ :Aqua => [1.0,0.0,0.0,0.0],
422
+ :Aquamarine => [0.501960784313725,0.0,0.168627450980392,0.0],
423
+ :Azure => [0.0588235294117647,0.0,0.0,0.0],
424
+ :Beige => [0.0,0.0,0.102040816326531,0.0392156862745098],
425
+ :Bisque => [0.0,0.105882352941176,0.231372549019608,0.0],
426
+ :Black => [0.0,0.0,0.0,1.0],
427
+ :BlanchedAlmond => [0.0,0.0784313725490197,0.196078431372549,0.0],
428
+ :Blue => [1.0,1.0,0.0,0.0],
429
+ :BlueViolet => [0.389380530973451,0.809734513274336,0.0,0.113725490196078],
430
+ :Brown => [0.0,0.745454545454545,0.745454545454545,0.352941176470588],
431
+ :BurlyWood => [0.0,0.171171171171171,0.391891891891892,0.129411764705882],
432
+ :CadetBlue => [0.40625,0.0125,0.0,0.372549019607843],
433
+ :Chartreuse => [0.501960784313725,0.0,1.0,0.0],
434
+ :Chocolate => [0.0,0.5,0.857142857142857,0.176470588235294],
435
+ :Coral => [0.0,0.501960784313725,0.686274509803922,0.0],
436
+ :CornflowerBlue => [0.578059071729958,0.371308016877637,0.0,0.0705882352941176],
437
+ :Cornsilk => [0.0,0.0274509803921569,0.137254901960784,0.0],
438
+ :Crimson => [0.0,0.909090909090909,0.727272727272727,0.137254901960784],
439
+ :Cyan => [1.0,0.0,0.0,0.0],
440
+ :DarkBlue => [1.0,1.0,0.0,0.454901960784314],
441
+ :DarkCyan => [1.0,0.0,0.0,0.454901960784314],
442
+ :DarkGoldenRod => [0.0,0.271739130434783,0.940217391304348,0.27843137254902],
443
+ :DarkGray => [0.0,0.0,0.0,0.337254901960784],
444
+ :DarkGreen => [1.0,0.0,1.0,0.607843137254902],
445
+ :DarkGrey => [0.0,0.0,0.0,0.337254901960784],
446
+ :DarkKhaki => [0.0,0.0317460317460318,0.433862433862434,0.258823529411765],
447
+ :DarkMagenta => [0.0,1.0,0.0,0.454901960784314],
448
+ :DarkOliveGreen => [0.205607476635514,0.0,0.560747663551402,0.580392156862745],
449
+ :DarkOrchid => [0.25,0.754901960784314,0.0,0.2],
450
+ :DarkRed => [0.0,1.0,1.0,0.454901960784314],
451
+ :DarkSalmon => [0.0,0.356223175965665,0.476394849785408,0.0862745098039216],
452
+ :DarkSeaGreen => [0.23936170212766,0.0,0.23936170212766,0.262745098039216],
453
+ :DarkSlateBlue => [0.482014388489209,0.56115107913669,0.0,0.454901960784314],
454
+ :DarkSlateGray => [0.405063291139241,0.0,0.0,0.690196078431373],
455
+ :DarkSlateGrey => [0.405063291139241,0.0,0.0,0.690196078431373],
456
+ :DarkTurquoise => [1.0,0.0143540669856459,0.0,0.180392156862745],
457
+ :DarkViolet => [0.298578199052133,1.0,0.0,0.172549019607843],
458
+ :Darkorange => [0.0,0.450980392156863,1.0,0.0],
459
+ :DeepPink => [0.0,0.92156862745098,0.423529411764706,0.0],
460
+ :DeepSkyBlue => [1.0,0.250980392156863,0.0,0.0],
461
+ :DimGray => [0.0,0.0,0.0,0.588235294117647],
462
+ :DimGrey => [0.0,0.0,0.0,0.588235294117647],
463
+ :DodgerBlue => [0.882352941176471,0.435294117647059,0.0,0.0],
464
+ :FireBrick => [0.0,0.808988764044944,0.808988764044944,0.301960784313726],
465
+ :FloralWhite => [0.0,0.0196078431372549,0.0588235294117647,0.0],
466
+ :ForestGreen => [0.755395683453237,0.0,0.755395683453237,0.454901960784314],
467
+ :Fuchsia => [0.0,1.0,0.0,0.0],
468
+ :Gainsboro => [0.0,0.0,0.0,0.137254901960784],
469
+ :GhostWhite => [0.0274509803921569,0.0274509803921569,0.0,0.0],
470
+ :Gold => [0.0,0.156862745098039,1.0,0.0],
471
+ :GoldenRod => [0.0,0.243119266055046,0.853211009174312,0.145098039215686],
472
+ :Gray => [0.0,0.0,0.0,0.498039215686275],
473
+ :Green => [1.0,0.0,1.0,0.498039215686275],
474
+ :GreenYellow => [0.32156862745098,0.0,0.815686274509804,0.0],
475
+ :Grey => [0.0,0.0,0.0,0.498039215686275],
476
+ :HoneyDew => [0.0588235294117647,0.0,0.0588235294117647,0.0],
477
+ :HotPink => [0.0,0.588235294117647,0.294117647058823,0.0],
478
+ :IndianRed => [0.0,0.551219512195122,0.551219512195122,0.196078431372549],
479
+ :Indigo => [0.423076923076923,1.0,0.0,0.490196078431373],
480
+ :Ivory => [0.0,0.0,0.0588235294117647,0.0],
481
+ :Khaki => [0.0,0.0416666666666666,0.416666666666667,0.0588235294117647],
482
+ :LavenderBlush => [0.0,0.0588235294117647,0.0392156862745098,0.0],
483
+ :Lavender => [0.0799999999999999,0.0799999999999999,0.0,0.0196078431372549],
484
+ :LawnGreen => [0.507936507936508,0.0,1.0,0.0117647058823529],
485
+ :LemonChiffon => [0.0,0.0196078431372549,0.196078431372549,0.0],
486
+ :LightBlue => [0.247826086956522,0.0608695652173913,0.0,0.0980392156862745],
487
+ :LightCoral => [0.0,0.466666666666667,0.466666666666667,0.0588235294117647],
488
+ :LightCyan => [0.12156862745098,0.0,0.0,0.0],
489
+ :LightGoldenRodYellow => [0.0,0.0,0.16,0.0196078431372549],
490
+ :LightGray => [0.0,0.0,0.0,0.172549019607843],
491
+ :LightGreen => [0.394957983193277,0.0,0.394957983193277,0.0666666666666667],
492
+ :LightGrey => [0.0,0.0,0.0,0.172549019607843],
493
+ :LightPink => [0.0,0.286274509803922,0.243137254901961,0.0],
494
+ :LightSalmon => [0.0,0.372549019607843,0.52156862745098,0.0],
495
+ :LightSeaGreen => [0.820224719101124,0.0,0.0449438202247191,0.301960784313726],
496
+ :LightSkyBlue => [0.46,0.176,0.0,0.0196078431372549],
497
+ :LightSlateGray => [0.222222222222222,0.111111111111111,0.0,0.4],
498
+ :LightSlateGrey => [0.222222222222222,0.111111111111111,0.0,0.4],
499
+ :LightSteelBlue => [0.207207207207207,0.117117117117117,0.0,0.129411764705882],
500
+ :LightYellow => [0.0,0.0,0.12156862745098,0.0],
501
+ :Lime => [1.0,0.0,1.0,0.0],
502
+ :LimeGreen => [0.75609756097561,0.0,0.75609756097561,0.196078431372549],
503
+ :Linen => [0.0,0.04,0.0799999999999999,0.0196078431372549],
504
+ :Magenta => [0.0,1.0,0.0,0.0],
505
+ :Maroon => [0.0,1.0,1.0,0.498039215686275],
506
+ :MediumAquaMarine => [0.502439024390244,0.0,0.170731707317073,0.196078431372549],
507
+ :MediumBlue => [1.0,1.0,0.0,0.196078431372549],
508
+ :MediumOrchid => [0.118483412322275,0.597156398104265,0.0,0.172549019607843],
509
+ :MediumPurple => [0.319444444444444,0.481481481481481,0.0,0.152941176470588],
510
+ :MediumSeaGreen => [0.664804469273743,0.0,0.368715083798883,0.298039215686275],
511
+ :MediumSlateBlue => [0.483193277310924,0.563025210084034,0.0,0.0666666666666667],
512
+ :MediumSpringGreen => [1.0,0.0,0.384,0.0196078431372549],
513
+ :MediumTurquoise => [0.655502392344498,0.0,0.0239234449760765,0.180392156862745],
514
+ :MediumVioletRed => [0.0,0.894472361809045,0.331658291457286,0.219607843137255],
515
+ :MidnightBlue => [0.776785714285714,0.776785714285714,0.0,0.56078431372549],
516
+ :MintCream => [0.0392156862745098,0.0,0.0196078431372549,0.0],
517
+ :MistyRose => [0.0,0.105882352941176,0.117647058823529,0.0],
518
+ :Moccasin => [0.0,0.105882352941176,0.290196078431373,0.0],
519
+ :NavajoWhite => [0.0,0.129411764705882,0.32156862745098,0.0],
520
+ :Navy => [1.0,1.0,0.0,0.498039215686275],
521
+ :OldLace => [0.0,0.0316205533596838,0.0909090909090909,0.00784313725490193],
522
+ :Olive => [0.0,0.0,1.0,0.498039215686275],
523
+ :OliveDrab => [0.246478873239437,0.0,0.753521126760563,0.443137254901961],
524
+ :Orange => [0.0,0.352941176470588,1.0,0.0],
525
+ :OrangeRed => [0.0,0.729411764705882,1.0,0.0],
526
+ :Orchid => [0.0,0.486238532110092,0.0183486238532109,0.145098039215686],
527
+ :PaleGoldenRod => [0.0,0.0252100840336135,0.285714285714286,0.0666666666666667],
528
+ :PaleGreen => [0.394422310756972,0.0,0.394422310756972,0.015686274509804],
529
+ :PaleTurquoise => [0.264705882352941,0.0,0.0,0.0666666666666667],
530
+ :PaleVioletRed => [0.0,0.481481481481481,0.319444444444444,0.152941176470588],
531
+ :PapayaWhip => [0.0,0.0627450980392157,0.164705882352941,0.0],
532
+ :PeachPuff => [0.0,0.145098039215686,0.274509803921569,0.0],
533
+ :Peru => [0.0,0.351219512195122,0.692682926829268,0.196078431372549],
534
+ :Pink => [0.0,0.247058823529412,0.203921568627451,0.0],
535
+ :Plum => [0.0,0.276018099547511,0.0,0.133333333333333],
536
+ :PowderBlue => [0.234782608695652,0.0260869565217392,0.0,0.0980392156862745],
537
+ :Purple => [0.0,1.0,0.0,0.498039215686275],
538
+ :Red => [0.0,1.0,1.0,0.0],
539
+ :RosyBrown => [0.0,0.23936170212766,0.23936170212766,0.262745098039216],
540
+ :RoyalBlue => [0.711111111111111,0.533333333333333,0.0,0.117647058823529],
541
+ :SaddleBrown => [0.0,0.503597122302158,0.863309352517986,0.454901960784314],
542
+ :Salmon => [0.0,0.488,0.544,0.0196078431372549],
543
+ :SandyBrown => [0.0,0.327868852459016,0.60655737704918,0.0431372549019607],
544
+ :SeaGreen => [0.669064748201439,0.0,0.37410071942446,0.454901960784314],
545
+ :SeaShell => [0.0,0.0392156862745098,0.0666666666666667,0.0],
546
+ :Sienna => [0.0,0.4875,0.71875,0.372549019607843],
547
+ :Silver => [0.0,0.0,0.0,0.247058823529412],
548
+ :SkyBlue => [0.425531914893617,0.123404255319149,0.0,0.0784313725490197],
549
+ :SlateBlue => [0.482926829268293,0.560975609756098,0.0,0.196078431372549],
550
+ :SlateGray => [0.222222222222222,0.111111111111111,0.0,0.435294117647059],
551
+ :SlateGrey => [0.222222222222222,0.111111111111111,0.0,0.435294117647059],
552
+ :Snow => [0.0,0.0196078431372549,0.0196078431372549,0.0],
553
+ :SpringGreen => [1.0,0.0,0.501960784313725,0.0],
554
+ :SteelBlue => [0.611111111111111,0.277777777777778,0.0,0.294117647058823],
555
+ :Tan => [0.0,0.142857142857143,0.333333333333333,0.176470588235294],
556
+ :Teal => [1.0,0.0,0.0,0.498039215686275],
557
+ :Thistle => [0.0,0.115740740740741,0.0,0.152941176470588],
558
+ :Tomato => [0.0,0.611764705882353,0.72156862745098,0.0],
559
+ :Turquoise => [0.714285714285714,0.0,0.0714285714285714,0.12156862745098],
560
+ :Violet => [0.0,0.453781512605042,0.0,0.0666666666666667],
561
+ :Wheat => [0.0,0.0938775510204082,0.269387755102041,0.0392156862745098],
562
+ :White => [0.0,0.0,0.0,0.0],
563
+ :WhiteSmoke => [0.0,0.0,0.0,0.0392156862745098],
564
+ :Yellow => [0.0,0.0,1.0,0.0],
565
+ :YellowGreen => [0.248780487804878,0.0,0.75609756097561,0.196078431372549]
556
566
  ]
557
567
 
558
- end
559
- #Papeis conhecidos pelo Ghostscript
568
+ end
569
+ #Standard papers
560
570
  module Papers
561
571
  STANDARD={
562
- "11x17" => [792,1224],
563
- :ledger => [1224,792],
564
- :legal => [612,1008],
565
- :letter => [612,792],
566
- :lettersmall=> [612,792],
567
- :archE => [2592,3456],
568
- :archD => [1728,2592],
569
- :archC => [1296,1728],
570
- :archB => [864,1296],
571
- :archA => [648,864],
572
- #ISO standard]
573
- :a0 => [2384,3370],
574
- :a1 => [1684,2384],
575
- :a2 => [1191,1684],
576
- :a3 => [842,1191],
577
- :a4 => [595,842],
578
- :a4small => [595,842],
579
- :a5 => [420,595],
580
- :a6 => [297,420],
581
- :a7 => [210,297],
582
- :a8 => [148,210],
583
- :a9 => [105,148],
584
- :a10 => [73,105],
585
- :isob0 => [2835,4008],
586
- :isob1 => [2004,2835],
587
- :isob2 => [1417,2004],
588
- :isob3 => [1001,1417],
589
- :isob4 => [709,1001],
590
- :isob5 => [499,709],
591
- :isob6 => [354,499],
592
- :c0 => [2599,3677],
593
- :c1 => [1837,2599],
594
- :c2 => [1298,1837],
595
- :c3 => [918,1298],
596
- :c4 => [649,918],
597
- :c5 => [459,649],
598
- :c6 => [323,459],
599
- #JIS standard
600
- :jisb0 => [1030,1456],
601
- :jisb1 => [728,1030],
602
- :jisb2 => [515,728],
603
- :jisb3 => [364,515],
604
- :jisb4 => [257,364],
605
- :jisb5 => [182,257],
606
- :jisb6 => [128,182],
607
- #Other
608
- :flsa => [612,936],
609
- :flse => [612,936],
610
- :halfletter => [396,612]
611
- }
572
+ "11x17" => [792,1224],
573
+ :ledger => [1224,792],
574
+ :legal => [612,1008],
575
+ :letter => [612,792],
576
+ :lettersmall=> [612,792],
577
+ :archE => [2592,3456],
578
+ :archD => [1728,2592],
579
+ :archC => [1296,1728],
580
+ :archB => [864,1296],
581
+ :archA => [648,864],
582
+ #ISO standard]
583
+ :a0 => [2384,3370],
584
+ :a1 => [1684,2384],
585
+ :a2 => [1191,1684],
586
+ :a3 => [842,1191],
587
+ :a4 => [595,842],
588
+ :a4small => [595,842],
589
+ :a5 => [420,595],
590
+ :a6 => [297,420],
591
+ :a7 => [210,297],
592
+ :a8 => [148,210],
593
+ :a9 => [105,148],
594
+ :a10 => [73,105],
595
+ :isob0 => [2835,4008],
596
+ :isob1 => [2004,2835],
597
+ :isob2 => [1417,2004],
598
+ :isob3 => [1001,1417],
599
+ :isob4 => [709,1001],
600
+ :isob5 => [499,709],
601
+ :isob6 => [354,499],
602
+ :c0 => [2599,3677],
603
+ :c1 => [1837,2599],
604
+ :c2 => [1298,1837],
605
+ :c3 => [918,1298],
606
+ :c4 => [649,918],
607
+ :c5 => [459,649],
608
+ :c6 => [323,459],
609
+ #JIS standard
610
+ :jisb0 => [1030,1456],
611
+ :jisb1 => [728,1030],
612
+ :jisb2 => [515,728],
613
+ :jisb3 => [364,515],
614
+ :jisb4 => [257,364],
615
+ :jisb5 => [182,257],
616
+ :jisb6 => [128,182],
617
+ #Other
618
+ :flsa => [612,936],
619
+ :flse => [612,936],
620
+ :halfletter => [396,612]
621
+ }
612
622
 
613
623
  end
614
624
  end