The new algorithm for deciding whether or not to
if (the current font contains a VE segment)
{
if(the character code* is NOT contained in a VE range)
rotate else
don’t rotate
}
else
use the old logic
*The original character code, even if a galley character were substituted at some point.
Segment ID
Format/NumRanges
Range1FirstCode
Range1LastCode
Range2FirstCode
Range2LastCode
Examples:
Japanese ShiftJIS
VE
0 1
0x0000
0x00FF
Japanese Unicode
VE
0 2
0x0000 | |
0x007F | characters |
0xFF61 | |
0xFF9F | katakana |