Class: Fontisan::Tables::Cff2::Cff2Header
- Inherits:
-
Binary::BaseRecord
- Object
- BinData::Record
- Binary::BaseRecord
- Fontisan::Tables::Cff2::Cff2Header
- 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
46 47 48 |
# File 'lib/fontisan/tables/cff2.rb', line 46 def valid? major_version == 2 && minor_version.zero? end |