Chapter 12

Adding and Manipulating Type

9781118643648-co1201.tif

Photoshop lets you add type to your images and precisely control the type’s appearance and layout.

Add Type to an Image

Add Type in a Bounding Box

Change the Formatting of Type

Change the Color of Type

Warp Type

Copy Type Styles to CSS

Add Type to an Image

Adding text enables you to label elements in your image or use letters and words in artistic ways. You insert text in Photoshop using the Type tool. The Toolbox contains horizontal and vertical versions of the tool.

Text that you add appears in its own layer. You can manipulate text layers in your image to move or stylize text. Text in Photoshop is vector-based, so you can resize and transform it without a loss in quality. Photoshop comes with a number of expensive typefaces not typically preinstalled on computers.

Add Type to an Image

9781118643648-fg1201.eps

001 Click the Type tool (9781118643648-ma036.tif).

002 Click where you want the new type to appear.

Note: You can also create a bounding box by drawing a shape. See the section Draw a Straight Line in Chapter 11 for more.

9781118643648-fg1202.eps

003 Use these menus to choose a font, style, and size for your type.

Note: To apply a shape by using type, you can choose a symbol-oriented font, such as Wingdings.

004 Click the Color box to select a color for your type.

Photoshop applies the foreground color by default.

Note: See Chapter 6 for more on selecting colors.

9781118643648-fg1203.eps

005 Type your text.

To create a line break, press ent.eps (ret.eps on a Mac).

006 When you finish typing your text, click here (9781118643648-ma027.tif) or press ctrl.eps+ent.eps (cmd.eps+ret.eps on a Mac). You can also click another tool in the Toolbox to complete your text entry.

9781118643648-fg1204.eps

A Photoshop places the type on its own layer.

B You can click the alignment buttons to left-align (9781118643648-ma045.tif), center (9781118643648-ma046.tif), or right-align (9781118643648-ma047.tif) your type.

Add Type in a Bounding Box

You can add type inside a bounding box, which is a rectangular container for text, to constrain where the type appears and how it wraps. Adding text in a bounding box is useful when you want to constrain where the text appears in your image and when line breaks occur. You can change the dimensions of the bounding box by clicking and dragging handles on the corners and edges.

The bounding box remains the same size if you change how your type is sized or styled. See the next section, “Change the Formatting of Type,” for details about changing how your type appears.

Add Type in a Bounding Box

9781118643648-fg1205.eps

001 Click the Type tool (9781118643648-ma036.tif).

002 Click and drag inside the image to define the bounding box.

9781118643648-fg1206.eps

003 Click and drag the handles (9781118643648-ma026.tif) of the bounding box to adjust its dimensions.

004 Click and drag the center point (9781118643648-ma050.tif) of the bounding box to move the box.

005 Use these menus to choose the formatting for the type.

9781118643648-fg1207.eps

006 Type your text.

Your text appears inside the bounding box.

A line of text that hits the edge of the bounding box automatically wraps to the next line.

Photoshop also automatically adds hyphenation.

Note: You can turn off hyphenation in the Paragraph panel. See the tip for more.

007 When you finish typing your text, click here (9781118643648-ma027.tif) or press ent.eps (cmd.eps+ret.eps on a Mac).

The bounding box disappears.

9781118643648-fg1208.eps

A The type is put on its own layer.

B To make the box reappear in order to change its dimensions, click the Type tool (9781118643648-ma036.tif) and then click the text.

Change the Formatting of Type

You can change the font, style, size, and other characteristics of your text. This can help emphasize or de-emphasize your text. Photoshop has access to all the fonts on your computer’s operating system. A number of fonts are added when you install Photoshop.

Available styles for text include italic, bold, and other options that can vary depending on the font being used. The default size measurement is points, which are 1/72 of an inch. You can enter other units of measurement in the size field in the Options bar, such as “5 cm,” and Photoshop converts the value to points.

Change the Formatting of Type

9781118643648-fg1210.eps

001 Click the Type tool (9781118643648-ma036.tif).

002 Click the type layer that you want to edit.

If the Layers panel is not visible, you can click Window and then Layers to view it.

003 Click and drag to select some type.

004 Click Window and then Character.

The Character panel opens.

You can also make many formatting changes on the Options bar.

005 Click here (9781118643648-ma009.tif) to open the font menu.

9781118643648-fg1211.eps

A Photoshop displays the names of available fonts.

You can turn on font previews in the Type preferences dialog box by clicking Edit (Photoshop on a Mac), Preferences, and then Type. Turning on font previews shows examples of each font in the font menu.

006 Choose a font.

9781118643648-fg1212.eps

007 Click here (9781118643648-ma009.tif) to choose the type’s style.

008 Click here (9781118643648-ma009.tif) to choose the type’s size.

009 Type percentage values here to stretch or shrink your type.

You can click other options in the panel to add more formatting.

010 Click here (9781118643648-ma600.tif) to close the panel.

9781118643648-fg1213.eps

011 When you finish formatting your text, click here (9781118643648-ma027.tif) or press ent.eps (cmd.eps+ret.eps on a Mac).

B Photoshop applies the formatting to your type.

Change the Color of Type

You can change the color of your text to make it blend or contrast with the rest of the image. You can change the color of all or just part of your text. By default, Photoshop colors your text the current foreground color. For more about setting the foreground color, see Chapter 6.

You can also change the color of your text by changing the opacity setting of a text layer. Lowering the opacity of a layer makes it more transparent, and therefore makes text in that layer lighter in color and see-through. For more about changing opacity of layers, see Chapter 8.

Change the Color of Type

9781118643648-fg1214.eps

001 Click the Type tool (9781118643648-ma036.tif).

002 Click the type layer that you want to edit.

A If the Layers panel is not visible, you can click Window and then Layers to view it.

9781118643648-fg1215.eps

003 Click and drag to select some text.

B You can double-click the layer thumbnail to select all the type.

004 Click the Color box on the Options bar.

The Color Picker dialog box opens.

9781118643648-fg1216.eps

005 Click a color.

C You can click and drag the slider (9781118643648-ma051.tif) to change the colors that Photoshop displays in the selection box.

D You can also type values for the color you want.

006 Click OK.

9781118643648-fg1217.eps

007 Click here (9781118643648-ma027.tif) or press ent.eps (cmd.eps+ret.eps on a Mac).

E Photoshop changes the text to the new color.

Warp Type

You can easily bend and distort layers of text by using the Warp Text feature in Photoshop. This can help you stylize your text to match the theme of your image. For example, text in a sky can be distorted to appear windblown.

Style options include Arc and Arch, which curve text in one direction across the image, and Flag and Wave, which curve the text back and forth across the image. Which direction the warping occurs depends on whether the warp is set to horizontal or vertical.

Warp Type

9781118643648-fg1218.eps

001 Click the Type tool (9781118643648-ma036.tif).

002 Click the type layer that you want to warp.

A If the Layers panel is not visible, you can click Window and then Layers to view it.

003 Click the Create Warped Text button (9781118643648-ma053.tif).

The Warp Text dialog box opens.

9781118643648-fg1219.eps

004 Click here (9781118643648-ma300.tif) to open the Style menu.

005 Click a warp style.

9781118643648-fg1220.eps

006 Click an orientation for the warp effect (9781118643648-ma007.tif changes to 9781118643648-ma008.tif).

007 Adjust the Bend and Distortion values by clicking and dragging the sliders (9781118643648-ma054.tif).

The Bend and Distortion values determine the strength of the warp. At 0% for all values, no warp is applied.

008 Click OK.

9781118643648-fg1221.eps

B Photoshop warps the text.

You can edit the format, color, and other characteristics of the type after you apply the warp.

Copy Type Styles to CSS

You can copy the font names, size, formatting, and positioning of your text from your Photoshop project as Cascading Style Sheet, or CSS, rules. You can then use those rules to style your type on web pages.

CSS is a language for adding stylistic touches to web pages, including how words are formatted on a page. New in Photoshop CC, the ability to copy type styles to CSS is convenient for users wanting to precisely replicate what they create in their image projects on the web.

Copy Type Styles to CSS

Copy the Styles

9781118643648-fg1223.eps

001 Add stylized type to your image.

See the other sections in this chapter for more information.

002 Click the type layer from which you want to copy. You can copy from only one layer at a time.

9781118643648-fg1224.eps

003 Click Layer.

004 Click Copy CSS.

Photoshop copies the type styles as CSS rules to your computer’s Clipboard. Styles can include font name, boldness, italics, color, positioning, and more.

9781118643648-fg1225.eps

005 Open your CSS document in a text editor. In this example, the document is opened in Windows Notepad.

006 Paste the copied text into the document.

007 Repeat steps 2 to 6 for any other type you want copied.

Apply and View the Styles

001 Apply the CSS rules to type on a web page.

9781118643648-fg1226.eps

002 Open the page in a web browser.

A The type appears in the browser similar to how it appeared in Photoshop. It has the same font, color, and positioning.