PoDoFo 0.7.0
|
#include <PdfFontType1Base14.h>
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) |
A PdfFont implementation that can be used draw with base14 type1 fonts into a PDF file.
PoDoFo::PdfFontType1Base14::PdfFontType1Base14 | ( | PdfFontMetrics * | pMetrics, |
const PdfEncoding *const | pEncoding, | ||
PdfVecObjects * | pParent | ||
) |
Create a new Type1 font object.
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::PdfFontType1Base14::PdfFontType1Base14 | ( | PdfFontMetrics * | pMetrics, |
const PdfEncoding *const | pEncoding, | ||
PdfObject * | pObject | ||
) |
Create a new Type1 font object based on an existing PdfObject
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 |
void PoDoFo::PdfFontType1Base14::EmbedFontFile | ( | PdfObject * | pDescriptor | ) | [protected, virtual] |
Embed the font file directly into the PDF file.
pDescriptor | font descriptor object |
Implements PoDoFo::PdfFontSimple.