I am currently drawing text in DirectWrite using DrawText.
On my switch to DrawTextLayout i noticed that the rendering of aliased letters isn't done nicely.
Is there a way to change the measurement mode like we can do in DrawText to DWRITE_MEASURING_MODE_GDI_CLASSIC
Top text is drawn with DrawText (and DWRITE_MEASURING_MODE_GDI_CLASSIC
), bottom with DrawTextLayout.
http://img5.fotos-hochladen.net/uploads/wwwwwwwww3b9zou6icp.jpg
http://img5.fotos-hochladen.net/uploads/xxxxxxxag8pdm5h2e.jpg
As you can see the character spacing isn't nice in the bottom text.
If i set the measuring mode of DrawText to DWRITE_MEASURING_MODE_NATURAL
i have the exact same result like drawing with TextLayout. So the problem is the measuring mode which i don't know how to change.