/[classpath]/classpath/javax/swing/plaf/basic/BasicGraphicsUtils.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicGraphicsUtils.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9.2.1 by gnu_andrew, Fri Jan 14 10:24:17 2005 UTC revision 1.9.2.2 by gnu_andrew, Sat Jan 15 17:02:21 2005 UTC
# Line 455  public class BasicGraphicsUtils Line 455  public class BasicGraphicsUtils
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

Legend:
Removed from v.1.9.2.1  
changed lines
  Added in v.1.9.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26