Enable DirectWrite on Winodws 8.1 Win32 Visual Studio 2013


#1

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?


#2

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.


#3

~~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


#4

YES!  the 'L' in front a string

String arabic = L"عربي"; 

but no ligatures