Skip to content

    Type Tool

    The Type Tool places new text on the page. A click places a caret for point text. A drag draws a frame and fills it with area text. A click on the outline of an open path starts text on that path. A click on the outline of a closed path starts area text inside it. A double-click on existing text with the arrow opens it for typing.

    Where to find it

    The Type Tool is on Layout’s floating toolbar, the second button after the arrow. Open the toolbar with the Tools button of the left rail. Press T to pick the tool.

    How to place point text

    1. Press T, or open the toolbar with the Tools button of the rail and press Type Tool.
    2. Click an empty spot on the page. A blue caret appears where you clicked.
    3. Type. The first key creates the text object. Later keys add to it.
    4. Press Esc to finish.

    How to draw a text frame (area text)

    1. With the Type Tool in hand, press and drag on the page. A blue 1 px frame follows the pointer and shows its width and height.
    2. Hold Shift while dragging to make the frame square. Hold Alt to draw from the centre. Hold Space to move the frame being drawn.
    3. Release. An invisible rectangle frame is made and filled with the words Area text, all selected, so the first key replaces them.
    4. Type the text. It wraps inside the frame.

    How to start text on a path or inside a shape

    1. With the Type Tool in hand, click on the outline of a path, within 5 units of it.
    2. On an open path, the text runs along the path. On a closed path, the text flows inside it as area text, and the shape’s fill and stroke are set to none.
    3. Hold Alt while you click a closed path to put the text on its outline instead of inside it.
    4. Type the text.

    How to edit existing text

    1. With the Select Tool (the arrow), double-click the text. One double-click reaches text inside a placed template, however deep it sits.
    2. Or, with the Type Tool in hand, click on the text.
    3. The caret goes where you clicked. Type, select with the mouse or keys, and change the settings of the text bar.

    How to leave typing

    1. Press Esc once. The edit is committed.
    2. If you opened the text by double-clicking it with the arrow, Esc returns you to the arrow tool.
    3. If you were typing with the Type Tool in hand, Esc keeps the Type Tool in hand. Press Esc again to go back to the arrow tool.
    4. On a fresh caret with nothing typed yet, Esc removes the caret and keeps the Type Tool. A second Esc goes back to the arrow tool.

    Options

    Control What it does Values Default
    default-font Font Family in the text bar. It sets the family of the next text: the value in the family field at the moment of the first key. Any registered family Arial if registered, else Roboto
    default-style Font Style in the text bar. It sets the style of the next text. The family’s styles The family’s first style
    default-size Font Size (pt) in the text bar. It sets the size of the next text. Points are converted to px. Any positive number. The list runs from 4 to 144. 16 pt
    default-leading Line height in the text bar. It sets the line height of the next text. A number and a unit 1.25 em when the field cannot be read
    default-colour The fill that new text gets. It has no control of its own. The current default fill Black (see Limits)
    pref-font-size Font size, a number field in Preferences, Tools, Text. “Seeds the font-size field used for new text.” 1 to 2000, step 1 16
    area-placeholder Area text is the placeholder: the words a new area frame starts with, selected. Fixed Area text

    Keys

    Keys When What happens
    T In Layout, not typing Picks the Type Tool
    Shift (drag) Drawing a text frame Makes the frame square
    Alt (drag) Drawing a text frame Draws the frame from its centre
    Space (held, drag) Drawing a text frame Moves the frame being drawn
    Alt (click) Type Tool on a closed path Puts the text on the path’s outline instead of inside
    Ctrl (click) Type Tool in hand Selects the object under the pointer as the arrow would. Nothing there means deselect. The Type Tool stays in hand.
    Esc Typing Commits the text (see How to leave typing)
    Esc Type Tool idle, no caret Goes back to the arrow tool

    Limits

    • In Layout, picking the Type Tool shows no floating bar. The text bar appears when a text is selected or while you type in one.
    • A drag shorter than 8 px in width or height places a point caret at the press instead of a frame.
    • A new area frame made by dragging is an unpainted rectangle (fill none, stroke none). It is one undo step with the text (“Area Type”). If the editing ends with no words in it, the tool’s own frame is removed. A shape of yours gets its fill and stroke back.
    • A click on a closed path that already holds area text edits that text instead of adding a second one. The same holds for a path that already carries text on it.
    • A click inside a table’s cell area with the Type Tool puts the caret in that cell instead of making a loose text.
    • The engine’s default fill is #ffffff. A default fill that is white, none, or a gradient or pattern (url(…)) is not copied onto the text, so the text has no fill attribute and draws black. Any other solid default fill is copied.
    • The default size has three copies. The text bar’s size field seeds 16. Preferences, Tools, Text defaults to 16 and re-seeds the field 1.5 seconds after boot only when a value was saved. A fallback of 16 px is used only when the field cannot be read. The value in the field wins.
    • Changing the bar’s size, family or line height with nothing selected and no text being edited sets them for the next text.
    • Characters that the chosen font lacks are kept as typed. The canvas draws them with another registered face. The bundled Noto Sans Thai is registered at every boot, so Thai shapes even in a Latin-only font.
    • IME, Thai keyboards and phone keyboards type into a hidden text field. The first characters of a new text are taken from that field when no key event carries them.
    • On a fresh caret before the editor has opened, Ctrl+Z runs Undo and Ctrl+X runs Redo.
    • Tools that Layout does not show (Touch Type and the other Type variants) answer ” is in the Vector workspace”.

    See also