Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 2793

Questions that refer to manipulating a text layout, styling and/or management in graphic software.

1 vote
2 answers
607 views

Warp/shrink text only if too big for text area in Illustrator

I'm creating a multilingual PDF in Illustrator with variables and would like to use single line text area boxes to control type. However, in some languages, the text will be very long. … In order to get the width of the actual text, I'm converting it to point type using convertAreaObjectToPointObject() which does work when the text is smaller than its box. …
Lucent's user avatar
  • 193
1 vote

Warp/shrink text only if too big for text area in Illustrator

save_horizontal_scale = layer.textFrames[frame_number].textRange.characterAttributes.horizontalScale; layer.textFrames[frame_number].textPath.width = 200; // Set high to avoid the next line clipping text
Lucent's user avatar
  • 193