xcb_list_fonts_with_info(3) | XCB Requests | xcb_list_fonts_with_info(3) |
xcb_list_fonts_with_info - get matching font names and information
#include <xcb/xproto.h>
xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info(xcb_connection_t *conn, uint16_t max_names, uint16_t pattern_len, const char *pattern);
typedef struct xcb_list_fonts_with_info_reply_t { uint8_t response_type; uint8_t name_len; uint16_t sequence; uint32_t length; xcb_charinfo_t min_bounds; uint8_t pad0[4]; xcb_charinfo_t max_bounds; uint8_t pad1[4]; uint16_t min_char_or_byte2; uint16_t max_char_or_byte2; uint16_t default_char; uint16_t properties_len; uint8_t draw_direction; uint8_t min_byte1; uint8_t max_byte1; uint8_t all_chars_exist; int16_t font_ascent; int16_t font_descent; uint32_t replies_hint; } xcb_list_fonts_with_info_reply_t;
xcb_list_fonts_with_info_reply_t *xcb_list_fonts_with_info_reply(xcb_connection_t *conn, xcb_list_fonts_with_info_cookie_t cookie, xcb_generic_error_t **e);
xcb_fontprop_t *xcb_list_fonts_with_info_properties(const xcb_list_fonts_with_info_request_t *reply);
int xcb_list_fonts_with_info_properties_length(const xcb_list_fonts_with_info_reply_t *reply);
xcb_fontprop_iterator_t xcb_list_fonts_with_info_properties_iterator(const xcb_list_fonts_with_info_reply_t *reply);
char *xcb_list_fonts_with_info_name(const xcb_list_fonts_with_info_request_t *reply);
int xcb_list_fonts_with_info_name_length(const xcb_list_fonts_with_info_reply_t *reply);
xcb_generic_iterator_t
xcb_list_fonts_with_info_name_end(const
xcb_list_fonts_with_info_reply_t *reply);
The asterisk (*) is a wildcard for any number of characters. The question mark (?) is a wildcard for a single character. Use of uppercase or lowercase does not matter.
Gets a list of available font names which match the given pattern.
Returns an xcb_list_fonts_with_info_cookie_t. Errors have to be handled when calling the reply function xcb_list_fonts_with_info_reply.
If you want to handle errors in the event loop instead, use xcb_list_fonts_with_info_unchecked. See xcb-requests(3) for details.
This request does never generate any errors.
xcb-requests(3)
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
libxcb 1.15 | X Version 11 |