parseFvarAxis function
dynamic
parseFvarAxis(
- dynamic data,
- dynamic start,
- dynamic names
Implementation
parseFvarAxis(data, start, names) {
var axis = {};
var p = new Parser(data, start);
axis["tag"] = p.parseTag();
axis["minValue"] = p.parseFixed();
axis["defaultValue"] = p.parseFixed();
axis["maxValue"] = p.parseFixed();
p.skip('uShort', 1); // reserved for flags; no values defined
axis["name"] = names[p.parseUShort()] ?? {};
return axis;
}