Classes | Defines | Typedefs | Functions

gfxFont.h File Reference

#include "prtypes.h"
#include "gfxTypes.h"
#include "nsString.h"
#include "gfxPoint.h"
#include "gfxFontUtils.h"
#include "nsTArray.h"
#include "nsTHashtable.h"
#include "nsHashKeys.h"
#include "gfxSkipChars.h"
#include "gfxRect.h"
#include "nsExpirationTracker.h"
#include "gfxFontConstants.h"
#include "gfxPlatform.h"
#include "nsIAtom.h"
#include "nsISupportsImpl.h"
Include dependency graph for gfxFont.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  gfxFontFeature
struct  gfxFontStyle
class  gfxFontEntry
class  gfxFontEntry::FontTableHashEntry
 FontTableHashEntry manages the entries of hb_blob_ts for two different situations:
struct  FontSearch
class  gfxFontFamily
struct  gfxTextRange
class  gfxFontCache
 Font cache design: More...
struct  gfxFontCache::Key
class  gfxFontCache::HashEntry
class  gfxGlyphExtents
 This stores glyph bounds information for a particular gfxFont, at a particular appunits-per-dev-pixel ratio (because the compressed glyph width array is stored in appunits). More...
class  gfxGlyphExtents::HashEntry
class  gfxGlyphExtents::GlyphWidths
class  gfxFontShaper
 gfxFontShaper More...
class  gfxFont
struct  gfxFont::Metrics
struct  gfxFont::Spacing
 We let layout specify spacing on either side of any character. More...
struct  gfxFont::RunMetrics
 Metrics for a particular string. More...
class  gfxTextRunFactory
struct  gfxTextRunFactory::Parameters
 This record contains all the parameters needed to initialize a textrun. More...
class  gfxTextRun
 gfxTextRun is an abstraction for drawing and measuring substrings of a run of text. More...
class  gfxTextRun::PropertyProvider
 Layout provides PropertyProvider objects. More...
class  gfxTextRun::CompressedGlyph
 This class records the information associated with a character in the input string. More...
struct  gfxTextRun::DetailedGlyph
 When the glyphs for a character don't fit into a CompressedGlyph record in SimpleGlyph format, we use an array of DetailedGlyphs instead. More...
struct  gfxTextRun::GlyphRun
class  gfxTextRun::GlyphRunIterator
class  gfxTextRun::GlyphRunOffsetComparator
struct  gfxTextRun::LigatureData
class  gfxFontGroup

Defines

#define FONT_STYLE_NORMAL   NS_FONT_STYLE_NORMAL
#define FONT_STYLE_ITALIC   NS_FONT_STYLE_ITALIC
#define FONT_STYLE_OBLIQUE   NS_FONT_STYLE_OBLIQUE
#define FONT_WEIGHT_NORMAL   NS_FONT_WEIGHT_NORMAL
#define FONT_WEIGHT_BOLD   NS_FONT_WEIGHT_BOLD
#define FONT_MAX_SIZE   2000.0
#define NO_FONT_LANGUAGE_OVERRIDE   0
#define DEFAULT_XHEIGHT_FACTOR   0.56f

Typedefs

typedef struct _hb_blob_t hb_blob_t

Functions

PRBool operator< (const gfxFontFeature &a, const gfxFontFeature &b)
PRBool operator== (const gfxFontFeature &a, const gfxFontFeature &b)

Define Documentation

#define DEFAULT_XHEIGHT_FACTOR   0.56f
#define FONT_MAX_SIZE   2000.0
#define FONT_STYLE_ITALIC   NS_FONT_STYLE_ITALIC
#define FONT_STYLE_NORMAL   NS_FONT_STYLE_NORMAL
#define FONT_STYLE_OBLIQUE   NS_FONT_STYLE_OBLIQUE
#define FONT_WEIGHT_BOLD   NS_FONT_WEIGHT_BOLD
#define FONT_WEIGHT_NORMAL   NS_FONT_WEIGHT_NORMAL
#define NO_FONT_LANGUAGE_OVERRIDE   0

Typedef Documentation

typedef struct _hb_blob_t hb_blob_t

Function Documentation

PRBool operator< ( const gfxFontFeature a,
const gfxFontFeature b 
) [inline]
PRBool operator== ( const gfxFontFeature a,
const gfxFontFeature b 
) [inline]