How to get the graphics current font?

I am currently switching to Juce 1.51

Formerly I had the following code:

g.setFont( lookAndFeel->getFontSize() );

int text_height = g.getCurrentFont().getStringWidth (…some string…);

path.startNewSubPath (…using text_height …);

Unfortunately, the method Graphics::getCurrentFont does not exist anymore.
How can i get the current font ?

Thanks,

I took that out while I was rewriting the graphics engine, but in fact, I could easily put it back now… In the meantime, a trick would be to call g.getInternalContext()->getFont()