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

Public Types | |
| enum | { kDefaultIID = IID_IFONTMETRICSTABLELIST } |
Public Member Functions | |
| virtual IFontMetricsTable * | QueryFontMetricsTable (const IPMFont *font, bool16 createIfNew)=0 |
| virtual void | ClearFontMetricsTable (const IPMFont *font)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
In the Japanese version of InDesign a feature called "Tsume" is available. This feature removes a percentage of the whitespace from either side of a glyph. It works by getting the exact ink bounding box of a particular glyph and comparing that with the pen-advance. Because this data is completely unavailable when the font is missing, we store the values, as they are used, in this table. Each font that has been used with Tsume has its own table. These tables are available from the IFontMetricTableList.
| pure virtual |
Clear the table for a particular font. Only called by the Composite Font Manager at this time.
| font | is the font whose table is to be cleared. |
| pure virtual |
return a IFontMetricsTable for a particular font.
| font | specifies which font you want to get side-bearings for. |
| createIfNew | specifies if you want "nil" returned if the table doesn't already exist. otherwise, it will create an empty table. |