35. The memory of claim 34 , wherein the electronic document further comprises: electronic data defining a collection of one or more glyphlets identified by the references in the string.
34. A memory for access by a text-processing application being executed on a computer and an electronic document including a data structure embedded in the electronic document stored in said memory, the electronic document including the data structure comprising: electronic data comprising text defined by a string that includes one or more references each reference identifying a glyphlet and each reference representing a character in the text, where a glyphlet identified by a reference is the data structure embedded in the electronic document and includes both a set of character data representing a set of one or more character attributes defining semantic information of a character represented by the reference and a set of glyph data representing a set of one or more glyph attributes defining appearance information for a visual representation of the character and where a visual appearance of the character can be derived from the glyphlet identified by the reference and displayed to a user.