Class: Fontisan::Tables::Cff2::Header
- Inherits:
-
Binary::BaseRecord
- Object
- BinData::Record
- Binary::BaseRecord
- Fontisan::Tables::Cff2::Header
- Defined in:
- lib/fontisan/tables/cff2.rb
Overview
CFF2 header structure
Instance Method Summary collapse
-
#valid? ⇒ Boolean
Check if version is valid.
Methods inherited from Binary::BaseRecord
Instance Method Details
#valid? ⇒ Boolean
Check if version is valid
34 35 36 |
# File 'lib/fontisan/tables/cff2.rb', line 34 def valid? major_version == 2 && minor_version.zero? end |