The Text Utilities dialog box centralizes many text related actions that map makers require. Many of these text actions have come about due to the complexities of working with text, geographic data and follow cartographic conventions. Common text issues that Text Utilities can handle are correcting upside down text, separating multiline text into single line and cropping text path to text length. These actions can be applied to either all text layers or specific text on a layer. Optionally, actions can be applied to selected text only.

Using Text Utilities

On the MAPublisher toolbar, click the Text Utilities button or the menu choose Object > MAPublisher > Text Utilities.

text_utilities_dialog

In the Target section, choose the target text to be a MAP Text layer or target all text in a document. Optionally, check Only apply to selected text to only apply formatting to text that was selected before opening the dialog box.

In the Actions section, choose an action to be performed (actions explained on the next page). Only one text action may be performed at a time. Click the Preview button to see how the text may be affected. Below, the original (left) and result (right) are shown for each action.

Add line breaks

text_utilities_addlinebreaks

Adds specified line breaks based on word or characters per line. However, they are not separate text lines (use "Separate mulitline text" text utility to do that).

Example result shows added line break based on two words.

Example result shows added line break based on two words.

 

The characters per line option doesn't break whole words. For the example below, if the number of specified characters per line is 5, it will add the break after the first word. If the number of specified characters per line reaches past the first space after the word "Country", say 13, it will instead add the break after the second word "Garden". Similarly, a characters per line value of 20 here wouldn't add a line break at all.

Example result shows added line break based on 13 characters.

Example result shows added line break based on 13 characters.

Convert text on a path to point text

Converts text on a path to point text removes curvature and creates "straight" text.

tu_converttextonpathtopointtext

Create line from text on a path

text_utilities_createlinestextfrompath

Creates a line based on a text on a path source. Useful for creating map features and to assist in indexing for manually created maps (i.e. scenarios where text was created manually instead of being created from attribute values).

Example result shows a line (green) created from the text on a path.

Example result shows a line (green) created from the text on a path.

Shorten text path

Remove extra line segments at the start and end of a path.

tu_shortentextpath

Curve text to latitude

text_utilities_curvetextlatitude

Curve single lines of text to lines of latitude.

tu_curvetextlatitude

Example result has lines of text curved to match latitude of coordinate system.

Extend overflowing text

Extends text elements that contain overflow.

tu_extendoverflowing

Fix one point text

Searches for text on a path with a single point and replaces the text path with multiple points along the actual text.

tu_fixonepointtext

Legacy text may import with single points along a path. This text utility removes the single point along the path.

Flip upside down text

Flips upside down text (corrects left-to-right direction).

tu_flipupsidedowntext

Draw point for text

text_utilities_drawpointfortext

For text, it draws a point at the lower left anchor point or at the location based on the text alignment. The attribute of the drawn point is the label itself if the output is to a new layer.

tu_drawpointfortext

Example result draws a styled point at the default lower left corner of the text.

Draw shape around text

text_utilities_drawshapearoundtext

Draws text shapes or boxes around text. Change the style using the appearance options. Optionally, limit box to cap height of text and choose a specific layer for output.

tu_drawsshapearoundtext

Example result has a box shape with side, top and bottom buffer of 4 px.

information Some text may not appear centered if no descenders are present and the limit to cap option is disabled.

Merge text

text_utilities_mergetext

Merge multiple lines of text into a single text object. Not available when "All text in document" is chosen as the Target.

tu_mergetext

Rectify point text to angle

text_utilities_rectifypointtexttoangle

Rotates point text to any angle for text within a specific tolerance angle.

tu_rectifypointtexttoangle

Example result rotated 8 degrees for text within a 10 degree tolerance angle.

Separate multiline text

text_utilities_separatemultilinetext

Separates multiline text into individual lines of text (the points starting each line in the result).

tu_separatemultiline

Set text alignment

text_utilities_settextalignment

Change the insertion point of point text without moving the text. Alignment can be set to left, center, or right.

tu_settextalignment

Example result produces right justified text.

Right-to-left text

text_utilities_rightlefttext

Many right-to-left languages, such as Arabic and Hebrew, require additional language-specific processing to get the correct glyph output given the incoming character stream. The Right-to-Left text action is used to apply proper formatting to right-to-left languages.

Example result shows pasted text that reads left-to-right and the result after the Right-to-Left text action is applied.

Example result shows pasted text that reads left-to-right and the result after the Right-to-Left text action is applied.

information Some conditions are required for kashidas to take effect:
1. Text needs to be multi-line and contain lines with varying lengths.
2. Adobe Illustrator paragraph settings must be set to Full Justified.
3. The usual settings for working with Arabic text are required (primarily, the composer engine must be set to world-ready).

Copyright © 1995-2020 Avenza Systems. All rights reserved.

 

Last updated: 4/13/2020