Method: PDF::Reader::GlyphHash#initialize

Defined in:
lib/pdf/reader/glyph_hash.rb

#initializeGlyphHash

:nodoc:



35
36
37
38
39
40
# File 'lib/pdf/reader/glyph_hash.rb', line 35

def initialize
  # only parse the glyph list once, and cache the results (for performance)
  adobe = @@cache ||= load_adobe_glyph_mapping
  @by_name      = adobe.first
  @by_codepoint = adobe.last
end