Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations | Variables
nsAFMObject.h File Reference
#include "nsIFontMetrics.h"
#include "nsFont.h"
#include "nsString.h"
#include "nsUnitConversion.h"
#include "nsIDeviceContext.h"
#include "nsCRT.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AFM_Single_Char_Metrics
struct  fontInformation
class  nsAFMObject
struct  AFM_SubstituteFonts
 
A static structure initialized with the default fonts for postscript 3/12/99 dwc mFontName -- string with the substitute font name mFontInfo -- AFM font information header created with the AFMGen program mCharInfo -- Character information created with the AFMGen program mIndex -- This member field is used when substituting fonts More...

Defines

#define NUM_KEYS   (sizeof (keynames) / sizeof (struct keyname_st) - 1)
#define NUM_AFM_FONTS   13

Typedefs

typedef struct AFM_Single_Char_Metrics
typedef struct fontInformation
typedef struct AFM_SubstituteFonts

Enumerations

enum  AFMKey {
  kComment, kStartFontMetrics, kEndFontMetrics, kStartCompFontMetrics,
  kEndCompFontMetrics, kStartDescendent, kEndDescendent, kStartMasterFontMetrics,
  kEndMasterFontMetrics, kMetricsSets, kDescendents, kMasters,
  kAxes, kFontName, kFullName, kFamilyName,
  kWeight, kFontBBox, kVersion, kNotice,
  kEncodingScheme, kMappingScheme, kEscChar, kCharacterSet,
  kCharacters, kIsBaseFont, kVVector, kIsFixedV,
  kCapHeight, kXHeight, kAscender, kDescender,
  kWeightVector, kBlendDesignPositions, kBlendDesignMap, kBlendAxisTypes,
  kStartDirection, kEndDirection, kUnderlinePosition, kUnderlineThickness,
  kItalicAngle, kCharWidth, kIsFixedPitch, kStartCharMetrics,
  kEndCharMetrics, kC, kCH, kWX,
  kW0X, kW1X, kWY, kW0Y,
  kW1Y, kW, kW0, kW1,
  kVV, kN, kB, kL,
  kStartKernData, kEndKernData, kStartTrackKern, kEndTrackKern,
  kTrackKern, kStartKernPairs, kEndKernPairs, kKP,
  kKPH, kKPX, kKPY, kStartComposites,
  kEndComposites, kCC, kPCC, kStartAxis,
  kEndAxis, kAxisType, kAxisLabel, kStartMaster,
  kEndMaster
}

Variables

DefFonts gSubstituteFonts []

Class Documentation

struct AFM_Single_Char_Metrics

Definition at line 163 of file nsAFMObject.h.

Class Members
PRInt32 mCharacter_Code
float mLlx
float mLly
float mUrx
float mUry
float mW0x
float mW0y
float mW1x
float mW1y
struct fontInformation

Definition at line 191 of file nsAFMObject.h.

Class Members
AFMscm * mAFMCharMetrics
float mAscender
float mCapHeight
PRInt32 mCharacters
const char * mCharacterSet
float mDescender
const char * mEncodingScheme
PRInt32 mEscChar
const char * mFamilyName
float mFontBBox_llx
float mFontBBox_lly
float mFontBBox_urx
float mFontBBox_ury
const char * mFontName
double mFontVersion
const char * mFullName
PRBool mIsBaseFont
PRBool mIsFixedV
PRInt32 mMappingScheme
char * mNotice
PRInt32 mNumCharacters
float mUnderlinePosition
float mUnderlineThickness
const char * mVersion
float mVVector_0
float mVVector_1
const char * mWeight
float mXHeight
struct AFM_SubstituteFonts

A static structure initialized with the default fonts for postscript 3/12/99 dwc mFontName -- string with the substitute font name mFontInfo -- AFM font information header created with the AFMGen program mCharInfo -- Character information created with the AFMGen program mIndex -- This member field is used when substituting fonts

Definition at line 421 of file nsAFMObject.h.

Class Members
const AFMscm * mCharInfo
const char * mFamily
const AFMFontInformation * mFontInfo
PRInt32 mIndex
const char * mPSName
PRUint8 mStyle
PRUint16 mWeight

Define Documentation

Definition at line 437 of file nsAFMObject.h.

#define NUM_KEYS   (sizeof (keynames) / sizeof (struct keyname_st) - 1)

Definition at line 411 of file nsAFMObject.h.


Typedef Documentation

typedef struct AFM_Single_Char_Metrics

Definition at line 187 of file nsAFMObject.h.

typedef struct AFM_SubstituteFonts

Definition at line 432 of file nsAFMObject.h.

typedef struct fontInformation

Definition at line 225 of file nsAFMObject.h.


Enumeration Type Documentation

enum AFMKey
Enumerator:
kComment 
kStartFontMetrics 
kEndFontMetrics 
kStartCompFontMetrics 
kEndCompFontMetrics 
kStartDescendent 
kEndDescendent 
kStartMasterFontMetrics 
kEndMasterFontMetrics 
kMetricsSets 
kDescendents 
kMasters 
kAxes 
kFontName 
kFullName 
kFamilyName 
kWeight 
kFontBBox 
kVersion 
kNotice 
kEncodingScheme 
kMappingScheme 
kEscChar 
kCharacterSet 
kCharacters 
kIsBaseFont 
kVVector 
kIsFixedV 
kCapHeight 
kXHeight 
kAscender 
kDescender 
kWeightVector 
kBlendDesignPositions 
kBlendDesignMap 
kBlendAxisTypes 
kStartDirection 
kEndDirection 
kUnderlinePosition 
kUnderlineThickness 
kItalicAngle 
kCharWidth 
kIsFixedPitch 
kStartCharMetrics 
kEndCharMetrics 
kC 
kCH 
kWX 
kW0X 
kW1X 
kWY 
kW0Y 
kW1Y 
kW 
kW0 
kW1 
kVV 
kN 
kB 
kL 
kStartKernData 
kEndKernData 
kStartTrackKern 
kEndTrackKern 
kTrackKern 
kStartKernPairs 
kEndKernPairs 
kKP 
kKPH 
kKPX 
kKPY 
kStartComposites 
kEndComposites 
kCC 
kPCC 
kStartAxis 
kEndAxis 
kAxisType 
kAxisLabel 
kStartMaster 
kEndMaster 

Definition at line 54 of file nsAFMObject.h.


Variable Documentation

DefFonts gSubstituteFonts[]

Definition at line 83 of file nsAFMObject.cpp.