455 |
|
|
456 |
drawUnderline = (underlinedIndex >= 0) && (underlinedIndex < textLength); |
drawUnderline = (underlinedIndex >= 0) && (underlinedIndex < textLength); |
457 |
|
|
458 |
// XXX - FIXME we now always use this fall-back since TextLayout is |
// FIXME: unfortunately pango and cairo can't agree on metrics |
459 |
// almost completely not implemented. |
// so for the time being we continue to *not* use TextLayouts. |
460 |
if (!(g instanceof Graphics2D) || true) |
if (true || !(g instanceof Graphics2D)) |
461 |
{ |
{ |
462 |
/* Fall-back. This is likely to produce garbage for any text |
/* Fall-back. This is likely to produce garbage for any text |
463 |
* containing right-to-left (Hebrew or Arabic) characters, even |
* containing right-to-left (Hebrew or Arabic) characters, even |