darling-cocotron
darling-cocotron copied to clipboard
Fix 1351 wrong nsstringdrawer truncating text
This fix solves two problems:
- String drawing performance is very slow when truncating large texts
- String drawing does not properly truncate NSLineBreakByTruncatingHead and NSLineBreakByTruncatingMiddle
This pull request is related with reported bug:
https://github.com/darlinghq/darling/issues/1351
That can be closed after the merging