Replacing one with 2 fonts

Hi Team,

I have a issue where our company is going to remove 1 dont permanently from our server and so we are forced to replace that font with another Font.

The Issue here is we van replace 1) FontA with FontB 2) FontAItalic with FontBItalic 3) FonatABold with FontBBold, But the issue is when we have FontABoldItalic where we cannot replace it with FontBBoldItalic directly coz we dont have such font present . we have only FontB, FontBBold, FontBItalic .

So how can it deal with this situation using Font Sublstitution ??

@Gayatri_Naik

Can you please provide more details about the specific Aspose product you are using for font substitution and any relevant code snippets?

Using Aspose.PDF 24.5.0 version

Currently using

FontRepository.Substitutions.Add(new SimpleFontSubstitution(“UBSHeadline-Bold”, “Frutiger45LightBold”));
FontRepository.Substitutions.Add(new SimpleFontSubstitution(“UBSHeadline-BoldItalic”, “Frutiger45LightItalic”));
FontRepository.Substitutions.Add(new SimpleFontSubstitution(“UBSHeadline-Italic”, “Frutiger45LightItalic”));

But I want to replace FontRepository.Substitutions.Add(new SimpleFontSubstitution(“UBSHeadline-BoldItalic”, ?? )); With Frutiger Bold + FrutigerItalic font

@Gayatri_Naik
Could you please provide the document so we can test this scenario in our environment?

Its in general question , How the document can help you ??

@Gayatri_Naik
Currently I have no direct anwser
With specific document I can check situation you describing, contact developers with specific questions about how to replace font in this case and if there’s no currently solution for this kind of scenario create a task for development team so this issue could be fixed/implemented in future