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:
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 take ownership of this object depending on pEncoding->IsAutoDelete()
pParent parent 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:
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 take ownership of this object depending on pEncoding->IsAutoDelete()
pObject an existing PdfObject


Member Function Documentation

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

Embed the font file directly into the PDF file.

Parameters:
pDescriptor font descriptor object

Implements PoDoFo::PdfFontSimple.


Generated on Tue Nov 29 09:28:34 2016 for PoDoFo by  doxygen 1.5.6