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

Free Support Forum - aspose.com

PdfContentEditor textreplace - different behaviour on different systems

Hello,

I am replacing some text in PDF file using PdfContentEditor. This is where I copied example from:

http://www.aspose.com/docs/display/pdfnet/Replace+Text+in+an+Existing+PDF+File+(Facades)

Problem is, that on some other computer, some (not all! ) replaced text has different font. Operation system is the same (Windows 7), I checked installed .NET libraries - all the same as on my and colleague's computer, where it works as it should.

I have no idea from where the difference could come? Thank you for your help.


PS. I use C# .NET


Hi Miha,


Thanks for your inquiry. Please note during text replacement API initially checks text font on host system and if it is not found then uses system default font. Can you please double check font availability on the host system, causing the problem? If issue persist then please share your sample PDF document here, we will look into it and guide you accordingly.

We are sorry for the inconvenience caused.

Best Regards,