1xcb_open_font(3)                 XCB Requests                 xcb_open_font(3)
2
3
4

NAME

6       xcb_open_font - opens a font
7

SYNOPSIS

9       #include <xcb/xproto.h>
10
11   Request function
12       xcb_void_cookie_t xcb_open_font(xcb_connection_t *conn, xcb_font_t fid,
13              uint16_t name_len, const char *name);
14

REQUEST ARGUMENTS

16       conn      The XCB connection to X11.
17
18       fid       The ID with which you will refer to the font, created by
19                 xcb_generate_id.
20
21       name_len  Length (in bytes) of name.
22
23       name      A pattern describing an X core font.
24

DESCRIPTION

26       Opens any X core font matching the given name (for example "-misc-
27       fixed-*").
28
29       Note that X core fonts are deprecated (but still supported) in favor of
30       client-side rendering using Xft.
31

RETURN VALUE

33       Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the
34       event loop.
35
36       If you want to handle errors directly with xcb_request_check instead,
37       use xcb_open_font_checked. See xcb-requests(3) for details.
38

ERRORS

40       xcb_name_error_t
41                 No font matches the given name.
42

SEE ALSO

44       xcb-requests(3), xcb_generate_id(3)
45

AUTHOR

47       Generated from xproto.xml. Contact xcb@lists.freedesktop.org for cor‐
48       rections and improvements.
49
50
51
52X Version 11                      libxcb 1.12                 xcb_open_font(3)
Impressum