Those libraries are not meant for rendering text. They are meant to handle input/output.
If you wish to render text in OpenGL, you will have to use OpenGL to do that. There are a number of libraries to help you out with that. A simple Google search will yield many results.