Glyph adjustment in high resolution raster while rendering
First Claim
1. A method comprising:
- receiving a glyph for display at a size on a raster output device;
receiving a grid ratio, the grid ratio specifying an integer number of fine pixels of a high resolution grid that correspond to a device pixel of a raster of the output device;
rendering, with one or more computers, the glyph at the size on the high resolution grid, the high resolution grid including fine pixels marked to represent the glyph and fine pixels that are unmarked;
determining, with the one or more computers, for each line of pixels of the high resolution grid in a particular direction, a line-specific, per-transition adjustment number, the line-specific, per-transition adjustment number determined from a scaled stem width for the glyph; and
in each line of pixels of the high resolution grid, marking or erasing the line-specific, per-transition adjustment number of fine pixels in the high resolution grid at each transition from a marked fine pixel to an unmarked fine pixel in the particular direction.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus, including computer program products, that implement a method for glyph adjustment in high resolution raster while rendering. In one aspect, a method includes the actions of receiving a glyph for display at a size on a raster output device; receiving a grid ratio specifying an integer number of fine pixels of a high resolution grid that correspond to a device pixel of the output device; rendering the glyph at the size on the high resolution grid; determining for each line of pixels of the high resolution grid, a line-specific, per-transition adjustment number; and in each line of pixels, marking or erasing the line-specific, per-transition adjustment number of fine pixels in the high resolution grid at each transition from a marked fine pixel to an unmarked fine pixel in a particular direction of the line of pixels.
110 Citations
33 Claims
-
1. A method comprising:
-
receiving a glyph for display at a size on a raster output device; receiving a grid ratio, the grid ratio specifying an integer number of fine pixels of a high resolution grid that correspond to a device pixel of a raster of the output device; rendering, with one or more computers, the glyph at the size on the high resolution grid, the high resolution grid including fine pixels marked to represent the glyph and fine pixels that are unmarked; determining, with the one or more computers, for each line of pixels of the high resolution grid in a particular direction, a line-specific, per-transition adjustment number, the line-specific, per-transition adjustment number determined from a scaled stem width for the glyph; and in each line of pixels of the high resolution grid, marking or erasing the line-specific, per-transition adjustment number of fine pixels in the high resolution grid at each transition from a marked fine pixel to an unmarked fine pixel in the particular direction. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer-program product, tangibly stored on machine-readable storage medium, the product comprising instructions operable to cause a computing device to perform a method comprising:
-
receiving a glyph for display at a size on a raster output device; receiving a grid ratio, the grid ratio specifying an integer number of fine pixels of a high resolution grid that correspond to a device pixel of a raster of the output device; rendering the glyph at the size on the high resolution grid, the high resolution grid including fine pixels marked to represent the glyph and fine pixels that are unmarked; determining for each line of pixels of the high resolution grid in a particular direction, a line-specific, per-transition adjustment number, the line-specific, per-transition adjustment number determined from a scaled stem width for the glyph; and in each line of pixels of the high resolution grid, marking or erasing the line-specific, per-transition adjustment number of fine pixels in the high resolution grid at each transition from a marked fine pixel to an unmarked fine pixel in a particular direction of the line of pixels. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32)
-
-
33. A system comprising:
one or more computers configured to perform operations comprising; receiving a glyph for display at a size on a raster output device; receiving a grid ratio, the grid ratio specifying an integer number of fine pixels of a high resolution grid that correspond to a device pixel of a raster of the output device; rendering the glyph at the size on the high resolution grid, the high resolution grid including fine pixels marked to represent the glyph and fine pixels that are unmarked; determining, for each line of pixels of the high resolution grid in a particular direction, a line-specific, per-transition adjustment number, the adjustment number determined from a scaled stem width for the glyph; and in each line of pixels of the high resolution grid, marking or erasing the line-specific, per-transition adjustment number of fine pixels in the high resolution grid at each transition from a marked fine pixel to an unmarked fine pixel in the particular direction.
Specification