Sha256: 38a926ffa90c68131b539923c8830cbe53f26602f92722b9fd63fc9caa2b5c98
Contents?: true
Size: 588 Bytes
Versions: 1
Compression:
Stored size: 588 Bytes
Contents
# frozen_string_literal: true module TTFunk class Table class Cff < TTFunk::Table # CFF Subroutine index. class SubrIndex < TTFunk::Table::Cff::Index # Subroutine index biase. For correct subroutine selection the # calculated bias must be added to the subroutine number operand before # accessing the index. # @return [Integer] def bias if items.length < 1240 107 elsif items.length < 33_900 1131 else 32_768 end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ttfunk-1.8.0 | lib/ttfunk/table/cff/subr_index.rb |