Exemplo n.º 1
0
 public static SignatureRecord[] ReadArray(BinaryReaderFont reader, int count)
 {
     SignatureRecord[] array = new SignatureRecord[count];
     for (int i = 0; i < count; i++)
     {
         array[i] = Read(reader);
     }
     return(array);
 }
Exemplo n.º 2
0
        public static DSIGTable Read(BinaryReaderFont reader)
        {
            DSIGTable value = new DSIGTable {
                version       = reader.ReadUInt32(),
                numSignatures = reader.ReadUInt16(),
                flags         = reader.ReadUInt16()
            };

            value.signatureRecords = SignatureRecord.ReadArray(
                reader, value.numSignatures
                );
            return(value);
        }