new (PDF::Reader::CMap)

    # File lib/pdf/reader/cmap.rb, line 29
        def initialize(data)
          @map = {}
          in_char_mode = false
          in_range_mode = false

          data.each_line do |l|
            if l.include?("beginbfchar")
              in_char_mode = true
            elsif l.include?("endbfchar")
              in_char_mode = false
            elsif l.include?("beginbfrange")
              in_range_mode = true
            elsif l.include?("endbfrange")
              in_range_mode = false
            end

            if in_char_mode
              process_bfchar_line(l)
            elsif in_range_mode
              process_bfrange_line(l)
            end
          end
        end