Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ASTextKitFontSizeAdjuster] Replace use of boundingRectWithSize:options:context: with boundingRectForGlyphRange: inTextContainer: #251

Merged
merged 2 commits into from
May 11, 2017

Commits on May 8, 2017

  1. [ASTextKitFontSizeAdjuster] Replace use of boundingRectWithSize:optio…

    …ns:context: with boundingRectForGlyphRange: inTextContainer:
    
    `boundingRectWithSize:options:context:`  started returning different values for the same strings between iOS 10.2 and iOS 10.3. Switching to using `NSLayoutManager`’s `boundingRectForGlyphRange: inTextContainer:` fixed this. It also makes sure we are consistent with what `ASTextKitTailTruncater` uses.
    rcancro committed May 8, 2017
    Configuration menu
    Copy the full SHA
    5a9ec56 View commit details
    Browse the repository at this point in the history
  2. updated changelog

    rcancro committed May 8, 2017
    Configuration menu
    Copy the full SHA
    f4217be View commit details
    Browse the repository at this point in the history