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

MWAPI - $WFONT

Draft MDC Standard

10.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 an ecode = "M53".

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.

Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.

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

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