Skip to content

Conversation

@alokedesai
Copy link
Member

@alokedesai alokedesai commented Dec 26, 2024

  • Font-kit uses the DWRITE_RENDERING_MODE_NATURAL rendering mode when rasterizing with the directwrite backend
  • However, most apps tend to use DWRITE_RENDERING_MODE_NATURAL_SYMMETRIC, which results in text that is better aliased.

See screenshot below to see an example of using DWRITE_RENDERING_MODE_NATURAL (right) vs DWRITE_RENDERING_MODE_NATURAL_SYMMETRIC (left)

image

@alokedesai alokedesai requested a review from acarl005 December 26, 2024 18:39
Copy link

@acarl005 acarl005 left a comment

Choose a reason for hiding this comment

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

omg yes!

@alokedesai alokedesai merged commit 8c35630 into warp Dec 27, 2024
1 of 3 checks passed
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.

3 participants