Browse Prior Art Database

Establishing OS/2 Presentation Manager Font Sizes During 3101/VT100 Emulation

IP.com Disclosure Number: IPCOM000101000D
Original Publication Date: 1990-Jun-01
Included in the Prior Art Database: 2005-Mar-16
Document File: 1 page(s) / 39K

Publishing Venue

IBM

Related People

Haynes, LS: AUTHOR [+3]

Abstract

A program is disclosed that establishes OS/2* Presentation Manager* (PM) font sizes during 3101 or VT100** Emulation.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 84% of the total text.

Establishing OS/2 Presentation Manager Font Sizes During 3101/VT100 Emulation

       A program is disclosed that establishes OS/2*
Presentation Manager* (PM) font sizes during 3101 or VT100**
Emulation.

      During ASYNC emulation, the font sizes can be secured one of
three ways:  the system default, the saved environment, or user
selection.

      At initialization time, the Display Services routine issues PM
calls to determine what font sizes are available and sets up a
structure containing these sizes as well as other display information
(vertical and horizontal resolutions, number of rows, number of
columns).  This structure is later used by the dialog box routine to
provide a font selection list to the user.  A routine internal to the
Display Service handles a font size request.

      Initially, Display Services calls this routine, passing it the
saved environment font size or requesting the system font size if
there is no saved environment.

      Afterwards, the user can bring forth a dialog box and select a
new font size.  The ASYNC module responsible for this dialog box
processing will then issue a request code to Display Services
requesting the font size the user has selected.

      The routine internal to Display Services issues a PM call to
set the font size.  So that other ASYNC modules are aware of this new
font size, the routine uses a variable in the global common work area
to save the font selected by indicating its entry i...