Claims Analysis
Total Claims: 12
Claim 1
Independent Claim
361 words
A method in a computer system for displaying a line of text on a rendering device, the line of text to be displayed in a manner that visually approximates a display of the line of text on a target device, the line of text comprising a plurality of characters, the target device having a target font with a target advance width for each character, the rendering device having a rendering font with a rendering advance width for each character, the method comprising: initializing a position of each character of the line of text in proportion to the target advance widths of the target font; and for each character of the line of text after a first character of the line of text, selecting the character; subtracting the position of a character immediately preceding the selected character from the position of the selected character to calculate a current advance width of the preceding character; subtracting the current advance width of the preceding character from the rendering advance width of the preceding character to calculate an advance width error of the preceding character; subtracting the position of the selected character from a character immediately following the selected character to calculate a current advance width of the selected character; subtracting the current advance width of the selected character from a rendering advance width of the selected character to calculate an advance width error of the selected character; subtracting the advance width error of the preceding character from the advance width error of the selected character to generate an overall error; and when the overall error is not zero, adjusting the position of the selected character to apportion the overall error equally between the advance width of the preceding character and the advance width of the selected character, and wherein, when the selected character is a new character that is inserted into a line of text already displayed, the newly inserted character is treated as the first character of the line so that only the positions of characters following the newly inserted character are initialized and adjusted; and outputting the line of text to the rendering device based on the adjusted position of the characters.
Claim 2
Independent Claim
361 words
A method in a computer system for displaying a line of text on a rendering device, the line of text to be displayed in a manner that visually approximates a display of the line of text on a target device, the line of text comprising a plurality of characters, the target device having a target font with a target advance width for each character, the rendering device having a rendering font with a rendering advance width for each character, the method comprising: initializing a position of each character of the line of text in proportion to the target advance widths of the target font; and for each character of the line of text after a first character of the line of text, selecting the character; subtracting the position of a character immediately preceding the selected character from the position of the selected character to calculate a current advance width of the preceding character; subtracting the current advance width of the preceding character from the rendering advance width of the preceding character to calculate an advance width error of the preceding character; subtracting the position of the selected character from a character immediately following the selected character to calculate a current advance width of the selected character; subtracting the current advance width of the selected character from a rendering advance width of the selected character to calculate an advance width error of the selected character; subtracting the advance width error of the preceding character from the advance width error of the selected character to generate an overall error; and when the overall error is not zero, adjusting the position of the selected character to apportion the overall error equally between the advance width of the preceding character and the advance width of the selected character, and wherein, when the selected character is a new character that is inserted into a line of text already displayed, the newly inserted character is treated as the first character of the line so that only the positions of characters following the newly inserted character are initialized and adjusted; and outputting the line of text to the rendering device based on the adjusted position of the characters.
Claim 3
Dependent Claim
70 words
The method of claim 1 wherein the rendering device has a rendering resolution and the target device has a target resolution, wherein the target advance width is calculated for each character based on the target font and the target resolution, and wherein the rendering advance width is determined for each character by proportionally scaling the target advance width by the ratio of the rendering resolution divided by the target resolution.
Claim 4
Dependent Claim
40 words
The method of claim 2 wherein the target advance widths are proportionally scaled to determine the rendering advance width by multiplying each target advance width by a ratio, the ratio calculated by dividing the rendering resolution by the target resolution.
Claim 5
Independent Claim
279 words
A method in a computer system for preparing a line of text for display, the line of text comprising a plurality of characters, each character of the line of text having a position within the line of text, each character having a desired advance width, the method comprising: for each character of the line of text after a first character of the line of text, selecting the character; subtracting the position of a character immediately preceding the selected character for the position of the selected character to calculate advance width of the preceding character; subtracting the advance width of the preceding character from the desired advance width of the preceding character to calculate an advance width error of the preceding character; subtracting the position of the selected character from a character immediately following the selected character to calculate the advance width of the selected character; subtracting the advance width of the selected character from the desired advance width of the selected character to calculate an advance width error of the selected character; subtracting the advance width error of the preceding character from the advance width error of the selected character to generate an error difference; and when the error difference is not zero, adjusting the position of the selected character to apportion the error difference equally between the advance width of the preceding character and the advance width of the selected character, and wherein, when the selected character is a new character that is inserted into a line of text already displayed, the newly inserted character is treated as the first character of the line so that only the positions of characters following the newly inserted character are adjusted.
Claim 6
Independent Claim
279 words
A method in a computer system for preparing a line of text for display, the line of text comprising a plurality of characters, each character of the line of text having a position within the line of text, each character having a desired advance width, the method comprising: for each character of the line of text after a first character of the line of text, selecting the character; subtracting the position of a character immediately preceding the selected character for the position of the selected character to calculate advance width of the preceding character; subtracting the advance width of the preceding character from the desired advance width of the preceding character to calculate an advance width error of the preceding character; subtracting the position of the selected character from a character immediately following the selected character to calculate the advance width of the selected character; subtracting the advance width of the selected character from the desired advance width of the selected character to calculate an advance width error of the selected character; subtracting the advance width error of the preceding character from the advance width error of the selected character to generate an error difference; and when the error difference is not zero, adjusting the position of the selected character to apportion the error difference equally between the advance width of the preceding character and the advance width of the selected character, and wherein, when the selected character is a new character that is inserted into a line of text already displayed, the newly inserted character is treated as the first character of the line so that only the positions of characters following the newly inserted character are adjusted.
Claim 7
Independent Claim
293 words
A method in a computer system for displaying a line of text on a rendering device, the line of text to be displayed in a manner that visually approximates a display of the line of text on a target device, the line of text comprising a plurality of characters, the line of text having a first character, a last character, and remaining characters that occur between the first character and the last character, the target device having a target font and target resolution, each character having a desired target advance width that is determined from which target font and target resolution, the rendering device having a rendering font and a rendering resolution, each character having a desired rendering advance width that is determined from which rendering font and rendering resolution, the method comprising the steps of: calculating a scaling ratio by dividing the rendering resolution by the target resolution; assigning target display positions for the first and last character of the line of text that are obtained when each character in the line of text is positioned to have the desired target advance width determined for the character; assigning rendering display positions for the first character and last character of the line of text, the rendering display positions calculated by multiplying the target display positions assigned to the first and last character of the line of text by the calculated scaling ratio; and placing the remaining characters of the line of text for display to the rendering device at positions between the rendering display positions assigned to the first and last characters so that a sum of differences between an advance width of each character as positioned within the line of text and the desired rendering advance width of each character is minimized.
Claim 8
Independent Claim
293 words
A method in a computer system for displaying a line of text on a rendering device, the line of text to be displayed in a manner that visually approximates a display of the line of text on a target device, the line of text comprising a plurality of characters, the line of text having a first character, a last character, and remaining characters that occur between the first character and the last character, the target device having a target font and target resolution, each character having a desired target advance width that is determined from which target font and target resolution, the rendering device having a rendering font and a rendering resolution, each character having a desired rendering advance width that is determined from which rendering font and rendering resolution, the method comprising the steps of: calculating a scaling ratio by dividing the rendering resolution by the target resolution; assigning target display positions for the first and last character of the line of text that are obtained when each character in the line of text is positioned to have the desired target advance width determined for the character; assigning rendering display positions for the first character and last character of the line of text, the rendering display positions calculated by multiplying the target display positions assigned to the first and last character of the line of text by the calculated scaling ratio; and placing the remaining characters of the line of text for display to the rendering device at positions between the rendering display positions assigned to the first and last characters so that a sum of differences between an advance width of each character as positioned within the line of text and the desired rendering advance width of each character is minimized.
Claim 9
Dependent Claim
301 words
A computer memory encoded with executable instructions representing a computer program that cause a computer system to display a line of text on a rendering device that visually approximates a display of the line of text on a target device, the line of text comprising a plurality of characters, the line of text having a first character, a last character, and remaining characters that occur between the first character and the last character, the target device having a target font and target resolution, each character having a desired target advance width that is determined from the target font and target resolution, the rendering device having a rendering font and a rendering resolution, each character having a desired rendering advance width that is determined from the rendering font and rendering resolution, the computer program causing a computer system to display the line of text by: calculating a scaling ratio by dividing the rendering resolution by the target resolution; assigning target display positions for the first and last character of the line of text that are obtained when each character in the line of text is positioned to have the desired target advance width determined for the character; assigning rendering display positions for the first character and last character of the line of text, the rendering display positions calculated by multiplying the target display positions assigned to the first and last character of the line of text by the calculated scaling ratio; and placing the remaining characters of the line of text for display to the rendering device at positions between the rendering display positions assigned to the first and last characters so that a sum of differences between the advance width of each character as positioned within the line of text and the desired rendering advance width of each character is minimized.
Claim 10
Dependent Claim
301 words
A computer memory encoded with executable instructions representing a computer program that cause a computer system to display a line of text on a rendering device that visually approximates a display of the line of text on a target device, the line of text comprising a plurality of characters, the line of text having a first character, a last character, and remaining characters that occur between the first character and the last character, the target device having a target font and target resolution, each character having a desired target advance width that is determined from the target font and target resolution, the rendering device having a rendering font and a rendering resolution, each character having a desired rendering advance width that is determined from the rendering font and rendering resolution, the computer program causing a computer system to display the line of text by: calculating a scaling ratio by dividing the rendering resolution by the target resolution; assigning target display positions for the first and last character of the line of text that are obtained when each character in the line of text is positioned to have the desired target advance width determined for the character; assigning rendering display positions for the first character and last character of the line of text, the rendering display positions calculated by multiplying the target display positions assigned to the first and last character of the line of text by the calculated scaling ratio; and placing the remaining characters of the line of text for display to the rendering device at positions between the rendering display positions assigned to the first and last characters so that a sum of differences between the advance width of each character as positioned within the line of text and the desired rendering advance width of each character is minimized.
Claim 11
Dependent Claim
171 words
A computer system for displaying a line of characters on a rendering device that visually approximates a display of the line of characters on a target device, each character when displayed on the rendering device having a desired advance width and when displayed on the target device having a target advance width comprising: means for determining an initial position of each character based on the target advance widths; means for adjusting the position of each character such that a difference between the target advance width and the desired advance width of two adjacent characters is minimized while maintaining a line width that is proportional to a sum of the target advance widths of the characters, and wherein, when a new character is inserted into a line of characters already displayed, the newly inserted character is treated as the first character of the line so that only the positions of characters following the newly inserted character are adjusted; and means for displaying each character on the rendering device at it determined position.
Claim 12
Dependent Claim
171 words
A computer system for displaying a line of characters on a rendering device that visually approximates a display of the line of characters on a target device, each character when displayed on the rendering device having a desired advance width and when displayed on the target device having a target advance width comprising: means for determining an initial position of each character based on the target advance widths; means for adjusting the position of each character such that a difference between the target advance width and the desired advance width of two adjacent characters is minimized while maintaining a line width that is proportional to a sum of the target advance widths of the characters, and wherein, when a new character is inserted into a line of characters already displayed, the newly inserted character is treated as the first character of the line so that only the positions of characters following the newly inserted character are adjusted; and means for displaying each character on the rendering device at it determined position.