- added some logic to 'try' to figure out when to render font test right to left and when not to

This commit is contained in:
Mark Vejvoda
2011-06-09 05:54:04 +00:00
parent bc2c59a82a
commit fc3f5bbfa0
8 changed files with 202 additions and 28 deletions

View File

@@ -299,6 +299,11 @@ void Properties::load(const string &path, bool clearCurrentProperties) {
memcpy(&lineBuffer[0],&utfStr[0],strlen(utfStr));
}
// bool isRLM = utf8::starts_with_rlm(&lineBuffer[0], &lineBuffer[0] + strlen(lineBuffer));
// if(isRLM) {
// printf("\n\nORIGINAL TEXT [%s] isRLM = %d\n\n",&lineBuffer[0],isRLM);
// }
//if(is_utf8_language == true && Font::forceLegacyFonts == true) {
//string line = lineBuffer;
//wstring wstr = fromUtf8(line.c_str(), line.size());