Hello, I encountered this problem, googled - I could not find an answer.

I am writing on C # WPF .Net 4.0

I use the font Roboto

This photo is on Windows 10 (1920 * 1080) monitor resolution. enter image description here Link to the photo: http://i.stack.imgur.com/pRDx4.png

This photo is Windows 7 (1366 * 768) monitor resolution. enter image description here Link to the photo: http://i.stack.imgur.com/a1Dpv.png

It is better to open the photo, it will be more visible and clearer

How to make fonts appear correctly? As on Windows 10 (1920 * 1080)

I tried this:

<Window TextOptions.TextFormattingMode="Display" ...... /> 

And then even on Windows 10 (1920 * 1080) is displayed as on Windows 7 (1366 * 768)

  • Is there a problem with other fonts? - VladD
  • I did not try, because these are exactly the ones needed ... - skvoshiz
  • But as you can see, if the font is large, it is better displayed - skvoshiz
  • And you still try. Do you want to study the problem, or so that someone could fit the finished spell? - VladD
  • I am an ordinary Muggle, so I thought the skillful wizards would share the spell =) - skvoshiz

1 answer 1

Still play with these parameters together:

 TextOptions.TextFormattingMode="Ideal" TextOptions.TextRenderingMode="ClearType" TextOptions.TextHintingMode="Auto" 

Well, in general, the feeling that on Windows 7, spinning on the virtual machine ClearType disabled