I want To replace a font in a Word Document. The font is not installed on my computer and I want To replace it with an installed font.
version:aspose-words-25.9-jdk17
FontSettings fontSettings = new FontSettings();
fon…...ings fontSettings, Document doc, String sourceFont, String targetFont)...Set<String> usedFonts = getUsedFonts(doc); if (usedFonts.contains(sourceFont))...