Enlargement of font characters
First Claim
1. A computer readable medium having computer-executable instructions for performing a method of enlarging a character within a document, wherein the character is a component of a predetermined font, the method comprising:
- determining a desired size for the character;
determining whether the predetermined font includes existing variants of the character having the desired size;
upon determining that the predetermined font does include a variant of the character having the desired size, selecting the variant for insertion within the document; and
upon determining that the predetermined font does not include a variant of the character having the desired size, assembling a character of the desired size from a plurality of component glyphs stored within the predetermined font, wherein each component glyph includes at least one straight line connector for overlapping a connector of an adjacent component glyph, and wherein the step of assembling the character further comprises;
maximizing an amount of overlap between neighboring connectors at each end of adjacent component glyphs to minimize an overall size of the connector;
calculating a potential increase in character size resulting from reducing the amount of connector overlap from the maximum amount to a predetermined minimum amount of overlap, wherein the predetermined minimum amount is greater than zero; and
determining if the potential increase in character size is equal to or greater than the desired character size.
2 Assignments
0 Petitions
Accused Products
Abstract
A character within a font is enlarged to a desired size by first determining whether the font contains existing or predefined variants of the character having the desired size. If no appropriately sized variant exists, the enlarged character is assembled from a plurality of component glyphs that are stored with the font, wherein the component glyphs include an extender that may be duplicated within the assembled character in order to achieve the desired size. In one embodiment, the font includes tables containing records of the enlarged variants for a particular character, as well as part records for the component glyphs used to assemble the enlarged character.
19 Citations
15 Claims
-
1. A computer readable medium having computer-executable instructions for performing a method of enlarging a character within a document, wherein the character is a component of a predetermined font, the method comprising:
-
determining a desired size for the character; determining whether the predetermined font includes existing variants of the character having the desired size; upon determining that the predetermined font does include a variant of the character having the desired size, selecting the variant for insertion within the document; and upon determining that the predetermined font does not include a variant of the character having the desired size, assembling a character of the desired size from a plurality of component glyphs stored within the predetermined font, wherein each component glyph includes at least one straight line connector for overlapping a connector of an adjacent component glyph, and wherein the step of assembling the character further comprises; maximizing an amount of overlap between neighboring connectors at each end of adjacent component glyphs to minimize an overall size of the connector; calculating a potential increase in character size resulting from reducing the amount of connector overlap from the maximum amount to a predetermined minimum amount of overlap, wherein the predetermined minimum amount is greater than zero; and determining if the potential increase in character size is equal to or greater than the desired character size. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer readable medium having computer-executable instructions for generating an enlarged version of a specified character within a predetermined font, wherein the specified character is enlarged in at least one of a vertical or horizontal direction, and wherein the computer-executable instructions define data structures within the predetermined font comprising:
-
a first data field containing a record of predefined enlarged variants for the specified character; and a second data field containing a pointer to a glyph assembly table for the specified character, wherein the glyph assembly table contains information about a sequence of component glyphs used to assemble an enlarged version of the specified character, the glyph assembly table including an array of component glyph records comprising; a first value representing a glyph identifier for each component glyph; a second value representing a length of a connector at one end of the component glyph; a third value representing a length of a connector at an opposite end of the component glyph, wherein the third value may be zero if the component glyph only includes a single connector; a fourth value representing a full advance measurement for one of a height or length of the component glyph; and a fifth value indicating whether the component glyph is an extender that can be repeated during assembly of the specified character, wherein the extender adds length or width in order to achieve a desired size of the specified character. - View Dependent Claims (10, 11, 12, 13)
-
-
14. A computer readable medium having computer-executable instructions for generating an enlarged version of a specified character within a predetermined font, wherein the specified character is enlarged in at least one of a vertical or horizontal direction, and wherein the computer-executable instructions define a plurality of tables included with the predetermined font, the plurality of tables comprising:
-
a first table including a first count of font characters that are capable of growing in a vertical direction and a second count of font characters that are capable of growing in a horizontal direction; a second table including a count of component glyphs that are used to assemble an enlarged version of the specified character, the second table further including an array of component glyph records describing each component glyph used to assemble the enlarged version of the specified character, the array comprising a first value representing a glyph identifier for each component glyph, a second value representing a length of a connector at one end of the component glyph, a third value representing a length of a connector at an opposite end of the component glyph, wherein the third value may be zero if the component glyph only includes a single connector, a fourth value representing a full advance measurement for one of a height or length of the component glyph, and a fifth value indicating whether the component glyph is an extender that can be repeated during assembly of the specified character, wherein the extender adds length or width in order to achieve a desired size of the specified character; and a third table including a record of predefined enlarged variants for the specified character, the third table further including a pointer to the second table for the specified character; and wherein the first, second and third tables enable a typesetting application utilizing the predetermined font to alternatively select a predefined enlarged variant of the specified character or assemble an enlarged version of the specified character from component glyphs, wherein the assembled version of the specified character has a desired size that is not represented within the predefined enlarged variants. - View Dependent Claims (15)
-
Specification