PoDoFo 0.9.1
Public Member Functions | Protected Member Functions

PoDoFo::PdfFontType1Base14 Class Reference

#include <PdfFontType1Base14.h>

Inheritance diagram for PoDoFo::PdfFontType1Base14:
PoDoFo::PdfFontSimple PoDoFo::PdfFont PoDoFo::PdfElement

List of all members.

Public Member Functions

 PdfFontType1Base14 (PdfFontMetrics *pMetrics, const PdfEncoding *const pEncoding, PdfVecObjects *pParent)
 PdfFontType1Base14 (PdfFontMetrics *pMetrics, const PdfEncoding *const pEncoding, PdfObject *pObject)

Protected Member Functions

virtual void EmbedFontFile (PdfObject *pDescriptor)

Detailed Description

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


Constructor & Destructor Documentation

PoDoFo::PdfFontType1Base14::PdfFontType1Base14 ( PdfFontMetrics pMetrics,
const PdfEncoding *const  pEncoding,
PdfVecObjects pParent 
)

Create a new Type1 font object.

Parameters:
pMetricspointer 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.
pEncodingthe encoding of this font. The font will not take ownership of this object.
pParentparent of the font object
PoDoFo::PdfFontType1Base14::PdfFontType1Base14 ( PdfFontMetrics pMetrics,
const PdfEncoding *const  pEncoding,
PdfObject pObject 
)

Create a new Type1 font object based on an existing PdfObject

Parameters:
pMetricspointer 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.
pEncodingthe encoding of this font. The font will not take ownership of this object.
pObjectan existing PdfObject

Member Function Documentation

void PoDoFo::PdfFontType1Base14::EmbedFontFile ( PdfObject pDescriptor) [protected, virtual]

Embed the font file directly into the PDF file.

Parameters:
pDescriptorfont descriptor object

Implements PoDoFo::PdfFontSimple.