1. An information processing apparatus which sets typeface information used for an input character when the character is newly input in a character string in which typeface information is set for each character, comprising: an acquisition unit adapted to acquire typeface information of a first character and typeface information of a second character, which are located before and after a position of the input character; a first setting unit adapted to, when the typeface information of the first character and the typeface information of the second character acquired by said acquisition unit include the same typeface type, set the typeface type as typeface type information used for the input character; and a second setting unit adapted to, when the typeface information of the first character and the typeface information of the second character acquired by said acquisition unit include different typeface, execute parsing for the character string including the input character, wherein said second setting unit, a) when it is parsed that the input character string is part of words including the first character, sets typeface information used for the input character to the same typeface information of the first character, b) when it is parsed that the input character string is part of words including the second character, sets typeface information used for the input character to the same typeface information of the second character.
1. An information processing apparatus which sets typeface information used for an input character when the character is newly input in a character string in which typeface information is set for each character, comprising: an acquisition unit adapted to acquire typeface information of a first character and typeface information of a second character, which are located before and after a position of the input character; a first setting unit adapted to, when the typeface information of the first character and the typeface information of the second character acquired by said acquisition unit include the same typeface type, set the typeface type as typeface type information used for the input character; and a second setting unit adapted to, when the typeface information of the first character and the typeface information of the second character acquired by said acquisition unit include different typeface, execute parsing for the character string including the input character, wherein said second setting unit, a) when it is parsed that the input character string is part of words including the first character, sets typeface information used for the input character to the same typeface information of the first character, b) when it is parsed that the input character string is part of words including the second character, sets typeface information used for the input character to the same typeface information of the second character. 2. The apparatus according to claim 1 , further comprising: a determination unit adapted to determine a status of a flag indicating the presence/absence of embedded typeface settings, which is included in each of the typeface information of the first character and the typeface information of the second character acquired by said acquisition unit; and an execution unit adapted to set the flag for the input character to be ON or OFF based on the determination result of said determination unit, and execute one of said first setting unit and said second setting unit.