• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Resizing form fields distorts text

New Here ,
Apr 25, 2016 Apr 25, 2016

Copy link to clipboard

Copied

I create form fields in Acrobat DC Pro (on Windows). If the field has text typed into it and then I need to resize the box, the text will completely distort when the box size is dragged. This can be avoided by clicking in and out of the form field once before changing the field size for some reason.

For example, I have text in a form field (does not matter if the field was auto generated or manually created). I go to make the text box taller and the text stretches up with it. The text will continue to look distorted after doing it unless I hit "ctrl-z" or type more text into the box. See images below of before and after of enlarging the box with the date.

PDFfieldbefore.JPGPDFfieldafter.JPG

TOPICS
Acrobat SDK and JavaScript , Windows

Views

2.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 25, 2016 Apr 25, 2016

Copy link to clipboard

Copied

You can try reporting it as a bug, but when I did they didn't consider it to be a bug. I only get that behavior when resizing the field via the Position tab of the field properties window, not via the mouse/keyboard, though I haven't tested the latest version.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 25, 2016 Apr 25, 2016

Copy link to clipboard

Copied

Are you using the size of "Auto"?

Set the font to a fixed size.

You can also resize the form field by using the corner handle and moving in or out on a 45 degree angle. This will retain the aspect ratio of the field as it shrinks or grows.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 26, 2016 Apr 26, 2016

Copy link to clipboard

Copied

No, the fields are not using Auto. In this case, they are set to 12 point Helvetica. I don't want the text to enlarge, I just want to make the text box bigger when the auto form field tool made them too narrow or short. I want the text to stay exactly the same size, just have a bigger box to fit in.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 12, 2016 May 12, 2016

Copy link to clipboard

Copied

This is definitely a bug in Acrobat. It does not matter what the field font size is set to. After you resize a field with text in it, the text will distort until you refresh the font size. How to refresh: change the size of the font to/from AUTO or to/from any other size, and the distortion is corrected. I guess if Adobe argues that this is not a bug, they have to insist you must SIZE first, then enter text, and never resize that field again -- unless you want to do the manual refresh. And that leads me to conclude that a programmer forgot to call the autoRefreshFontSize() method in the appropriate events somewhere in the code.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 12, 2016 May 12, 2016

Copy link to clipboard

Copied

The problem is the field appearance isn't updated. It does get updated when you manually change one of the field properties that affect its appearance, which includes the field value.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 12, 2016 May 12, 2016

Copy link to clipboard

Copied

LATEST

We can call it "a feature". As George_Johnson states, the field's appearances are not updated when you scale the field. When you do that programmatically, the procedure would be to first read the field value to a variable, scale the field, and then re-set its value from the variable. That does refresh the appearances.

BTW, resetting the form does also refresh the appearances.

Hope this can help.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines