mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
62766e60771e42a5d8bbbb5586da6d54d658ee9f
Summary: Prior to this diff, descenders (the hanging tail on letters like g and j) were clipped on the last line because the text measurer did not account for the font leading. With `NSStringDrawingUsesFontLeading` it honors the fonts line spacing. To test: open the Text demo of the UIExplorer and see that the bottom of the letter g is no longer clipped off. ## Before  ## After  Closes https://github.com/facebook/react-native/pull/96 Github Author: James Ide <ide@jameside.com> Test Plan: Imported from GitHub, without a `Test Plan:` line.
Languages
C++
33%
Kotlin
20%
JavaScript
18.6%
Objective-C++
11.5%
Objective-C
7.1%
Other
9.7%