X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2FBox.java;h=c2f16dc9276301df906375224a40bfa955d9db37;hp=bb57d5ab639a24495ec5e84925cf2da6d7e66534;hb=580e7997d6f1e66c51114a050ff695bb15ed4e19;hpb=8e3b89cfd1f9eb497363864a0720effba3b46fec diff --git a/src/org/ibex/Box.java b/src/org/ibex/Box.java index bb57d5a..c2f16dc 100644 --- a/src/org/ibex/Box.java +++ b/src/org/ibex/Box.java @@ -537,8 +537,7 @@ public final class Box extends JSScope implements Scheduler.Task { int gap_y = height - font.textheight(text); int text_x = globalx + (test(ALIGN_RIGHT) ? gap_x : !test(ALIGN_LEFT) ? gap_x/2 : 0); int text_y = globaly + (test(ALIGN_BOTTOM) ? gap_y : !test(ALIGN_TOP) ? gap_y/2 : 0); - if (font.rasterizeGlyphs(text, buf, strokecolor, text_x, text_y, cx1, cy1, cx2, cy2, null) == -1) - font.rasterizeGlyphs(text, buf, strokecolor, text_x, text_y, cx1, cy1, cx2, cy2, this); + font.rasterizeGlyphs(text, buf, strokecolor, text_x, text_y, cx1, cy1, cx2, cy2); } for(Box b = getChild(0); b != null; b = b.nextSibling())