diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-26 16:54:14 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-26 16:54:14 +0000 |
| commit | 90d357befb02ca10231cb998c2c3004703e43646 (patch) | |
| tree | 1edb5043425a7b5bba0beb0f6ff0db268700b920 /scripts | |
| parent | render: 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 'scripts')
0 files changed, 0 insertions, 0 deletions
