Skip to content

Commit

Permalink
Sort name records before inserting
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Jan 27, 2025
1 parent 747a4c0 commit af5b518
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ mod fontations {
}
}
name.name_record = records;
name.name_record.sort_by_key(|record| record.name_id);
Ok(name)
}

Expand Down

0 comments on commit af5b518

Please sign in to comment.