popup: replace FreeType renderer with PangoCairo
This commit is contained in:
@@ -4,11 +4,9 @@
|
||||
void
|
||||
popup_layout(struct ct *t)
|
||||
{
|
||||
Rune heart[] = { 0x2764, 0xfe0f };
|
||||
Caret caret;
|
||||
int x, y;
|
||||
|
||||
CT_EQ_INT(t, 1, popupcells(heart, nelem(heart)));
|
||||
memset(&caret, 0, sizeof caret);
|
||||
popupposition(&caret, 40, 50, 800, 600, 100, 60, &x, &y);
|
||||
CT_EQ_INT(t, 50, x);
|
||||
|
||||
Reference in New Issue
Block a user