From: megacz Date: Fri, 30 Jan 2004 07:38:51 +0000 (+0000) Subject: 2003/10/01 03:08:31 X-Git-Tag: RC3~500 X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=commitdiff_plain;h=3c68ab103101636952799709c5a5b635d3cc214b 2003/10/01 03:08:31 darcs-hash:20040130073851-2ba56-fd4dfa836e1d80c229514870e346010baeba7ce8.gz --- diff --git a/src/org/xwt/Box.java.pp b/src/org/xwt/Box.java.pp index b5a7b80..c566a01 100644 --- a/src/org/xwt/Box.java.pp +++ b/src/org/xwt/Box.java.pp @@ -478,13 +478,14 @@ public final class Box extends JS.Scope { // FIXME: clipping char c = text.charAt(i); Glyph g = Glyph.getGlyph(font, fontsize, c); - buf.drawPicture(g.p, - x + hpad, - y + vpad + g.max_ascent - g.baseline, - x + hpad + g.p.getWidth(), - y + vpad + g.max_ascent - g.baseline + g.p.getHeight(), - 0, 0, - g.p.getWidth(), g.p.getHeight()); + buf.drawPictureAlphaOnly(g.p, + x + hpad, + y + vpad + g.max_ascent - g.baseline, + x + hpad + g.p.getWidth(), + y + vpad + g.max_ascent - g.baseline + g.p.getHeight(), + 0, 0, + g.p.getWidth(), g.p.getHeight(), + strokecolor); x += g.advance; } }