Glyph rendering quantization for subpixel positioning
First Claim
1. A method for positioning glyphs at non-integer positions, the method comprising:
- receiving glyph data, the glyph data including a glyph, and position data; and
determining a quantized position for the glyph according to a quantization level and the position data.
2 Assignments
0 Petitions
Accused Products
Abstract
A Font Quantization Engine receives layout data including font, font matrix, glyphs and position data. This received position data includes non-integer positions for the glyphs to be rendered. According to a tolerance that is either pre-specified, or selected at run time an appropriate quantization level is determined by the Font Quantization Engine. This quantization level and the fractional position data is then used to determine quantized positions for the glyphs. Once the quantized positions are determined, a rendering engine either renders the bitmaps for the glyphs, or retrieves cached versions of the bitmaps. In this manner, glyphs are positioned at non-integer locations, yet a different bitmap is not required for each possible non-integer location. This allows for both efficiency of operation and the use of higher quality bitmaps.
15 Citations
12 Claims
-
1. A method for positioning glyphs at non-integer positions, the method comprising:
-
receiving glyph data, the glyph data including a glyph, and position data; and
determining a quantized position for the glyph according to a quantization level and the position data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A font quantization engine comprising:
-
a quantization level calculator for determining a quantization level; and
a position quantizer, communicatively coupled to the quantization level calculator, for quantizing glyphs according to their position in an ideal space, the determined quantization level, and a positioning function.
-
-
11. A computer program product for positioning glyphs at non-integer positions, the program product stored on a computer readable medium and adapted to perform the operations of:
-
receiving glyph data, the glyph data including a glyph, and position data; and
determining a quantized position for the glyph according to a quantization level and the position data.
-
-
12. A font quantization engine comprising:
-
receiving means for receiving glyph data, the glyph data including a glyph, and position data; and
determining means, communicatively coupled to the receiving means, for determining a quantized position for the glyph according to a quantization level and the position data.
-
Specification