Issues the query fonts command.
| Library: | LPEXAPI.H |
|---|---|
| Include File: | LPEXAPI.H |
C Syntax
int lxqfont(unsigned char *Buffer);
Parameter
Buffer |
A variable long enough to hold the return value. The MAXQUERY constant in LPEXAPI.H is set to the longest possible return string. |
Description
The lxqfont subroutine provides a faster way of issuing the query fonts command from a C program. It has the same effect as calling:
lxquery("fonts",buff1);
buffer = buff1 + 6; /* to skip over the word "fonts " */
Example
To find the font string set for the current line and put it into a variable called font_string, type:
char *font_string; font_string = malloc (MAXQUERY); lxqfont(font_string);
Return Value
The return value is the return code from the Editor.
![]()
Building External Commands Written in
the C Language
lxquery() Subroutine
lxsfont() Subroutine
fonts Parameter
