AutoFontSubstitution

WordProcessingLoadOptions.AutoFontSubstitution property

如果禁用 AutoFontSubstitution,GroupDocs.Conversion 将使用 DefaultFont 替换缺失的字体。如果启用了 AutoFontSubstitution, GroupDocs.Conversion 会评估 FontInfo 中的所有相关字段(Panose、Sig 等)以查找缺失字体,并在可用字体源中找到最接近的匹配项。 请注意,字体替换机制将在以下情况下覆盖 DefaultFont缺失字体的 FontInfo 在文档中可用。默认值为 True.

public bool AutoFontSubstitution { get; set; }

也可以看看