// Copyright (c) Six Labors. // Licensed under the Six Labors Split License. namespace SixLabors.Fonts.Tables.Cff { /// /// Represents a parsed CFF font containing the top-level dictionary and glyph data. /// internal class CffFont { /// /// Initializes a new instance of the class. /// /// The PostScript font name. /// The Top DICT data containing font-wide properties. /// The parsed glyph data array. public CffFont(string name, CffTopDictionary metrics, CffGlyphData[] glyphs) { this.FontName = name; this.Metrics = metrics; this.Glyphs = glyphs; } /// /// Gets or sets the PostScript font name. /// public string FontName { get; set; } /// /// Gets or sets the Top DICT data containing font-wide metrics and properties. /// public CffTopDictionary Metrics { get; set; } /// /// Gets the array of glyph data parsed from the CharStrings INDEX. /// public CffGlyphData[] Glyphs { get; } } }