Text drawing tool

Log-in or register.

Text drawing tool

rsrc/text-tool.png image TEXT is a drawing tool capable of drawing simple text. The text uses selected font name, style and size.

Any fill style can be used in conjunction with the Text object. Using the Text tool in with the Bubble or Stylize meta-tools can give interesting results.

rsrc/text-sample.png image
Plain text, text in bubble and stylized text in bubble.

Text tool configuration panel

rsrc/text-tool-config-2013.png image
Version 2013.1
rsrc/text-tool-config.png image
Older versions.

The Font box lists true-type fonts installed on your computer. Fonts may only contain a subset of all possible characters. Some fonts only contain English characters. On more recent Windows versions, fonts having @ as the first character are more likely to support more of the unicode characters.

Bold and Italic options modify the look of the selected font. Some fonts were manually optimized for bold and/or italic styles, others will be adjusted by Windows and the results may be suboptimal.

Size of the font is given in pixels and the given value controls the height of the character cell, the actual height of the letter may change and will depend on the actual font.

Alignment option controls the horizontal alignment of the text related to the origin (the clicked point).

Angle controls the direction of the baseline.

Bend allows you to position a text on a circular arc. It is recommended to only use a single line of text when Bend is not 0.

The text box in the lower part of the configuration panel can be used to modify the text. While individual characters can be added directly on the canvas, more advanced operations like clipboard operations or modifications in the middle of the text can only be performed from this box.

How to use the text tool

With the Text tool selected, click on the canvas and start typing characters using your keyboard. You can use the Backspace key to erase last character and the Enter key to go to next line. Other text operations need to be performed within the configuration panel.

If you are using the text tool in a vector layer and the clicked place is already occupied by an object, the object will be selected and text entry will be canceled. To avoid this case, either click an empty space and then move the text, or instead of a simple click, move a mouse a bit before releasing the button - that will prevent the application from selecting the underlying object and you will be able to start typing.

To move the text, click and drag it with your mouse or drag its main (azure) control handle.

The dark blue control handle can be used to Bend parameter, the green one controls text size and the brown one controls text orientation.

Scripting parameters

TEXT tool can be used from scripts. The command in script must have 4 parameters:

  • font_name - name of the font.
  • style (optional) - one of "NORMAL" (default), "BOLD", "ITALIC", and "BOLDITALIC".
  • size - font size in pixels.
  • pos_X, pos_Y - coordinates of the top-left corner of the rectangle with the text.
  • text - the text to print.


DrawTool.TEXT(Document, "Arial", 20, 100, 100, "Sample text");

See also: DrawTool object, Document object

Recent comments

- show all comments
user icon Anonymous on April 10th 2019

I have more text that fits in my space. I want the text to wrap into multiple lines and automatically adjust the text box width. |-)

user icon TsukiRansei registered user on February 17th 2020

dont even try non latin scripts, they failed instantly

user icon Anonymous on March 29th 2020

Make it use GDI rendering so that I could use bitmap fonts and also have fonts that don't work with anti-aliasing at some sizes to have anti-aliasing disabled because that's what GDI does...

user icon Anonymous on October 7th 2020

When I type in Persian, the letters are written separately, you may help me please.

user icon Anonymous on October 7th 2020

yeah، in arabic right is too :-(

user icon LewisTehKat28 registered user on February 28th 2021

if you don't want blurry text try doing text with effects and setting shadow to 0.

also if arabic and persian font has letters seprate, maybe try moving the letters together with select?

user icon Anonymous on May 12th 2021

How to inmate text or create scrolling banner

user icon Anonymous on May 6th 2022


:-D :-D :-D :-D :-D |-) |-) |-) |-) |-) |-) |-) |-) :-( :-( :-( :-( :-( :-( :-(

user icon Anonymous on June 17th 2022


user icon Anonymous on December 4th 2022

Why cannot use wingdings and other symbol fonts? They show as normal characters instead of the symbol/dingbats.

user icon Anonymous
I wish there were...
Vista & Win 7 icons