# Perspective: Can font size be scaled according to size of coordinate container?

**URL:** <https://forum.inductiveautomation.com/t/perspective-can-font-size-be-scaled-according-to-size-of-coordinate-container/39825>\
**Category:** Ignition\
**Tags:** perspective, ignition80\
**Created:** [October 20, 2020, 6:30am UTC](https://forum.inductiveautomation.com/t/perspective-can-font-size-be-scaled-according-to-size-of-coordinate-container/39825 "2020-10-20T06:30:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 20, 2020, 6:30am UTC](https://forum.inductiveautomation.com/t/perspective-can-font-size-be-scaled-according-to-size-of-coordinate-container/39825/1 "2020-10-20T06:30:02Z")

</div>

v8.1.0rc1

I have a P&ID mimic created inside a coordinate container that needs to display nicely from 1366x768 up to 1920x1280. I’m mostly there, using percent mode in the coord container, but this doesn’t affect font sizes. I’ve attempted to use media queries, but wondering if there’s a way to get it to scale evenly, like in Vision?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 20, 2020, 2:58pm UTC](https://forum.inductiveautomation.com/t/perspective-can-font-size-be-scaled-according-to-size-of-coordinate-container/39825/2 "2020-10-20T14:58:03Z")

</div>

Not really. You can use [viewport units](https://www.sitepoint.com/css-viewport-units-quick-start/) to sort-of fake it, but for it to work very well your view must take up a consistent fraction of the overall viewport.

---

<div class="post-metadata">

**Author:** ![dkylep](https://avatars.discourse-cdn.com/v4/letter/d/6de8d8/32.png) [@dkylep](https://forum.inductiveautomation.com/u/dkylep)\
**Post date:** [November 5, 2020, 12:42am UTC](https://forum.inductiveautomation.com/t/perspective-can-font-size-be-scaled-according-to-size-of-coordinate-container/39825/3 "2020-11-05T00:42:32Z")

</div>

May not be ideal but I've put some svg text on some of my views.  
Similar question asked here

> [@Text on Perspective elements doesn't shrink](http://forum.inductiveautomation.com/t/text-on-perspective-elements-doesnt-shrink/35976/7):
>
> Have you tried SVG text? Create a file on your computer called text.svg and edit with notepad. Add the follwing text to the file… \<svg height="20" width="80" viewBox="0 0 80 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"\> \<text x="0" y="15" fill="blue"\>SVG Text\</text\> \</svg\> Assuming your view is a coordinate container, drag the file from your computer and drop it on a view in ignition perspective designer. When the ‘Link Image’ windows pop…
