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

Free Support Forum - aspose.com

Missing font error after doing a font replacement in pdf

After doing replacement on the 4th page like this:

textFragment.setText(replacementValue);

Document opened in Acrobat Reader with exception about missing font “Can not find or create font ‘RORTWP+Arial’”.

Origin file: medical_history.pdf
File after replacement: result_medical_history_1427.pdf
Exception in Acrobat Reader: missing_font.jpg

missing_font.jpg (40.6 KB)
result_medical_history_1427.pdf (219.6 KB)
medical_history.pdf (220.3 KB)

@valerijaslu

I request you to share complete code as what text you are replacing, so that we may try to reproduce the same on our end.