summaryrefslogtreecommitdiff
path: root/CODING_STYLE
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-07-28 12:25:47 +0000
committerBehdad Esfahbod <behdad@behdad.org>2019-07-18 14:38:47 -0700
commitea9329215d3431ded51a71b724baf0edc25ad633 (patch)
tree2d805ecfe9f443941bf8831d70adba7a77e5b940 /CODING_STYLE
parentbab53d91a8543e2ddb15f9dce98ebb3f9bcd5d22 (diff)
image compositor: Support subpixel positioning
Support subpixel positioning with a 4x4 subpixel grid. When compositing glyphs in the image compositor, we store the subpixel phases in the high bits of the glyph index. The _cairo_scaled_glyph_index() macro has been updated to discard these bits. By storing the phases in the glyph index, the glyph cache just keeps working. When loading a glyph, the Freetype font backend shifts the outline according to the phases.
Diffstat (limited to 'CODING_STYLE')
0 files changed, 0 insertions, 0 deletions