Skip to Content

Function: createFontMapping()

function createFontMapping(userMapping?: FontMapping): FontMapping;

Create a font mapping table by merging defaults with user overrides.

Parameters

userMapping?

FontMapping

Custom PPTX font name to replacement font name entries. User-specified entries take precedence over DEFAULT_FONT_MAPPING.

Returns

FontMapping

A new mutable mapping object.