2003/10/29 03:24:00
authorxwt <xwt@xwt.org>
Fri, 30 Jan 2004 07:40:32 +0000 (07:40 +0000)
committerxwt <xwt@xwt.org>
Fri, 30 Jan 2004 07:40:32 +0000 (07:40 +0000)
darcs-hash:20040130074032-3ac31-b743ea3939e4c70ae70e4ae165aba382d6482ce8.gz

src/org/xwt/Box.java.pp

index 7cae9dd..72509f3 100644 (file)
@@ -512,7 +512,7 @@ public final class Box extends JS.Scope {
            if (g != null) {
                int top = y + g.max_ascent - g.baseline + g.max_descent;
                if (g.p != null)
-                   buf.drawPictureAlphaOnly(g.p, x, top,
+                   buf.drawPictureAlphaOnly(g.p, x, top + 4,
                                             clipx, clipy, clipx + clipw, clipy + cliph, textcolor);
                x += g.advance;
            } else {