Skip to content

Multiline text subpixeling #555

@WowSoLaggy

Description

@WowSoLaggy

Hey Chuck, hope you are good,

I'm using 'DrawString' function to render multiline text. The first line is correctly pixel-aligned, however following lines are drawn not clearly because are started drawn not from integer pixel, but from subpixel position. Here is an example:
Image

I'm wondering, whether it is possible to fix by the DirectXTK means or I shall rework the sprite font?

Here are parameters I call it with, just in case:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions