1 2 3 4 5 6 7 8 9 10 11 12
use pango; use pango_sys; use glib::translate::*; pub fn new_features(features: &str) -> Option<pango::Attribute> { unsafe { from_glib_full(pango_sys::pango_attr_font_features_new( features.to_glib_none().0, )) } }
1 2 3 4 5 6 7 8 9 10 11 12
use pango; use pango_sys; use glib::translate::*; pub fn new_features(features: &str) -> Option<pango::Attribute> { unsafe { from_glib_full(pango_sys::pango_attr_font_features_new( features.to_glib_none().0, )) } }