Silverfrost Logo About Us | Contact Us
 

SELECT_FONT@

Platform

Win32(ClearWin+)

Purpose

To select a new font for a drawing surface.

Syntax

SUBROUTINE SELECT_FONT@( FONTNAME )
CHARACTER*(*) FONTNAME

Description

FONTNAME becomes the font for the current drawing surface. The default size is not changed. The font can be set to any currently enabled Windows fonts (see the relevant Windows font manager). Care should be taken when selecting fonts since fonts that are available on one machine may not be available on another.

FONTNAME could be a user-added Windows font or 'SYSTEM FIXED FONT' (this font is used for output to a ClearWin window) or 'SYSTEM FONT' (this is the Windows SYSTEM_FONT parameter or, under Windows 95, the DEFAULT_GUI_FONT parameter and is used in some ClearWin+ controls).

Notes

The default Charset value (see FONT_METRICS@) for Courier New is ANSI_CHARSET. By using /OEM after the name of the font ('Courier New/OEM') it is possible to choose OEM_CHARSET.

See also

ROTATE_FONT@, SCALE_FONT@, ITALIC_FONT@, UNDERLINE_FONT@, BOLD_FONT@

 

 

Copyright © 1999-2017 Silverfrost Limited