|
| wxPdfFontDataType1 (wxMemoryInputStream *pfbStream=NULL) |
| < Default constructor More...
|
|
virtual | ~wxPdfFontDataType1 () |
| Default destructor. More...
|
|
virtual double | GetStringWidth (const wxString &s, const wxPdfEncoding *encoding=NULL, bool withKerning=false) const |
| Get the width of a string. More...
|
|
virtual bool | CanShow (const wxString &s, const wxPdfEncoding *encoding=NULL) const |
| Check whether the font oan show all characters of a given string. More...
|
|
virtual wxString | ConvertCID2GID (const wxString &s, const wxPdfEncoding *encoding, wxPdfSortedArrayInt *usedGlyphs=NULL, wxPdfChar2GlyphMap *subsetGlyphs=NULL) const |
| Convert character codes to glyph numbers. More...
|
|
virtual bool | LoadFontMetrics (wxXmlNode *root) |
| Load the font metrics XML file. More...
|
|
virtual bool | Initialize () |
| Initialize font data. More...
|
|
virtual wxString | GetWidthsAsString (bool subset=false, wxPdfSortedArrayInt *usedGlyphs=NULL, wxPdfChar2GlyphMap *subsetGlyphs=NULL) const |
| Get the character width array as string. More...
|
|
virtual wxString | GetWidthsAsString (const wxArrayString &glyphNames, bool subset=false, wxPdfSortedArrayInt *usedGlyphs=NULL, wxPdfChar2GlyphMap *subsetGlyphs=NULL) const |
| Get the character width array as string. More...
|
|
virtual bool | GetGlyphNames (wxArrayString &glyphNames) const |
| Get a list of glyph names available in the font. More...
|
|
virtual size_t | WriteFontData (wxOutputStream *fontData, wxPdfSortedArrayInt *usedGlyphs=NULL, wxPdfChar2GlyphMap *subsetGlyphs=NULL) |
| Write font data. More...
|
|
virtual size_t | WriteUnicodeMap (wxOutputStream *mapData, const wxPdfEncoding *encoding=NULL, wxPdfSortedArrayInt *usedGlyphs=NULL, wxPdfChar2GlyphMap *subsetGlyphs=NULL) |
| Write character/glyph to unicode mapping. More...
|
|
void | SetEncodingType (const wxString &encodingType) |
| Set the encoding type. More...
|
|
wxString | GetEncodingType () const |
| Get the encoding type. More...
|
|
void | SetEncodingMap (const wxArrayString &encodingMap) |
| Set encoding map. More...
|
|
wxArrayString | GetEncodingMap () const |
| Get encoding map. More...
|
|
void | SetType1GlyphWidthMap (wxPdfFontType1GlyphWidthMap *glyphWidthMap) |
| Set glyph width map. More...
|
|
virtual wxMBConv * | GetEncodingConv () const |
| Get the associated encoding converter. More...
|
|
virtual void | CreateDefaultEncodingConv () |
| Create the associated default encoding converter. More...
|
|
| wxPdfFontData () |
| Default constructor. More...
|
|
virtual | ~wxPdfFontData () |
| Default destructor. More...
|
|
bool | IsInitialized () const |
| Check initialization state. More...
|
|
void | SetInitialized (bool initialized) |
| Set initialization state. More...
|
|
void | SetType (const wxString &type) |
| Set font type. More...
|
|
wxString | GetType () const |
| Get font type. More...
|
|
void | SetFamily (const wxString &name) |
| Set font family name. More...
|
|
wxString | GetFamily () const |
| Get font family name. More...
|
|
void | SetAlias (const wxString &alias) |
| Set font family alias. More...
|
|
wxString | GetAlias () const |
| Get font family alias. More...
|
|
void | SetName (const wxString &name) |
| Set font name. More...
|
|
wxString | GetName () const |
| Get font name. More...
|
|
void | SetFullNames (const wxArrayString &fullNames) |
| Set list of full font names. More...
|
|
wxArrayString | GetFullNames () const |
| Get list of full font names. More...
|
|
void | SetStyle (int style) |
| Set font style. More...
|
|
void | SetStyle (const wxString &style) |
| Set font style. More...
|
|
void | SetStyleFromName () |
| Set font style based on font name. More...
|
|
int | GetStyle () const |
| Get font style. More...
|
|
bool | EmbedRequired () |
| Set embed support flag. More...
|
|
bool | EmbedSupported () const |
| Check whether the font embedding is required. More...
|
|
bool | SubsetSupported () const |
| Check whether the font subsetting is supported. More...
|
|
void | SetEmbedSupported (bool embedSupported) |
| Set embed support flag. More...
|
|
void | SetSubsetSupported (bool subsetSupported) |
| Set subset support flag. More...
|
|
void | SetFontFileName (const wxString &fontFileName) |
| Set fully qualified font file name. More...
|
|
wxString | GetFontFileName () const |
| Get fully qualified font file name. More...
|
|
void | SetFontIndex (int fontIndex) |
| Set font index in case the font is member of a font collection. More...
|
|
int | GetFontIndex () const |
| Get font index. More...
|
|
bool | HasCff () const |
| Check whether the font is in compact font format. More...
|
|
size_t | GetCffOffset () const |
| Get the offset of the CFF section within the font file. More...
|
|
size_t | GetCffLength () const |
| Get the length of the CFF section. More...
|
|
void | SetUnderlinePosition (int up) |
| Set underline position. More...
|
|
int | GetUnderlinePosition () const |
| Get underline position. More...
|
|
void | SetUnderlineThickness (int ut) |
| Set underline thickness. More...
|
|
int | GetUnderlineThickness () const |
| Get underline thickness. More...
|
|
int | GetBBoxTopPosition () const |
| Get bounding box top position. More...
|
|
void | SetEncoding (const wxString &encoding) |
| Set encoding. More...
|
|
wxString | GetEncoding () const |
| Get encoding. More...
|
|
const wxPdfEncoding * | GetBaseEncoding () const |
| Get encoding. More...
|
|
bool | HasDiffs () const |
| Check whether the font has differences to WinAnsi encoding. More...
|
|
void | SetDiffs (const wxString &diffs) |
| Set encoding differences. More...
|
|
wxString | GetDiffs () const |
| Get encoding differences. More...
|
|
void | SetFilePath (const wxString &path) |
| Set path of font files. More...
|
|
wxString | GetFilePath () const |
| Get path of font files. More...
|
|
bool | HasFile () const |
| Check whether the font has an associated font file. More...
|
|
void | SetFontFile (const wxString &file) |
| Set the name of the font file created by MakeFont. More...
|
|
wxString | GetFontFile () const |
| Get the name of the associated font file. More...
|
|
void | SetCtgFile (const wxString &ctg) |
| Set the name of the character to glyph mapping file created by MakeFont. More...
|
|
wxString | GetCtgFile () const |
| Get the name of the character to glyph mapping file created by MakeFont. More...
|
|
void | SetSize1 (size_t size1) |
| Get font file size 1. More...
|
|
size_t | GetSize1 () const |
| Get font file size 1. More...
|
|
bool | HasSize2 () const |
| Check whether the file has a size 2. More...
|
|
void | SetSize2 (size_t size2) |
| Set font file size 2. More...
|
|
size_t | GetSize2 () const |
| Get font file size 2 (Type 1 only) More...
|
|
void | SetCMap (const wxString &cmap) |
| Set font CMap. More...
|
|
wxString | GetCMap () const |
| Get the font's CMap (Type 0 only) More...
|
|
void | SetOrdering (const wxString &ordering) |
| Set font ordering. More...
|
|
wxString | GetOrdering () const |
| Get font ordering. More...
|
|
void | SetSupplement (const wxString &supplement) |
| Set font supplement. More...
|
|
wxString | GetSupplement () const |
| Get font supplement (Type 0 only) More...
|
|
void | SetGlyphWidthMap (wxPdfGlyphWidthMap *cw) |
| Set glyph width map. More...
|
|
const wxPdfGlyphWidthMap * | GetGlyphWidthMap () const |
| Get glyph width map. More...
|
|
void | SetChar2GlyphMap (wxPdfChar2GlyphMap *gn) |
| Set character to glyph number map. More...
|
|
const wxPdfChar2GlyphMap * | GetChar2GlyphMap () const |
| Get character to glyph number map. More...
|
|
void | SetKernPairMap (wxPdfKernPairMap *kp) |
| Set kerning pair map. More...
|
|
const wxPdfKernPairMap * | GetKernPairMap () const |
| Get kerning pair map. More...
|
|
int | GetKerningWidth (const wxString &s) const |
| Get width of string taking kerning into account. More...
|
|
wxArrayInt | GetKerningWidthArray (const wxString &s) const |
| Get kerning width array. More...
|
|
void | SetSubset (bool subset) |
| Set subset flag if font subsetting is supported. More...
|
|
virtual bool | HasVoltData () const |
| Check whether VOLT data are available. More...
|
|
virtual wxString | ApplyVoltData (const wxString &s) const |
| Applay VOLT data. More...
|
|
virtual wxString | ConvertToValid (const wxString &s, wxChar replace=wxS('?')) const |
| Force string to valid string in respect of the current font encoding. More...
|
|
virtual wxString | ConvertGlyph (wxUint32 glyph, const wxPdfEncoding *encoding=NULL, wxPdfSortedArrayInt *usedGlyphs=NULL, wxPdfChar2GlyphMap *subsetGlyphs=NULL) const |
| Convert glyph number to string. More...
|
|
void | SetDescription (const wxPdfFontDescription &desc) |
| Set the font description. More...
|
|
virtual const wxPdfFontDescription & | GetDescription () const |
| Get the font description. More...
|
|
virtual void | SetGlyphWidths (const wxPdfArrayUint16 &glyphWidths) |
| Set the glyph widths. More...
|
|
bool | GetFontDescription (const wxXmlNode *node, wxPdfFontDescription &fontDescription) |
| Get the font description from XML. More...
|
|
Class representing Type 1 fonts. (For internal use only)