Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gsqgtx(3g) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fonts

Geometric Text Font Format

gsgtat

gsgtxt



GSQGTX(3g,L)                AIX Technical Reference                GSQGTX(3g,L)



-------------------------------------------------------------------------------
gsqgtx



PURPOSE

Returns information about the current geometric font.

C SYNTAX

void gsqgtx_ (font, select)

int *font, *select;

FORTRAN SYNTAX

subroutine gsqgtx (font, select)

INTEGER font (32), select

PASCAL SYNTAX

PROCEDURE gsqgtx_ (

VAR font: ARRAY [1..32] of INTEGER;
select: INTEGER
) [PUBLIC];

DESCRIPTION

The gsqgtx subroutine returns information about the active geometric font.

Parameters

font              Contains, on return, the characteristics of the selected PCS
                  descriptor header.  The following table describes the
                  information in the array.  Each entry is a word.  Dimensions
                  are in pixels and the origin is at the lower left corner of
                  the character box.

                  Entry    Description

                   1       Font ID.

                   2       Segment ID.

                   3       0 = EBCDIC; 1 = ASCII.

                   4       Range of x (P).





Processed November 7, 1990       GSQGTX(3g,L)                                 1





GSQGTX(3g,L)                AIX Technical Reference                GSQGTX(3g,L)



                  Entry    Description

                   5       Range of y (Q).

                   6       Starting character code.  Range is 0x21 to 0xFE.

                   7       Last character code.  Range is 0x21 to 0xFE.

                   8       Font baseline.  Value in pixels in the y direction.

                   9       Font capline.  Value in pixels in the x direction.

                  10       Default error code point.

                  11-32    Reserved.


select            Determines the type of query.

                  A value of -1 returns the following information in the font
                  parameter buffer:

                  Word 1      Current active font_ID

                  Word 2      Number of PCS descriptor headers (segments for
                              2-byte text) loaded at the time of the query.

                  A value other than -1 returns the PCS descriptor header
                  associated with that number in the table.  The first entry is
                  0, with a range of 0 to n.

RELATED INFORMATION

In this book:  "fonts,"  "Geometric Text Font Format,"  "gsgtat," and "gsgtxt."





















Processed November 7, 1990       GSQGTX(3g,L)                                 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026