Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TextTrimming #2459

Closed
wants to merge 131 commits into from
Closed

Conversation

Gillibald
Copy link
Contributor

@Gillibald Gillibald commented Apr 20, 2019

What does the pull request do?

This adds text trimming capabilities to FormattedText and therefore makes it possible to define TextTrimming for a TextBlock.

What is the current behavior?

Not supported.

What is the updated/expected behavior with this PR?

TextTrimming support for FormattedText

How was the solution implemented (if it's not obvious)?

CreateFormattedTextImpl has an additional parameter of type TextTrimming and therefore each platform needs to handle that additional parameter. Currently Direct2D1 is finished and Skia is missing the implementation.

Checklist

Fixed issues

#1897
#2452

Depends on

#1950

Gillibald and others added 26 commits January 31, 2019 16:13
@Gillibald Gillibald changed the title Add TextBlock TextTrimming Add TextTrimming Apr 20, 2019
@Gillibald
Copy link
Contributor Author

Merged into Skia text layout PR

@Gillibald Gillibald closed this Apr 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant