# Scene producer font change

**URL:** <https://casparcgforum.org/t/scene-producer-font-change/803>\
**Category:** General\
**Created:** [September 19, 2018, 12:33am UTC](https://casparcgforum.org/t/scene-producer-font-change/803 "2018-09-19T00:33:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![speedivx](https://casparcgforum.org/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@speedivx](https://casparcgforum.org/u/speedivx)\
**Post date:** [September 19, 2018, 12:33am UTC](https://casparcgforum.org/t/scene-producer-font-change/803/1 "2018-09-19T00:33:54Z")

</div>

Hi,  
I would like to change by an external variable the size, the font or the color of the font included in a scene producer,  
with a variable of this type:

```auto
<variable type = "number" public = "true" id = "font"> LiberationSans-Bold </ variable>
<variable type = "number" public = "true" id = "size"> 20 </ variable>
<variable type = "number" public = "true" id = "color"> black </ variable>

```

do you have an idea ?

```auto
<layer id="text">
  <producer>[TEXT] "" 0 0 size 18 color black font LiberationSans-Bold</producer>
  <x>${variable.current_text_pos + variable.animation_pos_x}</x>
  <y>${layer.plate.y + layer.plate.height - f2}</y>
  <parameters>
    <text>${text}</text>
  </parameters>
</layer>

```

---

<div class="post-metadata">

**Author:** ![speedivx](https://casparcgforum.org/letter_avatar_proxy/v4/letter/s/49beb7/32.png) [@speedivx](https://casparcgforum.org/u/speedivx)\
**Post date:** [September 21, 2018, 9:16pm UTC](https://casparcgforum.org/t/scene-producer-font-change/803/2 "2018-09-21T21:16:54Z")

</div>

No solution ?
