# Consistent Font size for Text source

**URL:** https://discourse.paraview.org/t/consistent-font-size-for-text-source/4794
**Category:** Development
**Created:** [July 9, 2020, 7:13pm UTC](https://discourse.paraview.org/t/consistent-font-size-for-text-source/4794 "2020-07-09T19:13:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![vbolea](https://discourse.paraview.org/user_avatar/discourse.paraview.org/vbolea/32/4121_2.png) [@vbolea](https://discourse.paraview.org/u/vbolea)
#### Post date: [July 9, 2020, 7:13pm UTC](https://discourse.paraview.org/t/consistent-font-size-for-text-source/4794/1 "2020-07-09T19:13:19Z")

</div>

Currently the font size of a text created using `Text Source` varies upon the size of the `RenderView`. I found the reason to be that `TextSource` defaults `TextScaleMode` to `viewport` which scales the text according to the view size translating into having inconsistent font sizes.

In this [MR](https://gitlab.kitware.com/paraview/paraview/-/merge_requests/4238), this is corrected by simply changing the default TextScaleMode to None when using Text Source

I am sure that we favor consistent font sizes, however, it seems that this has been there for a while, thus I am afraid that introducing this change my break something.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [July 9, 2020, 7:32pm UTC](https://discourse.paraview.org/t/consistent-font-size-for-text-source/4794/2 "2020-07-09T19:32:35Z")

</div>

The implication of Vicente’s proposed change is that text annotations you have saved in state files of Python scripts will change in newer versions of ParaView. It will be impractical to add backwards compatibility to correctly scale the annotations back to the size you had set in previous versions, but fortunately updating the annotations should involve nothing more than adjusting the font size manually.

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [July 9, 2020, 7:37pm UTC](https://discourse.paraview.org/t/consistent-font-size-for-text-source/4794/3 "2020-07-09T19:37:38Z")

</div>

+10

---

<div class="post-metadata">

### Author: ![vbolea](https://discourse.paraview.org/user_avatar/discourse.paraview.org/vbolea/32/4121_2.png) [@vbolea](https://discourse.paraview.org/u/vbolea)
#### Post date: [July 31, 2020, 7:41pm UTC](https://discourse.paraview.org/t/consistent-font-size-for-text-source/4794/4 "2020-07-31T19:41:22Z")

</div>

Since there are no conflicts with this change or arguments against it, I will proceed with the merge and adapt our unit tests to reflect this change.

Expected to be included in the coming 5.9 release.
