> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IPublisherTextStyleV2

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: interface
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/publisher/v2/style.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
export interface IPublisherTextStyleV2 extends IPublisherInheritedTextStyleV2 
```
**Extends:** [IPublisherInheritedTextStyleV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublisherinheritedtextstylev2/index.md)

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [fontSize?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublishertextstylev2/index.md#ipublishertextstylev2fontsize) |  | [PublisherPxV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.publisherpxv2/index.md) | **_(ALPHA)_** _(Optional)_ |
| [fontStyle?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublishertextstylev2/index.md#ipublishertextstylev2fontstyle) |  | "normal" \| "italic" | **_(ALPHA)_** _(Optional)_ |
| [fontWeight?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublishertextstylev2/index.md#ipublishertextstylev2fontweight) |  | number | **_(ALPHA)_** _(Optional)_ 1 to 1000. |
| [letterSpacing?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublishertextstylev2/index.md#ipublishertextstylev2letterspacing) |  | number | **_(ALPHA)_** _(Optional)_ In em. |
| [lineHeight?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublishertextstylev2/index.md#ipublishertextstylev2lineheight) |  | number | **_(ALPHA)_** _(Optional)_ Multiple of the font size. |
| [textOverflow?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublishertextstylev2/index.md#ipublishertextstylev2textoverflow) |  | "shrink" \| "clip" \| "ellipsis" | **_(ALPHA)_** _(Optional)_ Defaults to `shrink`. |
| [textTransform?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublishertextstylev2/index.md#ipublishertextstylev2texttransform) |  | "none" \| "uppercase" \| "lowercase" \| "capitalize" | **_(ALPHA)_** _(Optional)_ |

## Property details

### IPublisherTextStyleV2.fontSize

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
fontSize?: PublisherPxV2;
```

### IPublisherTextStyleV2.fontStyle

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
fontStyle?: "normal" | "italic";
```

### IPublisherTextStyleV2.fontWeight

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

1 to 1000.

**Signature:**

```typescript
fontWeight?: number;
```

### IPublisherTextStyleV2.letterSpacing

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

In em.

**Signature:**

```typescript
letterSpacing?: number;
```

### IPublisherTextStyleV2.lineHeight

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Multiple of the font size.

**Signature:**

```typescript
lineHeight?: number;
```

### IPublisherTextStyleV2.textOverflow

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Defaults to `shrink`.

**Signature:**

```typescript
textOverflow?: "shrink" | "clip" | "ellipsis";
```

### IPublisherTextStyleV2.textTransform

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
textTransform?: "none" | "uppercase" | "lowercase" | "capitalize";
```
