Style Presets

../../_images/style_preset_window.png

The style preset edit dialog.

Style presets allow you to store prefered text properties into a resource. They can be found inside the Area di aggancio Proprietà del testo, where you can also create new ones or edit preexisting ones:

Nome

The name of the style preset.

Descrizione

The description will appear as a tool tip while hovering over the style.

Tipo di stile

Style Presets can be one of two types: paragraph or character, which decides both which properties will be available as well as how the preview is generated.

Style is Pixel Relative

By default, styles are stored in points, meaning that the sizes in pixels will be different depending on document print resolution. Toggle this to ensure the style will maintain the same pixel size across different documents.

Testo d’esempio:

Determines the sample text used to display the style preset.

Prima

Only visible when the type is «character». Displays some default text before the current text.

Campione

The portion of the sample that the preset is applied to.

Dopo

Only visible when the type is «character». Displays some default text after the current text.

Larghezza e altezza

Only visible when type is «paragraph», determines the width and height of the paragraph that the sample is flowed into.

Style presets are saved as simple SVG text objects with krita:style-type added to indicate the type, and krita:style-resolution to indicate whether it is a pixel-relative style. SVG Title and Description elements are used to store the name and description.