Пример #1
0
 public void Write(TrueTypeFontWriter writer)
 {
     Debug.Assert(this.Tag.Length == 4);
     Debug.Assert(this.Offset != 0);
     Debug.Assert(this.Length != 0);
     writer.WriteTag(this.Tag);
     writer.WriteUInt(this.CheckSum);
     writer.WriteInt(this.Offset);
     writer.WriteUInt((uint)this.Length);
 }
Пример #2
0
 /// <summary>
 /// Writes the offset table.
 /// </summary>
 public void Write(TrueTypeFontWriter writer)
 {
     writer.WriteUInt(Version);
     writer.WriteShort(TableCount);
     writer.WriteUShort(SearchRange);
     writer.WriteUShort(EntrySelector);
     writer.WriteUShort(RangeShift);
 }
Пример #3
0
 /// <summary>
 /// Writes the offset table.
 /// </summary>
 public void Write(TrueTypeFontWriter writer)
 {
   writer.WriteUInt(Version);
   writer.WriteShort(TableCount);
   writer.WriteUShort(SearchRange);
   writer.WriteUShort(EntrySelector);
   writer.WriteUShort(RangeShift);
 }