Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

MWAPI - $WFONT

1995 Version of ANSI (Equivalent to Current ISO Version) of Standard

9.1.1 $WFONT

$WFONT ( fontface , fontsize , fontstyle , unitspec )

$WFONT returns information about the font identified by fontface, fontsize, and fontstyle. The value returned has the form

fontheight , fontmaxchar , fontavgchar

where

    fontheight::= numlit
    fontmaxchar::= numlit
    fontavgchar::= numlit

fontheight is the height of the character cell plus external leading for the font. fontmaxchar is the maximum width of a single character for the font. fontavgchar is an average width of a single character for the font.

If unitspec is equal to "PIXEL", fontheight, fontmaxchar, and fontavgchar are measured in pixels. If unitspec is equal to "POINT", fontheight, fontmaxchar, and fontavgchar are measured in points. If any other value is specified for unitspec, an error condition occurs with $ECODE containing ",M?8,".

If information is not available for the specified font, the return value is equal to the emptystring.

Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.

This page most recently updated on 14-Nov-2023, 22:13:05.

For comments, contact Ed de Moel (demoel@jacquardsystems.com)