AliSoftware / OHAttributedLabel

UILabel that supports NSAttributedString
https://github.com/AliSoftware/OHAttributedLabel/wiki
1.51k stars 344 forks source link

Hindi is not presented in iOS6 #174

Open fuxlud opened 10 years ago

fuxlud commented 10 years ago

attributedText is not presenting Hindi in iOS6

fuxlud commented 10 years ago

Found a solution - the label had to be made a bit bigger, so the text will show.

fuxlud commented 10 years ago

Maybe some proper solution can proposed..

AliSoftware commented 10 years ago

Hello,

That's a recurring question asked in my GitHub issues, that's a problem related to CoreText itself and Apple's CTFrameSetter that will only render a line if it has enough space in height to do so (contrary to UIKit which renders the line even if there is not enough space, drawing only the top of the line and clipping the bottom).

I will really have to write a wiki page about it to let people know about that. In the meantime, the extendBottomToFit property exists to work around this CoreText issue.