Skip to content

Commit

Permalink
Merge pull request #189 from googlefonts/sort-names
Browse files Browse the repository at this point in the history
Sort name records before inserting
  • Loading branch information
simoncozens authored Jan 27, 2025
2 parents 747a4c0 + af5b518 commit 2f13fa1
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 2f13fa1

Please sign in to comment.