boolean (int start, int end) { if (end - start == 1) { int charCode = myTextAsCharSequence == null ? myTextAsArray[start] : myTextAsCharSequence.charAt(start); // From CMap#getFormatCharGlyph if (charCode >= 0x200c) { if ((charCode <= 0x200f) || (charCode >= 0x2028 && charCode <= 0x202e) || (charCode >= 0x206a && charCode <= 0x206f)) { return true; } } } return false; }