aboutsummaryrefslogtreecommitdiff
path: root/grid.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-26 16:54:14 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-26 16:54:14 +0000
commit90d357befb02ca10231cb998c2c3004703e43646 (patch)
tree1edb5043425a7b5bba0beb0f6ff0db268700b920 /grid.c
parentrender: reset "last cursor" when resizing (diff)
render: poc: use freetype to render glyphs
Initial POC that uses freetype to render the glyphs. The bitmap produced by freetype contains the alpha value. We use this bitmap in a mask surface and then draw the final glyph with cairo by applying the source rgb using the OVER operator and the freetype generated alpha mask as surface mask. Note that we only support grayscale antialiasing (and no antialiasing). We are probably not setting the antialias options correctly either.
Diffstat (limited to 'grid.c')
0 files changed, 0 insertions, 0 deletions