1) Yes
2)
Whatever you want. You could have a default font, in case it didn't exist. If you don't want it, you'll have to change the function definition to one of two things:
- Return a pointer, where a NULL pointer is returned if the font wasn't found.
- Pass the Font reference as argument and return true if it was found and false if not, eg:

Code:

bool Graphics::GetFont( const std::string &fontName, Font &ret )

02-20-2009

cpjust

You could also throw an exception if the font you want isn't in the list.