aboutsummaryrefslogtreecommitdiffstats
path: root/man3/LIBAXL_REQUEST_CLOSE_FONT.3
blob: 374394e84ea5566a5dd5aeb548f6dc7e33b649b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.TH LIBAXL_REQUEST_CLOSE_FONT 3 libaxl
.SH NAME
LIBAXL_REQUEST_CLOSE_FONT - Delete reference to a font
.SH SYNOPSIS
.nf
#include <libaxl.h>

#define LIBAXL_REQUEST_CLOSE_FONT 46
struct libaxl_request_close_font {
        uint8_t       \fIopcode\fP;
        uint8_t       \fI__pad\fP;
        uint16_t      \fI_request_length\fP;
        libaxl_font_t \fIfont\fP;
};
.fi
.SH DESCRIPTION
The display server shall remove the association
between the resource ID, which is specified in
the
.I font
field, and the font.
.PP
When no resource references the font, it will
be deallocated.
.PP
The value of the
.I opcode
field shall be
.I LIBAXL_REQUEST_CLOSE_FONT
to signify that the request is of the
request described in this document.
.PP
Other fields are filled in automatically by the
.BR libaxl_send_request (3)
function.
.SH ERRORS
.TP
.BR LIBAXL_ERROR_FONT (3)
The specified font ID does not exist.
.SH REPLIES
None.
.SH SEE ALSO
.BR libaxl_send_request (3),
.BR LIBAXL_REQUEST_OPEN_FONT (3)