The WPF Font Dialog sample that I downloaded from the WPF Text Blog seemed to have the same problem. (This GlyphTypeface object reports a Weight of Normal, a Style of Normal,Īnd a Stretch of Condensed, which all seems right). New GlyphTypeface(new this isn't really helpful. Interestingly, I can create the GlyphTypeface for this font by doing: ![]() New Typeface(new FontFamily("Arial Narrow"), FontStyles.Normal, FontWeights.Normal, FontStretches.Normal) New Typeface(new FontFamily("Arial Narrow"), FontStyles.Normal, FontWeights.Normal, FontStretches.Condensed) New Typeface(new FontFamily("Arial"), FontStyles.Normal, FontWeights.Normal, FontStretches.Condensed) None of theįollowing ways of creating the Typeface work. Installed on my machine, and I can successfully use it from Win32 and WinForms applications. ![]() I'm not able to create a Typeface object for the Arial Narrow typeface in my WPF application.
0 Comments
Leave a Reply. |