RENDERING A TEXT IMAGE FOLLOWING A LINE
First Claim
Patent Images
1. A computer-implemented method for rendering an image on a display device, comprising:
- determining, using a computer device, a line within the image along which to render a text string that is stored as a set of pixelated text characters within an image lookup table;
determining, using the computer device, a plurality of line segments associated with the line and a range associated with each line segment wherein the different ranges for each of the line segments relate to different portions of the line;
forming, using the computer device, a text box for each of the plurality of line segments, each of the text boxes being oriented to draw text in an upright position along an associated line segment;
selecting, using the computer device, one of the text boxes in which to render a text character of the text string;
selecting, using the computer device, one of the text characters from the text string stored as a set of pixelated text characters within the image lookup table;
determining, using the computer device, if a center of the one of the text characters, when rendered in the one of the text boxes on the image, will be within the range of the line segment associated with the one of the text boxes; and
rendering, using the computer device, the one of the text characters on the display device using the one of the text boxes if a center of the one of the text characters when rendered in the one of the text boxes will be within the range of the line segment associated with the one of the text boxes; and
not rendering the one of the text characters on the display device using the one of the text boxes if a center of the one of the text characters when rendered in the one of the text boxes will not be within the range of the line segment associated with the one of the text boxes.
2 Assignments
0 Petitions
Accused Products
Abstract
A graphics or image rendering system, such as a map image rendering system, receives image data from an image database in the form of vector data that defines various image objects, such as roads, geographical boundaries, etc., and textures defining text strings to be displayed on the image to provide, for example, labels for the image objects. The imaging rendering system renders the images such that the individual characters of the text strings are placed on the image following a multi-segmented or curved line.
-
Citations
24 Claims
-
1. A computer-implemented method for rendering an image on a display device, comprising:
-
determining, using a computer device, a line within the image along which to render a text string that is stored as a set of pixelated text characters within an image lookup table; determining, using the computer device, a plurality of line segments associated with the line and a range associated with each line segment wherein the different ranges for each of the line segments relate to different portions of the line; forming, using the computer device, a text box for each of the plurality of line segments, each of the text boxes being oriented to draw text in an upright position along an associated line segment; selecting, using the computer device, one of the text boxes in which to render a text character of the text string; selecting, using the computer device, one of the text characters from the text string stored as a set of pixelated text characters within the image lookup table; determining, using the computer device, if a center of the one of the text characters, when rendered in the one of the text boxes on the image, will be within the range of the line segment associated with the one of the text boxes; and rendering, using the computer device, the one of the text characters on the display device using the one of the text boxes if a center of the one of the text characters when rendered in the one of the text boxes will be within the range of the line segment associated with the one of the text boxes; and
not rendering the one of the text characters on the display device using the one of the text boxes if a center of the one of the text characters when rendered in the one of the text boxes will not be within the range of the line segment associated with the one of the text boxes. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11-14. -14. (canceled)
-
15. A method of rendering text along a line within an image being rendered on a display device, comprising:
-
storing a text string lookup table in a computer memory, the text string lookup table including a multiplicity of text characters associated with a text string and encoding data defining a center position of each of the multiplicity of text characters associated with the text string; determining using a computer device a plurality of line segments associated with a line in the image along which the text string is to be rendered and a range associated with each line segment wherein the different ranges for each of the line segments relate to different portions of the line; forming a text box for each of the plurality of line segments using the computer device, each of the text boxes being oriented to draw text in an upright position along an associated line segment in the image; and for each text character in the text string; selecting using the computer device one of the text boxes in which to render the text character of the text string; reading the encoding data from the text string lookup table using the computer device and determining if the center position of the text character, when rendered in the selected one of the text boxes, will be within the range of the line segment associated with the selected one of the text boxes; and rendering the text character in the image on the display device using the selected one of the text boxes if the center position of the text character when rendered in the selected one of the text boxes will be within the range of the line segment associated with the selected one of the text boxes or otherwise selecting a different one of the plurality of text boxes as the selected one of the text boxes if the center position of the text character, when rendered in the selected one of the text boxes, will not be within the range of the line segment associated with the selected one of the text boxes. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23)
-
-
24-30. -30. (canceled)
Specification