Fix error while unicode character cut in shape driver