![]() | InDesign SDK 20.5 |
#include <IFontGroup.h>

Public Member Functions | |
| virtual const PMString & | GetGroupName () const =0 |
| virtual const PMString & | GetGroupNameNative () const =0 |
| virtual int32 | GetNumFonts () const =0 |
| virtual CTFamily * | GetCTFamily () const =0 |
| virtual void | GetGroupsWithSameName (K2Vector< int32 > &fontGroups) const =0 |
| virtual PMString | GetUniqueFamilyNameEnding () const =0 |
| virtual int32 | GetFontGroupIndex () const =0 |
| virtual int32 | GetDictIndex (int32 index, int32 &actualIndexInDict) const =0 |
| virtual void | GetDefaultVariableFontName (PMString &fontName) const =0 |
Public Member Functions inherited from grRefCountedObj | |
| grRefCountedObj () | |
| virtual | ~grRefCountedObj ()=0 |
| virtual void | AddRef () const |
| virtual void | Release () const |
Additional Inherited Members | |
Protected Attributes inherited from grRefCountedObj | |
| int32 | fRefCount |
This is a shell over the CoolType API for fontGroups.
| pure virtual |
Get the CoolType font family
| pure virtual |
This method returns the CoolType returned PS name of default font in a font group.
| fontName | [Out] CoolType PS name of default font in a font group. |
| pure virtual |
| index | The index of named/custom instance in font group |
| actualIndexInDict | OUT The corresponding index of named/custom instance in a font dict |
| pure virtual |
Index of group.
| pure virtual |
Get name of the group. This is also called family name.
| pure virtual |
Get native name of the group. This is also called native family name.
| pure virtual |
Gets groups with same name. This will return all the groups with the same name. If fontGroups only has 1 value then there is only one font group with this name.
| fontGroups | OUT vector of font group identifiers. Call IFontManager's QueryFontGroup() with these number to get a group. |
| pure virtual |
Number of CTFontDicts in this group. This number can be different for Roman and Japanese UI depending on the font.
| pure virtual |
If more than one family has the same name this gets a unique string to append to the family name to get a unique name. Unique names are required currently for menus. Appends font type (TT) and possibly script.