indie-raster 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/fonts/fonts_prf1/dsm-22-italic.prf1 +0 -0
- data/fonts/fonts_prf1/dsm-22.prf1 +0 -0
- data/fonts/fonts_prf1/dsm-24-bold-inverted.prf1 +0 -0
- data/fonts/fonts_prf1/dsm-24.prf1 +0 -0
- data/fonts/fonts_prf1/dsm-56-bold-inverted.prf1 +0 -0
- data/fonts/fonts_vector/dsm/chars-spaced.txt +21 -0
- data/fonts/glyphs/dsm-22-bold-inverted.png +0 -0
- data/fonts/glyphs/dsm-22-italic.png +0 -0
- data/fonts/glyphs/dsm-22.png +0 -0
- data/fonts/glyphs/dsm-24-bold-inverted.png +0 -0
- data/fonts/glyphs/dsm-24.png +0 -0
- data/fonts/glyphs/dsm-56-bold-inverted.png +0 -0
- data/fonts/make-fonts.sh +10 -6
- data/fonts/scripts/splitter.c +5 -4
- data/fonts/scripts/splitter.sh +1 -1
- data/indie-raster.gemspec +1 -1
- data/src-ruby/indie-raster.rb +105 -27
- data/test/expected.pbm +0 -0
- data/test/expected.ppm +1 -1
- data/test/test.rb +1 -1
- metadata +8 -17
data/test/test.rb
CHANGED
@@ -18,7 +18,7 @@ def draw()
|
|
18
18
|
:x => 20, :y => 100, :digits => "123456123456",
|
19
19
|
:w => (95 * 3), :h => 15, :guard_bar_extra_h => 7)
|
20
20
|
|
21
|
-
s.loadFont :id => FONT, :path => "../fonts/fonts_prf1/dsm-
|
21
|
+
s.loadFont :id => FONT, :path => "../fonts/fonts_prf1/dsm-24-bold-inverted.prf1"
|
22
22
|
s.drawText :x => 50, :y => 55, :font => FONT, :text => "HAI"
|
23
23
|
|
24
24
|
s.drawText :centeredInRect => [0, 150, 576, 50], :fonts => [FONT], :text => "..."
|
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: indie-raster
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 8
|
10
|
-
version: 0.0.8
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.9
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- ShopKeep
|
@@ -15,7 +10,7 @@ autorequire:
|
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date: 2011-05-
|
13
|
+
date: 2011-05-10 00:00:00 -04:00
|
19
14
|
default_executable:
|
20
15
|
dependencies: []
|
21
16
|
|
@@ -38,16 +33,20 @@ files:
|
|
38
33
|
- fonts/README-fonts.md
|
39
34
|
- fonts/fonts_prf1/dsm-22-italic.prf1
|
40
35
|
- fonts/fonts_prf1/dsm-22.prf1
|
36
|
+
- fonts/fonts_prf1/dsm-24-bold-inverted.prf1
|
41
37
|
- fonts/fonts_prf1/dsm-24.prf1
|
42
38
|
- fonts/fonts_prf1/dsm-56-bold-inverted.prf1
|
43
39
|
- fonts/fonts_vector/dsm/DroidSansMono.ttf
|
44
40
|
- fonts/fonts_vector/dsm/DroidSansMono.webloc
|
45
41
|
- fonts/fonts_vector/dsm/LICENSE.txt
|
46
42
|
- fonts/fonts_vector/dsm/chars-all.json
|
43
|
+
- fonts/fonts_vector/dsm/chars-spaced.txt
|
47
44
|
- fonts/fonts_vector/dsm/chars.json
|
48
45
|
- fonts/fonts_vector/dsm/chars.txt
|
46
|
+
- fonts/glyphs/dsm-22-bold-inverted.png
|
49
47
|
- fonts/glyphs/dsm-22-italic.png
|
50
48
|
- fonts/glyphs/dsm-22.png
|
49
|
+
- fonts/glyphs/dsm-24-bold-inverted.png
|
51
50
|
- fonts/glyphs/dsm-24.png
|
52
51
|
- fonts/glyphs/dsm-56-bold-inverted.png
|
53
52
|
- fonts/make-fonts.sh
|
@@ -92,25 +91,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
92
91
|
requirements:
|
93
92
|
- - ">="
|
94
93
|
- !ruby/object:Gem::Version
|
95
|
-
hash: 3
|
96
|
-
segments:
|
97
|
-
- 0
|
98
94
|
version: "0"
|
99
95
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
96
|
none: false
|
101
97
|
requirements:
|
102
98
|
- - ">="
|
103
99
|
- !ruby/object:Gem::Version
|
104
|
-
hash: 17
|
105
|
-
segments:
|
106
|
-
- 1
|
107
|
-
- 3
|
108
|
-
- 5
|
109
100
|
version: 1.3.5
|
110
101
|
requirements: []
|
111
102
|
|
112
103
|
rubyforge_project:
|
113
|
-
rubygems_version: 1.
|
104
|
+
rubygems_version: 1.6.2
|
114
105
|
signing_key:
|
115
106
|
specification_version: 3
|
116
107
|
summary: A small raster graphics library.
|