# Arabic text cut off at edges of TextBlock

**URL:** <https://forums.unrealengine.com/t/arabic-text-cut-off-at-edges-of-textblock/399523>\
**Category:** UI\
**Tags:** text, language, unreal-engine, localization, question, UMG\
**Created:** [July 1, 2017, 6:24am UTC](https://forums.unrealengine.com/t/arabic-text-cut-off-at-edges-of-textblock/399523 "2017-07-01T06:24:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![benui](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/benui/32/1145446_2.png) [@benui](https://forums.unrealengine.com/u/benui)\
**Post date:** [July 1, 2017, 6:24am UTC](https://forums.unrealengine.com/t/arabic-text-cut-off-at-edges-of-textblock/399523/1 "2017-07-01T06:24:59Z")

</div>

I’ve read that originally Arabic text wasn’t supported, but recently it is?

I’m running 4.16. I don’t know Arabic so I [copied some lorem ipsum text from here][1].

However when I put it in a plain TextBlock, with the DejaVu Sans font (recommended for Arabic support), the right-hand side of the text is cut off. In the screenshot I’ve circled some examples in red.

Is there a way to fix this? Any suggestions?

 ![201682-ue4-arabic-font-edge-problem.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/b/6/0b685bad949e7293cb161a444f8f12a9d184e0b1.png)

---

<div class="post-metadata">

**Author:** ![Jamie\_Dale](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jamie_dale/32/1165413_2.png) [@Jamie\_Dale](https://forums.unrealengine.com/u/Jamie_Dale)\
**Post date:** [July 1, 2017, 5:17pm UTC](https://forums.unrealengine.com/t/arabic-text-cut-off-at-edges-of-textblock/399523/2 "2017-07-01T17:17:47Z")

</div>

There was an RTL measuring issue caused by some other fixes for LTR shaped text, however I’ve just checked and 4.16 has none of those changes, plus I’m still able to reproduce the issue in Main (which has all the fixes).

The issue seems to occur when using DejaVu Sans at certain zoom levels (Noto Naskh, our default Arabic font, is unaffected). I’ve raised [UE-46760](https://issues.unrealengine.com/issue/UE-46760) to track this issue.

---

<div class="post-metadata">

**Author:** ![benui](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/benui/32/1145446_2.png) [@benui](https://forums.unrealengine.com/u/benui)\
**Post date:** [July 1, 2017, 8:28pm UTC](https://forums.unrealengine.com/t/arabic-text-cut-off-at-edges-of-textblock/399523/3 "2017-07-01T20:28:42Z")

</div>

Hi Jamie, thanks for the info! When you say “default font”, is that something that is included with Unreal? Otherwise I can just download it and install it.

Thanks for the information though 🙂

---

<div class="post-metadata">

**Author:** ![Jamie\_Dale](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jamie_dale/32/1165413_2.png) [@Jamie\_Dale](https://forums.unrealengine.com/u/Jamie_Dale)\
**Post date:** [July 1, 2017, 8:49pm UTC](https://forums.unrealengine.com/t/arabic-text-cut-off-at-edges-of-textblock/399523/4 "2017-07-01T20:49:55Z")

</div>

There’s no asset for Noto Naskh, but you can find the TTF file for the Regular style (NotoNaskhArabicUI-Regular.ttf) in Engine\Content\Slate\Fonts.

Alternatively you can download all the styles from Google: [Google Fonts](https://www.google.com/get/noto/#naskh-arab)
