Aspose::Pdf::RenderingOptions::get_AnalyzeFonts method
Contents
[
Hide
]RenderingOptions::get_AnalyzeFonts method
Replaces fonts as necessary to ensure all characters in the text can be displayed. The font substitution algorithm follows these steps:
bool Aspose::Pdf::RenderingOptions::get_AnalyzeFonts() const
Remarks
- If the user explicitly sets the DefaultFontName property, check if the specified font can display the desired characters.
- If no user-defined font is set, search through fonts added via the FontRepository::Sources.
- Analyze the text to identify its alphabet or script and suggest font names accordingly. Attempt to locate and use these fonts from the system.
- As a fallback, search the system for any font capable of displaying the required characters.
See Also
- Class RenderingOptions
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++