Topic : The ATARI Compendium
Author : Scott Sanders / JAY Software
Version : 1.25 (20/6/2003)
Subject : Documentation
Nodes : 1117
Index Size : 32614
HCP-Version : 6
Compiled on : Atari
@charset : UTF-8
@lang : en
@default :
@help : %About
@options : +g -i -t4 +y +z
@width : 100
View Ref-Filevst_load_fonts()vst_font()vqt_name() VDISyntaxWORD vqt_name( handle, index, fontname )
WORD handle;
WORD index;
char *fontname;
Function vqt_name() returns the name of the specified font.
Opcode 130
Availability Supported by all drivers.
Parameters handle specifies a valid workstation handle. fontname points
to a character buffer of at least 33 characters which will
be filled in with the name of font index and a flag which
distinguishes bitmap and outline fonts. fontname[0-31] will
contain the name of the font (not necessarily
NULL-terminated). If FSMGDOS or SpeedoGDOS is installed,
fontname[32] will contain a flag equalling OUTLINE_FONT (1)
if the specified font is an outline font or BITMAP_FONT (0)
if it is a bitmap font.
Binding WORD i;
contrl[0] = 130;
contrl[1] = 0;
contrl[3] = 1;
contrl[6] = handle;
intin[0] = index;
vdi();
for(i = 0;i < 33;i++)
fontname[i] = intout[i + 1];
return intout[0];
Return Value vqt_name() returns the unique code value which identifies
this font (and is passed to vst_font() ).
Comments As of SpeedoGDOS version 4.20, this call will return
a modified font index for GDOS bitmap fonts to avoid
conflicting with outline font indexes. The index will be
added to 5000 for bitmap fonts.
See Also vst_load_fonts(), vst_font()Group VDI Inquire