Adapting Font Class for XdevLOpenGL plugin