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

Fix CoreText test and drawing failures on ARM #1723

Merged
merged 2 commits into from
Jan 19, 2017

Conversation

aballway
Copy link
Contributor

@aballway aballway commented Jan 18, 2017

In a recent update to Windows it became necessary to return the identity matrix from our custom text renderer's GetCurrentTransform or a garbage value could potentially persist, incorrectly placing all line origins near 0 or INF on ARM. It also seems that, on ARM, DWrite is rounding the baselineOrigin values to the nearest integer, causing tests expecting certain values to fail.

Fixes #1597
Fixes #1673


This change is Reviewable

Copy link

@DHowett-MSFT DHowett-MSFT left a comment

Choose a reason for hiding this comment

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

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

@aballway aballway merged commit c144268 into microsoft:develop Jan 19, 2017
aballway added a commit that referenced this pull request Jan 19, 2017
When we changed the Core Text code to optimize out setting the font twice on a frame I forgot that kerning was also set in the loop. Updates images for post #1723 drawing.

Fixes #1696
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.

5 participants