   Help with Font glyph data please.
  I have read the docs and searched the internet and still have no clue as to what direct3d's font class can do with the GetGlyphData().I'm trying to build an editable text box but don't understand how to interact with the drawn font object.  I'm trying to find a connection about what text I've drawn and the character placement and hit testing for cursor interaction.Any help on understanding this would be super, please.-Devin   
  Awhile back I had to write an editable text box with using ID3DXFont to render the text.  Because this renders truetype fonts with variable width characters, finding the width of a line was a pain.  The best solution I found was to useID3DXFont::DrawText()You should look up that method in the d3d sdk docs for full details.  Specifically, if you OR in DT_CALCRECT into the format option, and also pass in a RECT to the pRect option, the method will not draw the text string you pass in to the screen.  Instead it will fill out the RECT with the width and height that the rendered string will use in pixels.It's not pretty and probably not effecient but it got the job done.   ;  Thanks, that's smart.  I think what I need is individual rectangle information for each character drawn to perform hit testing on.  And it would be nice to have the text automatically drawn with a black box if the text is hilighted by the user.  That said I've started development of my own font class.  Bummer, I liked the mdx font class, it just doesn't have enough flexibility to cover selection efficiently (like you said).Well, learning is what I'm here for and it will be a learning experience that will help me grow.  And that's probably a good thing.Thanks again for your help.-Devin   