Type 1 Font dictionary.
More...
#include <PDFPrinterSupport.h>
|
| Type1FontDictionary (const string basefont, int firstchar, int lastchar, IndirectFloatVector *widths_, TypedDictionary *fontdescriptor, const string encoding="", unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL) |
| Constructor. More...
|
|
| Type1FontDictionary (const string basefont, int firstchar, int lastchar, IndirectFloatVector *widths_, TypedDictionary *fontdescriptor, TypedDictionary *encoding, unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL) |
| Constructor. More...
|
|
| ~Type1FontDictionary () |
| Destructor. More...
|
|
| FontDictionary (const string subtype, unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL) |
| Constructor. More...
|
|
| ~FontDictionary () |
| Destructor. More...
|
|
| TypedDictionary (string t, unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL) |
| Constructor. More...
|
|
| ~TypedDictionary () |
| Destructor. More...
|
|
| Dictionary (unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL) |
| Constructor. More...
|
|
virtual | ~Dictionary () |
| Destructor. More...
|
|
virtual ostream & | WriteDirect (ostream &stream) const |
| Write an object directly. More...
|
|
| IndirectObject (unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL) |
| Constructor. More...
|
|
virtual | ~IndirectObject () |
| Destructor. More...
|
|
ostream & | WriteObjectToFile (ostream &stream) |
| Write an object indirectly. More...
|
|
ostream & | WriteIndirectReference (ostream &stream) const |
| Write an object indirectly. More...
|
|
unsigned long int | ObjectNumber () const |
| Return this object's object number. More...
|
|
unsigned short int | GenerationNumber () const |
| Return this object's generation number. More...
|
|
streampos | FileOffset () const |
| Return this object's file offset. More...
|
|
bool | HasOffset () const |
| Does the object have a file offset? More...
|
|
Type 1 Font dictionary.
- Author
- Robert Heller <heller@deepsoft.com>
◆ Type1FontDictionary() [1/2]
FCFSupport::PDFFileStructures::Type1FontDictionary::Type1FontDictionary |
( |
const string |
basefont, |
|
|
int |
firstchar, |
|
|
int |
lastchar, |
|
|
IndirectFloatVector * |
widths_, |
|
|
TypedDictionary * |
fontdescriptor, |
|
|
const string |
encoding = "" , |
|
|
unsigned long int |
objNum = 0L , |
|
|
unsigned short int |
genNum = 0 , |
|
|
CrossReferenceTable * |
tab = NULL |
|
) |
| |
|
inline |
Constructor.
Build a Type 1 font.
- Parameters
-
basefont | Name of the base font. |
firstchar | The first character code. |
lastchar | The last character code. |
widths_ | The widths of the characters. |
fontdescriptor | The font description. |
encoding | The encoding of the font. |
objNum | The next object number. |
genNum | The generation number. |
tab | The cross reference table we are in. |
◆ Type1FontDictionary() [2/2]
Constructor.
Build a Type 1 font.
- Parameters
-
basefont | Name of the base font. |
firstchar | The first character code. |
lastchar | The last character code. |
widths_ | The widths of the characters. |
fontdescriptor | The font description. |
encoding | The encoding of the font. |
objNum | The next object number. |
genNum | The generation number. |
tab | The cross reference table we are in. |
◆ ~Type1FontDictionary()
FCFSupport::PDFFileStructures::Type1FontDictionary::~Type1FontDictionary |
( |
| ) |
|
|
inline |
◆ WriteDictionaryElements()
virtual ostream& FCFSupport::PDFFileStructures::Type1FontDictionary::WriteDictionaryElements |
( |
ostream & |
stream | ) |
const |
|
protectedvirtual |
◆ baseFont
string FCFSupport::PDFFileStructures::Type1FontDictionary::baseFont |
|
private |
◆ encodingDictionary
TypedDictionary* FCFSupport::PDFFileStructures::Type1FontDictionary::encodingDictionary |
|
private |
Encoding as a dictionary.
◆ encodingName
string FCFSupport::PDFFileStructures::Type1FontDictionary::encodingName |
|
private |
◆ firstChar
int FCFSupport::PDFFileStructures::Type1FontDictionary::firstChar |
|
private |
First character in widths array;.
◆ fontDescriptor
TypedDictionary* FCFSupport::PDFFileStructures::Type1FontDictionary::fontDescriptor |
|
private |
◆ lastChar
int FCFSupport::PDFFileStructures::Type1FontDictionary::lastChar |
|
private |
Last character in widths array.
◆ widths