react-native-macos/packages
Moti Zilberman d6e9891577 Reduce log level of "unrecognized font family" from Error to Info
Summary:
Changelog:
[iOS][Fixed] - Unrecognized fontFamily values no longer trigger a redbox

## Context

We are starting to roll out a new consistent approach to style errors in React Native, where malformed or semantically invalid style values will never be treated as runtime errors. Instead, bad style values will consistently fall back to known defaults; the incorrect visual rendering will serve as the main runtime diagnostic for developers. We will advise developers to rely on static types for additional diagnostics.

This work will take place over multiple commits and possibly multiple releases of React Native.

## This diff

Here we fix this issue as it applies to the `fontFamily` style prop. The legacy (Paper) renderer on iOS is the only concrete implementation that had to change. Fabric and Android already implement the correct behaviour.

h/t EvanBacon for the report: https://twitter.com/Baconbrix/status/1623039650775371792

Reviewed By: huntie

Differential Revision: D43159284

fbshipit-source-id: 6afeef3abc5781e18671708f642073d25f2347e9
2023-02-09 10:57:50 -08:00
..
assets Rename `assets` to `assets-registry` (#34572) 2022-11-30 12:25:02 -08:00
babel-plugin-codegen Extract parseString and parseModuleFixture functions in typescript and flow parsers (#35928) 2023-01-25 12:38:52 -08:00
eslint-config-react-native-community Bump further patch packages to unblock nightly as they have unreleased changes on main 2022-12-10 04:03:11 -08:00
eslint-plugin-react-native-community eslint config & plugin packages - prep for monorepo RFC (#34581) 2022-11-25 05:44:17 -08:00
eslint-plugin-specs Extract the buildSchema function in the parsers-commons.js (#35158) 2023-01-12 04:23:42 -08:00
hermes-inspector-msggen Bump remaining build-time Babel deps 2022-11-30 19:16:23 -08:00
normalize-color chore: rename normalize-color to normalize-colors (umbrella 480) (#34571) 2022-12-01 08:46:57 -08:00
polyfills cleanup(xplat/js): remove @react-native/polyfills (#35564) 2022-12-06 05:47:41 -08:00
react-native-bots Upgrade Danger to 11.2.1 to mitigate jsonwebtoken security vulnerability 2023-01-13 12:27:51 -08:00
react-native-codegen Turbo Module supports intersection type for TypeScript (#36037) 2023-02-07 07:41:37 -08:00
react-native-gradle-plugin RNGP - fix: use relative paths for gradle exec invocations (#36080) 2023-02-07 07:29:17 -08:00
rn-tester Reduce log level of "unrecognized font family" from Error to Info 2023-02-09 10:57:50 -08:00
virtualized-lists Fix VirtualizedList usage of potentially stale state on cell focus 2023-02-07 18:25:28 -08:00