rghost 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rghost/font.rb +1 -1
- metadata +20 -18
data/lib/rghost/font.rb
CHANGED
@@ -36,7 +36,7 @@ class RGhost::Font < RGhost::PsObject #:nodoc:
|
|
36
36
|
str_ret+=case size
|
37
37
|
when Hash then "/#{@name} findfont [ #{size[:width]} 0 0 #{size[:height]} 0 0] makefont setfont "
|
38
38
|
when Array then "/#{@name} findfont [ #{size[0]} 0 0 #{size[1]} 0 0] makefont setfont "
|
39
|
-
when
|
39
|
+
when Numeric then "/#{@name} findfont #{size} scalefont setfont "
|
40
40
|
end
|
41
41
|
str_ret
|
42
42
|
end
|
metadata
CHANGED
@@ -1,17 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rghost
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
5
|
-
prerelease:
|
4
|
+
version: 0.9.3
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Shairon Toledo
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-28 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
|
-
description: Ruby Ghostscript Engine is a document creation and conversion API, support(PDF,PS,GIF,TIF,PNG,JPG...).
|
14
|
+
description: Ruby Ghostscript Engine is a document creation and conversion API, support(PDF,PS,GIF,TIF,PNG,JPG...).
|
15
|
+
It uses the GhostScript framework for the format conversion, utilizes EPS templates
|
16
|
+
and is optimized to work with larger documents.
|
15
17
|
email: shairon.toledo@gmail.com
|
16
18
|
executables: []
|
17
19
|
extensions: []
|
@@ -149,29 +151,29 @@ files:
|
|
149
151
|
- lib/rghost.rb
|
150
152
|
homepage: http://rghost.rubyforge.org
|
151
153
|
licenses: []
|
152
|
-
post_install_message:
|
154
|
+
post_install_message:
|
153
155
|
rdoc_options: []
|
154
156
|
require_paths:
|
155
157
|
- lib
|
156
158
|
required_ruby_version: !ruby/object:Gem::Requirement
|
159
|
+
none: false
|
157
160
|
requirements:
|
158
|
-
- -
|
161
|
+
- - ! '>='
|
159
162
|
- !ruby/object:Gem::Version
|
160
|
-
version:
|
161
|
-
MA==
|
162
|
-
none: false
|
163
|
+
version: '0'
|
163
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
|
+
none: false
|
164
166
|
requirements:
|
165
|
-
- -
|
167
|
+
- - ! '>='
|
166
168
|
- !ruby/object:Gem::Version
|
167
|
-
version:
|
168
|
-
MA==
|
169
|
-
none: false
|
169
|
+
version: '0'
|
170
170
|
requirements: []
|
171
|
-
rubyforge_project: Ruby Ghostscript Engine is a document creation and conversion API,
|
172
|
-
|
173
|
-
|
171
|
+
rubyforge_project: Ruby Ghostscript Engine is a document creation and conversion API,
|
172
|
+
support(PDF,PS,GIF,TIF,PNG,JPG...). It uses the GhostScript framework for the format
|
173
|
+
conversion, utilizes EPS templates and is optimized to work with larger documents.
|
174
|
+
rubygems_version: 1.8.23
|
175
|
+
signing_key:
|
174
176
|
specification_version: 3
|
175
177
|
summary: Ruby Ghostscript Engine is a document creation and conversion API, support(PDF,PS,GIF,TIF,PNG,JPG...).
|
176
178
|
test_files: []
|
177
|
-
has_rdoc:
|
179
|
+
has_rdoc:
|