Aspose::Words::Loading::HtmlLoadOptions::get_SupportFontFaceRules method
Contents
[
Hide
]HtmlLoadOptions::get_SupportFontFaceRules method
Gets or sets a value indicating whether to support @font-face rules and whether to load declared fonts. Default value is false.
bool Aspose::Words::Loading::HtmlLoadOptions::get_SupportFontFaceRules() const
Remarks
If this option is enabled, fonts declared in @font-face rules are loaded and embedded into the resulting document’s font definitions (see FontInfos). This makes the loaded fonts available for rendering but doesn’t automatically enable embedding of the fonts upon saving. In order to save the document with loaded fonts, the EmbedTrueTypeFonts property of the FontInfos collection should be set to true.
Supported font formats are TTF, EOT, and WOFF.
@font-face rules are not supported when loading SVG images.
See Also
- Class HtmlLoadOptions
- Namespace Aspose::Words::Loading
- Library Aspose.Words for C++