… | |
… | |
1373 | #endif |
1373 | #endif |
1374 | |
1374 | |
1375 | if (!XftCharExists (term->dpy, f, unicode)) |
1375 | if (!XftCharExists (term->dpy, f, unicode)) |
1376 | return false; |
1376 | return false; |
1377 | |
1377 | |
|
|
1378 | // some fonts claim they can render private use chars and then |
|
|
1379 | // render them as boxes. |
|
|
1380 | if (ecb_expect_false (IS_COMPOSE (unicode))) |
|
|
1381 | return false; |
|
|
1382 | |
1378 | if (!prop || prop->width == rxvt_fontprop::unset) |
1383 | if (!prop || prop->width == rxvt_fontprop::unset) |
1379 | return true; |
1384 | return true; |
1380 | |
1385 | |
1381 | // check character against base font bounding box |
1386 | // check character against base font bounding box |
1382 | FcChar32 ch = unicode; |
1387 | FcChar32 ch = unicode; |