Skip to content

TextEffects有个bug #2

Description

@whlpkk
if kerningRange.location == index && kerningRange.length > 1 

这个判断写的有问题,应该去掉对length的判断,现在这样写,如果有一个字符串”YoYoYo”这样的,就会显示有问题。
另外我把字体换成[UIFont fontWithName:@"Georgia-Italic" size:17];发现还是会有被截掉的部分,并不能完美的显示出来。

if !olderLayer.bounds.equalTo(olderLayer.bounds)

这个判断也有问题,永远也不会进去,而且这里也不需要进去。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions