미리 정의 된 글꼴 FallBack 에 대한 설정 Google Noto 글꼴
Contents
[
Hide
]
Aspose.Words 에 대한 미리 정의 된 글꼴 대체 설정을 제공합니다 Google Noto 글꼴 이 무료 글꼴은 SIL 오픈 글꼴 라이센스,에서 다운로드 할 수 있습니다 Google Noto 글꼴 그 FontFallbackSettings 클래스는 LoadNotoFallbackSettings 방법 그것은 사용 미리 정의 된 대체 설정을로드합니다 Google Noto 아래 코드 예제와 같은 글꼴:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |