Hello
I am trying to display arabic characters on an LCD display attached to TM4C129ENCPDT processor running latest Tivaware and TiRTOS.
I have managed to generate a FONT_FMT_WIDE_PIXEL_RLE file using
./ftrasterize.exe -f ajrakW_pr -s 16 -u -r -p 0 -e 0xFE00 -c mapfile.txt PakType_Ajrak.ttf
I have included the font into my code and can access the default pagecode for basic text characters, but cannot find an example as to how I access the arabic presentation characters which should be at page code 0xFB50 .
How do I get the GrStringDraw function to access the appropriate characters?
GrContextFontSet(&LcdContext, g_psFontWAjrakw_pr16pt);
GrStringDraw(&LcdContext, "Test", -1, 1, 1, 0);
Works fine for the text but if I paste in UTF8 chars it just displays dots and the compiler doesn't like the \ufb50 within the string (says unsupported format.) Ideally I'd like to just use the \u or \x to access the characters as the arabic pasted into the editor stuffs up the delete and arrow directions.