// Copyright (c) Six Labors. // Licensed under the Six Labors Split License. using SixLabors.Fonts.Tables.AdvancedTypographic.Variations; namespace SixLabors.Fonts.Tables.Cff { /// /// Defines a common interface for CFF1 and CFF2 tables. /// internal interface ICffTable { /// /// Gets the number of glyphs in the table. /// public int GlyphCount { get; } /// /// Gets the item variation store. /// /// The item variation store. If CFF1, there is no variations and null will be returned instead. public ItemVariationStore? ItemVariationStore { get; } /// /// Gets the glyph data at the given index. /// /// The glyph index. /// The . public CffGlyphData GetGlyph(int index); } }