Today we present script, which allows you resetting the text objects and bitmap images to horizontal position. The script removes the transformation Scale, Rotate, and Shear for bitmap objects, and Rotate and Shear for text objects. The Script was developed by Iaroslav Tabachkovsky.
You can download the "Clear Transform" script by clicking the Download button on this page.
Install the scripts into the following folder, for example:
- For Windows: C:\Program Files\Adobe\Adobe Illustrator CS5\Presets\en_GB\Scripts
- For Mac: Applications / Adobe\Adobe Illustrator CS5\Presets\en_GB\Scripts
Let's create three text objects to demonstrate the work of the script; rotate two of them to any angles, and apply the Shear transformation to the third text. As you can see, one of the rotated text objects is also shrunk to its width. Paste two bitmap images into the current document, rotate and deform them randomly.
Select all the objects and go to the File > Script > Clear Transform. As you can see, our text objects and bitmap images got back to the horizontal position.
The Bounding box retains the same angle of all the objects, with no exceptions.
Go to Object > Transform > Reset Bounding box.
To restore the proportions of the text, open the Character panel (Window > Type > Character), and then set the value of 100% in the Horizontal Scale field. Or just click on the icon located near this field while holding down the Cmd / Ctrl keys. This will restore the default value.
I'd like to share with you another way of returning the text object into its original position with no application of the script. On the figure below you can see the text object, which is rotated at a random angle, and moreover, the Shear transformation is applied to it.
Take the Type Tool (T) and select the entire text.
Copy or cut the selected text (Cmd / Ctrl + C or Cmd / Ctrl + X). Now take the Selection Tool (V), then take the Type Tool (T) and click on the blank area of the current document. Paste the text (Cmd / Ctrl + V) (08).
We hope, that now you'll have one problem less while working with text and bitmap objects in Adobe Illustrator.