[−][src]Function clipboard_x11::open_font_checked
pub fn open_font_checked(
c: &'a Connection,
fid: u32,
name: &str
) -> Cookie<'a, xcb_void_cookie_t>
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.
parameters:
-
c: The connection object to the server
-
fid: The ID with which you will refer to the font, created by
xcb_generate_id
. -
name: A pattern describing an X core font.