Upscaling of an anti-aliased graphical element in a raster image includes
generating a grid of pixels. Resolution of the grid is higher than
resolution of the graphical element. Each pixel in the anti-aliased
graphical element corresponds to a group of pixels in the higher
resolution grid. The upscaling further includes distributing coverage of
each transition pixel in the anti-aliased graphical element to the
corresponding pixels in the higher resolution grid. The coverage is
distributed unevenly.