# FontSize of RadRichTextBox not Respected

## Environment

<table>
	<tbody>
		<tr>
			<th scope="row">Product Version</th>
			<td>2019.2.618</td>
		</tr>
		<tr>
			<th scope="row">Product</th>
			<td>RadRichTextBox for WPF</td>
		</tr>
	</tbody>
</table>

## Description

The **FontSize** property of the **RadRichTextBox** is not applied to its text.

## Solution

To display the proper **FontSize** passed to the RadRichTextBox control, you need to also set its [DocumentInheritsDefaultStyleSettings](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/frequently-asked-questions#setting-default-style-settings-on-the-document) property to **True**.

```XAML
	<Grid>
		<telerik:RadRichTextBox x:Name="radRichTextBox" 
								DocumentInheritsDefaultStyleSettings="True" 
								FontSize="8" />
		<telerik:HtmlDataProvider 
								RichTextBox="{Binding ElementName=radRichTextBox}"  
								Html="{Binding Path=Html, Mode=TwoWay}" />
	</Grid>
```

## See Also

* [Frequently Asked Questions](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/frequently-asked-questions)
* [Data Providers](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/import-export/features-data-providers)
