The advanced text rendering engine uses alignment zones to establish
the borders of a glyph for pixel snapping.
Alignment zones are critical for high-quality display of fonts.
/// <summary> /// Parses this object out of a stream /// </summary> public void Parse(Stream input) { BinaryReader br = new BinaryReader(input); this._numZoneData = br.ReadByte(); ZoneData temp = null; for (int i = 0; i < this._numZoneData; i++) { temp = new ZoneData(this._SwfVersion); temp.Parse(input); this._zoneData.Add(temp); } BitStream bits = new BitStream(input); bits.GetBits(6); //reserved this._zoneMaskY = ((0 != bits.GetBits(1)) ? true : false); this._zoneMaskX = ((0 != bits.GetBits(1)) ? true : false); }