impl std::ops::Drop for HbBuffer {
    fn drop(&mut self) {
        unsafe {
            hb_buffer_destroy(self.raw);
        }
    }
}

pub(crate) struct HbFont {
    raw: *mut hb_font_t,
}

// Harbuzz is thread-safe