Rendering a text image using texture map character center encoding with character reference encoding
First Claim
1. A computer-implemented method for rendering a text image on a display device, comprising:
- accessing, using a computer device, an image lookup table having a set of encoded data for two or more text characters associated with a text string of two or more text characters to be rendered in an image;
reading, using a computer device, the set of encoded data from the image lookup table to determine first and second encoding data for one of the text characters associated with the text string, the first encoding data for the one of the text characters defining information about the position of the text character in the text string and the second encoding data for the one of the text characters defining a reference to a field of pixels in the image lookup table storing a set of pixel values defining the image to be rendered for the one of the text characters;
determining, using the computer device, pixel values for the one of the text characters from the referenced field of pixels for the one of the text characters as stored within the image lookup table to analyze for rendering at a particular position within the image;
determining, using the computer device, a center position of the one of the text characters stored in the field of pixels defined by the second encoding data for the one of the text characters based on the first encoding data for the one of the text characters; and
rendering, using the computer device, pixels of the one of the text characters at a particular position within the image based on the location of the center position of the one of the text characters.
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. In doing so, the image rendering system creates and reads a texture map that stores pixelated text characters of the text strings to be rendered in the image as a set of glyphs and that also stores first encoding data defining the center position of each text character as stored in a glyph and second encoding data referencing the location of the glyph to be used as the text character. This center position encoding enables the system to determine whether, in any particular instance, a text character of a text string should be rendered in the image at a particular position along the line or at a different position along the line while maximizing the storage efficiency of the texture map used to store the text string by allowing text characters repeated in a text string to be stored only once in the texture map.
35 Citations
42 Claims
-
1. A computer-implemented method for rendering a text image on a display device, comprising:
-
accessing, using a computer device, an image lookup table having a set of encoded data for two or more text characters associated with a text string of two or more text characters to be rendered in an image; reading, using a computer device, the set of encoded data from the image lookup table to determine first and second encoding data for one of the text characters associated with the text string, the first encoding data for the one of the text characters defining information about the position of the text character in the text string and the second encoding data for the one of the text characters defining a reference to a field of pixels in the image lookup table storing a set of pixel values defining the image to be rendered for the one of the text characters; determining, using the computer device, pixel values for the one of the text characters from the referenced field of pixels for the one of the text characters as stored within the image lookup table to analyze for rendering at a particular position within the image; determining, using the computer device, a center position of the one of the text characters stored in the field of pixels defined by the second encoding data for the one of the text characters based on the first encoding data for the one of the text characters; and rendering, using the computer device, pixels of the one of the text characters at a particular position within the image based on the location of the center position of the one of the text characters. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. An image rendering engine, comprising;
-
a processor; a memory coupled to the processor; a display device coupled to the processor; a text string lookup table stored in the memory that includes a set of glyphs and one or more sections of encoding data, wherein each glyph is stored as a field of pixels defining a displayable image associated with a text character, and wherein each section of encoding data defines a text string of two or more text characters to be rendered in an image, wherein each section of encoding data includes two or more sets of character encoding data with each set of character encoding data including first encoding data defining information about a position of a particular text character in the text string from which the center position of the particular text character can be determined and second encoding data defining a reference to one of the glyphs to define the identity of the particular text character in the text string; and a routine, stored in the memory, that executes on the processor to read the first and second encoding data of a particular set of character encoding data for a text character to determine a position of one or more pixels stored with a glyph associated with the text character within the text string to be rendered in an image. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29)
-
-
30. A method of creating a text string lookup table, comprising:
-
storing, in a computer memory at memory positions defining the text string lookup table, a set of glyphs, wherein each glyph is stored as a field of pixels defining a displayable image associated with a text character such that multiple pixels are stored in the memory for each glyph; and storing, in the computer memory at memory positions defining the text string lookup table, one or more sections of encoding data, wherein each section of encoding data defines a text string of two or more text characters to be rendered in an image and wherein each section of encoding data includes two or more sets of character encoding data with each set of character encoding data defining a text character of the text string and including first encoding data defining information about a position of a text character in the text string from which the center position of the text character can be determined and second encoding data defining a reference to one of the glyphs to define the identity of the text character in the text string. - View Dependent Claims (31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42)
-
Specification