Mako 7.3.0 API

Font handling. More...

Classes

class  IDOMFontSource
 The font source for the class IDOMFont. This class describes the different ways fonts are constructed. More...
 
class  IDOMFontSourceStreamFilter
 An abstract interface for fonts sourced from a font stream filter. More...
 
class  IDOMFontSourceFromStream
 The source for IDOMFont when sourced from an existing stream. More...
 
class  IDOMFontSourceObfuscationConverter
 Interface for a font sourced from a converter that performs obfuscation and deobfuscation. More...
 
class  IDOMFont
 IDOMFont Base Class. More...
 
class  IDOMFontOpenType
 IDOMFontOpenType interface. More...
 
class  IDOMFontOpenType::CCIDMap
 For TrueType-based CIDFonts, the mapping from CIDs to GlyphIds for non-identity orderings. More...
 
class  SignatureID
 Opentype table signatures. More...
 
class  IDOMFontOTFTrueType
 Opentype Font. More...
 
class  IDOMType3Font
 Representation of a PostScript/PDF Type 3 Font. At present, the stream cannot be set, only retrieved. More...
 
class  IFontHeaderWriteSegmentBlockEnumerator
 IFontHeaderWriteSegmentBlockEnumerator Enumerates over the PCLXL Font Header block items for the XL ReadFontHeader operator. More...
 
class  IFontPCL5WriteSegmentBlockEnumerator
 IFontPCL5WriteSegmentBlockEnumerator Enumerates over the PCL5 font blocks. More...
 
class  IDOMFontPCLXL
 This class models PCL XL TrueType and bitmap fonts derived from an OpenType font source. More...
 
class  IDOMFontPCL5
 IDOMFontPCL5 (PCL5 Truetype) derived from an OpenType font source. More...
 

Typedefs

typedef uint32 IDOMFont::CharCode
 type used to uniquely identify a character code
 
typedef std::map< CharCode, IDOMGlyph::GlyphIDIDOMFont::CCharacterMap
 Map type used for storing character code to glyph ID mappings.
 
typedef uint32 TableSignatureID
 type used to uniquely identify an opentype font signature
 
typedef uint16 IDOMFontPCLXL::SymbolSet
 Type represents the PCL XL Font Symbol Set.
 
typedef uint16 IDOMFontPCL5::SymbolSetIDCode
 Type represents the PCL5 Font Symbol Set.
 

Enumerations

enum  IDOMFontSource::eFontSourceType { IDOMFontSource::eFontSourceTypeNone , IDOMFontSource::eFontSourceTypeStreamFilter , IDOMFontSource::eFontSourceTypeStream , IDOMFontSource::eFontSourceTypeFont }
 type used to uniquely identify the source type of a font More...
 
enum  IDOMFontSourceStreamFilter::eFontStreamFilterType { IDOMFontSourceStreamFilter::eFontStreamFilterTypeNone , IDOMFontSourceStreamFilter::eFontStreamFilterTypeObfuscation }
 An enumeration type used to identify the source type of a font. More...
 
enum  IDOMFontSourceObfuscationConverter::eOperation { IDOMFontSourceObfuscationConverter::eObfuscate , IDOMFontSourceObfuscationConverter::eDeobfuscate }
 type used to uniquely identify the conversion direction More...
 
enum  IDOMFontPCL5::ePCL5FontType
 Type used to uniquely identify the type of PCL5 font (Currently, only TTF supported).
 
enum  IDOMFont::eFontType {
  IDOMFont::eFontTypeUnknown , IDOMFont::eFontTypeOpenType , IDOMFont::eFontType3 , IDOMFont::eFontTypePCLXL ,
  IDOMFont::eFontTypePCL5
}
 type used to uniquely identify the type of font More...
 
enum  IDOMFontOpenType::eOpenTypeFontType { IDOMFontOpenType::eOpenTypeFontTypeUnknown , IDOMFontOpenType::eOpenTypeFontTypeTTF , IDOMFontOpenType::eOpenTypeFontTypeCFF , IDOMFontOpenType::eOpenTypeFontTypeTTC }
 Type used to uniquely identify the type of OpenType font. More...
 
enum  IDOMFontOpenType::eOriginalFontType {
  IDOMFontOpenType::eOriginalTypeOpenType , IDOMFontOpenType::eOriginalType1 , IDOMFontOpenType::eOriginalType2 , IDOMFontOpenType::eOriginalType42 ,
  IDOMFontOpenType::eOriginalType9 , IDOMFontOpenType::eOriginalType11 , IDOMFontOpenType::eOriginalPclTrueType
}
 Type used to uniquely identify the original type of Font. In the PostScript/PDF inputs, most font types are converted to OpenType before insertion into the DOM. This allows the ability to discover what the original type was. More...
 
enum  IDOMFontOpenType::Signature::eSignature {
}
 Type used to uniquely identify the known open type signatures.
 
enum  IFontHeaderWriteSegmentBlockEnumerator::eFontHeaderWriteSegmentItem
 The enumeration of the segment types to be enumerated over.
 
enum  IDOMFontPCLXL::ePCLXLFontType { IDOMFontPCLXL::ePCLXLFontTypeTTF , IDOMFontPCLXL::ePCLXLFontTypeBitmap }
 The enumeration used to identify the type of the PCL XL font. More...
 

Detailed Description

Font handling.

Enumeration Type Documentation

◆ eFontSourceType

type used to uniquely identify the source type of a font

Enumerator
eFontSourceTypeNone 

Not specified.

eFontSourceTypeStreamFilter 

Font filter (converter)

eFontSourceTypeStream 

Font data stream.

eFontSourceTypeFont 

Derived from a font.

◆ eFontStreamFilterType

An enumeration type used to identify the source type of a font.

Enumerator
eFontStreamFilterTypeNone 

Not specified.

eFontStreamFilterTypeObfuscation 

Obfuscation filter.

◆ eFontType

type used to uniquely identify the type of font

Enumerator
eFontTypeUnknown 

Unknown.

eFontTypeOpenType 

OpenType font.

eFontType3 

Type3 font.

eFontTypePCLXL 

PCL/XL font.

eFontTypePCL5 

PCL5 font.

◆ eOpenTypeFontType

Type used to uniquely identify the type of OpenType font.

Enumerator
eOpenTypeFontTypeUnknown 

Unknown font type.

eOpenTypeFontTypeTTF 

TrueType font.

eOpenTypeFontTypeCFF 

Compact font format.

eOpenTypeFontTypeTTC 

TrueType collections.

◆ eOperation

type used to uniquely identify the conversion direction

Enumerator
eObfuscate 

Obfuscation.

eDeobfuscate 

Deobfuscation.

◆ eOriginalFontType

Type used to uniquely identify the original type of Font. In the PostScript/PDF inputs, most font types are converted to OpenType before insertion into the DOM. This allows the ability to discover what the original type was.

Enumerator
eOriginalTypeOpenType 

Originally OpenType format.

eOriginalType1 

Type 1 font.

eOriginalType2 

Type 2 font - Usually a Type 1 encoded in a PDF in CFF form.

eOriginalType42 

Type42/Truetype from PS/PDF.

eOriginalType9 

CIDFontType0 (CIDFont based on Type 1 CharStrings)

eOriginalType11 

CIDFontType2 (CIDFont based on TrueType glyph descriptions)

eOriginalPclTrueType 

A TrueType font originally embedded in a PCL/5 or PCL/XL document.

◆ ePCLXLFontType

The enumeration used to identify the type of the PCL XL font.

Enumerator
ePCLXLFontTypeTTF 

TrueType based font.

ePCLXLFontTypeBitmap 

Bitmap font.