# vtkTextProperty LineSpacing default to 1.0

**URL:** https://discourse.vtk.org/t/vtktextproperty-linespacing-default-to-1-0/4978
**Category:** Development
**Created:** [January 11, 2021, 10:46am UTC](https://discourse.vtk.org/t/vtktextproperty-linespacing-default-to-1-0/4978 "2021-01-11T10:46:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Lfx\_Paul](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lfx_paul/32/2097_2.png) [@Lfx\_Paul](https://discourse.vtk.org/u/Lfx_Paul)
#### Post date: [January 11, 2021, 10:46am UTC](https://discourse.vtk.org/t/vtktextproperty-linespacing-default-to-1-0/4978/1 "2021-01-11T10:46:49Z")

</div>

Hi all,

During the development of [new features in vtkMatplotlibMathTextUtilities](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/7458) (support for multilines and multicolumns in text representation), we noticed that the **LineSpacing** property of _vtkTextProperty_ was defaulted to 1.1, and not 1.0 as it should be. We [included a commit](https://gitlab.kitware.com/vtk/vtk/-/commit/5cbd5bfe053d4e8945259be1cd2687eba225fd79) to change the default to 1.0.

We updated the impacted baseline, but please notice that this will change the aspect of the rendering of every multiline text. Just set **vtkTextProperty::LineSpacing** to **1.1** to have old defaulted behavior.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [January 11, 2021, 10:48am UTC](https://discourse.vtk.org/t/vtktextproperty-linespacing-default-to-1-0/4978/2 "2021-01-11T10:48:42Z")

</div>

FYI @sebastienbarre
