PoDoFo::PdfFontType1 Class Reference

#include <PdfFontType1.h>

Inheritance diagram for PoDoFo::PdfFontType1:

PoDoFo::PdfFontSimple PoDoFo::PdfFont PoDoFo::PdfElement

List of all members.

Public Member Functions

 PdfFontType1 (PdfFontMetrics *pMetrics, const PdfEncoding *const pEncoding, PdfVecObjects *pParent, bool bEmbed)
 PdfFontType1 (PdfFontMetrics *pMetrics, const PdfEncoding *const pEncoding, PdfObject *pObject)

Protected Member Functions

virtual void EmbedFont (PdfObject *pDescriptor)


Detailed Description

A PdfFont implementation that can be used to embedd type1 fonts into a PDF file or to draw with type1 fonts.

Constructor & Destructor Documentation

PoDoFo::PdfFontType1::PdfFontType1 ( PdfFontMetrics *  pMetrics,
const PdfEncoding *const   pEncoding,
PdfVecObjects pParent,
bool  bEmbed 
)

Create a new Type1 font object.

Parameters:
pMetrics pointer to a font metrics object. The font in the PDF file will match this fontmetrics object. The metrics object is deleted along with the font.
pEncoding the encoding of this font. The font will not take ownership of this object.
pParent parent of the font object
bEmbed if true the font will get embedded.

PoDoFo::PdfFontType1::PdfFontType1 ( PdfFontMetrics *  pMetrics,
const PdfEncoding *const   pEncoding,
PdfObject pObject 
)

Create a PdfFont based on an existing PdfObject

Parameters:
pMetrics pointer to a font metrics object. The font in the PDF file will match this fontmetrics object. The metrics object is deleted along with the font.
pEncoding the encoding of this font. The font will not take ownership of this object.
pObject an existing PdfObject


Member Function Documentation

void PoDoFo::PdfFontType1::EmbedFont ( PdfObject pDescriptor  )  [protected, virtual]

Embed the font file directly into the PDF file.

Parameters:
pDescriptor font descriptor object

Implements PoDoFo::PdfFontSimple.


Generated on Tue Jul 28 00:56:34 2009 for PoDoFo by  doxygen 1.5.9