Fill PDF AcroForms with PHP


Fill in existing PDF forms with PHP

How to use unicode values in form fields

An easy way to use unicode values is to instruct the reader application to re-render all field appearances at viewing time. This is done by calling the setNeedAppearances()-method of the FormFiller instance.

Common applications like Adobe Reader or Acrobat will automatically create the field appearance then.

It is also possible to provide an external TrueType font file which will be used for the rendering process (the font needs to included the glyphs for the used characters).

When using an external TrueType fonts notice that SetaPDF currently can only handle left-to-right languages and languages which do not need further (pre-)processing (such as Arabic, Hebrew...).

(You can view the original PDF document here)