diff --git a/CHANGELOG.md b/CHANGELOG.md index a14738fcc..f6aaf4dad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,10 @@ This release has an [MSRV] of 1.82. ### Fixed +#### Fontique + +- Font family name aliases (secondary names for font families, often in another language) not being registered. ([#380][] by [@valadaptive][]) + ## [0.5.0] - 2025-06-01 This release has an [MSRV] of 1.82. @@ -292,6 +296,7 @@ This release has an [MSRV][] of 1.70. [#353]: https://github.com/linebender/parley/pull/353 [#362]: https://github.com/linebender/parley/pull/362 [#369]: https://github.com/linebender/parley/pull/369 +[#380]: https://github.com/linebender/parley/pull/380 [Unreleased]: https://github.com/linebender/parley/compare/v0.5.0...HEAD [0.5.0]: https://github.com/linebender/parley/compare/v0.4.0...v0.5.0 diff --git a/fontique/src/family_name.rs b/fontique/src/family_name.rs index 3573d831d..4ebc9ff1d 100644 --- a/fontique/src/family_name.rs +++ b/fontique/src/family_name.rs @@ -82,7 +82,7 @@ impl FamilyNameMap { } let new_name = FamilyName { name: name.into(), - id: FamilyId::new(), + id, }; self.name_map.insert(key.as_bytes().into(), new_name); }