   is there any simple, good solution of text in graphics programming
  I want to implement a text primitive, just like the following.class CTextEntity{private:float position_x,position_y;char *fontName;//"fixed sys" char *fontstyle;//"regular"float font_size;//5 poundsfloat* boundingbox;// ......//some other attributes, such as "text direction","text thickness"public:void draw(){//draw text.(call glBegin(xxx) to draw every text glyph produced by freetype library)}float *getBoundingbox(){//how to do?}};I searched a lot of libraries(quesoglc) to do it, but no simple one found.Is there a easy to use, freetype-based solution?3x   
  Nehe has a Freetype tutorial which you can modify to fit your needs.   