Function: getMappedFont()
function getMappedFont(fontFamily: string | null | undefined, mapping: FontMapping): string | null;Look up the replacement font for a PPTX font family.
Matching is case-insensitive and normalizes full-width alphanumeric characters used by some Japanese Office font names.
Parameters
fontFamily
string | null | undefined
PPTX font family name to resolve.
mapping
Mapping table, usually from createFontMapping.
Returns
string | null
The replacement font name, or null when no mapping exists.