Home Font selector FONT SELECTOR - GET STYLE ID (AES 184, 1) FONT SELECTOR - GET FONT INFO (AES 184, 3)

2.5.9 FONT SELECTOR - GET FONT NAME (AES 184, 2)

GET FONT NAME returns the full name, the family name and the style for the font <id>.

Declaration:
WORD fnts_get_name( FNT_DIALOG *fnt_dialog, LONG id,
                    BYTE *full_name, BYTE *family_name,
                    BYTE *style_name );

Call:
ret = fnts_get_name( FNT_DIALOG *fnt_dialog, id, &full_name,
                                  &family_name, &style_name );

Variable         Argument       Meaning
Inputs:

contrl[0]        184            fnts_get
contrl[1]        3              Entries in intin
contrl[3]        4              Entries in addrin

intin[0]         2              fnts_get_name
intin[1/2]       id             Font ID

addrin[0]        fnt_dialog     Pointer to management structure
addrin[1]        full_name      Pointer to the full name or 0L
addrin[2]        family_name    Pointer to the family name or 0L
addrin[3]        style_name     Pointer to den style name or 0L

Outputs:

contrl[2]        1              Entries in intout
contrl[4]        0              Entries in addrout

intout[0]        ret            0: Error 1: All OK

Home Font selector FONT SELECTOR - GET STYLE ID (AES 184, 1) FONT SELECTOR - GET FONT INFO (AES 184, 3)