• Recursively replaces the characters in direct children and removes their font-family style property if a font mapping for the font-family exists. The documentFragment given as the first parameter of this function will be altered directly.

    Parameters

    • documentFragment: default | default

      the document fragment

    • Optional parentFontMapping: FontMapping

      parent font mapping to be respected in calculation of the applied font mapping.

    Returns void