Struct xcb::ffi::xproto::xcb_open_font_request_t
[−]
[src]
#[repr(C)]pub struct xcb_open_font_request_t { pub major_opcode: u8, pub pad0: u8, pub length: u16, pub fid: xcb_font_t, pub name_len: u16, pub pad1: [u8; 2], }
opens a font
Opens any X core font matching the given name
(for example "-misc-fixed-*").
Note that X core fonts are deprecated (but still supported) in favor of client-side rendering using Xft.
Fields
major_opcode: u8
pad0: u8
length: u16
fid: xcb_font_t
The ID with which you will refer to the font, created by xcb_generate_id
.
name_len: u16
Length (in bytes) of name
.
pad1: [u8; 2]