Detect vertical text properly.