コード例 #1
0
        public FfntEntry ReadData(Stream inputStream)
        {
            inputStream.Position = Offset;
            FfntEntry data;

            switch (FfntEntrySignature)
            {
            case GlyphMap.GlyphSignature:
                data = GlyphMap.ReadGlyphMap(inputStream);
                break;

            case FontData.FontSignature:
                data = FontData.ReadFontData(inputStream);
                break;

            default:
                data = null;
                break;
            }
            return(data);
        }
コード例 #2
0
 public static FontData ReadFontData(Stream inputStream)
 {
     FontData fontData = new FontData();
     fontData.Read(inputStream);
     return fontData;
 }