parseValueRecordList method

dynamic parseValueRecordList()

Parse a list of GPOS valueRecords https://docs.microsoft.com/en-us/typography/opentype/spec/gpos#value-record valueFormat and valueCount are read from the stream.

Implementation

parseValueRecordList() {
    var valueFormat = parseUShort();
    var valueCount = parseUShort();
    var values = List<Map?>.filled(valueCount, null);
    for (var i = 0; i < valueCount; i++) {
        values[i] = this.parseValueRecord(valueFormat);
    }
    return values;
}