///
/// Returns the font family name.
///
/// The current implementation tries a wide variety of common fonts,
/// returning the first one it finds. Is is possible that no family is
/// found in which case an empty string is returned.
///
/// **See also:** [`last_resort_font()`]
Returns the font family name.
The current implementation tries a wide variety of common fonts,
returning the first one it finds. Is is possible that no family is
found in which case an empty string is returned.


Returns the font family name . The current implementation tries a wide variety of common fonts returning the first one it finds . Is is possible that no family is found in which case an empty string is returned .
pub fn last_resort_family(&self) -> String {
        let (obj_data, funcs) = self.get_font_obj_funcs();
        unsafe {
            let ret_val = ((*funcs).last_resort_family)(obj_data);
            let ret_val = CStr::from_ptr(ret_val).to_string_lossy().into_owned();
            ret_val
        }
    }
pub fn last_resort_family ( & self ) -> String { let ( obj_data , funcs ) = self . get_font_obj_funcs ( ) ; unsafe { let ret_val = ( ( * funcs ) . last_resort_family ) ( obj_data ) ; let ret_val = CStr :: from_ptr ( ret_val ) . to_string_lossy ( ) . into_owned ( ) ; ret_val } }
Returns the font family name.
Returns the font family name .
&self