mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
e2dd2e2a6e
Summary: Currently on Android, React Native can only accept font resource IDs which it internally converts into Typeface objects. This change allows ReactFontManager to be passed a Typeface at runtime to enable e.g. downloading fonts on demand. Changelog: [Android][Added] - Ability to pass a Typeface object to ReactFontManager in addition to a font resource ID Reviewed By: makovkastar Differential Revision: D36138123 fbshipit-source-id: b314e8c7fc28174b5caa017076b6eb3d4f6dbaa8