CrystalSpace

Public API Reference

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

fontserv.h File Reference

Font server interface. More...

#include "csutil/csunicode.h"
#include "csutil/scf.h"
#include "csutil/ref.h"

Go to the source code of this file.

Classes

struct  csBitmapMetrics
 Metrics for a glyph that are dependent from whether a simple or antialiased image is used. More...
struct  csGlyphMetrics
 Metrics for a glyph that are independent from whether a simple or antialiased image is used. More...
struct  iFont
 A font object. More...
struct  iFontDeleteNotify
 Called before a font is deleted. More...
struct  iFontServer
 A font server interface. More...

Basic fonts alias names

Any font server should provide these fonts, since most programs expect they to be available. Other fonts may or may be not available but these should be always available. Default font names always start with "*" to avoid confusion with real file names.

#define CSFONT_COURIER   "*courier"
 Thin courier-like relatively large font.
#define CSFONT_ITALIC   "*italic"
 Thick italic relatively large font.
#define CSFONT_LARGE   "*large"
 Thick and relatively large font.
#define CSFONT_SMALL   "*small"
 Very small font (smallest font that is still readable).

Defines

#define CS_FONT_DEFAULT_GLYPH   0xffff
 The default char, drawn in case a glyph wasn't present in the font.


Detailed Description

Font server interface.

Definition in file fontserv.h.


Define Documentation

#define CS_FONT_DEFAULT_GLYPH   0xffff
 

The default char, drawn in case a glyph wasn't present in the font.

The Unicode standard says that this will never be a valid code point - so we just take as the "replacer" char.

Definition at line 56 of file fontserv.h.

Referenced by csG2DDrawText< Tpixel, Tpixmixer1, Tpixmixer2, Tpixmixer3 >::DrawText().

#define CSFONT_COURIER   "*courier"
 

Thin courier-like relatively large font.

Definition at line 46 of file fontserv.h.

#define CSFONT_ITALIC   "*italic"
 

Thick italic relatively large font.

Definition at line 44 of file fontserv.h.

#define CSFONT_LARGE   "*large"
 

Thick and relatively large font.

Definition at line 42 of file fontserv.h.

#define CSFONT_SMALL   "*small"
 

Very small font (smallest font that is still readable).

Definition at line 48 of file fontserv.h.


Generated for Crystal Space by doxygen 1.4.4