修改 PDF 表单字段中的字符间距

发布于 2024-07-26 22:29:45 字数 671 浏览 4 评论 0原文

这个问题最初是由 esilver 发布的,但他似乎回答了自己的问题,这没有任何意义。 在他的帖子中,他提到了“梳理”,但我没有找到任何提及。

这是他的问题,我的轻微修改在底部:

esilver 的问题:

“我正在尝试构建一个 Web 应用程序来以编程方式填写 PDF 表单。我将首先在 Adob​​e Acrobat 中配置我的表单,然后编写一个带有 iText 的 Java 应用程序,用于通过网络上的用户输入填写所有表单字段 我需要填写的基本表单来自美国政府,他们创建了我需要更改的具有极大字偶间距(字符间距)值的表单字段。但是,似乎无法在 Acrobat UI 中修改此值。

有谁知道如何在 Acrobat 8​​.0 for Windows 中操作表单字段上的字符间距吗?我可以尝试使用 iText 以编程方式操作原始文档的字距调整。 ,但这会更加乏味,

谢谢!”

他的回答是:

“我相信我已经弄清楚了:字距调整在 acrobat 中被称为“梳理”,并且每个表单字段都已被“梳理”。奇怪的是,当我查看表单的属性时,没有选中此选项领域,但“梳理”是我试图复制的行为。”

我的修改:

我使用Acrobat Pro 9生成此表格。 现在我的问题是:有谁知道如何在 Acrobat Pro 9 for Windows 中操纵表单字段上的字符间距?

This question was originally posted by esilver but he seemed to answer his own question, which then didn't make any sense. In his post he mentioned 'combing' of which I have found no reference to.

Here is what his question is and my slight amendment is at the bottom:

esilver's question:

"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.

Thanks!"

His answer:

"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."

My amendement:

I am using Acrobat Pro 9 to generate this form. Now my question is: Does anyone know how to manipulate character spacing on form fields in Acrobat Pro 9 for Windows?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情感失落者 2024-08-02 22:29:45

听起来您指的是梳字段,而不是字距调整。 字距调整正在调整字符之间的间距,以便像 AV 这样的字母可以靠得更近,而且看起来仍然不错。

梳状字段是每个字母都有一个适合其的特定可见框的字段。 我相信它被命名为梳状场,因为间距类似于梳子的齿。 梳状字段在政府表格中很常见,用于鼓励您打印答案。

梳状字段对于电子表格没有多大意义,但有时出于法律原因,电子表格必须与打印表格完全匹配。

尝试在 Acrobat 附带的 LiveCycle Designer 中加载表单。 如果它是 XFA 表单(相对于 AcroForms 表单),那么您将能够在 Designer 中编辑字距调整。

It sounds like you're referring to comb fields, not kerning. Kerning is adjusting the spacing between characters so that letters like AV can be pushed closer together and still look good.

A comb field is a field where each letter has a specific visible box that it fits into. I believe it's named a comb field because the spacing resembles the teeth of a comb. Comb fields are common on government forms and are used to encourage you to print your answer.

Comb fields don't make a lot of sense for an electronic form, but sometimes the electronc form has to exactly match the print form for legal reasons.

Try loading the form in LiveCycle Designer, which comes with Acrobat. If it's an XFA form (vs an AcroForms form), then you'll be able to edit the kerning in Designer.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文