Class: AFM::Font

Inherits:
Object
  • Object
show all
Defined in:
lib/pdf/reader/width_calculator/built_in.rb

Overview

this is a monkey patch for the AFM gem. hopefully my patch will be accepted upstream and I can drop this

Instance Method Summary collapse

Instance Method Details

#metrics_for_name(name) ⇒ Object



10
11
12
# File 'lib/pdf/reader/width_calculator/built_in.rb', line 10

def metrics_for_name(name)
  @char_metrics[name.to_s]
end