Intel® Fortran Compiler with Windows-Based Applications

ID 757211
Date 6/30/2025
Public
Document Table of Contents

Display Font-Based Characters

Because the Intel Fortran Graphics Library provides a variety of fonts, you must indicate which font to use when displaying font-based characters. After you select a font, you can make inquiries about the width of a string printed in that font or about font characteristics.

The following functions control the display of font-based characters:

Routine

Description

GETFONTINFO

Returns the current font characteristics.

GETGTEXTEXTENT

Determines the width of specified text in the current font.

GETGTEXTROTATION

Gets the current orientation for font text output in 0.1º increments.

INITIALIZEFONTS

Initializes the font library.

OUTGTEXT

Sends text in the current font to the screen at the current graphics output position.

SETFONT

Finds a single font that matches a specified set of characteristics and makes it the current font used by OUTGTEXT.

SETGTEXTROTATION

Sets the current orientation for font text output in 0.1º increments.

Characters may be drawn (or mapped) in one of two ways: as bitmapped letters (a picture of the letter) or as TrueType characters. See Use Fonts from the Graphics Library Overview, for detailed explanations and examples of how to use the font routines from the QuickWin Library.

For more information on these routines, see the Language Reference in the Intel® Fortran Compiler Developer Guide and Reference.