Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


font.hh File Reference

A C++ wrapper interface for Pango fonts. More...

#include <xfc/pango/types.hh>
#include <xfc/glib/boxed.hh>
#include <xfc/glib/object.hh>
#include <pango/pango-font.h>
#include <vector>
#include <xfc/pango/inline/font.inl>

Namespaces

Classes

Typedefs

Enumerations


Detailed Description

A C++ wrapper interface for Pango fonts.

Provides objects representing abstract fonts, such as FontDescription, Font, FontFace and FontFamily.


Enumeration Type Documentation

enum FontMask
 

The bit flags in a FontMask correspond to fields in a FontDescription that have been set.

Enumeration values:
FONT_MASK_FAMILY  The font family is specified.
FONT_MASK_STYLE  The font style is specified.
FONT_MASK_VARIANT  T font variant is specified.
FONT_MASK_WEIGHT  The font weight is specified.
FONT_MASK_STRETCH  The font stretch is specified.
FONT_MASK_SIZE  The font size is specified.

enum Stretch
 

Specifies the width of the font relative to other designs within a family.

Enumeration values:
STRETCH_UTLRA_CONDENSED  Ultra condensed width.
STRETCH_EXTRA_CONDENSED  Extra condensed width.
STRETCH_CONDENSED  Condensed width.
STRETCH_SEMI_CONDENSED  Semi condensed width.
STRETCH_NORMAL  Normal width.
STRETCH_SEMI_EXPANDED  Semi expanded width.
STRETCH_EXPANDED  Expanded width.
STRETCH_EXTRA_EXPANDED  Extra expanded width.
STRETCH_ULTRA_EXPANDED  Ultra expanded width.

enum Style
 

Specifies the various slant styles possible for a font.

Enumeration values:
STYLE_NORMAL  The font is upright.
STYLE_OBLIQUE  The font is slanted, but in a roman style.
STYLE_ITALIC  The font is slanted in an italic style.

enum Variant
 

Specifies the capitalization variant of the font.

Enumeration values:
VARIANT_NORMAL  A normal font.
VARIANT_SMALL_CAPS  A font with the lower case characters replaced by smaller variants of the capital characters.

enum Weight
 

Specifies the weight (boldness) of a font.

This is a numerical value ranging from 100 to 900, but there are some predefined values:

Enumeration values:
WEIGHT_ULTALIGHT  The ultralight weight (= 200).
WEIGHT_LIGHT  The light weight (=300).
WEIGHT_NORMAL  The default weight (= 400).
WEIGHT_SEMIBOLD  The semi bold weight (= 600).
WEIGHT_BOLD  The bold weight (= 700).
WEIGHT_ULTRABOLD  The ultrabold weight (= 800).
WEIGHT_HEAVY  The heavy weight (= 900).
Xfce Foundation Classes


Copyright © 2004-2005 The XFC Development Team XFC 4.3