public void Read(OpenTypeFontface fontData)
 {
     Tag      = fontData.ReadTag();
     CheckSum = fontData.ReadULong();
     Offset   = fontData.ReadLong();
     Length   = (int)fontData.ReadULong();
 }
        /// <summary>
        /// Creates and reads a TableDirectoryEntry from the font image.
        /// </summary>
        public static TableDirectoryEntry ReadFrom(OpenTypeFontface fontData)
        {
            TableDirectoryEntry entry = new TableDirectoryEntry
            {
                Tag      = fontData.ReadTag(),
                CheckSum = fontData.ReadULong(),
                Offset   = fontData.ReadLong(),
                Length   = (int)fontData.ReadULong()
            };

            return(entry);
        }