修改 PDF 表单字段中的字符间距
我正在尝试构建一个网络应用程序来以编程方式填写 PDF 表单。 我将首先在 Adobe Acrobat 中配置表单,然后使用 iText 编写一个 Java 应用程序,以通过来自 Web 的用户输入填写所有表单字段。 我需要填写的基本表格来自美国政府。 他们创建的表单字段具有非常大的字距(字符间距)值,我需要更改。 但是,似乎无法在 Acrobat UI 中修改此值。
有谁知道如何在 Acrobat 8.0 for Windows 中操纵表单字段上的字符间距? 我可以尝试使用 iText 以编程方式操作原始文档的字距调整,但这会更加乏味。
I'm trying to build a web app to programmatically fill out a PDF form. I am going to configure my form first in Adobe Acrobat, then write a Java app with iText to fill out all the form fields via user input from the web. The base form I need to fill out comes from the US government. They created form fields with extremely large kerning (character spacing) values I need to change. However, there appears to be no way to modify this value in the Acrobat UI.
Does anyone know how to manipulate character spacing on form fields in Acrobat 8.0 for Windows? I could try to use iText to programmatically manipulate the kerning of the original document, but this would be much more tedious.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信我已经弄清楚了:字距调整在 acrobat 中称为“梳理”,每个表单字段都已被“梳理”。 奇怪的是,当我查看表单字段的属性时,没有检查此选项,但“梳理”是我试图复制的行为。
I believe I figured this out: kerning is called "combing" in acrobat, and each of the form fields have been "combed". The strange thing is this option isn't checked when I view the properties of the form field, but "combing" is the behaviour I was attempting to replicate.