> For the complete documentation index, see [llms.txt](https://interopxyz.gitbook.io/graphic-plus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://interopxyz.gitbook.io/graphic-plus/components/text/font.md).

# Font

Applies a Font to a Text Shape

## Description

Applies a Font to a Text Shape

{% tabs %}
{% tab title="Preview" %}
![](https://3812251213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJc5xO1Wiq8RypHg00wGA%2Fuploads%2FCDAV7T2HefJM2Kq8GqiU%2FComponent-Font.png?alt=media\&token=c9f80054-82fe-4916-8e34-85eac6f5820b)
{% endtab %}

{% tab title="Location" %}
**Name** | Font

**Nickname** | Font

**Tab** | Display

**Panel** | Graphics

**Division** | 2
{% endtab %}

{% tab title="Inputs" %}
**St** | **Shape Text** (*G+ Text Shape*) | A Graphic Plus Text Shape Object

**F** | **Font Family** (*Text*) | The font family name

**S** | **Font Size** (*Number*) | The font size

**B** | **Bold** (*Bool*) | Specifies if the font is bold or regular

**I** | **Italic** (*Bool*) | Specifies if the font is italic or regular

**U** | **Underline** (*Bool*) | Specifies if the font is underlined or regular

**J** | **Justification** (*Integer*) | The horizontal and vertical text justification
{% endtab %}

{% tab title="Ouputs" %}
**St** | **Shape Text** (*G+ Text Shape*) | A Graphic Plus Text Shape Object
{% endtab %}

{% tab title="Mode" %}
​![](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJc5xO1Wiq8RypHg00wGA%2Fuploads%2FthP76ws6Ip5Cd0wJqiMC%2Fimage.png?alt=media\&token=26936339-35a1-4f1d-92fc-fff3d12345c6)

**Save Image** | Opens a file save dialog to save a raster image file of the current drawing.

**Save SVG** | Opens a file save dialog to save a*n* SVG vector file of the current drawing.
{% endtab %}
{% endtabs %}

## Usage

![](https://3812251213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJc5xO1Wiq8RypHg00wGA%2Fuploads%2FX1wkD43sNHiZPqR0mS6f%2FTextFont.gif?alt=media\&token=c06777cc-2ca5-40ec-add9-76f456b097d0)
