Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version

nfontmetrics

Arguments: stream fontmetrics

Modifies as necessary and returns the specified fontmetrics object so it describes the current font of stream.

This destructive version of fontmetrics may be useful for avoiding consing a lot of fontmetrics objects if frequent calls are required; this could be done by calling make-fontmetrics just once to create a single utility fontmetrics object, and then passing it to nfontmetrics each time a call to this function is needed (using the object temporarily within a single process where re-entrancy is not an issue).

See also Text and Fonts in cg-drawing.htm.


Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version