☜ | MWAPI - $WFONTDraft MDC 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 an ecode = "M53".
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.
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)