mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-09 09:12:06 +08: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.
Description
Languages
JavaScript
40.2%
Java
24.7%
Objective-C
14.3%
C++
13.5%
Objective-C++
3.9%
Other
3.3%