class HexaPDF::Font::Encoding::ZapfDingbatsEncoding
The built-in encoding of the ZapfDingbats font.
See: PDF1.7 sD.6
Public Instance Methods
unicode(code)
click to toggle source
The ZapfDingbats font uses a special glyph list, so we need to specialize this method.
See: Encoding#unicode
# File lib/hexapdf/font/encoding/zapf_dingbats_encoding.rb, line 244 def unicode(code) @unicode_cache[code] ||= GlyphList.name_to_unicode(name(code), zapf_dingbats: true) end