Enable DirectWrite on Winodws 8.1 Win32 Visual Studio 2013

Hello

 

I tired translating the SystemInfo demo in the demo which uses TextEditor

When I try to render Arabic text I see it like ?????????????? ?????????????

 

Do I need these:

JUCE_USE_DIRECTWRITE

JUCE_DIRECT2D

 

What do I need to do?

I just checked ~~Embedding unicode string literals in your cpp files, It doesn't work either.

I tried changing the font

resultsBox.setFont(Font("Segoe UI", 15.0f, Font::plain)); 

No results.

~~I just tried ~CodeEditorComponent it works perfectly but useless, also FontsDemo renders Arabic backwards although it use TextEditor only when writing not using a method

YES!  the 'L' in front a string

String arabic = L"عربي"; 

but no ligatures