diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-08-16 18:40:32 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-08-16 18:40:32 +0000 |
| commit | bed7b34c2857ebac8028e8b7a00b0bef0d831df0 (patch) | |
| tree | e55d1a6353fca0436b5a972eae467e8a9af5eca7 /font.h | |
| parent | meson: add pixman dependency (diff) | |
wip: render background and glyphs using pixman
Diffstat (limited to 'font.h')
| -rw-r--r-- | font.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -7,7 +7,7 @@ #include FT_FREETYPE_H #include FT_LCD_FILTER_H #include <fontconfig/fontconfig.h> -#include <cairo.h> +#include <pixman.h> #include "tllist.h" //#include "terminal.h" @@ -16,13 +16,14 @@ typedef tll(const char *) font_list_t; struct glyph { wchar_t wc; - int width; + int cols; - cairo_surface_t *surf; - int left; - int top; + pixman_image_t *pix; + int x; + int y; + int width; + int height; - double pixel_size_fixup; bool valid; }; |
