GPQFCH (csid, font, errind, proportional, top, bottom, nomaspect) |
Note:
This subroutine is a graPHIGS API State List (PSL) inquiry. For an overview, see "PSL Inquiries"
Purpose
Use GPQFCH to inquire the font characteristics for the requested character set and font.
The graPHIGS API returns data indicating the top and bottom of the character cell offset from the cap line respectively, the nominal aspect ratio relative to the character's height, and if the font is fixed or proportionally sized. For more information, see The graPHIGS Programming Interface: Understanding Concepts
If the inquired information is available, the error indicator is returned as zero, and the value is returned in the output parameter. If the inquired information is unavailable, the error indicator contains an error number indicating the reason, and the value returned in the output parameter is unpredictable.
Annotation text capabilities are defined in terms of the following character box description:
<----- width -------> ---------------------- <---top line | | | | | - - - - - - - - - -| <---cap line | | ^ | | | height | | | | | | | | v |- - - - - - - - - - | <---base line | | | | ---------------------- <---bottom lineHeight is defined as the distance between the base line and the cap line.
Note:
The definition of height is different from that used by the Inquire Annotation Font Characteristics (GPQAFC) subroutine.
Parameters
See Appendix A. "Character Set and Font Identifiers" for more information.
This is the nominal width to height ratio.
Error Codes
None
Related Subroutines
None
RCP code
201336331 (X'0C00260B')