PoDoFo::PdfFontTrueType Class Reference

#include <PdfFontTrueType.h>

Inheritance diagram for PoDoFo::PdfFontTrueType:

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

List of all members.

Public Member Functions

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


Detailed Description

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

TrueType fonts are always embedded as suggested in the PDF reference.


Constructor & Destructor Documentation

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

Create a new TrueType font.

It will get embedded automatically.

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
bEmbed if true the font will get embedded.

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


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