mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
07da2ff3e1
Summary: This PR adds support for using the condensed system font on iOS when passing "SystemCondensed" as fontFamily. This behavior existed in the old architecture but was never ported to the new one, see [RCTFont.mm](https://github.com/facebook/react-native/blob/main/packages/react-native/React/Views/RCTFont.mm#L434) as reference. Fixes https://github.com/facebook/react-native/issues/52258. ## Changelog: [IOS] [ADDED] - Add support for condensed system font when using the new react native architecture. Pull Request resolved: https://github.com/facebook/react-native/pull/52259 Test Plan: Before: <img width="275" src="https://github.com/user-attachments/assets/8744a5ae-252c-46db-b5f9-b803f3e1c671" /> After: <img width="275" src="https://github.com/user-attachments/assets/69ec27a3-5c9a-46e3-a80a-0e02b76d8813" /> Reviewed By: cortinico Differential Revision: D82208140 Pulled By: javache fbshipit-source-id: b23a97c94bf45144c3f0860c30e35cae88c7dc2f