Removed font hackery now that we've understood and fixed the "font bug",

which turned out to be due to improper restoring of the anti-aliasing
setting in graphics contexts.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2045 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2002-12-09 05:00:48 +00:00
parent 8ef2721d73
commit 100739bff5
@@ -1,5 +1,5 @@
//
// $Id: FrameRepaintManager.java,v 1.15 2002/11/05 18:52:11 ray Exp $
// $Id: FrameRepaintManager.java,v 1.16 2002/12/09 05:00:48 shaper Exp $
package com.threerings.media;
@@ -369,14 +369,7 @@ public class FrameRepaintManager extends RepaintManager
// some components are ill-behaved and may throw an
// exception while painting themselves, and so we
// needs must deal with these fellows gracefully
// TODO: strangeness is ensuing with text input fields
// that render themselves with the incorrect font
// unless we keep it constant ourselves. need to
// investigate further and undo this hack.
Font ofont = g.getFont();
ocomp.paint(g);
g.setFont(ofont);
} catch (Exception e) {
Log.warning("Exception while painting component " +