Font: Difference between revisions
Jump to navigation
Jump to search
(Created page with "The default font is the user's Windows default font. Separate fonts may be invoked for Labels, Buttons, and Text (data entry fields): OPEN #0: "Srow=5,Scol=5,Rows=25,Cols=80...") |
(No difference)
|
Revision as of 15:05, 8 April 2013
The default font is the user's Windows default font. Separate fonts may be invoked for Labels, Buttons, and Text (data entry fields):
OPEN #0: "Srow=5,Scol=5,Rows=25,Cols=80,FONT=Arial", Display, Outin
(specifies a base font)
OPEN #0: "Rows=30,Cols=100,FONT.LABELS=Terminal,FONT.TEXT=Arial,FONT.BUTTONS=Lucida Console", Display, Outin
Font Qualifiers
Family |
|
This is useful in addition to the font name for systems that don't have the specified font. |
Boldness |
| |
Style |
| |
Underline |
| |
Size |
|
Size is based entirely on font height. |
Font Size Adjustment- adjusts the size of displayed text down to accomodate the horizontal space allocated for the text
- Width: Determine the average caps + digits character width. Then reduce the font size until the number of characters times this average fits the BR field capacity.
- Width+: Determine the average letter size considering both upper and lower case letters. Then apply the width limitation.
- Width-: Make the font small enough to accommodate a string of capital W's.
- NoWidth: Clear the Width adjustment setting.
e.g.
OPEN #0: "Rows=30,Cols=100,FONT.LABELS=Terminal:bold:slant,FONT.TEXT=Arial,FONT.BUTTONS=Lucida Console", Display, Outin
The former FONTSIZE=99x99 parameter is only supported when GUI is OFF.