System.Windows.Media.GlyphTypeface glyphTypeface
= new
System.Windows.Media.GlyphTypeface(fontFileURI);
找不到相关的引用,非常邪门,奶奶的锤子!
只需要在引用-->程序集-->框架-->PresentationCore找到这个就行了,另外我发现using System.Windows.Media不仅仅是在PresentationCore中有,而且WindowsBase也有引用方式
引用-->程序集-->框架-->WindowsBase
以后大家就不要再走弯路了,这个引用比较邪门,居然using System.Windows.Media.Imaging要引用PresentationCore真是不可思议!