Skip to content

ThemeTextFont

type ThemeTextFont = {
charset?: number;
panose?: string;
pitchFamily?: number;
typeface: string;
};
PropertyTypeDescription
charset?numberCharset byte value. Specifies the character set supported by the font. Used in font substitution logic to locate an appropriate substitute font when this font isn’t available.
panose?stringPANOSE 1.0 classification as hex. Used to guide selection of a similar alternate font if the chosen font is unavailable. See https://en.wikipedia.org/wiki/PANOSE
pitchFamily?numberSpecifies the font pitch.
typefacestringTypeface name, e.g. "Calibri". Specifies the name of the font to be used. If this font isn’t available, font substitution should be used in order to select an alternate font.