I tried to fill text fields with some Japanese characters using Form.FillField() like this:
Form form = new PdfForm("template.pdf", "work.pdf");
form.FillField("UserNum", "(some Japanese text)");
form.FillField("UserName", "(some Japanese text)");
FormEditor formEditor = new FormEditor("work.pdf", "output.pdf");
I intended to align text fields to the left in this code snippet, but in the output.pdf it seems to be added some spaces (hidden characters?) before text data in every text fields. When I click text fields, this weird spaces disapper. This symptom does not happen if I edit template.pdf directly.
Please help to figure out how to avoid this extra spaces. I am using pdf.kit 184.108.40.206 on XP SP3 Japanese culture.