popup: replace FreeType renderer with PangoCairo
This commit is contained in:
@@ -1,18 +1,6 @@
|
||||
#include "dat.h"
|
||||
#include "fn.h"
|
||||
|
||||
int
|
||||
popupcells(Rune *r, int n)
|
||||
{
|
||||
int i, w;
|
||||
|
||||
w = 0;
|
||||
for(i = 0; i < n; i++)
|
||||
if(r[i] != 0xfe0e && r[i] != 0xfe0f)
|
||||
w++;
|
||||
return w;
|
||||
}
|
||||
|
||||
void
|
||||
popupposition(Caret *caret, int pointerx, int pointery, int screenw,
|
||||
int screenh, int w, int h, int *x, int *y)
|
||||
|
||||
Reference in New Issue
Block a user