Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

GfxFont Class Reference

#include <GfxFont.h>

Inheritance diagram for GfxFont:

Gfx8BitFont GfxCIDFont List of all members.

Public Methods

 GfxFont (char *tagA, Ref idA, GString *nameA)
virtual ~GfxFont ()
GBool isOk ()
GStringgetTag ()
RefgetID ()
GBool matches (char *tagA)
GStringgetName ()
GStringgetOrigName ()
GfxFontType getType ()
virtual GBool isCIDFont ()
GBool getEmbeddedFontID (Ref *embID)
GStringgetEmbeddedFontName ()
GStringgetExtFontFile ()
GBool isFixedWidth ()
GBool isSerif ()
GBool isSymbolic ()
GBool isItalic ()
GBool isBold ()
double * getFontMatrix ()
double * getFontBBox ()
double getAscent ()
double getDescent ()
virtual int getWMode ()
char * readExtFontFile (int *len)
char * readEmbFontFile (XRef *xref, int *len)
virtual int getNextChar (char *s, int len, CharCode *code, Unicode *u, int uSize, int *uLen, double *dx, double *dy, double *ox, double *oy)=0

Static Public Methods

GfxFont * makeFont (XRef *xref, char *tagA, Ref idA, Dict *fontDict)

Protected Methods

void readFontDescriptor (XRef *xref, Dict *fontDict)
CharCodeToUnicodereadToUnicodeCMap (Dict *fontDict, int nBits, CharCodeToUnicode *ctu)
void findExtFontFile ()

Protected Attributes

GStringtag
Ref id
GStringname
GStringorigName
GfxFontType type
int flags
GStringembFontName
Ref embFontID
GStringextFontFile
double fontMat [6]
double fontBBox [4]
double missingWidth
double ascent
double descent
GBool ok

Constructor & Destructor Documentation

GfxFont::GfxFont char *    tagA,
Ref    idA,
GString   nameA
 

GfxFont::~GfxFont   [virtual]
 


Member Function Documentation

void GfxFont::findExtFontFile   [protected]
 

double GfxFont::getAscent   [inline]
 

double GfxFont::getDescent   [inline]
 

GBool GfxFont::getEmbeddedFontID Ref   embID [inline]
 

GString* GfxFont::getEmbeddedFontName   [inline]
 

GString* GfxFont::getExtFontFile   [inline]
 

double* GfxFont::getFontBBox   [inline]
 

double* GfxFont::getFontMatrix   [inline]
 

Ref* GfxFont::getID   [inline]
 

GString* GfxFont::getName   [inline]
 

virtual int GfxFont::getNextChar char *    s,
int    len,
CharCode   code,
Unicode   u,
int    uSize,
int *    uLen,
double *    dx,
double *    dy,
double *    ox,
double *    oy
[pure virtual]
 

Implemented in Gfx8BitFont, and GfxCIDFont.

GString* GfxFont::getOrigName   [inline]
 

GString* GfxFont::getTag   [inline]
 

GfxFontType GfxFont::getType   [inline]
 

virtual int GfxFont::getWMode   [inline, virtual]
 

Reimplemented in GfxCIDFont.

GBool GfxFont::isBold   [inline]
 

virtual GBool GfxFont::isCIDFont   [inline, virtual]
 

Reimplemented in GfxCIDFont.

GBool GfxFont::isFixedWidth   [inline]
 

GBool GfxFont::isItalic   [inline]
 

GBool GfxFont::isOk   [inline]
 

GBool GfxFont::isSerif   [inline]
 

GBool GfxFont::isSymbolic   [inline]
 

GfxFont * GfxFont::makeFont XRef   xref,
char *    tagA,
Ref    idA,
Dict   fontDict
[static]
 

GBool GfxFont::matches char *    tagA [inline]
 

char * GfxFont::readEmbFontFile XRef   xref,
int *    len
 

char * GfxFont::readExtFontFile int *    len
 

void GfxFont::readFontDescriptor XRef   xref,
Dict   fontDict
[protected]
 

CharCodeToUnicode * GfxFont::readToUnicodeCMap Dict   fontDict,
int    nBits,
CharCodeToUnicode   ctu
[protected]
 


Member Data Documentation

double GfxFont::ascent [protected]
 

double GfxFont::descent [protected]
 

Ref GfxFont::embFontID [protected]
 

GString* GfxFont::embFontName [protected]
 

GString* GfxFont::extFontFile [protected]
 

int GfxFont::flags [protected]
 

double GfxFont::fontBBox[4] [protected]
 

double GfxFont::fontMat[6] [protected]
 

Ref GfxFont::id [protected]
 

double GfxFont::missingWidth [protected]
 

GString* GfxFont::name [protected]
 

GBool GfxFont::ok [protected]
 

GString* GfxFont::origName [protected]
 

GString* GfxFont::tag [protected]
 

GfxFontType GfxFont::type [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:35 2004 for Lemur Toolkit by doxygen1.2.18