Fonts are the objects which are actually used in drawing operations. They are made by a font lookup operation on a pane, using a font description as a pattern.
Examples of font lookup operations are
Once a font object is resolved you can read its properties such as height, width and average width. The functions
and so on need a pane that has been created. In general, you need to call these functions within
, or a
or possibly a
for more information about these initargs.
CAPI User Guide (Unix version) - 30 Aug 2011