79281050

Date: 2024-12-14 17:07:10
Score: 2
Natty:
Report link

Thanks for your answers; in the end it works with:

string fontPath = System.IO.Path.Combine(cale, "segoeui.ttf");
BaseFont unicodeFont = BaseFont.CreateFont(fontPath, BaseFont.IDENTITY_H, BaseFont.EMBEDDED); .... pdfStamper.AcroFields.SetFieldProperty(camp, "textfont", unicodeFont, null);

In PDF, the font was already Segoe UI. And for previous results, I was using Adobe Reader, Foxit Pdf Reader and Firefox browser.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Low reputation (1):
Posted by: Adrian Zagar