Extracting a display list


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.

Isn't it about time forums rewarded their contributors?

Earn rewards points for helping others. Gain kudos. Cash out. Get better answers yourself.

It's as simple as contributing editorial or replying to discussions labeled or OP Kudos

This article has been dead for over six months: Start a new discussion instead
Start New Discussion
View similar articles that have also been tagged: