15. A non-transitory computer readable medium storing computer readable program code embodied therein that: obtains an image comprising: a first graphics element comprising a first hand-drawn character; and a second graphics element comprising a second hand-drawn character; determines that the first graphics element is a command specifying a name of a font and that the second graphics element is a non-command; and generates an electronic document comprising a text character corresponding to the second hand-drawn character and in the font, wherein the electronic document does not include the first graphics element.
15. A non-transitory computer readable medium storing computer readable program code embodied therein that: obtains an image comprising: a first graphics element comprising a first hand-drawn character; and a second graphics element comprising a second hand-drawn character; determines that the first graphics element is a command specifying a name of a font and that the second graphics element is a non-command; and generates an electronic document comprising a text character corresponding to the second hand-drawn character and in the font, wherein the electronic document does not include the first graphics element. 18. The non-transitory computer readable medium of claim 15 , wherein the computer readable program code also: identifies a third graphics element in the image, wherein the third graphics element corresponds to a command to calculate a plurality of page numbers for the electronic document; and calculates a plurality of page numbers for the electronic document in response to identifying the third graphics element, wherein the electronic document comprises the plurality of page numbers.