Hi @pubpub-zz, absolutely appreciate your effort in fixing py-pdfs form capabilities. I tested 3.11.1 and replaced pdftk with pypdf in our app. Its already looking quite good but there are still some appearance generation issues:
- Text is always aligned left, even if the field is set to i.e. center (unless you click in the field)
- Fields with font size set to auto are not showing at all (unless you click in the field)
- Unicode characters such as the german Ü are not encoded properly (looking correct when clicking into the field). Not sure if it helps, but in our current code we create the fdf with this (and then hand it to pdftk) and have no encoding issues: https://github.com/ccnmtl/fdfgen/tree/master/fdfgen
Tested with current Acrobat Reader and Sumatra, happens on both.
Relates to:
#1306
#355