From Joran Jessurun, comments explaining font search rules

This commit is contained in:
Robert Osfield
2005-09-28 13:45:32 +00:00
parent b5c4605d1c
commit 9e5eed280d
2 changed files with 21 additions and 2 deletions

View File

@@ -42,7 +42,8 @@ public:
void setFont(Font* font=0);
/** Set the font, loaded from the specified front file, to use to render the text,
* setFont("") sets the use of the default font.*/
* setFont("") sets the use of the default font.
* See the osgText::readFontFile function for how the font file will be located. */
void setFont(const std::string& fontfile);
/** Get the font. Return 0 if default is being used.*/