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