I feel it would be nice to hide the CStr's from the API here:
pub fn add_string(&mut self, name: &CStr, val: &CStr)
and have a type for the different kinds of key values,
which could then be safely converted internally to an FcPattern.
I am imagining a safe type something like
pub enum PatternKeyValue =
Family: &str,
Style: &str,
:
Lang: &str,
Charset: u32,
:
Variable: bool;
:
Any thoughts?