fonts now work (seemingly) as well as they used to

This commit is contained in:
Bill Meltsner
2010-04-15 14:04:16 -04:00
parent f8f812a719
commit de6c8fd704
3 changed files with 23 additions and 20 deletions
+3 -3
View File
@@ -102,15 +102,15 @@ namespace opengl
*
* @param line A line of text.
**/
float getWidth(const std::string & line) const;
float getWidth(const char * line) const;
int getWidth(const std::string & line) const;
int getWidth(const char * line) const;
/**
* Returns the width of the passed character.
*
* @param character A character.
**/
float getWidth(const char character) const;
int getWidth(const char character) const;
/**
* Sets the line height (which should be a number to multiply the font size by,