You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an attributed string has different fontSize for words, lineSpacing property of NSMutableParagraphStyle is not working with ASTextNode. This is reproducible in
ASDKgram also.
Here is the code snippet which I used to reproduce this issue. I am trying to bring lines closer by giving lineSpacing = 0 but seems like it is not working. To reproduce it in ASDKgram just change descriptionAttributedStringWithFontSize method implementation in PhotoModel.m
From @shashank-rps on April 18, 2017 13:39
When an attributed string has different fontSize for words, lineSpacing property of NSMutableParagraphStyle is not working with ASTextNode. This is reproducible in
ASDKgram also.
Here is the code snippet which I used to reproduce this issue. I am trying to bring lines closer by giving
lineSpacing = 0
but seems like it is not working. To reproduce it in ASDKgram just changedescriptionAttributedStringWithFontSize
method implementation inPhotoModel.m
Attaching the screenshot of ASDKgram feed with ASTextNode having text with different font sizes.
Copied from original issue: facebookarchive/AsyncDisplayKit#3278
The text was updated successfully, but these errors were encountered: