Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Gfx8BitFont Class Reference

#include </home/clem/local/src/opie/noncore/unsupported/qpdf/xpdf/GfxFont.h>

Inheritance diagram for Gfx8BitFont:

Inheritance graph
[legend]
Collaboration diagram for Gfx8BitFont:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Gfx8BitFont (XRef *xref, char *tagA, Ref idA, GString *nameA, GfxFontType typeA, Dict *fontDict)
virtual ~Gfx8BitFont ()
virtual int getNextChar (char *s, int len, CharCode *code, Unicode *u, int uSize, int *uLen, fouble *dx, fouble *dy, fouble *ox, fouble *oy)
char ** getEncoding ()
CharCodeToUnicodegetToUnicode ()
char * getCharName (int code)
GBool getHasEncoding ()
fouble getWidth (Guchar c)
DictgetCharProcs ()
ObjectgetCharProc (int code, Object *proc)
DictgetResources ()

Private Attributes

char * enc [256]
char encFree [256]
CharCodeToUnicodectu
GBool hasEncoding
fouble widths [256]
Object charProcs
Object resources

Constructor & Destructor Documentation

Gfx8BitFont::Gfx8BitFont XRef xref,
char *  tagA,
Ref  idA,
GString nameA,
GfxFontType  typeA,
Dict fontDict
 

Definition at line 368 of file GfxFont.cc.

References StdFontMapEntry::altName, Object::arrayGet(), Object::arrayGetLength(), GfxFont::ascent, buf, builtinFonts, builtinFontSubst, charProcs, GString::cmp(), code, copyString(), ctu, GfxFont::descent, Object::dictLookup(), GfxFont::embFontID, GfxFont::embFontName, enc, encFree, error(), GfxFont::extFontFile, GfxFont::findExtFontFile(), GfxFont::flags, GfxFont::fontBBox, fontFixedWidth, GfxFont::fontMat, fontTrueType, fontType1, fontType1C, fontType3, Object::free(), Object::getInt(), GlobalParams::getMapNumericCharNames(), Object::getName(), Object::getNum(), Object::getTypeName(), gFalse, gfree(), globalParams, gTrue, hasEncoding, hex, i, Object::isArray(), GfxFont::isBold(), Object::isDict(), GfxFont::isFixedWidth(), Object::isInt(), GfxFont::isItalic(), Object::isName(), Object::isNum(), GfxFont::isSerif(), len, Dict::lookup(), macExpertEncoding, macRomanEncoding, CharCodeToUnicode::make8BitToUnicode(), GlobalParams::mapNameToUnicode(), GfxFont::missingWidth, BuiltinFont::name, GfxFont::name, nBuiltinFonts, NULL, Ref::num, GfxFont::ok, GfxFont::readEmbFontFile(), GfxFont::readExtFontFile(), GfxFont::readFontDescriptor(), GfxFont::readToUnicodeCMap(), resources, standardEncoding, GfxFont::type, widths, and winAnsiEncoding.

Gfx8BitFont::~Gfx8BitFont  )  [virtual]
 

Definition at line 768 of file GfxFont.cc.

References charProcs, ctu, CharCodeToUnicode::decRefCnt(), enc, encFree, Object::free(), gfree(), i, Object::isDict(), and resources.


Member Function Documentation

char* Gfx8BitFont::getCharName int  code  )  [inline]
 

Definition at line 201 of file GfxFont.h.

References enc.

Object * Gfx8BitFont::getCharProc int  code,
Object proc
 

Definition at line 806 of file GfxFont.cc.

References charProcs, Object::dictLookup(), enc, Object::initNull(), and Object::isDict().

Dict * Gfx8BitFont::getCharProcs  ) 
 

Definition at line 802 of file GfxFont.cc.

References charProcs, Object::getDict(), Object::isDict(), and NULL.

char** Gfx8BitFont::getEncoding  )  [inline]
 

Definition at line 195 of file GfxFont.h.

References enc.

GBool Gfx8BitFont::getHasEncoding  )  [inline]
 

Definition at line 204 of file GfxFont.h.

References hasEncoding.

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

Implements GfxFont.

Definition at line 785 of file GfxFont.cc.

References ctu, CharCodeToUnicode::mapToUnicode(), and widths.

Dict * Gfx8BitFont::getResources  ) 
 

Definition at line 815 of file GfxFont.cc.

References Object::getDict(), Object::isDict(), NULL, and resources.

CharCodeToUnicode * Gfx8BitFont::getToUnicode  ) 
 

Definition at line 797 of file GfxFont.cc.

References ctu, and CharCodeToUnicode::incRefCnt().

fouble Gfx8BitFont::getWidth Guchar  c  )  [inline]
 

Definition at line 207 of file GfxFont.h.

References widths.


Member Data Documentation

Object Gfx8BitFont::charProcs [private]
 

Definition at line 226 of file GfxFont.h.

Referenced by getCharProc(), getCharProcs(), Gfx8BitFont(), and ~Gfx8BitFont().

CharCodeToUnicode* Gfx8BitFont::ctu [private]
 

Definition at line 223 of file GfxFont.h.

Referenced by getNextChar(), getToUnicode(), Gfx8BitFont(), and ~Gfx8BitFont().

char* Gfx8BitFont::enc[256] [private]
 

Definition at line 220 of file GfxFont.h.

Referenced by getCharName(), getCharProc(), getEncoding(), Gfx8BitFont(), and ~Gfx8BitFont().

char Gfx8BitFont::encFree[256] [private]
 

Definition at line 221 of file GfxFont.h.

Referenced by Gfx8BitFont(), and ~Gfx8BitFont().

GBool Gfx8BitFont::hasEncoding [private]
 

Definition at line 224 of file GfxFont.h.

Referenced by getHasEncoding(), and Gfx8BitFont().

Object Gfx8BitFont::resources [private]
 

Definition at line 227 of file GfxFont.h.

Referenced by getResources(), Gfx8BitFont(), and ~Gfx8BitFont().

fouble Gfx8BitFont::widths[256] [private]
 

Definition at line 225 of file GfxFont.h.

Referenced by getNextChar(), getWidth(), and Gfx8BitFont().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:33:43 2005 for OPIE by  doxygen 1.4.2