×

Warning

JUser: :_load: Unable to load user with ID: 45

If you ever created GIF files with Adobe products, you know how cumbersome this can be. Many Youtube videos show the necessary steps : create frames in Illustrator, export artboards, import in Photoshop, set up the animation, export the GIF file. And the worst part? Any change and you start this all over again. But that's an old story now!

Although it is generally not recommended to open in Illustrator a PDF generated, for example, from InDesign or QuarkXPress, or simply generated from Illustrator but saved as PDF/X, we eventually end doing it at some point when the source file is not available and we simply want to pick up some graphic assets to reuse in a new design work. We can notice then that the paragraphs are always split into several left-aligned point texts, that some characters originally affected by an horizontal scale in the source file appear affected by an inverse vertical scale and a different point size, that some characters, especially dingbats, sometimes turn out converted to outlines, etc. This extension for Illustrator CC+ (html5 panel not compatible with old CS versions), baptized «Text rebuild tools», gathers a few functions, some of them already published here as separate jsx scripts, to help recreate and rebuild editable lines/paragraphs/stories from these items.

Javascript Adobe IllustratorYou may have ever noticed, when opening in Illustrator a PDF file generated for example from InDesign, that some characters affected by an horizontal scale in the indd source file become affected by an inverse vertical scale and a different point size (that phenomenon seems to occur only in the case of characters manually condensed using an horizontal scale below 100%, and not in the case of manually extended characters). For example, some text with size 20pt and a 80% horizontal scale ends up with a size of 16pt with a 125% vertical scale, with a visually identical result. In the case of a 90% horizontal scale the inverse result is a 111.1111111111111…% vertical scale, rather inconvenient rational number.

Javascript Adobe Illustrator

When you open in Illustrator a PDF file generated from InDesign or QuarkXPress, you certainly noticed that the paragraphs are always split into several text frames, at least one for each text line but often you even see multiple contiguous text frames on the same line. If you do not have available the source file and you want to be able to edit the text from the PDF using Illustator, it is more convenient to have one single text frame with several lines, where you can then insert or delete words or whole lines, modify the leading, alignment, kerning, tracking, etc.

As i promised you in my first article "Fit a text to an outline", here is a script that will enable you to merge text parts together to get multi-line text frames.

Follow Scriptopedia to Social Network

Scriptopedia sur facebook

About Scriptopedia.org

An original idea from Loic Aigon, designed by Eddy.VH. It 's a scripts library for Desktop Publishing Adobe products. Find Javascript for Photoshop, Illustrator, inDesign and Acrobat or ATN scripts ( Photoshop actions ) you need.