CrystalSpace

Public API Reference

ivideo/fontserv.h File Reference

Font server interface. More...

#include "csutil/csunicode.h"
#include "csutil/scf_interface.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...

Defines

#define CS_FONT_DEFAULT_GLYPH   0xffff
 The default char, drawn in case a glyph wasn't present in the font.
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).

Detailed Description

Font server interface.

Definition in file fontserv.h.


Generated for Crystal Space 2.1 by doxygen 1.6.1