Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PoDoFo::PdfFontCID Class Reference

#include <PdfFontCID.h>

Inheritance diagram for PoDoFo::PdfFontCID:

PoDoFo::PdfFont PoDoFo::PdfElement List of all members.

Public Member Functions

 PdfFontCID (PdfFontMetrics *pMetrics, const PdfEncoding *const pEncoding, PdfVecObjects *pParent, bool bEmbed=true)
 PdfFontCID (PdfFontMetrics *pMetrics, const PdfEncoding *const pEncoding, PdfObject *pObject, bool bEmbed)
virtual void EmbedFont ()

Protected Member Functions

void Init (bool bEmbed)
void EmbedFont (PdfObject *pDescriptor)

Detailed Description

A PdfFont that represents a CID font.


Constructor & Destructor Documentation

PoDoFo::PdfFontCID::PdfFontCID PdfFontMetrics pMetrics,
const PdfEncoding *const   pEncoding,
PdfVecObjects pParent,
bool  bEmbed = true
 

Create a new CID font.

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 specifies the embedding of font

PoDoFo::PdfFontCID::PdfFontCID PdfFontMetrics pMetrics,
const PdfEncoding *const   pEncoding,
PdfObject pObject,
bool  bEmbed
 

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
bEmbed specifies the embedding of font


Member Function Documentation

void PoDoFo::PdfFontCID::EmbedFont PdfObject pDescriptor  )  [protected]
 

Embed the font file directly into the PDF file.

Parameters:
pDescriptor font descriptor object

void PoDoFo::PdfFontCID::EmbedFont  )  [virtual]
 

Embeds the font into PDF page

Reimplemented from PoDoFo::PdfFont.

void PoDoFo::PdfFontCID::Init bool  bEmbed  )  [protected]
 

Initialize this font object.

Parameters:
bEmbed if true embed the font data into the PDF file.


Generated on Sun Feb 12 13:19:31 2012 for PoDoFo by  doxygen 1.3.9.1