Logo Search packages:      
Sourcecode: libpodofo version File versions  Download package

Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes

PoDoFo::PdfFontType1 Class Reference

#include <PdfFontType1.h>

Inheritance diagram for PoDoFo::PdfFontType1:
Inheritance graph
[legend]
Collaboration diagram for PoDoFo::PdfFontType1:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void EmbedFont ()
const PdfEncodingGetEncoding () const
float GetFontCharSpace () const
const PdfFontMetricsGetFontMetrics () const
PdfFontMetricsGetFontMetrics2 ()
float GetFontScale () const
float GetFontSize () const
const PdfNameGetIdentifier () const
PdfObjectGetObject ()
const PdfObjectGetObject () const
void InitBase14Font ()
bool IsBold () const
bool IsItalic () const
bool IsStrikeOut () const
bool IsSubsetting () const
bool IsUnderlined () const
 PdfFontType1 (PdfFontMetrics *pMetrics, const PdfEncoding *const pEncoding, PdfVecObjects *pParent, bool bEmbed)
 PdfFontType1 (PdfFontMetrics *pMetrics, const PdfEncoding *const pEncoding, PdfObject *pObject)
 PdfFontType1 (PdfFontType1 *pFont, PdfFontMetrics *pMetrics, const char *pszSuffix, PdfVecObjects *pParent)
void SetFontCharSpace (float fCharSpace)
void SetFontScale (float fScale)
void SetFontSize (float fSize)
void SetStrikeOut (bool bStrikeOut)
void SetUnderlined (bool bUnder)
virtual void WriteStringToStream (const PdfString &rsString, PdfStream *pStream)

Protected Member Functions

virtual void AddUsedSubsettingGlyphs (const PdfString &sText, long lStringLen)
PdfObjectCreateObject (const char *pszType=NULL)
virtual void EmbedFontFile (PdfObject *pDescriptor)
virtual void EmbedSubsetFont ()
const PdfNameGetBaseFont () const
PdfObjectGetNonConstObject () const
void Init (bool bEmbed, const PdfName &rsSubType)
const char * TypeNameForIndex (int i, const char **ppTypes, long lLen) const
int TypeNameToIndex (const char *pszType, const char **ppTypes, long lLen, int nUnknownValue) const

Protected Attributes

bool m_bBold
bool m_bIsSubsetting
bool m_bItalic
bool m_bStrikedOut
bool m_bUnderlined
bool m_bWasEmbedded
PdfName m_Identifier
bool m_isBase14
PdfObjectm_pDescriptor
const PdfEncoding *const m_pEncoding
PdfFontMetricsm_pMetrics

Private Member Functions

pdf_long FindInBuffer (const char *pszNeedle, const char *pszHaystack, pdf_long lLen) const

Private Attributes

int m_bUsed [8]

Detailed Description

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

Definition at line 33 of file PdfFontType1.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index