PLBWIN_FONT Keyword


PLBWIN or PLBCE

PLBWIN_FONT={fontname}

 

This keyword control defines the default font for the main window. The {fontname} must be a currently installed Windows font.

 

The PLBWIN.FON file contains multiple sizes for the Sunbelt fixed font. In the past, the file contained a single font named SDBWIN. The file still contains the SDBWIN fixed font that is the default fixed font for a main window. However, the new file contains two additional fixed fonts named PLB9x18 and PLB10x20 that contain the same characters as the SDBWIN font except the characters sizes have been changed to be 9x18 and 10x20 pixels per character. If a user wishes to use one of the larger PLB fixed fonts, the PLBWIN_FONT keyword in the INI file should be changed to identify either PLB9x18 or PLB10x20 with the PLBWIN.FON used during the runtime startup process. When using one of the larger fonts, the main window size will automatically initialize to a larger presentation.

 

This keyword may also be specified in the environment section of a client configuration file.

Note:

  1. The SDBWIN font is only added as a Windows OS font resource when the PLB_DOSFONT keyword or the PLBWIN.FON font file is used by the PLBWIN runtime.

  2. The SDBWIN font is normally removed as a Windows OS font resource when the PLBWIN runtime is shutdown.

  3. If a user uses the Windows Task Manager to prematurely terminate the PLBWIN runtime while the SDBWIN font exists as a Windows OS font resource, then Windows OS DOES NOT remove the SDBWIN font when the PLBWIN task is terminated. In this case, the SDBWIN font remains as a Windows OS until a system re-boot is performed. In addition, if the Windows OS sets the SDBWIN to an empty font, then this font can not be used and this was causing the GPF problem.

 

 

See Also: PLBWIN Keywords, PLBCE Keywords, Compiler and Runtime Options

 



Compiler and Runtime Options PLB_FNC Keyword PLBWIN_FSIZE Keyword