Text this: Isolated character recognition based on sub-character primitive features