Fonte predefinida FallBack definições para Fontes Google Noto

Contents
[ ]

Aspose.Words fornece configurações de fallback de fonte predefinidas para Google Noto fontes. Estas são fontes gratuitas licenciadas sob SIL Open Font License, que podem ser descarregadas a partir de Google Noto Fonts. A classe FontFallbackSettings fornece um método LoadNotoFallbackSettings. Ele carrega configurações de fallback predefinidas, que usam fontes Google Noto conforme mostrado no exemplo de código abaixo:

For complete examples and data files, please go to https://github.com/aspose-words/Aspose.Words-for-C
// The path to the documents directory.
System::SharedPtr<Document> doc = System::MakeObject<Document>(inputDataDir + u"Rendering.doc");
System::SharedPtr<FontSettings> fontSettings = System::MakeObject<FontSettings>();
fontSettings->get_FallbackSettings()->LoadNotoFallbackSettings();
// Set font settings
doc->set_FontSettings(fontSettings);
System::String outputPath = outputDataDir + u"SetFontSettings.SetPredefinedFontFallbackSettings.pdf";
doc->Save(outputPath);