Sha256: d3ec73dc4851fd6548ef015175c8d74e991f3214b3db0b49d8d6c5412324feaa
Contents?: true
Size: 316 Bytes
Versions: 5
Compression:
Stored size: 316 Bytes
Contents
# frozen_string_literal: true module TTFunk class Table class Post module Format40 def glyph_for(code) @map[code] || 0xFFFF end private def parse_format! @map = read(file.maximum_profile.num_glyphs * 2, 'N*') end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems