Missing characters in filled pdf using PDFTk with encoding UTF-8

喜夏-厌秋 提交于 2019-12-06 05:55:20
Maximilian Schmidt

you need to run pdftk with need_appearances as an argument.

kudos to the guys from this issue on github.

I had similar issue. Solved it with utf8_decode function. eg utf8_decode('Łukasz')

I could not find how to change font, so my solution - use itext, https://itextpdf.com/en/resources/examples/itext-5/filling-out-forms

wrote for my project https://github.com/dddeeemmmooonnn/pdf_form_filler

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!