Closed kbleeke closed 4 years ago
hb_font_create internally references the face. Therefore it is incorrect to call Shared::into_raw on the argument.
hb_font_create
Shared::into_raw
see https://github.com/servo/rust-harfbuzz/blob/master/harfbuzz-sys/harfbuzz/src/hb-font.cc#L1354
Basically the same as ef01207dcf3e7ae4b6f63fb018fe95b716f993db cc #19
Thank you!
hb_font_create
internally references the face. Therefore it is incorrect to callShared::into_raw
on the argument.see https://github.com/servo/rust-harfbuzz/blob/master/harfbuzz-sys/harfbuzz/src/hb-font.cc#L1354
Basically the same as ef01207dcf3e7ae4b6f63fb018fe95b716f993db cc #19