PDF Replace Text Font Not Found Issue

Hello,

I am using Aspose.PDF v22.3.0.0

I am trying to search and replace text inside a PDF document.
In the same document, some text is replaced correctly, but for some, I am getting the following error
when I open the final PDF document in pdf viewer.

“Cannot find and create font ‘JHDNPA+TheBlacklight’. Some characters may not display or print properly”

I have attached the VS2019 project and the sample pdf files.

pdf font not found issue.zip (203.8 KB)

@tony.woods.bell.ca

Please make sure that the fonts used in your PDF file are installed on the system where you are replacing text in PDF file.

We have tested the scenario using the latest version of Aspose.PDF for .NET 22.3 and have not faced the shared issue.

hi Tahir,

I do have the “TheBlacklight” font installed on my system,
but I am not sure what is “JHDNPA”?

Also as you can see from the attached final pdf, I am getting those black blobs on my computer.
Is there something else I can check?

@tony.woods.bell.ca

We have logged this problem in our issue tracking system as PDFNET-51633. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi Tahir

please run the application and then check the generated final pdf file.
make sure you scroll through all the pages.
You will find from page 3 onwards the text is replaced by black dots.

@tony.woods.bell.ca

We reproduced the same issue and then logged it as PDFNET-51633. We will inform you once there is any news available on it.

hello Tahir,

Any update on this issue?
Or is there any work arounds I can apply?

@tony.woods.bell.ca

Your issue is pending for analysis and is in the queue at the moment. Once we complete the analysis of your issue, we will then be able to provide you an estimate.