x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Arabic text cut off at edges of TextBlock

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.

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?

alt text

Product Version: UE 4.16
Tags:
more ▼

asked Jul 01 '17 at 06:24 AM in Using UE4

avatar image

benhumphreys
108 14 23 31

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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 to track this issue.

more ▼

answered Jul 01 '17 at 05:17 PM

avatar image

Jamie Dale STAFF
7.4k 176 66 304

avatar image benhumphreys Jul 01 '17 at 08:28 PM

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 :)

avatar image Jamie Dale STAFF Jul 01 '17 at 08:49 PM

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: https://www.google.com/get/noto/#naskh-arab

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question