FontNameSubstitutionEnabled

WordProcessingLoadOptions.FontNameSubstitutionEnabled property

Automatically substitutes missing fonts based on the font name. Default: false.

public bool FontNameSubstitutionEnabled { get; set; }

Remarks

Note: The order of substitution is as follows:

  1. Automatically substitute missing fonts based on font name (if enabled).

  2. Automatically substitute missing fonts based on FontConfig (if enabled).

  3. Substitute missing fonts based on FontSubstitutes (if set).

  4. Automatically substitute missing fonts based on FontInfo (if enabled).

  5. Substitute missing fonts based on DefaultFont (if set).

See Also