Remove all references to cairo; we now use pixman only

This commit is contained in:
Daniel Eklöf 2019-08-16 22:11:22 +02:00
parent 81107753bf
commit f45e5c6aef
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
8 changed files with 14 additions and 66 deletions

2
font.c
View file

@ -386,7 +386,7 @@ glyph_for_wchar(struct font *font, wchar_t wc, struct glyph *glyph)
uint8_t *data = malloc(bitmap->rows * stride);
assert(bitmap->pitch >= 0);
/* Convert FT bitmap to cairo surface (well, the backing image) */
/* Convert FT bitmap to pixman image */
switch (bitmap->pixel_mode) {
case FT_PIXEL_MODE_MONO:
for (size_t r = 0; r < bitmap->rows; r++) {