// Copyright (c) Six Labors. // Licensed under the Six Labors Split License. using SixLabors.Fonts.Tables.AdvancedTypographic.Variations; namespace SixLabors.Fonts.Tables.Cff { /// /// Represents a parsed CFF2 font with an associated Item Variation Store for font variations. /// internal class Cff2Font : CffFont { /// /// Initializes a new instance of the class. /// /// The PostScript font name. /// The Top DICT data. /// The parsed glyph data array. /// The item variation store for blend interpolation. public Cff2Font(string name, CffTopDictionary metrics, CffGlyphData[] glyphs, ItemVariationStore itemVariationStore) : base(name, metrics, glyphs) => this.ItemVariationStore = itemVariationStore; /// /// Gets or sets the Item Variation Store used for CFF2 blend interpolation. /// public ItemVariationStore ItemVariationStore { get; set; } } }