Skip to content

Commit

Permalink
Fix mac build pt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
CraftSpider committed Aug 9, 2024
1 parent bea179c commit ec9e1d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/xetex_layout/src/font.rs
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ impl Font {
));
let mut index = 0;
let pathname = get_file_name_from_ct_font(font_ref.as_ref().unwrap(), &mut index).unwrap();
self.initialize_ft(&pathname, index)
self.initialize_ft(&pathname, index as usize)
}

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

0 comments on commit ec9e1d4

Please sign in to comment.