public GMFont(ProjectReader reader) { Name = reader.ReadString(); LastChanged = reader.ReadDate(); Version = reader.ReadInt32(); if (Version != 800) { throw new InvalidDataException("This library only supports GM8 files."); } FontName = reader.ReadString(); Size = reader.ReadInt32(); Bold = reader.ReadBoolean(); Italic = reader.ReadBoolean(); RangeMin = reader.ReadInt16(); GDICharset = reader.ReadByte(); AA = reader.ReadByte(); RangeMax = reader.ReadInt32(); }