Exemple #1
0
            List <ValueRecord> valueRecords;    // Array of ValueRecords — positioning values applied to glyphs.

            public void Read(TTFReader r, bool readFormat)
            {
                if (readFormat == true)
                {
                    r.ReadInt(out this.posFormat);
                }

                r.ReadInt(out this.coverageOffset);
                r.ReadInt(out this.valueFormat);
                r.ReadInt(out this.valueCount);

                this.valueRecords = new List <ValueRecord>();
                for (int i = 0; i < this.valueCount; ++i)
                {
                    ValueRecord vr = new ValueRecord();
                    vr.Read(r);
                    this.valueRecords.Add(vr);
                }
            }