FamilyInfo
type FamilyInfo = {
name: string;
fonts: { font: FontRef; styleValues: Partial<StyleValues> }[];
styleValues: Partial<StyleValues>;
axisInstanceValues: Partial<Record<string, number[]>>;
axes: AxisInfo[];
features: FeatureInfo[];
namedSubsets: SubsetName[];
}
Index
Properties
Properties
name
name: string
Family name, shared amongst all fonts contained within.
fonts
Type Declaration
font: FontRefstyleValues: Partial<StyleValues>The font's unique style values--those that are specific to the font but not the family. For instance, a font family with variable weight but separate upright and italic faces would have just the italic and slant style values here.
styleValues 
Style values shared among all fonts in the family.
axisInstanceValues  
If this family has named instances, this contains every axis' instance values across all fonts in the family.
axes
Variation axes for all fonts in the family. Does not include weight, width, italic, or slant.
features
Feature tags for all fonts in the family.
namedSubsets 
Named subsets for which any fonts in the family have coverage.
Information about a font family. Style values are split between those that are consistent within the family and those that vary between fonts. Variation axes, feature tags, and character subsets are unified from all fonts in the family.