Question
Force LTR text orientation
Hi all,
I am struggling how to force a LTR text direction from a certain point onwards. For example in the image the version is written backwards as the first text has a RTL direction. I saw that it exists a specific LTR Marker with a code U+200E but I am not sure how to use it with a buffer. Whatever I tried was not working. Any Ideas?
Here is a also a copy of this code that places in text and version number.
// Convert to touchGFX and display it
Unicode::UnicodeChar appVersion[verAndMacLen];
Unicode::strncpy(appVersion, verAndMac, verAndMacLen);
Unicode::snprintf(infoAreaBuffer, INFOAREA_SIZE, "%s\n%s", touchgfx::TypedText(T_DEVICE_FW_VERSION).getText(), appVersion);
