Added getFontMetrics to VirtualComponent interface