Skip to content

ASTextLayout truncated line fix when add headIndent or firstLineHeadIndent in NSParagraphStyle #2041

Description

@kanottonp

Hi Texture Team,

There is an issue about when I insert headIndent or firstLineHeadIndent into NSParagraphStyle and add to NSAttributedString in both ASTextNode or ASTextNode2

  • Examples test cases for showing truncated line with wrong layout (Truncation Message overflows the box) 1d012ab

image

So I found a solution for fixing and add test cases for this case too.

  • Fixing and Add Screenshot Test 9ca2aa2

Hope this helps!

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions