AUTO_SCALE_FONT@

Platform

Win32, x64

Purpose

To scale fonts to a sensible size ready for printing.

Syntax

SUBROUTINE AUTO_SCALE_FONT@()

Description

When drawing to a printer via PRINT_GRAPHICS@ a call to AUTO_SCALE_FONT@ will automatically scale the font to a reasonable size for the printer resolution. Otherwise CLEARWIN_INFO@ (with "GRAPHICS_WIDTH" and "GRAPHICS_DEPTH") can be called in order to get the pixel width and height and to assign a suitable scaling factor in a call to SCALE_FONT@.

Notes

Introduced with FTN95 8.30.

See also

PRINT_GRAPHICS@

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited