Module: FontDef

Defined in:
lib/verdana.rb,
lib/verdanab.rb

Overview

Verdana-Bold font definition

Class Method Summary collapse

Class Method Details

.cwObject



23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/verdana.rb', line 23

def FontDef.cw
    [
     1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
     1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
     1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
     1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000,
      351,  393,  458,  818,  635, 1076,  726,  268,
      454,  454,  635,  818,  363,  454,  363,  454,
      635,  635,  635,  635,  635,  635,  635,  635,
      635,  635,  454,  454,  818,  818,  818,  545,
     1000,  683,  685,  698,  770,  632,  574,  775,
      751,  420,  454,  692,  556,  842,  748,  787,
      603,  787,  695,  683,  616,  731,  683,  988,
      685,  615,  685,  454,  454,  454,  818,  635,
      635,  600,  623,  520,  623,  595,  351,  623,
      632,  274,  344,  591,  274,  972,  632,  606,
      623,  623,  426,  520,  394,  632,  591,  818,
      591,  591,  525,  634,  454,  634,  818, 1000,
      635, 1000,  268,  635,  458,  818,  635,  635,
      635, 1521,  683,  454, 1069, 1000,  685, 1000,
     1000,  268,  268,  458,  458,  545,  635, 1000,
      635,  976,  520,  454,  981, 1000,  525,  615,
      351,  393,  635,  635,  635,  635,  454,  635,
      635, 1000,  545,  644,  818,  454, 1000,  635,
      541,  818,  541,  541,  635,  639,  635,  363,
      635,  541,  545,  644, 1000, 1000, 1000,  545,
      683,  683,  683,  683,  683,  683,  984,  698,
      632,  632,  632,  632,  420,  420,  420,  420,
      775,  748,  787,  787,  787,  787,  787,  818,
      787,  731,  731,  731,  731,  615,  605,  620,
      600,  600,  600,  600,  600,  600,  955,  520,
      595,  595,  595,  595,  274,  274,  274,  274,
      611,  632,  606,  606,  606,  606,  606,  818,
      606,  632,  632,  632,  632,  591,  623,  591
    ]
end

.descObject



10
11
12
13
14
15
16
# File 'lib/verdana.rb', line 10

def FontDef.desc
    {
    'Ascent' => '1005', 'Descent' => '-209', 'CapHeight' => '727',
    'Flags' => '32', 'FontBBox' => '[-49 -206 1446 1000]',
    'ItalicAngle' => '0.0', 'StemV' => '70', 'MissingWidth' => '1000'
    }
end

.diffObject



62
63
64
# File 'lib/verdana.rb', line 62

def FontDef.diff
    nil
end

.encObject



59
60
61
# File 'lib/verdana.rb', line 59

def FontDef.enc
    'cp1252'
end

.fileObject



65
66
67
# File 'lib/verdana.rb', line 65

def FontDef.file
    'verdana.z'
end

.nameObject



7
8
9
# File 'lib/verdana.rb', line 7

def FontDef.name
    'Verdana'
end

.originalsizeObject



68
69
70
# File 'lib/verdana.rb', line 68

def FontDef.originalsize
    '171792'
end

.typeObject



4
5
6
# File 'lib/verdana.rb', line 4

def FontDef.type
    'TrueType'
end

.upObject



17
18
19
# File 'lib/verdana.rb', line 17

def FontDef.up
    -87
end

.utObject



20
21
22
# File 'lib/verdana.rb', line 20

def FontDef.ut
    58
end