I need to know how to extract the data in a display list in opengl. I have a font and use it to create a display list to draw, but then I want to get the actual vertexes of it so I can use them for collision checking. How can I do this?

By the way I use wglUseFontOutline to get the display lists made. All I need are the vertex coordinates of the generated display lists.

Maybe I can create my own vertex coordinates from the ttf files? How are they formatted, and how would I calculate the coordinates? Please I need to be able to convert text to a set of three dimensional vertex coordinates using a true type font.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.