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

font-sizes

Arguments: stream face

Returns a list of the available font sizes for a particular stream and font face. stream should be an instance of the graphical-stream class, and face should be one of the strings that are returned by font-faces. The result may or may not depend on the particular stream.

When the face names a font that can scale to any size, such as a TrueType font in Windows, then the returned list will contain zero as its only element. Otherwise the list will contain pixel sizes that could be passed as the size argument to make-font-ex or make-font. The sizes will be sorted from smallest to largest.

(If some other size is passed to make-font-ex or make-font, the function will find the nearest available size.)


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

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