public void MirrorGlyphs() { for (int k = 0; k < totalTextLength; ++k) { if ((orderLevels[k] & 1) == 1) { int mirror = mirrorChars[text[k]]; if (mirror != 0) text[k] = (char)mirror; } } }