Class: Fontisan::Tables::Mvar::ValueRecord

Inherits:
Binary::BaseRecord show all
Defined in:
lib/fontisan/tables/mvar.rb

Overview

Value record structure

Instance Method Summary collapse

Methods inherited from Binary::BaseRecord

#raw_data, read, #valid?

Instance Method Details

#metric_nameSymbol?

Get the metric name for this value tag

Returns:

  • (Symbol, nil)

    Metric name or nil



71
72
73
# File 'lib/fontisan/tables/mvar.rb', line 71

def metric_name
  METRIC_TAGS[value_tag]
end