All Manuals > CAPI User Guide > 13 Graphics Ports


13.8 Portable font descriptions

Portable font descriptions are designed to solve the following problems:

All the functions described below are exported from the gp package.

You can obtain the names of all the fonts which are available for a given pane by calling list-all-font-names , which returns a list of partially-specified font descriptions.

Portable font descriptions are used only for lookup of real fonts and for storing the parameters to specify when doing a font lookup operation. To draw text in a specified font using the Graphics Ports drawing functions, supply in the graphics state a font object as returned by find-matching-fonts and find-best-font .

13.8.1 Font attributes and font descriptions

13.8.2 Fonts

CAPI User Guide (Macintosh version) - 30 Aug 2011