This class models PCL XL TrueType and bitmap fonts derived from an OpenType font source.
More...
|
virtual IDOMFontPCLXL::ePCLXLFontType | getPCLXLFontType () const =0 |
| Returns the sub font type for this PCL XL font.
|
virtual bool | getFontName (EDLSysString &fontName)=0 |
| Returns the XL font name. For example, "Times New Roman".
|
virtual bool | getFontHeaderSegmentBlockEnumerator (IFontHeaderWriteSegmentBlockEnumeratorPtr &enumerator)=0 |
| Creates a PCL XL FontHeader enumerator of the font for the PCL XL ReadFontHeader operator.
|
virtual bool | getFontTrueTypeGlyphAccessor (IFontPCLXLTrueTypeGlyphAccessorPtr &accessor)=0 |
| Creates a TrueType glyph accessor.
|
virtual int32 | writeFont (const IOutputStreamPtr &outStream)=0 |
| Write the converted OpenType font to stream (CFF style Opentype fonts are converted to TTF style).
|
virtual int32 | writeFont (const EDLSysString &filePath, bool isTemplate=false) |
| Write the converted OpenType font to a file (CFF style Opentype fonts are converted to TTF style). This method is normally used to debug and test OpenType CFF->TTF converted fonts.
|
| DECL_SMART_PTR (CCIDMap) |
virtual bool | getObfuscated () const =0 |
| Returns true if font is obfuscated. Obfuscated fonts are only found in XPS Documents.
|
virtual bool | getIsPSStandardFont () const =0 |
| Establishes whether the font is a standard PostScript font.
|
virtual bool | getIsPDFStandardFont () const =0 |
| Establishes whether the font is a standard PDF font.
|
virtual bool | getEmbedded () const =0 |
| Establishes whether the font is flagged for embeddeding.
|
virtual void | setEmbedded (bool embedded)=0 |
| Sets whether of not the font is flagged for embeddeding.
|
virtual bool | getSubsetted () const =0 |
| Requests if the font reports to be a subset.
|
virtual EDLRawString | getRequestedFontName () const =0 |
| Get the name of the font as requested by the input document. This is only useful for PDF and PostScript input. If a font has to be substituted for another requested font, this will return the name of the font the input desired. The encoding of this font name is not defined.
|
virtual EDLSysString | getPostScriptName (IEDLClassFactory *pFactory, int32 fontIndex)=0 |
| Get the "PostScript" Name of the font, from the font data itself. This is usually extracted from the 'name' OpenType table, but may be synthesized if the name cannot be obtained.
|
virtual EDLSysString | getFullName (IEDLClassFactory *pFactory, int32 fontIndex)=0 |
| Get the "Full" Name of the font, from the font data itself. This is usually extracted from the 'name' OpenType table, but may be synthesized if the name cannot be obtained.
|
virtual eOpenTypeFontType | getOpenTypeFontType ()=0 |
| Returns the sub font type for this opentype font.
|
virtual eOriginalFontType | getOriginalFontType ()=0 |
| Returns the original font type for this opentype font.
|
virtual IFontOpenTypeTableAccessorPtr | getFontOpenTypeTableAccessor (uint32 fontIndex=0)=0 |
| Creates an OpenType font table accessor.
|
virtual IFontTrueTypeGlyphAccessorPtr | getFontTrueTypeGlyphAccessor (uint32 fontIndex=0, bool stripInstructions=false)=0 |
| Creates a TrueType glyph accessor.
|
virtual uint16 | getFontLicenseFromOS2Table (uint32 fontIndex=0)=0 |
| Gets the fsType field (embedded licensing information) from the OS/2 table.
|
virtual bool | getIsRestricted (uint32 fontIndex=0)=0 |
| Is the font marked as restricted from embedding according to its license?
|
virtual IDOMFontOpenTypeTTPtr | createTrueTypeOnlyFontVersion (const ISessionPtr &ptrSession, bool regenerateStream)=0 |
| Create a TrueType only font from this OpenType font that may contain CFF fonts.
|
virtual IDOMFontOpenTypePtr | createSubsetFont (const ISessionPtr &ptrSession, const CEDLVector< uint16 > &usedGlyphs, const CEDLVector< uint32 > &usedUnicode)=0 |
| Create a Subsetted version if this font.
|
virtual IDOMFontOpenTypePtr | createRenamedFont (const ISessionPtr &ptrSession, const EDLSysString &fontName, uint32 fontIndex=0)=0 |
| Get a renamed version of this font. An exception of type IEDLError is thrown on failure.
|
virtual const CEDLSimpleBuffer & | getOriginalOS2Table () const =0 |
| Obtain the original OS/2 Table, if present, that was included in the font.
|
virtual CCIDMapConstPtr | getCidMap () const =0 |
| Obtain the CID Map for this font, if present.
|
virtual int32 | getFlags () const =0 |
| Obtain the PDF FontDescriptor Style flags, if present.
|
virtual const CEDLSimpleBuffer & | getPanose () const =0 |
| Obtain the PDF Style Panose information, if present.
|
virtual void | setCidMap (const CCIDMapConstPtr &cidMap)=0 |
| Set or clear the CIDMap for the font. Valid only for TrueType fonts.
|
virtual bool | validateInstructions (const ISessionPtr &session, uint32 fontIndex=0)=0 |
| Validate glyph instructions.
|
virtual IDOMFontOpenTypePtr | stripInstructions (const ISessionPtr &session, uint32 fontIndex=0, bool all=false)=0 |
| Strip glyph instructions.
|
virtual EDLRawString | getOriginalPdfEncoding () const =0 |
| Obtain the original PDF Font Encoding, if present.
|
virtual void | removeOriginalPdfEncoding ()=0 |
| Clear the original PDF Font Encoding, if set.
|
virtual eFontType | getFontType () const =0 |
| Gets the font type. See eFontType for more information on font types.
|
virtual IDOMFontSourcePtr | getFontSource () const =0 |
| Get the font source of this font.
|
virtual void | setFontSource (const IDOMFontSourcePtr &fontSource)=0 |
| Sets the font source for this font.
|
virtual IInputStreamPtr | getFontBaseStream () const =0 |
| Return the base stream for this font, obtaining it from the font source.
|
virtual void | getCharacterMap (CCharacterMap &characterMap, uint32 fontIndex=0U)=0 |
| Get the character map for this font.
|
virtual eFontSourceType | getFontSourceType () const =0 |
| Gets the font source type.
|
virtual const EDLSysString & | determineUri () const =0 |
| Determines the URI based on the font source (underlying font sources may be searched)
|
virtual const CClassID & | getClassID () const =0 |
| Returns class ID of IEDLObject.
|
virtual bool | init (CClassParams *pData) |
| The init() method is called to perform any post-construction initialization of an IEDLObject that has been created by the EDL class factory, before it is actually returned by the factory.
|
virtual bool | clone (IEDLObjectPtr &ptrObject, IEDLClassFactory *pFactory) |
| Create a copy of EDLObject.
|
virtual void | addRef () const =0 |
| Increases the reference count of the actual object pointed to. This would take place during an assignment or copying.
|
virtual bool | decRef () const =0 |
| Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to.
|
virtual int32 | getRefCount () const =0 |
| Retrieve the current reference count of the actual object pointed to.
|
virtual | ~IDOMHashable () |
| Virtual destructor.
|
virtual bool | hash (uint64 &hash)=0 |
| Retrieve a hash for this object.
|
virtual uint64 | hashE () |
| As hash(), but throws an exception if the operation fails.
|
This class models PCL XL TrueType and bitmap fonts derived from an OpenType font source.