1 | /*--------------------------------*-C-*---------------------------------* |
1 | /*----------------------------------------------------------------------* |
2 | * File: rxvtfont.C |
2 | * File: rxvtfont.C |
3 | *----------------------------------------------------------------------* |
3 | *----------------------------------------------------------------------* |
4 | * Copyright (c) 2003-2006 Marc Lehmann <pcg@goof.com> |
4 | * Copyright (c) 2003-2006 Marc Lehmann <pcg@goof.com> |
5 | * - original version. |
5 | * - original version. |
6 | * |
6 | * |
… | |
… | |
1275 | |
1275 | |
1276 | int w = term->fwidth * len; |
1276 | int w = term->fwidth * len; |
1277 | int h = term->fheight; |
1277 | int h = term->fheight; |
1278 | |
1278 | |
1279 | bool buffered = 0 |
1279 | bool buffered = 0 |
|
|
1280 | #ifndef FORCE_UNBUFFERED_XFT |
1280 | #if defined(XPM_BACKGROUND) || defined(TRANSPARENT) |
1281 | # if defined(XPM_BACKGROUND) || defined(TRANSPARENT) |
1281 | || !term->am_transparent // we aren't transparent |
1282 | || !term->am_transparent // we aren't transparent |
1282 | || term->am_pixmap_trans // we have a pixmap |
1283 | || term->am_pixmap_trans // we have a pixmap |
1283 | #endif |
1284 | # endif |
1284 | || bg >= 0; // we don't use a transparent bg |
1285 | || bg >= 0; // we don't use a transparent bg |
|
|
1286 | #endif |
1285 | |
1287 | |
1286 | // cut trailing spaces |
1288 | // cut trailing spaces |
1287 | while (len && text [len - 1] == ' ') |
1289 | while (len && text [len - 1] == ' ') |
1288 | len--; |
1290 | len--; |
1289 | |
1291 | |