An open API service indexing awesome lists of open source software.

https://github.com/supermarcel10/adobeaitextcontourscript

Script for Adobe Illustrator: Changes text into rectangle contours
https://github.com/supermarcel10/adobeaitextcontourscript

adobe-illustrator-script helper-tool tool

Last synced: 3 months ago
JSON representation

Script for Adobe Illustrator: Changes text into rectangle contours

Awesome Lists containing this project

README

        

# Illustrator Text to Bounding Rectangles Script

This Adobe Illustrator script creates bounding rectangles around each line of a selected text frame.
It's useful for quickly writing up some text, and visualising it in a neat layout.

## Features

- Generates a separate rectangle for each line of text.
- Adjusts rectangle width based on the number of characters in the line.
- Sets default colour based on the text colour.
- Skips empty lines (e.g., line breaks between paragraphs).
- Adjusts the starting position of the rectangle based on leading whitespace.
- Creates rounded rectangles for a visually appealing representation.

## Usage

> [!NOTE]
> It is advised to use a monospaced font to ensure accurate bounding rectangle dimensions.

1. Open an Adobe Illustrator project.
2. Select the text frame you want to create bounding rectangles for.
3. Run this script (`File > Scripts > Other Script...`) and select this script file.
4. Enjoy!

## Example

Before:
![image](https://github.com/Supermarcel10/AdobeAiTextContourScript/assets/47798787/3dc153d5-8021-485a-9e6e-d078720b798c)
After:
![image](https://github.com/Supermarcel10/AdobeAiTextContourScript/assets/47798787/f4884080-8ad7-45fd-a056-7d7246da2a62)

## Contribution

Feel free to fork this repo and submit pull requests for any enhancements!

## License

[Licence](https://github.com/Supermarcel10/AdobeAiTextContourScript/blob/main/LICENSE)