Automatic font size reduction in a PDF form | Community
Skip to main content
February 15, 2010
Question

Automatic font size reduction in a PDF form

  • February 15, 2010
  • 13 replies
  • 24015 views

Hello everybody!

I'm working with SAP.

On my current project I would like to implement a customer form via Adobe Lifecycle Designer.

I'm going to ask a developer to implement the following logic:

There is a fixed rectangular area in the form. This area should represent a text.

In case of long text I would like to reduce the font size to fit the text into the area. It should look like that

http://lh4.ggpht.com/_cAQDpIBg5Bg/S3glj2MIo6I/AAAAAAAAAIk/SN9vEwOEYCY/scale.jpg

Text alignment within the area is Horizontal Centered, Vertical Centered
Text wrap is on
Font is Arial, initial size is 10

Is it possible to implement?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

13 replies

Niall_O_Donovan
New Participant
February 15, 2010

Hi,

I don't think so. Any scripting to force an initial font size, overrides the 0pt and then the text will not automatically reduce.

12pt initially or nothing, as far as I know.

Niall

February 15, 2010

Thanks a lot!

It is working!

One more question how to define the default font size for such element?

I've created a test form with one textfield. Set the font size to 0 and as the result if I put only one char its initial size is about 12. But I would like to set the initial size as 10.

Best,

Sergey

Niall_O_Donovan
New Participant
February 15, 2010

Hi,

Set textfield to multiline and in the font tab set the font size to "0".

Sample attached.

Niall