// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
using System.Collections.Generic;
namespace SixLabors.Fonts.Tables.Cff {
///
/// Contains CIDFont-specific information from the Top DICT of a CFF CIDFont.
///
///
internal class CidFontInfo
{
///
/// Gets or sets the CIDFont Registry string from the ROS operator.
///
public string? ROS_Register { get; set; }
///
/// Gets or sets the CIDFont Ordering string from the ROS operator.
///
public string? ROS_Ordering { get; set; }
///
/// Gets or sets the CIDFont Supplement value from the ROS operator.
///
public string? ROS_Supplement { get; set; }
///
/// Gets or sets the CIDFont version number.
///
public double CIDFontVersion { get; set; }
///
/// Gets or sets the number of CIDs in the font (CIDCount operator).
///
public int CIDFountCount { get; set; }
///
/// Gets or sets the offset to the FDSelect structure that maps glyphs to Font DICTs.
///
public int FDSelect { get; set; }
///
/// Gets or sets the offset to the Font DICT (FDArray) INDEX.
///
public int FDArray { get; set; }
///
/// Gets or sets the FDSelect format (0, 3, or 4).
///
public int FdSelectFormat { get; set; }
///
/// Gets or sets the parsed FDSelect ranges for format 3/4.
///
public FDRange[] FdRanges { get; set; } = [];
///
/// Gets or sets the FDSelect map for format 0, mapping glyph index to Font DICT index.
///
public Dictionary FdSelectMap { get; set; } = [];
}
}