title: TextBlock rendering settings in WPF
body: <p>I am using a TextBlock style.But it looks bad.
  Am I missing code may have been written?
  How can I solve this problem?</p>
  
  <p>Here is code:</p>
  
  <pre><code>&lt;Style TargetType="{x:Type TextBlock}"&gt;       
      &lt;Setter Property="Foreground" Value="#FF353535"/&gt;
      &lt;Setter Property="UseLayoutRounding" Value="True"/&gt;
      &lt;Setter Property="SnapsToDevicePixels" Value="True"/&gt;
      &lt;Setter Property="TextOptions.TextHintingMode" Value="Fixed"/&gt;
      &lt;Setter Property="RenderOptions.ClearTypeHint" Value="Auto"/&gt;
      &lt;Setter Property="TextOptions.TextRenderingMode" Value="ClearType"/&gt;
      &lt;Setter Property="TextOptions.TextFormattingMode" Value="Ideal"/&gt;       
      &lt;Setter Property="FontFamily" Value="Tahoma"/&gt;
  &lt;/Style&gt;
  </code></pre>