示例#1
0
        /***************
         * constructors
         */
        /// <summary>Construct empty object except for <c>TableManager</c>
        /// </summary>
        public OTFile()
        {
            m_TableManager = new TableManager(this);

            m_FontFileType = FontFileType.INVALID;
            m_nFonts = 0;
            m_ttch = null;
        }
示例#2
0
 /// <summary>Close filestream and set type to file type to 
 /// invalid.</summary>
 public void close()
 {
     if (m_fs != null)
     {
         m_fs.Close();
         m_fs = null;
     }
     m_TableManager = new TableManager(this); // JJF: Why?
     m_FontFileType = FontFileType.INVALID;
     m_ttch = null;
     m_nFonts = 0;
 }