Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 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-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

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