In .NET Framework 4.6.2 the FormattedText() is Obsoleted, how can i fixed it : <p>When I try to build the WPF project with .net framework 4.6.2, I got an error, Because the FormattedText() is Obsoleted as below:
 <strong>[Obsolete("Use the PixelsPerDip override", false)]
        public FormattedText(string textToFormat, CultureInfo culture, FlowDirection flowDirection, Typeface typeface, double emSize, Brush foreground);</strong></p>

<p>The new override method is 
<strong>public FormattedText(string textToFormat, CultureInfo culture, FlowDirection flowDirection, Typeface typeface, double emSize, Brush foreground, double pixelsPerDip);</strong></p>

<p>Q: How can I determine the pixelsPerDip ?</p>

<p>Q: How can I use old constructor without pixelsPerDip?, because the pixelsPerDip is useless for my project.</p>
