Paint() called from OpenGL thread

If you’re calling Component::paint() explicitly (rather than using OpenGLContext::setComopnentPaintingEnabled(true)) you’ll run into problems because there are quite a few things that should only be run on the main thread (in this case, Font related methods)

Note though that acquiring a message thread lock in renderOpenGL() might not be viable: