The other consideration used to select the value Y2 is to reject the character, such as p, in the FIG. 5C, having a long extension below its base line, since the skew of the document 1 is determined based upon the positions of the bottom-left corners of the rectangles, as stated hereinbelow.