Home · All Namespaces · All Classes · Functions · Coding Style · Plugins · File Structure

StelFontMgr Class Reference

Manage fonts for Stellarium. More...

#include <StelFontMgr.hpp>

List of all members.

Public Member Functions

StelFont & getStandardFont (const QString &langageName, double size=12.)
StelFont & getFixedFont (const QString &langageName, double size=12.)

Classes

class  FontForLanguage
 Class which describes which font to use for a given language ISO code.
class  LoadedFont
 Class which describes a loaded font.
struct  ltLoadedFont


Detailed Description

Manage fonts for Stellarium.

Take into account special font for special language. It also load fonts and store them in a cache to prevent duplication.

Author:
Fabien Chereau <stellarium@free.fr>

Member Function Documentation

StelFont& StelFontMgr::getStandardFont ( const QString &  langageName,
double  size = 12. 
)

Get the standard font associated to the given language ISO code.

Parameters:
langageName the ISO language name such as "fr" or "en" or "*" for default.
size the font size in pixels.

StelFont& StelFontMgr::getFixedFont ( const QString &  langageName,
double  size = 12. 
)

Get the fixed font associated to the given language ISO code.

Parameters:
langageName the ISO language name such as "fr" or "en" or "*" for default.
size the font size in pixels.


Generated on Mon Mar 9 16:16:16 2009 for Stellarium by  doxygen 1.5.5