Skip to content

Commit ec9e1d4

Browse files
committed
Fix mac build pt 2
1 parent bea179c commit ec9e1d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/xetex_layout/src/font.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ impl Font {
378378
));
379379
let mut index = 0;
380380
let pathname = get_file_name_from_ct_font(font_ref.as_ref().unwrap(), &mut index).unwrap();
381-
self.initialize_ft(&pathname, index)
381+
self.initialize_ft(&pathname, index as usize)
382382
}
383383

384384
pub(crate) fn ft_face(&self) -> std::cell::Ref<'_, ft::Face> {

0 commit comments

Comments
 (0)