Exemplo n.º 1
0
        public static GlyphMap ReadGlyphMap(Stream inputStream)
        {
            GlyphMap glyphMap = new GlyphMap();

            glyphMap.Read(inputStream);
            return(glyphMap);
        }
Exemplo n.º 2
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);
        }