Patent ID: 8503773

Claim:
An image processing apparatus comprising: a character recognition unit configured to perform character recognition on a plurality of character images in a document image to acquire a character code corresponding to each character image; a selection unit configured to select a glyph to be used for each character image from a plurality of glyphs, based on both of a character width and character row height of each character image in the document image; and a generation unit configured to generate an electronic document, wherein the electronic document includes the document image, a plurality of character codes acquired by the character recognition unit, the plurality of glyphs, and description data which indicates the glyphs to be used for the character codes, wherein each of the plurality of glyphs is shared and used by different character codes based on the description data when rendering characters that correspond to the plurality of character codes acquired by the character recognition unit, and wherein the description data is described based on the glyph selected by the selection unit for each character image in the document image.