Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations
nsFontMetricsWin.h File Reference
#include <windows.h>
#include "plhash.h"
#include "nsIFontMetrics.h"
#include "nsIFontEnumerator.h"
#include "nsFont.h"
#include "nsString.h"
#include "nsUnitConversion.h"
#include "nsIDeviceContext.h"
#include "nsCRT.h"
#include "nsDeviceContextWin.h"
#include "nsCOMPtr.h"
#include "nsVoidArray.h"
#include "nsICharRepresentable.h"
#include "nsCompressedCharMap.h"
#include "nsUnicharUtils.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nsCharacterMap
struct  nsGlobalFont
class  nsFontWin
class  nsFontWinSubstitute
struct  nsFontSwitch
 nsFontSwitchCallback More...
class  nsFontMetricsWin
class  nsFontEnumeratorWin
class  nsFontWinA
class  nsFontWinSubstituteA
class  nsFontMetricsWinA

Defines

#define ADD_GLYPH(map, g)   SET_REPRESENTABLE(map, g)
#define NS_GLOBALFONT_SKIP   0x80000000L
#define NS_GLOBALFONT_TRUETYPE   0x40000000L
#define NS_GLOBALFONT_SYMBOL   0x20000000L

Typedefs

typedef PRBool(* PR_CALLBACK )(const nsFontSwitch *aFontSwitch, const PRUnichar *aSubstring, PRUint32 aSubstringLength, void *aData)

Enumerations

enum  eFontType { eFontType_UNKNOWN = -1, eFontType_Unicode, eFontType_NonUnicode }

Class Documentation

struct nsCharacterMap

Definition at line 70 of file nsFontMetricsWin.h.

Class Members
PRUint8 * mData
PRInt32 mLength
struct nsGlobalFont

Definition at line 75 of file nsFontMetricsWin.h.

Collaboration diagram for nsGlobalFont:
Class Members
PRUint16 * ccmap
PRUint32 flags
eFontType fonttype
LOGFONT logFont
nsString name
FONTSIGNATURE signature
struct nsFontSwitch

nsFontSwitchCallback

Font-switching callback function. Used by ResolveForwards() and ResolveBackwards(). aFontSwitch points to a structure that gives details about the current font needed to represent the current substring. In particular, this struct contains a handler to the font and some metrics of the font. These metrics may be different from the metrics obtained via nsIFontMetrics. Return PR_FALSE to stop the resolution of the remaining substrings.

Definition at line 203 of file nsFontMetricsOS2.h.

Collaboration diagram for nsFontSwitch:
Class Members
nsFontOS2 * mFont
nsFontWin * mFontWin

Define Documentation

#define ADD_GLYPH (   map,
  g 
)    SET_REPRESENTABLE(map, g)

Definition at line 62 of file nsFontMetricsWin.h.

#define NS_GLOBALFONT_SKIP   0x80000000L

Definition at line 87 of file nsFontMetricsWin.h.

#define NS_GLOBALFONT_SYMBOL   0x20000000L

Definition at line 91 of file nsFontMetricsWin.h.

#define NS_GLOBALFONT_TRUETYPE   0x40000000L

Definition at line 89 of file nsFontMetricsWin.h.


Typedef Documentation

typedef PRBool(* PR_CALLBACK)(const nsFontSwitch *aFontSwitch, const PRUnichar *aSubstring, PRUint32 aSubstringLength, void *aData)

Definition at line 204 of file nsFontMetricsWin.h.


Enumeration Type Documentation

enum eFontType
Enumerator:
eFontType_UNKNOWN 
eFontType_Unicode 
eFontType_NonUnicode 

Definition at line 64 of file nsFontMetricsWin.h.