#include <PdfFontType3.h>
Public Member Functions | |
PdfFontType3 (PdfFontMetrics *pMetrics, const PdfEncoding *const pEncoding, PdfVecObjects *pParent, bool bEmbed) | |
PdfFontType3 (PdfFontMetrics *pMetrics, const PdfEncoding *const pEncoding, PdfObject *pObject) |
Type3 fonts are always embedded.
PoDoFo::PdfFontType3::PdfFontType3 | ( | PdfFontMetrics * | pMetrics, | |
const PdfEncoding *const | pEncoding, | |||
PdfVecObjects * | pParent, | |||
bool | bEmbed | |||
) |
Create a new Type3 font.
It will get embedded automatically.
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::PdfFontType3::PdfFontType3 | ( | 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 take ownership of this object depending on pEncoding->IsAutoDelete() | |
pObject | an existing PdfObject |