darling-cocotron icon indicating copy to clipboard operation
darling-cocotron copied to clipboard

Fix 1351 wrong nsstringdrawer truncating text

Open optimisme opened this issue 1 year ago • 5 comments

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

optimisme avatar Apr 13 '23 07:04 optimisme