font-sizes

Generic Function

Package: common-graphics

Arguments: stream face

Returns a list of available font sizes for stream and face. The font face must exist for stream. When face names a TrueType font, this functions returns a list containing 0 as its only element. The single 0 indicates that the font will scale to any size. When face names a raster font, this function returns a list of possible pixel sizes. The sizes will go from smallest to largest.

Note: incompatible change in release 6.0: in releases prior to 6.0, when a frame-with-single-child instance was passed to this operator, the operator was actually applied to the child (the result of applying frame-child to the frame-with-single-child instance). In release 6.0, this redirection no longer occurs. If you intend this operator to apply to the frame-child, pass that to this operator rather than the parent. This is a non-backward-compatible-change. See the release notes for more information.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.