Method and system for the representation of color and other attributes in bitmap fonts
First Claim
1. A method of color assignment to a variety of glyphs, comprising the steps of:
- defining colors in a single table;
defining a glyph of a font by its elements, an element being either a pixel or a vector according to the font; and
mapping each element of the glyph to a respective color of the single table using index values of an index table which is smaller than the single table, the single table being shared among various resources, including bitmap fonts and outline fonts, wherein each index value is of a bit length according to the size of the index table.
1 Assignment
0 Petitions
Accused Products
Abstract
Colors are specified within the individual glyphs of a font by means of an indirect approach which employs multiple tables. The data values for individual pixels of a glyph identify entries in an index table, which pertains to a subset of all available colors. The entries in the index table map to a complete set of colors that are specified in a color table. As a result of this structure, the amount of data that is required to specify the individual pixels of a glyph can be minimized to the number of bits required to distinguish the colors within that glyph. The specification of all available colors within a single table permits that table to be shared among various resources, including bitmap fonts and outline fonts.
36 Citations
9 Claims
-
1. A method of color assignment to a variety of glyphs, comprising the steps of:
-
defining colors in a single table; defining a glyph of a font by its elements, an element being either a pixel or a vector according to the font; and mapping each element of the glyph to a respective color of the single table using index values of an index table which is smaller than the single table, the single table being shared among various resources, including bitmap fonts and outline fonts, wherein each index value is of a bit length according to the size of the index table. - View Dependent Claims (2, 3)
-
-
4. A computer readable medium containing a computer program for assigning colors to a variety of glyphs, wherein the computer program comprises executable instructions for:
-
defining colors in a single table; defining a glyph of a font by its elements, an element being either a pixel or a vector according to the font; and mapping each element of the glyph to a respective color of the single table using index values of an index table which is smaller than the single table, the single table being shared among various resources, including bitmap fonts and outline fonts, wherein each index value is of a bit length according to the size of the index table. - View Dependent Claims (5, 6)
-
-
7. A device-independent system for assigning colors to a variety of glyphs, comprising:
-
a single table defining a plurality of colors; a plurality of fonts having glyphs defined by elements, an element being either a pixel or a vector according to the font; and at least one index table of index values to map each element of the respective glyph to the respective color of the single table, an index table being smaller than the single table, the single table being shared among various resources, including bitmap fonts and outline fonts, wherein each index value is of a bit length according to the size of the index table. - View Dependent Claims (8, 9)
-
Specification