OTFontFile.Table_PCLT.GetTypeface C# (CSharp) Method

GetTypeface() public method

public GetTypeface ( ) : string
return string
        public string GetTypeface()
        {
            char[] charBuf = new char[16];

            ASCIIEncoding ae = new ASCIIEncoding();
            Decoder d = ae.GetDecoder();

            d.GetChars(Typeface, 0, 16, charBuf, 0);

            return new string(charBuf);
        }