#include <PdfFontCID.h>
Public Member Functions | |
PdfFontCID (PdfFontMetrics *pMetrics, const PdfEncoding *const pEncoding, PdfVecObjects *pParent, bool bEmbed=true) | |
PdfFontCID (PdfFontMetrics *pMetrics, const PdfEncoding *const pEncoding, PdfObject *pObject) | |
Protected Member Functions | |
void | Init (bool bEmbed) |
void | EmbedFont (PdfObject *pDescriptor) |
PoDoFo::PdfFontCID::PdfFontCID | ( | PdfFontMetrics * | pMetrics, | |
const PdfEncoding *const | pEncoding, | |||
PdfVecObjects * | pParent, | |||
bool | bEmbed = true | |||
) |
Create a new CID font.
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 | |||
) |
Create a PdfFont 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::PdfFontCID::EmbedFont | ( | PdfObject * | pDescriptor | ) | [protected] |
Embed the font file directly into the PDF file.
pDescriptor | font descriptor object |
void PoDoFo::PdfFontCID::Init | ( | bool | bEmbed | ) | [protected] |
Initialize this font object.
bEmbed | if true embed the font data into the PDF file. |