updraft 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/verdana.rb +71 -0
- data/lib/verdana.z +0 -0
- data/lib/verdanab.rb +71 -0
- data/lib/verdanab.z +0 -0
- data/updraft.gemspec +5 -1
- metadata +6 -2
data/lib/verdana.rb
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
# Verdana font definition
|
2
|
+
|
3
|
+
module FontDef
|
4
|
+
def FontDef.type
|
5
|
+
'TrueType'
|
6
|
+
end
|
7
|
+
def FontDef.name
|
8
|
+
'Verdana'
|
9
|
+
end
|
10
|
+
def FontDef.desc
|
11
|
+
{
|
12
|
+
'Ascent' => '1005', 'Descent' => '-209', 'CapHeight' => '727',
|
13
|
+
'Flags' => '32', 'FontBBox' => '[-49 -206 1446 1000]',
|
14
|
+
'ItalicAngle' => '0.0', 'StemV' => '70', 'MissingWidth' => '1000'
|
15
|
+
}
|
16
|
+
end
|
17
|
+
def FontDef.up
|
18
|
+
-87
|
19
|
+
end
|
20
|
+
def FontDef.ut
|
21
|
+
58
|
22
|
+
end
|
23
|
+
def FontDef.cw
|
24
|
+
[
|
25
|
+
1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
|
26
|
+
1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
|
27
|
+
1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
|
28
|
+
1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
|
29
|
+
351, 393, 458, 818, 635, 1076, 726, 268,
|
30
|
+
454, 454, 635, 818, 363, 454, 363, 454,
|
31
|
+
635, 635, 635, 635, 635, 635, 635, 635,
|
32
|
+
635, 635, 454, 454, 818, 818, 818, 545,
|
33
|
+
1000, 683, 685, 698, 770, 632, 574, 775,
|
34
|
+
751, 420, 454, 692, 556, 842, 748, 787,
|
35
|
+
603, 787, 695, 683, 616, 731, 683, 988,
|
36
|
+
685, 615, 685, 454, 454, 454, 818, 635,
|
37
|
+
635, 600, 623, 520, 623, 595, 351, 623,
|
38
|
+
632, 274, 344, 591, 274, 972, 632, 606,
|
39
|
+
623, 623, 426, 520, 394, 632, 591, 818,
|
40
|
+
591, 591, 525, 634, 454, 634, 818, 1000,
|
41
|
+
635, 1000, 268, 635, 458, 818, 635, 635,
|
42
|
+
635, 1521, 683, 454, 1069, 1000, 685, 1000,
|
43
|
+
1000, 268, 268, 458, 458, 545, 635, 1000,
|
44
|
+
635, 976, 520, 454, 981, 1000, 525, 615,
|
45
|
+
351, 393, 635, 635, 635, 635, 454, 635,
|
46
|
+
635, 1000, 545, 644, 818, 454, 1000, 635,
|
47
|
+
541, 818, 541, 541, 635, 639, 635, 363,
|
48
|
+
635, 541, 545, 644, 1000, 1000, 1000, 545,
|
49
|
+
683, 683, 683, 683, 683, 683, 984, 698,
|
50
|
+
632, 632, 632, 632, 420, 420, 420, 420,
|
51
|
+
775, 748, 787, 787, 787, 787, 787, 818,
|
52
|
+
787, 731, 731, 731, 731, 615, 605, 620,
|
53
|
+
600, 600, 600, 600, 600, 600, 955, 520,
|
54
|
+
595, 595, 595, 595, 274, 274, 274, 274,
|
55
|
+
611, 632, 606, 606, 606, 606, 606, 818,
|
56
|
+
606, 632, 632, 632, 632, 591, 623, 591
|
57
|
+
]
|
58
|
+
end
|
59
|
+
def FontDef.enc
|
60
|
+
'cp1252'
|
61
|
+
end
|
62
|
+
def FontDef.diff
|
63
|
+
nil
|
64
|
+
end
|
65
|
+
def FontDef.file
|
66
|
+
'verdana.z'
|
67
|
+
end
|
68
|
+
def FontDef.originalsize
|
69
|
+
'171792'
|
70
|
+
end
|
71
|
+
end
|
data/lib/verdana.z
ADDED
Binary file
|
data/lib/verdanab.rb
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
# Verdana-Bold font definition
|
2
|
+
|
3
|
+
module FontDef
|
4
|
+
def FontDef.type
|
5
|
+
'TrueType'
|
6
|
+
end
|
7
|
+
def FontDef.name
|
8
|
+
'Verdana-Bold'
|
9
|
+
end
|
10
|
+
def FontDef.desc
|
11
|
+
{
|
12
|
+
'Ascent' => '1005', 'Descent' => '-209', 'CapHeight' => '727',
|
13
|
+
'Flags' => '32', 'FontBBox' => '[-73 -207 1707 1000]',
|
14
|
+
'ItalicAngle' => '0.0', 'StemV' => '120', 'MissingWidth' => '1000'
|
15
|
+
}
|
16
|
+
end
|
17
|
+
def FontDef.up
|
18
|
+
-67
|
19
|
+
end
|
20
|
+
def FontDef.ut
|
21
|
+
103
|
22
|
+
end
|
23
|
+
def FontDef.cw
|
24
|
+
[
|
25
|
+
1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
|
26
|
+
1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
|
27
|
+
1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
|
28
|
+
1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
|
29
|
+
341, 402, 587, 867, 710, 1271, 862, 332,
|
30
|
+
543, 543, 710, 867, 361, 479, 361, 689,
|
31
|
+
710, 710, 710, 710, 710, 710, 710, 710,
|
32
|
+
710, 710, 402, 402, 867, 867, 867, 616,
|
33
|
+
963, 776, 761, 723, 830, 683, 650, 811,
|
34
|
+
837, 545, 555, 770, 637, 947, 846, 850,
|
35
|
+
732, 850, 782, 710, 681, 812, 763, 1128,
|
36
|
+
763, 736, 691, 543, 689, 543, 867, 710,
|
37
|
+
710, 667, 699, 588, 699, 664, 422, 699,
|
38
|
+
712, 341, 402, 670, 341, 1058, 712, 686,
|
39
|
+
699, 699, 497, 593, 455, 712, 649, 979,
|
40
|
+
668, 650, 596, 710, 543, 710, 867, 1000,
|
41
|
+
710, 1000, 332, 710, 587, 1048, 710, 710,
|
42
|
+
710, 1777, 710, 543, 1135, 1000, 691, 1000,
|
43
|
+
1000, 332, 332, 587, 587, 710, 710, 1000,
|
44
|
+
710, 963, 593, 543, 1067, 1000, 596, 736,
|
45
|
+
341, 402, 710, 710, 710, 710, 543, 710,
|
46
|
+
710, 963, 597, 849, 867, 479, 963, 710,
|
47
|
+
587, 867, 597, 597, 710, 721, 710, 361,
|
48
|
+
710, 597, 597, 849, 1181, 1181, 1181, 616,
|
49
|
+
776, 776, 776, 776, 776, 776, 1093, 723,
|
50
|
+
683, 683, 683, 683, 545, 545, 545, 545,
|
51
|
+
830, 846, 850, 850, 850, 850, 850, 867,
|
52
|
+
850, 812, 812, 812, 812, 736, 734, 712,
|
53
|
+
667, 667, 667, 667, 667, 667, 1018, 588,
|
54
|
+
664, 664, 664, 664, 341, 341, 341, 341,
|
55
|
+
679, 712, 686, 686, 686, 686, 686, 867,
|
56
|
+
686, 712, 712, 712, 712, 650, 699, 650
|
57
|
+
]
|
58
|
+
end
|
59
|
+
def FontDef.enc
|
60
|
+
'cp1252'
|
61
|
+
end
|
62
|
+
def FontDef.diff
|
63
|
+
nil
|
64
|
+
end
|
65
|
+
def FontDef.file
|
66
|
+
'verdanab.z'
|
67
|
+
end
|
68
|
+
def FontDef.originalsize
|
69
|
+
'137616'
|
70
|
+
end
|
71
|
+
end
|
data/lib/verdanab.z
ADDED
Binary file
|
data/updraft.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'updraft'
|
4
|
-
s.version = '0.5.
|
4
|
+
s.version = '0.5.2'
|
5
5
|
s.date = Time.now.strftime('%Y-%m-%d')
|
6
6
|
|
7
7
|
s.summary = 'PDF generation library'
|
@@ -14,6 +14,10 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.files = %w[
|
15
15
|
updraft.gemspec
|
16
16
|
lib/updraft.rb
|
17
|
+
lib/verdana.rb
|
18
|
+
lib/verdana.z
|
19
|
+
lib/verdanab.rb
|
20
|
+
lib/verdanab.z
|
17
21
|
]
|
18
22
|
|
19
23
|
s.require_paths =['lib']
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 5
|
8
|
-
-
|
9
|
-
version: 0.5.
|
8
|
+
- 2
|
9
|
+
version: 0.5.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Steve Shreeve
|
@@ -29,6 +29,10 @@ extra_rdoc_files: []
|
|
29
29
|
files:
|
30
30
|
- updraft.gemspec
|
31
31
|
- lib/updraft.rb
|
32
|
+
- lib/verdana.rb
|
33
|
+
- lib/verdana.z
|
34
|
+
- lib/verdanab.rb
|
35
|
+
- lib/verdanab.z
|
32
36
|
has_rdoc: true
|
33
37
|
homepage: http://github.com/shreeve/updraft
|
34
38
|
licenses: []
|