#include <IPreflightArtworkTextInfo.h>
|
| enum | { kDefaultIID = IID_IPREFLIGHTARTWORKTEXTINFO } |
| |
| enum | FontType { kFontType_Invalid, kFontType_Type1, kFontType_TrueType, kFontType_CID, kFontType_ATC, kFontType_Bitmap, kFontType_OpenTypeCFF, kFontType_OpenTypeCID, kFontType_OpenTypeTT, kFontType_Type3, kFontType_SVG } |
| |
| enum | FontTechnology { kFontTech_Invalid, kFontTech_Type1, kFontTech_TrueType, kFontTech_CID, kFontTech_Bitmap, kFontTech_ATC, kFontTech_Type3 } |
| |
This interface provides text and font information for a marking operation. This is broken out from IPreflightArtworkMarkInfo to avoid overwhelming that interface with text APIs.
- See Also
- IPreflightArtworkMarkInfo
Types returned by GetFontTechnology. These are a slightly different way to slice the categorization and may differentiate between some of the above cases.
Types returned by GetFontType.
| virtual PMMatrix IPreflightArtworkTextInfo::GetCharMatrix | ( | | ) | const |
| pure virtual |
Get the character matrix for a text marking operation. This is generally used to determine the 'native' point size of the text.
- Returns
- The character matrix.
| virtual bool IPreflightArtworkTextInfo::GetFontHasOutlines | ( | | ) | const |
| pure virtual |
- Returns
- true iff the font has outlines; if not, it's a bitmap.
| virtual bool IPreflightArtworkTextInfo::GetFontIsCFF | ( | | ) | const |
| pure virtual |
- Returns
- true iff the font is CFF.
| virtual bool IPreflightArtworkTextInfo::GetFontIsEmbedded | ( | | ) | const |
| pure virtual |
- Returns
- true iff the font source was an embedded in EPS or PDF.
| virtual bool IPreflightArtworkTextInfo::GetFontIsMultipleMaster | ( | | ) | const |
| pure virtual |
- Returns
- true iff the font is a multiple master font.
| virtual bool IPreflightArtworkTextInfo::GetFontIsProtected | ( | | ) | const |
| pure virtual |
Get whether the font is protected.
- Returns
- True if protected; false otherwise.
| virtual bool IPreflightArtworkTextInfo::GetFontIsReal | ( | | ) | const |
| pure virtual |
Get whether the font is real, as opposed to a substituted or fauxed font because the original font is not available.
- Returns
- True if real; false otherwise.
| virtual bool IPreflightArtworkTextInfo::GetFontIsSING | ( | | ) | const |
| pure virtual |
- Returns
- true iff the font is a SING glyphlet.
| virtual PMString IPreflightArtworkTextInfo::GetFontName | ( | | ) | const |
| pure virtual |
Get the name of the font used for a text marking operation. Note that there is a specific hierarchy for determining this name:
- If the font is a substitute for another font, returns the name of the font it was substituted for.
- Else, if a "full name" for the font is available, that's returned.
- Else the postscript name of the font is returned.
- Returns
- The name of the font.
| virtual FontTechnology IPreflightArtworkTextInfo::GetFontTechnology | ( | | ) | const |
| pure virtual |
Get the type of font technology used for a text marking operation.
- Returns
- The font technology type.
| virtual FontType IPreflightArtworkTextInfo::GetFontType | ( | | ) | const |
| pure virtual |
Get the type of font used for a text marking operation.
- Returns
- The font type.
| virtual int32 IPreflightArtworkTextInfo::GetNthGlyph | ( | uint32 | n, | | | PMPoint * | pWhere, | | | bool * | pIsValid | | ) | | const |
| pure virtual |
Get the Nth glyph and associated information.
- Parameters
| n | IN The index (0 to GetNumGlyphs() - 1) you're interested in. |
| pWhere | OUT If not nil, receives the XY location of the glyph. |
| pIsValid | OUT If not nil, recieves a boolean indicating whether this is a defined glyphID. (Note that this returns kFalse if the glyph is the font's not-defined glyph.) |
- Returns
- The glyph ID.
| virtual uint32 IPreflightArtworkTextInfo::GetNumGlyphs | ( | | ) | const |
| pure virtual |
Get the number of glyphs for a text marking operation.
- Returns
- Number of glyphs.
| virtual PMMatrix IPreflightArtworkTextInfo::GetTextMatrix | ( | | ) | const |
| pure virtual |
Get the text matrix for a text marking operation. This is a matrix that is applied at this marking operation's level to the text itself. This can be combined with GetAbsoluteMatrix from the marking operation to determine the overall matrix.
- Returns
- The text matrix.