Class: Prawn::FontMetricCache::CacheEntry
- Defined in:
- lib/asciidoctor/pdf/ext/prawn/font_metric_cache.rb
Overview
TODO: remove when upgrading to prawn-2.5.0
Instance Method Summary collapse
-
#initialize(font, options, size) ⇒ CacheEntry
constructor
A new instance of CacheEntry.
Constructor Details
#initialize(font, options, size) ⇒ CacheEntry
Returns a new instance of CacheEntry.
5 6 7 8 |
# File 'lib/asciidoctor/pdf/ext/prawn/font_metric_cache.rb', line 5 def initialize font, , size font = font.hash super end |