Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

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