RenderingOptions.AnalyzeFonts
RenderingOptions.AnalyzeFonts property
Replaces fonts as necessary to ensure all characters in the text can be displayed. The font substitution algorithm follows these steps: 1. If the user explicitly sets the DefaultFontName property, check if the specified font can display the desired characters. 2. If no user-defined font is set, search through fonts added via the !:FontRepository.Sources. 3. Analyze the text to identify its alphabet or script and suggest font names accordingly. Attempt to locate and use these fonts from the system. 4. As a fallback, search the system for any font capable of displaying the required characters.
public bool AnalyzeFonts { get; set; }
See Also
- class RenderingOptions
- namespace Aspose.Pdf
- assembly Aspose.PDF