That awkward moment...

on Friday, December 21, 2012
So,that awkward moment when you realize you made a simple error after debugging for a while...

GlyphVector gv = font1.getGlyphVector(g.getFontRenderContext(), new Character(textChar).toString());
double normalWidth = gv.getVisualBounds().getWidth();
double normalHeight = gv.getVisualBounds().getWidth();

I guess this is what happens when you try to code in the middle of the night...

We all need a break.