pub fn list_fonts_with_info<'c, 'input, Conn>(
conn: &'c Conn,
max_names: u16,
pattern: &'input [u8],
) -> Result<ListFontsWithInfoCookie<'c, Conn>, ConnectionError>where
Conn: RequestConnection + ?Sized,
Expand description
get matching font names and information.
Gets a list of available font names which match the given pattern
.
§Fields
pattern_len
- The length (in bytes) ofpattern
.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.