6. The Tools in the Toolbox / 6.2 Tools for All Kind of Layers
The text tool offers all functionality needed to create and edit text. You can create normal text layers, you can create text running along paths and you can connect two text layers, so that text flows from one text layer to the other. And - of course - you can edit existing text very similar to a word processor. You can select blocks of text, copy text, change text attributes, ...
Creating Text Layers
By a single click on a place with no text layer you can create a dynamic text layer. A dynamic text layer is automatically resized according to its content. It gets larger, if you enter additional text, it gets smaller, if you delete text.
You can also click and drag in order to get a text layer with a fixed size. PhotoLine will automatically format the entered text to fit into the text layer.
If you want to create a text layer at a position with an already existing text layer, you have to hold Ctrl (Windows) or Command (macOS) while clicking. If you don’t do this, the text cursor is simply set to the clicking position.
But PhotoLine offers not only simple rectangular text. Text can also run along a vector path/object. This text is called path text. Path text consists of lines, too. Every subpath of the vector object is a separate line.
You can create a path text in various ways. The simplest way is to create a vector object with one of the vector figure tools (circle, rectangle, ...) at first. If you click with the text tool onto the edge of the vector object afterwards, the newly entered text will automatically run along the path.
Another way is to create a normal text layer. If you select Run on Path in the Tool Settings afterwards, PhotoLine will search for the closest vector layer and connect the text layer to it. For determining the closest vector layer PhotoLine does not use the distance in the document window, but the order in the Layer List (see chapter 4.7).
In order to enable exact placement of path text on a vector object, there are specific adjustments. Invert Path Direction turns the direction of the path text. While the text usually runs from the start to the end, after selecting Invert Path Direction it will run the other way round. This has the additional effect, that the text flips to the other side of the path. The following image will illustrate this:
Beside this there is Offset. Offset allows you to move the starting point of the text. The entered value is given in percent. The text starts at the vector start point with 0%, at the middle of the path with 50% and at the end with 100%.
Note: you can use all character and paragraph attributes like right aligned and centered with path text.
The Text Ruler
If you are editing a fixed size, non-dynamic text layer, you will see a text ruler at the top edge:
The
text ruler allows to change some paragraph attributes. You can change
the paragraph indent (),
the left and the right indent (
)
and the tabulator
positions.
You can modify a tabulator by clicking and dragging it to another position. If the destination position is outside the ruler, the tabulator will be deleted. You can create a new tabulator by clicking on a free position in the ruler.
A double-click in the ruler opens the tabulator dialog in the Tool Settings.
Text Styles are offering a more sophisticated way of formatting text (see chapter 4.32).
Text Flow
PhotoLine knows two kinds of text flow: automatic and manual text flow. Automatic text flow is needed if text should flow from one page to the next. Manual text flow is used for text flow inside a page.
Automatic text flow is an attribute of the text layer and can be turned on in the toolbar (see chapter 4.5.3.3). The text layer can have two different attributes:
This means automatic text flow is only created if on one page there is a text layer with "text flows to the next page" and on the next page there is a text layer with "text comes from previous page".
In contrast to automatic text flow manual text flow is created by using the
mouse. While using the text tool in a non-dynamic text layer, in the bottom
right corner a small square is displayed. This square is the text flow marker.
This marker can have several states. If the square is empty, it indicates, that
everything is OK. If the overflow symbol
is shown, the text doesn’t fit in
the layer and therefore some parts of the text or the whole text is invisible.
And last there is the text flow symbol
. This indicates, that the text is
flowing from the active layer to another one:
But
the text flow marker is not only used for displaying information. It is
needed for creating and breaking text flows, too. If the mouse is over the
text flow marker, it changes to the text flow cursor
. By clicking an
existing text flow is displayed. If you are dragging to another text layer, a
new text flow will be created. If you are dragging to a place without text
layer, an existing text flow will be terminated. In the latter case the mouse
cursor changes to
.
Shape Flow
Shape flow is text that is formatted inside or around another layer. Therefore its layout is defined by the shape of this other layer.
In
order to create shape flow you have to select a non-dynamic text layer
first. After that in the lower right corner of the layer a small symbol appears:
. If you only click on this symbol, all layers are marked, around or inside
which the active text layer is flowing. By clicking and dragging to another
layer a frame around this layer is drawn in order to indicate that releasing
the mouse-button creates shape flow around this layer. Additionally the
status bar shows the name and the type of that layer. If the wrong layer is
preselected, because several layers are lying at the same place, you can
switch between the layers under the mouse by using the keys Arrow-Left
and Arrow-Right. If you want to create shape flow inside a layer, you have
to press and hold Shift while selecting. If the mouse is over a valid layer it
changes its appearance to
. On releasing the mouse-button the text layer
will flow inside the destination layer.
If the distance of the text to the shape layer is to small, it can be enlarged by using the Tool Settings, subpoint "Layer Settings".
In order to remove a shape flow you have to use the Layer Attributes dialog (see chapter 4.11). Here you simply delete the corresponding Text Shape Flow entry.
Editing Text
There are some shortcuts, that ease editing text.
Every time you press the Shift-key in combination with an arrow key, the text cursor doesn’t move but the according text area is selected.
If you are pressing the Ctrl-key (Windows) or the Alt-key (macOS) in combination with arrow left or arrow right, the text cursor is moving word-wise. Of course the Shift-key works, too: the text is selected word-wise. If you type Backspace or Delete in combination with Ctrl (Windows) or Alt (macOS), PhotoLine will delete word-wise.
If the Alt-key (Windows) or the Ctrl-key (macOS) is used in combination with arrow up or arrow down, the selected area is moved one pixel up or down. If no text is selected, the character after the text cursor is moved. This is an easy way to change the baseline.
If the Alt-key (Windows) or the Ctrl-key (macOS) is used in combination with arrow left or arrow right, the character spacing of the selected text is reduced or enlarged by one pixel. If no text is selected, the character after the text cursor is moved. This is an easy way to change the kerning.
If the Ctrl-key is used in combination with "-", a conditional hyphenation is inserted. A word, that doesn’t fit in a line, will be hyphenated at this location.
By typing Shift+Space a fixed space is inserted. A fixed space looks like a normal space, but at the fixed space location line-wrapping is not possible. Fixed spaces are used to enter expressions, that shouldn't be split.
Ctrl+Return inserts a page break while Alt+Return inserts a break to the next layer in the text flow.
Shift+Return inserts a soft return. A soft return doesn't create a real new paragraph, but it just breaks the line at the current position.
Spell Checking
On macOS and Windows 10 (or better) PhotoLine supports the built-in spell checker. Otherwise you have to download Aspell, an Open Source spell checker, from http://aspell.net/win32 and install it in order to be able to spell check.
Spell checking takes place while typing and marks unknown words red.
The context menu of a marked word lists the correction proposals, if there are any.
The next command is Ignore Word. Applying it will insert that word in a list and it won‘t be marked as wrong any more in the active document. The list will be saved along with the document.
Similar to Ignore Word is Add to User Dictionary, but the user dictionary isn‘t saved with the document. Instead it is a setting of PhotoLine. The user dictionary is used for every document, not only the active one.
Both - the user dictionary and the Ignore Word-list - can be edited in the options (see chapter 7.10.1.22).
On macOS there is additionally the command Spell Checking.... This command shows the standard dialog of the macOS spell checker. It can be used to - for example - switch the checking language.
Inserting Layers In Text
Its a common problem, that text has to be illustrated by an image or a graphic. But text changes shouldn't require a repositioning of the graphic. Therefore the graphic should be part of the text.
This is possible by using PhotoLine, too. You have to proceed like this: first you have to select the layer, which you want to insert into the text, by using the Layer Tool. Then you have to copy this layer by using Edit/Copy. Afterwards you switch to the Text Tool and place the text cursor to that location, where the layer should appear. Now you can insert it by using Edit/Paste.
A graphic layer inserted in text is always the child of its text layer. This way the layer can be edited like any other layer by using the standard tools.
The Tool Settings Of The Text Tool
The Tool Settings allow to inspect and modify various text attributes. It is split up in several subdialogs.
If you are holding Alt while modifying a setting, the new settings will be applied to the whole text instead of the current selection.
Mouse Cursors
While working with the text tool you will see the following mouse cursors:
By
clicking the next text layer at the current position will be selected.
By
clicking the text cursor will be set to the current mouse position.
Clicking and dragging will select a text block.
This
cursor indicates, that clicking and dragging will select line wise. It
is displayed, if the cursor is placed left to a line.
By
clicking a dynamic text layer will be created. By clicking and
dragging a fixed size text layer will be created.
By
clicking a text layer containing path text will be created. By
clicking and dragging a fixed size text layer will be created.
By
clicking the text flow between text layers is edited.
By
releasing the mouse button an existing text flow will be cut.
By
releasing the mouse-button a shape flow around the selected layer is
created.
By
releasing the mouse-button a shape flow inside the selected layer is
created.
By
clicking and dragging the active layer will be scaled.
By
clicking and dragging the active layer will be rotated.
By
clicking and dragging the active layer will be sheared.
By
clicking and dragging the active layer will be distorted
prospectively.