☜ | MWAPI - $WFONT1995 Version of ANSI (Equivalent to Current ISO Version) of Standard | ☞ |
$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.
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)