# Bad text / font quality when drawing it on RenderTargetCanvas2D

**URL:** <https://forums.unrealengine.com/t/bad-text-font-quality-when-drawing-it-on-rendertargetcanvas2d/1643588>\
**Category:** Blueprint\
**Tags:** rendertarget, draw, canvas, text, unreal-engine, Blueprint, question\
**Created:** [January 26, 2024, 11:56am UTC](https://forums.unrealengine.com/t/bad-text-font-quality-when-drawing-it-on-rendertargetcanvas2d/1643588 "2024-01-26T11:56:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nitrogen092](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nitrogen092](https://forums.unrealengine.com/u/nitrogen092)\
**Post date:** [January 26, 2024, 11:56am UTC](https://forums.unrealengine.com/t/bad-text-font-quality-when-drawing-it-on-rendertargetcanvas2d/1643588/1 "2024-01-26T11:56:43Z")

</div>

When drawing text on RenderTarget2D using the DrawText node, the text quality is very low, the text is blurred… I adjust the text size with the Scale parameter. I tried to increase the canvas size and, accordingly, the scale of the text, but it does not help. Can anyone help me figure out what the reason for this is?

 ![2024-01-26_14-58-24](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/b/6ebe73f44c65b9ea784e15698c834dacebff9275.png)

---

<div class="post-metadata">

**Author:** ![Shmoopy1701](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shmoopy1701/32/1194536_2.png) [@Shmoopy1701](https://forums.unrealengine.com/u/Shmoopy1701)\
**Post date:** [January 26, 2024, 3:37pm UTC](https://forums.unrealengine.com/t/bad-text-font-quality-when-drawing-it-on-rendertargetcanvas2d/1643588/2 "2024-01-26T15:37:03Z")

</div>

What font are you using? The engine default Roboto is pretty small so looks bad scaled up. You’ll want to use a larger font.

---

<div class="post-metadata">

**Author:** ![nitrogen092](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nitrogen092](https://forums.unrealengine.com/u/nitrogen092)\
**Post date:** [January 26, 2024, 5:43pm UTC](https://forums.unrealengine.com/t/bad-text-font-quality-when-drawing-it-on-rendertargetcanvas2d/1643588/3 "2024-01-26T17:43:54Z")

</div>

I use Roboto. but why does it look good when I use this font for buttons, etc.?

---

<div class="post-metadata">

**Author:** ![Shmoopy1701](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shmoopy1701/32/1194536_2.png) [@Shmoopy1701](https://forums.unrealengine.com/u/Shmoopy1701)\
**Post date:** [January 27, 2024, 4:34am UTC](https://forums.unrealengine.com/t/bad-text-font-quality-when-drawing-it-on-rendertargetcanvas2d/1643588/4 "2024-01-27T04:34:20Z")

</div>

Just a guess but the the scaling works differently in the UI vs world. When you walk up to text in the world you’ll notice it takes up a lot of screen pixels.

Anyway, yeah we just used a larger font and our world material text looks crisp.

---

<div class="post-metadata">

**Author:** ![nitrogen092](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nitrogen092](https://forums.unrealengine.com/u/nitrogen092)\
**Post date:** [January 27, 2024, 9:40am UTC](https://forums.unrealengine.com/t/bad-text-font-quality-when-drawing-it-on-rendertargetcanvas2d/1643588/5 "2024-01-27T09:40:27Z")

</div>

![2024-01-27_13-16-54](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/7/a/17ad86c5622312b83d15f68259c7b6360f5c3730.png)  
The problem is solved! It was necessary to increase the font size here

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [February 26, 2024, 9:41am UTC](https://forums.unrealengine.com/t/bad-text-font-quality-when-drawing-it-on-rendertargetcanvas2d/1643588/6 "2024-02-26T09:41:17Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
