Class: Prawn::FontMetricCache::CacheEntry

Inherits:
Object
  • Object
show all
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

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, options, size
  font = font.hash
  super
end