1. An information processing apparatus comprising: an image processing unit configured to perform processing on data included in an electronic document data; a determination unit configured to determine whether a designated font is prohibited from being embedded; and an embedding unit configured to, when it is determined by the determination unit that the designated font is not a font which is prohibited from being embedded, embed the designated font as a font resource in document data, and when it is determined by the determination unit that the designated font is a font which is prohibited from being embedded, create an image based on the designated font and embed the created image into the document data, wherein the embedding unit creates a subset of the designated font and embeds the subset of the designated font to the document data in a case where the determination unit determines that the designated font is not a font which is prohibited from being embedded.