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); }
public static FontData ReadFontData(Stream inputStream) { FontData fontData = new FontData(); fontData.Read(inputStream); return fontData; }