summaryrefslogtreecommitdiff
path: root/test/user-font-subpixel.c
Commit message (Collapse)AuthorAgeFilesLines
* [user-font] Implement subpixel-positioningBehdad Esfahbod2022-02-131-0/+92
See: https://github.com/harfbuzz/harfbuzz/pull/3411#issuecomment-1033118545 https://github.com/harfbuzz/harfbuzz/pull/3411#issuecomment-1033125311 https://github.com/harfbuzz/harfbuzz/pull/3411#issuecomment-1037765840 Basically the code in cairo-image-compositor.c:composite_glyphs() is flooring glyph positions and putting some phase in the glyph-id. This was being lost in the user-font backend. Fetch that and put it in the recording-surface's device-transform translation, to be applied.