TrueTypeFontFile Class Reference

#include <FontFile.h>

Inherits FontFile.


Public Member Functions

 TrueTypeFontFile (char *fileA, int lenA)
 ~TrueTypeFontFile ()
virtual char * getName ()
virtual FontEncodinggetEncoding (GBool taken)
void convertToType42 (char *name, FontEncoding *encodingA, FILE *out)

Private Member Functions

int getByte (int pos)
int getChar (int pos)
int getUShort (int pos)
int getShort (int pos)
Guint getULong (int pos)
double getFixed (int pos)
int seekTable (char *tag)
void cvtEncoding (FontEncoding *encodingA, FILE *out)
void cvtCharStrings (FontEncoding *encodingA, FILE *out)
void cvtSfnts (FILE *out)
void dumpString (char *s, int n, FILE *out)

Private Attributes

char * file
int len
FontEncodingencoding
GBool freeEnc
TTFontTableHdr * tableHdrs
int nTables
int bbox [4]
int locaFmt
int nGlyphs


Detailed Description

Definition at line 123 of file FontFile.h.


Constructor & Destructor Documentation

TrueTypeFontFile::TrueTypeFontFile ( char *  fileA,
int  lenA 
)

TrueTypeFontFile::~TrueTypeFontFile (  ) 


Member Function Documentation

virtual char* TrueTypeFontFile::getName (  )  [virtual]

Implements FontFile.

virtual FontEncoding* TrueTypeFontFile::getEncoding ( GBool  taken  )  [virtual]

Implements FontFile.

void TrueTypeFontFile::convertToType42 ( char *  name,
FontEncoding encodingA,
FILE *  out 
)

int TrueTypeFontFile::getByte ( int  pos  )  [private]

int TrueTypeFontFile::getChar ( int  pos  )  [private]

int TrueTypeFontFile::getUShort ( int  pos  )  [private]

int TrueTypeFontFile::getShort ( int  pos  )  [private]

Guint TrueTypeFontFile::getULong ( int  pos  )  [private]

double TrueTypeFontFile::getFixed ( int  pos  )  [private]

int TrueTypeFontFile::seekTable ( char *  tag  )  [private]

void TrueTypeFontFile::cvtEncoding ( FontEncoding encodingA,
FILE *  out 
) [private]

void TrueTypeFontFile::cvtCharStrings ( FontEncoding encodingA,
FILE *  out 
) [private]

void TrueTypeFontFile::cvtSfnts ( FILE *  out  )  [private]

void TrueTypeFontFile::dumpString ( char *  s,
int  n,
FILE *  out 
) [private]


Field Documentation

char* TrueTypeFontFile::file [private]

Definition at line 145 of file FontFile.h.

int TrueTypeFontFile::len [private]

Definition at line 146 of file FontFile.h.

FontEncoding* TrueTypeFontFile::encoding [private]

Definition at line 148 of file FontFile.h.

GBool TrueTypeFontFile::freeEnc [private]

Definition at line 149 of file FontFile.h.

TTFontTableHdr* TrueTypeFontFile::tableHdrs [private]

Definition at line 151 of file FontFile.h.

int TrueTypeFontFile::nTables [private]

Definition at line 152 of file FontFile.h.

int TrueTypeFontFile::bbox[4] [private]

Definition at line 153 of file FontFile.h.

int TrueTypeFontFile::locaFmt [private]

Definition at line 154 of file FontFile.h.

int TrueTypeFontFile::nGlyphs [private]

Definition at line 155 of file FontFile.h.


The documentation for this class was generated from the following file:
Generated on Fri Jan 9 14:45:39 2009 for libextractor by  doxygen 1.5.1