i am currently fiddling with overset texts for a script. In my script the TextAreaObject content gets replaced by a new string. In the case it becomes overset, due to the length or different character widths it should be scaled down to fit the area. For that i am using the Script by Vasily Hall : Adobe Illustrator Variable Data: dealing with overset text
Some of the Files have Text on Paths and the script i mentioned doesn't work on them. After a search in the Internet and documentations there seems to be no way to detect overset on a Pathtext.
Is there any way to prevent an overset on a pathtext?
check the script by moluapple about fixing AreaText overflown text, you might be able to use the same technique on pathText
Hey, check out the updated script- it turned out that Path text works almost just like Area text and should take care of your needs.
I found a workaround with the OverSet Script.
I created a reference TextArea that would match the Pathtext. After applying the Overset Script to the TextArea I use the font size of the TextArea on the PathText and delete the TextArea.
Maybe someone will find this workaround useful.
Or you can download my updated script and it's updated to work on the path text.
I just did and it worked. Thank you. I thought i already had the newest version.
Due to your question here, I updated it real quick, so quick that nobody even noticed! It was a real quick update, and if you did not inquire as to this feature, I may have already thought it was good to go and never thought about it. But since you have done so, now countless future users will benefit and possibly create high revenue projects to benefit society for years to come!
When you use it and your variables datasets are on the very 1st one, it records the font-size for use as the default later. Every time you switch datasets and play this script, it will use the default value to snap back the text's size to the default one recorded on the 1st dataset.
Next it will reduce the font size.