class HexaPDF::Font::CMap::Parser
def parse_dict_mapping(cmap, name, value)
Parses a single mapping of a dictionary pair. The +name+ and +value+ of the mapping have
def parse_dict_mapping(cmap, name, value) case name when :Registry cmap.registry = value.force_encoding(::Encoding::UTF_8) if value.kind_of?(String) when :Ordering cmap.ordering = value.force_encoding(::Encoding::UTF_8) if value.kind_of?(String) when :Supplement cmap.supplement = value if value.kind_of?(Integer) when :CMapName cmap.name = value.to_s.dup.force_encoding(::Encoding::UTF_8) if value.kind_of?(Symbol) when :WMode cmap.wmode = value end end