Class: Dvi::Tfm::Data
- Inherits:
-
Object
- Object
- Dvi::Tfm::Data
- Defined in:
- lib/dvi/tfm.rb
Instance Attribute Summary collapse
-
#char ⇒ Object
readonly
Returns the value of attribute char.
-
#design_size ⇒ Object
readonly
Returns the value of attribute design_size.
-
#extraspace ⇒ Object
readonly
Returns the value of attribute extraspace.
-
#font_coding_scheme ⇒ Object
readonly
Returns the value of attribute font_coding_scheme.
-
#font_identifier ⇒ Object
readonly
Returns the value of attribute font_identifier.
-
#param ⇒ Object
readonly
Returns the value of attribute param.
-
#quad ⇒ Object
readonly
Returns the value of attribute quad.
-
#shrink ⇒ Object
readonly
Returns the value of attribute shrink.
-
#slant ⇒ Object
readonly
Returns the value of attribute slant.
-
#space ⇒ Object
readonly
Returns the value of attribute space.
-
#strech ⇒ Object
readonly
Returns the value of attribute strech.
-
#xheight ⇒ Object
readonly
Returns the value of attribute xheight.
Instance Method Summary collapse
-
#initialize(design_size, font_coding_scheme, font_identifier, char, param) ⇒ Data
constructor
A new instance of Data.
Constructor Details
#initialize(design_size, font_coding_scheme, font_identifier, char, param) ⇒ Data
Returns a new instance of Data.
42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/dvi/tfm.rb', line 42 def initialize(design_size, font_coding_scheme, font_identifier, char, param) @design_size = design_size @font_coding_scheme = font_coding_scheme @font_identifier = font_identifier @char = char @param = param @slant = @param[1] @space = @param[2] @stretch = @param[3] @shrink = @param[4] @xheight = @param[5] @quad = @param[6] @extraspace = @param[7] end |
Instance Attribute Details
#char ⇒ Object (readonly)
Returns the value of attribute char.
40 41 42 |
# File 'lib/dvi/tfm.rb', line 40 def char @char end |
#design_size ⇒ Object (readonly)
Returns the value of attribute design_size.
39 40 41 |
# File 'lib/dvi/tfm.rb', line 39 def design_size @design_size end |
#extraspace ⇒ Object (readonly)
Returns the value of attribute extraspace.
41 42 43 |
# File 'lib/dvi/tfm.rb', line 41 def extraspace @extraspace end |
#font_coding_scheme ⇒ Object (readonly)
Returns the value of attribute font_coding_scheme.
39 40 41 |
# File 'lib/dvi/tfm.rb', line 39 def font_coding_scheme @font_coding_scheme end |
#font_identifier ⇒ Object (readonly)
Returns the value of attribute font_identifier.
39 40 41 |
# File 'lib/dvi/tfm.rb', line 39 def font_identifier @font_identifier end |
#param ⇒ Object (readonly)
Returns the value of attribute param.
40 41 42 |
# File 'lib/dvi/tfm.rb', line 40 def param @param end |
#quad ⇒ Object (readonly)
Returns the value of attribute quad.
41 42 43 |
# File 'lib/dvi/tfm.rb', line 41 def quad @quad end |
#shrink ⇒ Object (readonly)
Returns the value of attribute shrink.
41 42 43 |
# File 'lib/dvi/tfm.rb', line 41 def shrink @shrink end |
#slant ⇒ Object (readonly)
Returns the value of attribute slant.
41 42 43 |
# File 'lib/dvi/tfm.rb', line 41 def slant @slant end |
#space ⇒ Object (readonly)
Returns the value of attribute space.
41 42 43 |
# File 'lib/dvi/tfm.rb', line 41 def space @space end |
#strech ⇒ Object (readonly)
Returns the value of attribute strech.
41 42 43 |
# File 'lib/dvi/tfm.rb', line 41 def strech @strech end |
#xheight ⇒ Object (readonly)
Returns the value of attribute xheight.
41 42 43 |
# File 'lib/dvi/tfm.rb', line 41 def xheight @xheight end |