class TTFunk::Table::Cff::SubrIndex
CFF Subroutine index.
Public Instance Methods
Source
# File lib/ttfunk/table/cff/subr_index.rb, line 12 def bias if items.length < 1240 107 elsif items.length < 33_900 1131 else 32_768 end end
Subroutine index biase. For correct subroutine selection the calculated bias must be added to the subroutine number operand before accessing the index. @return [Integer]