mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-10 05:33:51 -04:00
Remove all references to cairo; we now use pixman only
This commit is contained in:
parent
81107753bf
commit
f45e5c6aef
8 changed files with 14 additions and 66 deletions
2
font.c
2
font.c
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue