We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to update code that used FontSettings.setFontSubstitutes

Hello,

We tried to update the Aspose (pdf for java) version to the newest one, and our previous code does not compile due to the removed method FontSettings.setFontSubstitutes. The method seems to be removed from the 21.9 version but we cannot find documentation about the update.

Could you please advise the correct way to update the code that used FontSettings.setFontSubstitutes?

Thank you

Arjana Bivainiene

@arjana

Your query is related to Aspose.Words for Java. So, we have moved this forum thread to Aspose.Words’ forum where you will be guided appropriate.

@arjana In the newer versions you should use FontSubstitutionSettings to specify font substitution mechanism settings.