☜ | MWAPI - $WFONTM[UMPS] by Example | ☞ |
Programmer’s Interface standard.
This function returns information about the size of text when reproduced in a specific font.
SET C="COURIER",ON="Old Norse"
SET PX="PIXEL",PT="POINT"
SET N="NORMAL",B="BOLD",BI="BOLD,ITALIC"
Reference | Value | |
---|---|---|
$WFONT(C,10,N,PX) | "13,8,8" | |
$WFONT(C,10,N,PT) | "10,6,6" | |
$WFONT(C,10,B,PX) | "13,9,9" | |
$WFONT(C,10,BI,PX) | "13,9,9" | |
$WFONT(C,12,N,PX) | "16,9,9" | |
$WFONT("HELVETICA",18,N,PX) | "19,7,7" | |
$WFONT(ON,10,N,PX) | "" |
(The final example assumes that the font "Old Norse" is not currently implemented.)
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.
The information in this page is
NOT authoritative and subject to be modified
at any moment.
Please consult the
appropriate (draft) language standard for an
authoritative definition.
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)