Typeset Buddy

A typesetting extension for Adobe Photoshop CC. Tested with PS version 2015.5+.

Download

https://github.com/ikkyusan1/typeset-buddy/releases

Github

https://github.com/ikkyusan1/typeset-buddy

What it can do

What it can't do


Installation

  1. Download the latest release and extract the archive in Photoshop's extension folder. It's one of these (create the folders if they don't exist):
  2. System extension folder
    • Win(x86): C:\Program Files\Common Files\Adobe\CEP\extensions
    • Win(x64): C:\Program Files (x86)\Common Files\Adobe\CEP\extensions
    • Mac: /Library/Application Support/Adobe/CEP/extensions
  3. Per-user extension folder
    • Win: C:\Users{USER}\AppData\Roaming\Adobe\CEP/extensions
    • Mac: ~/Library/Application Support/Adobe/CEP/extensions
  4. Start Photoshop. You'll find the extension under the menu Window > Extensions > Typeset Buddy.

If you just want to use the standalone scripts (for instance, if you don't have PS CC), only the "jsx" folder is necessary. You can copy (and rename) it wherever you want.

Potential issues

Known limitations

Standalone scripts

There's currently no practical way to associate keyboard shortcuts to an HTML extension (we can hijack keypress events, but only when the extension is displayed and focused). So, in order to allow the use of some basic functions without having to click on a button or even having the extension opened, for that matter, I've added some standalone scripts. You can find them in the "jsx/" folder. There's currently three scripts :

This way you can create a Photoshop Action to run these scripts and associate a keystroke to the action. (Running a script is done via the app menu File > Scripts > Browse...)

TB Robot

The tb_robot.jsx standalone script is designed to automatically typeset psd files. It won't put the text inside the bubbles, but it will create all the text layers and apply the relevant styles on them. If you don't have PS CC, look at the provided example to create your stylesets. The robot has a button to export the expected style properties and their values, as well as the list of the fonts that are available on your system. Quick note : keep in mind that if several styles are defined for a bubble, the robot will use only the last one for the typesetting.

Style set format

If you don't (or can't) use the TB Extension and have to create your style set files manually, the basic rules are :

Text replace rules format

If you don't (or can't) use the TB Extension and have to create your text replace rules manually, look at the provided example. You can use regular expressions or simple strings.

PSD file naming convention

The files (aka the pages) must be numbered to be processed with TB Robot. The page number is the last part of the filename (before the extension, of course). It must be preceded with a space, or an hyphen, or an underscore. Double pages are allowed, their number is separated by an hyphen. Each page number is three or four digits long. e.g. :

your-awesome-book_009.psd
your-awesome-book-010.psd
your-awesome-book 011.psd
your-awesome-book_012-013.psd
your-super-long-book_2048-2049.psd
			

Translation script format

Page numbers

Bubbles

Styles and text type/placement

The text type (or placement) defines the nature of the text line. The text can be in a bubble, it can be not in a bubble (like some narrative stuff), it can be a sfx, or a sfx in a bubble, or a footnote... Based on this, not only does the text type give us typesetters a clue as to where the text has to be inserted on the page, it also tells us what style should be applied.

Thus, text types/placements are actually text styles.

Notes

Basically, notes are everything that doesn't correspond to the styles' keywords.