Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Support multiple line break modes#1319

Merged
aballway merged 3 commits into
microsoft:developfrom
aballway:develop
Nov 8, 2016
Merged

Support multiple line break modes#1319
aballway merged 3 commits into
microsoft:developfrom
aballway:develop

Conversation

@aballway

@aballway aballway commented Nov 4, 2016

Copy link
Copy Markdown
Contributor

Now support kCTLineBreakByWordWrapping, kCTLineBreakByCharWrapping, and kCTLineBreakByClipping. Also adds a helper file for unit tests to use default testing macros with CG/CF structs.


This change is Reviewable

// TODO 1121:: DWrite does not support line breaking by truncation, so just use default for now
case kCTLineBreakByTruncatingHead:
case kCTLineBreakByTruncatingTail:
case kCTLineBreakByTruncatingMiddle:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thats not a reasonable default for truncation. LineBreakByClipping is more palatable instead.

@ms-jihua

ms-jihua commented Nov 7, 2016

Copy link
Copy Markdown
Contributor

:shipit:

@aballway aballway merged commit 6ef1100 into microsoft:develop Nov 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants