Function x11rb::protocol::xproto::list_fonts

source ·
pub fn list_fonts<'c, 'input, Conn>(
    conn: &'c Conn,
    max_names: u16,
    pattern: &'input [u8],
) -> Result<Cookie<'c, Conn, ListFontsReply>, ConnectionError>
where Conn: RequestConnection + ?Sized,
Expand description

get matching font names.

Gets a list of available font names which match the given pattern.

§Fields

  • pattern_len - The length (in bytes) of pattern.
  • pattern - A font pattern, for example “-misc-fixed-*”.

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.

  • max_names - The maximum number of fonts to be returned.