Function xcb::xproto::open_font_checked [−][src]
pub fn open_font_checked<'a>(
c: &'a Connection,
fid: Font,
name: &str
) -> VoidCookie<'a>
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.