Beispiel #1
0
        public void Read(TTFReader r)
        {
            r.ReadInt(out this.majorVersion);
            r.ReadInt(out this.minorVersion);
            r.ReadInt(out this.fontNumber);
            r.ReadInt(out this.pitch);
            r.ReadInt(out this.xHeight);
            r.ReadInt(out this.style);
            r.ReadInt(out this.typeFamily);
            r.ReadInt(out this.capHeight);
            r.ReadInt(out this.symbolSet);

            this.typeface            = r.ReadSBytes(16);
            this.characterComplement = r.ReadSBytes(8);
            this.filename            = r.ReadSBytes(6);

            r.ReadInt(out this.strokeWeight);
            r.ReadInt(out this.widthType);
            r.ReadInt(out this.serifStyle);

            // Consume the reserved at the end
            r.ReadUInt8();
        }