(v13) Pluggable font module interfaces
This page applies to Harlequin v13.1r0 and later; both Harlequin Core and Harlequin MultiRIP
The module interface comprises:
| Optional . Called during RIP boot or during module registration if the RIP has booted. This allows the module to initialize and allocate global workspace that will be shared between its instances. |
| Optional . Called during RIP shutdown, the module is expected to free its global workspace. If not present, PFIN will free memory on the module’s behalf. |
start | Optional
. Called to initialize a module instance, during RIP boot, or on demand in response to a request to a previously unknown instance. This allows the module instance to initialize, allocate workspace, examine its resources and optionally declare any fonts it supplies. See (v13) PFIN interfaces
for more information on |
| Optional.
Called during instance shutdown, or suspension in low memory situations. When being suspended, the instance should free as much memory as possible, but will be resumed by the RIP when another glyph is required. When being shutdown, the instance should free all its memory and undefine its fonts. See (v13) PFIN interfaces
for more information on |
| Optional.
The RIP will pass a configuration dictionary PostScript language object to the instance if one is present in the dictionary passed to |
| Optional
. Immediately prior to a |
| Required. Return the width for the given character in the given font. |
outline | Required.
Return a hinted (if so desired) path representation or prerendered bit image of the given character. The RIP indicates if it would prefer a path or bitmap representation, but the module instance can usually decide which is most appropriate. See (v13) PFIN interfaces
for more information on
|