Patent ID: 7786995

Claim:
An information processing apparatus comprising: storage means for storing character data to which a printing attribute has been added; holding means for holding, for a specific character, information for a position in a character pattern body; extraction means for employing the printing attribute, which has been added to the character data stored in said storage means, to extract body information for characters, or a character string that is represented by the character data; position designation means for designating the location of the specific character in the characters or in a character string that is to be laid out; and layout means for, when the specific character in the characters or in the character string is located at the position designated by said position designation means, employing the body information and the information for a position in a character pattern body to determine the head position of a body that corresponds to the characters or the character string, and for laying out the character string, wherein said layout means includes: first calculation means for, when said extraction means obtains body information for a prepositive character string that extends from the head character of a character string that is represented by the character data to the character preceding the specific character, calculating the size of the body of the prepositive character string; second calculation means for employing the information for a position in a character pattern body and a printing attribute to calculate information concerning the position of the specific character in the body; and third calculation means for employing information obtained by the first and the second calculation means to calculate the head position of a pertinent character string for which a predetermined portion of the specific character is arranged at a position designated by said position designation means, wherein the character string is laid out at the head position obtained by said third calculation means, wherein the information for a position in a character pattern body, which is stored in said holding means, represents the arrangement of the specific character in the character pattern body in accordance with a predetermined printing attribute.