1 #ifndef AWFUL_SCENEGRAPH_FONT_H_
2 #define AWFUL_SCENEGRAPH_FONT_H_
10 namespace awful
{ namespace scenegraph
12 class Font
: public RefCounted
15 Font( std::string Filename_
, uint32_t Size_
);
17 void drawText( const std::string
& Text_
) const;
19 float getHeight() const
21 return m_Height
; //floor( m_FTGLFont.Ascender() + 0.5 );
24 float getTextWidth( const std::string
& Text_
) const;
27 FTGLTextureFont
* m_pFTGLFont
;