Class: Prawn::SVG::TTC
- Inherits:
-
Object
- Object
- Prawn::SVG::TTC
- Defined in:
- lib/prawn/svg/ttc.rb
Constant Summary collapse
- TTC_TAG =
'ttcf'.freeze
Instance Attribute Summary collapse
-
#fonts ⇒ Object
readonly
Returns the value of attribute fonts.
Instance Method Summary collapse
-
#initialize(filename) ⇒ TTC
constructor
A new instance of TTC.
Constructor Details
#initialize(filename) ⇒ TTC
Returns a new instance of TTC.
6 7 8 9 |
# File 'lib/prawn/svg/ttc.rb', line 6 def initialize(filename) @fonts = [] load_data_from_file(filename) end |
Instance Attribute Details
#fonts ⇒ Object (readonly)
Returns the value of attribute fonts.
4 5 6 |
# File 'lib/prawn/svg/ttc.rb', line 4 def fonts @fonts end |