Change font

Change Font Face

The KTML 4 editor allows you to change the fonts for your text by selecting the desired one from the Font drop-down menu available in the toolbar:

 

Note: You can define yourself the font list in a configuration file. There is a default font list defined in case you make no changes in the configuration file. Read more about this in the API documentation.

 

The automatic selection of the current font is a feature that allows you to easily find out what font a particular word or text has just by selecting it or by positioning the cursor inside it.

When a CSS style containing references to new fonts is imported into the document, those new styles will appear in the drop-down menu.

Change Font Size

The font size can be changed by selecting the desired size from the Size drop-down menu available in the toolbar:

 

The size change affects the selected text or the text entered afterwards, if no text selection has been made. By default, the text size is set to 14 pixels. The text sizes are similar to the ones used by the most common word processors (Microsoft Word, OpenOffice).

The current font size will be autoselected in the Size drop-down menu. To see what size a specific text is, simply select the text or click inside it, and then check out the font size drop-down menu.