Sha256: 7bb907f751c5039e4ae42695299a1632f4b22ad1d645c414e525959eafb41f35

Contents?: true

Size: 334 Bytes

Versions: 5

Compression:

Stored size: 334 Bytes

Contents

# frozen_string_literal: true

module TTFunk
  class Table
    class Cff < TTFunk::Table
      class SubrIndex < TTFunk::Table::Cff::Index
        def bias
          if count < 1240
            107
          elsif count < 33_900
            1131
          else
            32_768
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ttfunk-1.7.0 lib/ttfunk/table/cff/subr_index.rb
ttfunk-1.6.2.1 lib/ttfunk/table/cff/subr_index.rb
ttfunk-1.6.2 lib/ttfunk/table/cff/subr_index.rb
ttfunk-1.6.1 lib/ttfunk/table/cff/subr_index.rb
ttfunk-1.6.0 lib/ttfunk/table/cff/subr_index.rb