Automatic font size reduction in a PDF form | Community
Skip to main content
Feb 15, 2010 9:58 AM UTC
Question

Automatic font size reduction in a PDF form

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
Level 10
Feb 15, 2010 2:33 PM UTC

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

Translate
Feb 15, 2010 2:13 PM UTC

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

Translate
Niall_O_Donovan
Level 10
Feb 15, 2010 1:35 PM UTC

Hi,

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

Sample attached.

Niall

Translate