Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Static Public Attributes | Protected Attributes
nsPSFontGenerator Class Reference

#include <nsFontMetricsPS.h>

Collaboration diagram for nsPSFontGenerator:
Collaboration graph

List of all members.

Public Member Functions

 nsPSFontGenerator ()
virtual ~nsPSFontGenerator ()
virtual void GeneratePSFont (FILE *aFile)
PRInt32 AddToSubset (PRUnichar aChar)
nsStringGetSubset ()

Static Public Attributes

static const PRUint16 kSubFontSize = 255

Protected Attributes

nsString mSubset

Detailed Description

Definition at line 453 of file nsFontMetricsPS.h.

Constructor & Destructor Documentation

Definition at line 2281 of file nsFontMetricsPS.cpp.


Definition at line 2285 of file nsFontMetricsPS.cpp.


Member Function Documentation

Definition at line 2299 of file nsFontMetricsPS.cpp.

  PRInt32 index = mSubset.FindChar(aChar);
  if (index == kNotFound) {
    index = mSubset.Length() - 1;
  return index / kSubFontSize;

Definition at line 2289 of file nsFontMetricsPS.cpp.

  NS_ERROR("should never call nsPSFontGenerator::GeneratePSFont");

Here is the caller graph for this function:

Definition at line 2309 of file nsFontMetricsPS.cpp.

  return &mSubset;

Member Data Documentation

Definition at line 462 of file nsFontMetricsPS.h.

Definition at line 467 of file nsFontMetricsPS.h.

The documentation for this class was generated from the following files: