# Perspective - Font Scaling with SVG?

**URL:** <https://forum.inductiveautomation.com/t/perspective-font-scaling-with-svg/74584>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 5, 2023, 6:09pm UTC](https://forum.inductiveautomation.com/t/perspective-font-scaling-with-svg/74584 "2023-06-05T18:09:11Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [June 6, 2023, 6:32am UTC](https://forum.inductiveautomation.com/t/perspective-font-scaling-with-svg/74584/7 "2023-06-06T06:32:11Z")

</div>

like so, though, sclaing font really isnt all that great tbh, if you suddenly are on a small device you wont be able to read anything... so make sure you give a min size

> [@Scaling Font size based on Container Size](https://forum.inductiveautomation.com/t/scaling-font-size-based-on-container-size/57411/2):
>
> No, there is no css alone that can get you to scale fontsize based on the parents container. There are many js options… but you can’t use those in perspective… There just one thing that might work in perspective, (That i can think of). That is for text to be but in an svg… But getting the text to fit inside it is gonna be a lot of fiddling and not great if its dynamic text. But i suppose with a binding on the viewbox you could set the dimensions based on the elements texts length. [image] […

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-font-scaling-with-svg/74584)._
